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

◆ rram_wear_test_partition_get()

int rram_wear_test_partition_get ( size_t index,
struct rram_wear_test_partition * out )

#include <include/debug/rram_wear_test.h>

Fill out with partition name and device byte range from the flash map.

Parameters
indexRow index in [0, rram_wear_test_partition_count()).
[out]outFilled on success; name points at build-time string storage (possibly "" when the partition has no DTS label).
Return values
0on success.
-EINVALif out is NULL.
-ENOENTif index is out of range or the flash area cannot be opened.