Struct SYN_ParamStore¶
Wear-leveled flash parameter store instance.
#include <syn_param.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | active_sector |
| uint16_t | active_slot |
| uint16_t | data_size |
| uint32_t | flash_base |
| bool | initialized |
| uint16_t | next_seq |
| uint8_t | sector_count |
| uint32_t | sector_size |
| uint16_t | slot_size |
| uint16_t | slots_per_sector |
Public Attributes Documentation¶
variable active_sector¶
Sector containing the active slot
variable active_slot¶
Slot index within the active sector
variable data_size¶
Size of the parameter data block
variable flash_base¶
Start address of the flash region
variable initialized¶
Init complete
variable next_seq¶
Next sequence number to use
variable sector_count¶
Number of sectors allocated
variable sector_size¶
Size of one flash sector (bytes)
variable slot_size¶
sizeof(header) + data_size, aligned
variable slots_per_sector¶
Slots that fit in one sector
The documentation for this class was generated from the following file src/syntropic/storage/syn_param.h