nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ num_monotonic_counter_slots()

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.

Parameters
[in]counter_descCounter description.
[out]counter_slotsNumber of slots occupied by the counter.
Return values
0Success
-EINVALCannot find counters with description counter_desc or the pointer to counter_slots is NULL.