![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
Storage instance. More...
#include <bm/storage/bm_storage.h>
Data Fields | ||
| const struct bm_storage_api * | api | |
| API implementation. | ||
| const struct bm_storage_info * | nvm_info | |
| Information about the implementation-specific functionality and the non-volatile memory peripheral. | ||
| bm_storage_evt_handler_t | evt_handler | |
| The event handler function. | ||
| uint32_t | addr | |
| The starting address of this instance's partition. | ||
| uint32_t | size | |
| The size of this instance's partition, in bytes. | ||
| struct { | ||
| bool is_initialized: 1 | ||
| The instance has been initialized. More... | ||
| bool is_wear_aligned: 1 | ||
| Enforce wear unit alignment on operations that cause wear. More... | ||
| bool is_write_padded: 1 | ||
| Automatically pad write operations. More... | ||
| } | flags | |
| Instance flags. | ||
Storage instance.
An instance is bound to an API implementation (backend) and the partition on which it operates.