nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
monotonic_counter Struct Reference

#include <bl_storage.h>

Data Fields

uint16_t description
 
uint16_t num_counter_slots
 
counter_t counter_slots [1]
 

Detailed Description

This library implements monotonic counters where each time the counter is increased, a new slot is written. This way, the counter can be updated without erase. This is, among other things, necessary so the counter can be used in the OTP section of the UICR (available on e.g. nRF91 and nRF53).


The documentation for this struct was generated from the following file: