Library that provides abstractions for operations such as read, write, and erase on non-volatile memory.
More...
|
| int | bm_storage_init (struct bm_storage *storage, const struct bm_storage_config *config) |
| | Initialize a storage instance.
|
| |
| int | bm_storage_uninit (struct bm_storage *storage) |
| | Uninitialize a storage instance.
|
| |
| int | bm_storage_read (const struct bm_storage *storage, uint32_t src, void *dest, uint32_t len) |
| | Read data from storage.
|
| |
| int | bm_storage_write (const struct bm_storage *storage, uint32_t dest, const void *src, uint32_t len, void *ctx) |
| | Write data to storage.
|
| |
| int | bm_storage_erase (const struct bm_storage *storage, uint32_t addr, uint32_t len, void *ctx) |
| | Erase data from storage.
|
| |
| bool | bm_storage_is_busy (const struct bm_storage *storage) |
| | Query the status of a storage instance.
|
| |
| const struct bm_storage_info * | bm_storage_nvm_info_get (const struct bm_storage *storage) |
| | Retrieve NVM storage information.
|
| |
| void | bm_storage_evt_dispatch (const struct bm_storage *storage, struct bm_storage_evt *evt) |
| | Dispatch a storage event to the application's event handler.
|
| |
Library that provides abstractions for operations such as read, write, and erase on non-volatile memory.