nRF5 SDK for Mesh v3.2.0  08c60f6
flash_manager_config_t Struct Reference

Flash manager configuration structure, defines the user-configurable parts of the flash manager. More...

#include <flash_manager.h>

Data Fields

const flash_manager_page_tp_area
 Start of area owned by this flash manager.
 
uint32_t page_count
 Number of pages in the area.
 
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.
 
flash_manager_invalidate_complete_cb_t invalidate_complete_cb
 Callback called after every completed entry invalidation, or NULL.
 
flash_manager_remove_complete_cb_t remove_complete_cb
 Callback called after the manager has been successfully removed.
 

Detailed Description

Flash manager configuration structure, defines the user-configurable parts of the flash manager.

Definition at line 204 of file flash_manager.h.

Field Documentation

◆ min_available_space

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.


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