nRF Connect SDK API 2.8.0
|
int num_monotonic_counter_slots | ( | uint16_t | counter_desc, |
uint16_t * | counter_slots ) |
#include <include/bl_storage.h>
Get the number of monotonic counter slots.
[in] | counter_desc | Counter description. |
[out] | counter_slots | Number of slots occupied by the counter. |
0 | Success |
-EINVAL | Cannot find counters with description counter_desc or the pointer to counter_slots is NULL. |