v
Fork of nrf51-sdk by
fstorage.h File Reference
Go to the source code of this file.
Data Structures | |
| struct | fs_config_t |
| Flash storage config variable. More... | |
Typedefs | |
| typedef void(* | fs_cb_t )(uint8_t op_code, uint32_t result, uint32_t const *p_data, fs_length_t length_words) |
| Callback for flash operations. | |
Functions | |
| static void | fs_callback (uint8_t op_code, uint32_t result, uint32_t const *p_data, fs_length_t length_words) |
| Function prototype for a callback handler. | |
| ret_code_t | fs_init (void) |
| Function to initialize FStorage. | |
| ret_code_t | fs_store (fs_config_t const *p_config, uint32_t const *p_addr, uint32_t const *const p_data, fs_length_t length_words) |
| Function to store data in flash. | |
| ret_code_t | fs_erase (fs_config_t const *p_config, uint32_t *const p_addr, fs_length_t length_words) |
| Function to erase a page in flash. | |
| void | fs_sys_event_handler (uint32_t sys_evt) |
| Function to call to handle events from the SoftDevice. | |
Detailed Description
Definition in file fstorage.h.
Generated on Tue Jul 12 2022 20:33:45 by
1.7.2
