nRF5 SDK v14.0.0
Data Fields
nrf_fstorage_api_t Struct Reference

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)
 Function for initializing the flash peripheral.
 
ret_code_t(* uninit )(nrf_fstorage_t *p_fs, void *p_param)
 Function for uninitializing the flash peripheral.
 
ret_code_t(* read )(nrf_fstorage_t const *p_fs, uint32_t src, void *p_dest, uint32_t len)
 Function for reading 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)
 Function for writing bytes to flash.
 
ret_code_t(* erase )(nrf_fstorage_t const *p_fs, uint32_t addr, uint32_t len, void *p_param)
 Function for erasing flash pages.
 
bool(* is_busy )(nrf_fstorage_t const *p_fs)
 Function for checking if there are any pending flash operations.
 

Detailed Description

Functions provided by the API implementation.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated