Flash manager configuration structure, defines the user-configurable parts of the flash manager. More...
#include <flash_manager.h>
Data Fields | |
const flash_manager_page_t * | p_area |
Start of area owned by this flash manager. More... | |
uint32_t | page_count |
Number of pages in the area. More... | |
uint32_t | min_available_space |
Number of bytes that should always be left available during normal operation. More... | |
flash_manager_write_complete_cb_t | write_complete_cb |
Callback called after every completed write action, or NULL . More... | |
flash_manager_invalidate_complete_cb_t | invalidate_complete_cb |
Callback called after every completed entry invalidation, or NULL . More... | |
flash_manager_remove_complete_cb_t | remove_complete_cb |
Callback called after the manager has been successfully removed. More... | |
Flash manager configuration structure, defines the user-configurable parts of the flash manager.
Definition at line 204 of file flash_manager.h.
const flash_manager_page_t* flash_manager_config_t::p_area |
Start of area owned by this flash manager.
Definition at line 206 of file flash_manager.h.
uint32_t flash_manager_config_t::page_count |
Number of pages in the area.
Definition at line 207 of file flash_manager.h.
uint32_t flash_manager_config_t::min_available_space |
Number of bytes that should always be left available during normal operation.
Once the manager has this many bytes or less left, it'll start defragmentation.
Definition at line 208 of file flash_manager.h.
flash_manager_write_complete_cb_t flash_manager_config_t::write_complete_cb |
Callback called after every completed write action, or NULL
.
Definition at line 210 of file flash_manager.h.
flash_manager_invalidate_complete_cb_t flash_manager_config_t::invalidate_complete_cb |
Callback called after every completed entry invalidation, or NULL
.
Definition at line 211 of file flash_manager.h.
flash_manager_remove_complete_cb_t flash_manager_config_t::remove_complete_cb |
Callback called after the manager has been successfully removed.
Definition at line 212 of file flash_manager.h.