![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
Backend API. More...
#include <bm/storage/bm_storage.h>
Data Fields | |
| int(* | init )(struct bm_storage *storage, const struct bm_storage_config *config) |
| int(* | uninit )(struct bm_storage *storage) |
| int(* | read )(const struct bm_storage *storage, uint32_t src, void *dest, uint32_t len) |
| int(* | write )(const struct bm_storage *storage, uint32_t dest, const void *src, uint32_t len, void *ctx) |
| int(* | erase )(const struct bm_storage *storage, uint32_t addr, uint32_t len, void *ctx) |
| bool(* | is_busy )(const struct bm_storage *storage) |
Backend API.
Provides function pointers for a storage backend implementation. An API instance is assigned during initialization via bm_storage_config::api.