Flash storage config variable. More...
#include <fstorage.h>
Data Fields |
|
| const fs_cb_t | cb |
| const uint8_t | num_pages |
| const uint8_t | page_order |
| uint32_t * | p_start_addr |
| uint32_t * | p_end_addr |
Detailed Description
Flash storage config variable.
The fstorage module will update the start_addr and end_address according to ordering rules and the number of pages requested by the fstorage module user.
Field Documentation
| const fs_cb_t fs_config_t::cb |
Callback to run when flash operation has completed.
| const uint8_t fs_config_t::num_pages |
The number of pages to reserve for flash storage.
| uint32_t* fs_config_t::p_end_addr |
Pointer to the end address of the allcoated flash storage. Set by running fs_init .
| uint32_t* fs_config_t::p_start_addr |
Pointer to the start address of the allocated flash storage. Set by running fs_init .
| const uint8_t fs_config_t::page_order |
The order used to allocate pages.