Functions provided by the API implementation. More...
#include <nrf_fstorage.h>
Data Fields | |
ret_code_t(* | init )(nrf_fstorage_t *p_fs, void *p_param) |
Initialize the flash peripheral. | |
ret_code_t(* | uninit )(nrf_fstorage_t *p_fs, void *p_param) |
Uninitialize the flash peripheral. | |
ret_code_t(* | read )(nrf_fstorage_t const *p_fs, uint32_t src, void *p_dest, uint32_t len) |
Read data from flash. | |
ret_code_t(* | write )(nrf_fstorage_t const *p_fs, uint32_t dest, void const *p_src, uint32_t len, void *p_param) |
Write bytes to flash. | |
ret_code_t(* | erase )(nrf_fstorage_t const *p_fs, uint32_t addr, uint32_t len, void *p_param) |
Erase flash pages. | |
uint8_t const *(* | rmap )(nrf_fstorage_t const *p_fs, uint32_t addr) |
Map a device address to a readable address within the MCU address space. | |
uint8_t *(* | wmap )(nrf_fstorage_t const *p_fs, uint32_t addr) |
Map a device address to a writable address within the MCU address space. | |
bool(* | is_busy )(nrf_fstorage_t const *p_fs) |
Check if there are any pending flash operations. | |
Functions provided by the API implementation.