![]() |
nRF Connect SDK API 3.3.99
|
| 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.
| index | Row index in [0, rram_wear_test_partition_count()). | |
| [out] | out | Filled on success; name points at build-time string storage (possibly "" when the partition has no DTS label). |
| 0 | on success. |
| -EINVAL | if out is NULL. |
| -ENOENT | if index is out of range or the flash area cannot be opened. |