Skip to content

Struct SYN_ParamStore

ClassList > 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

uint8_t SYN_ParamStore::active_sector;

Sector containing the active slot


variable active_slot

uint16_t SYN_ParamStore::active_slot;

Slot index within the active sector


variable data_size

uint16_t SYN_ParamStore::data_size;

Size of the parameter data block


variable flash_base

uint32_t SYN_ParamStore::flash_base;

Start address of the flash region


variable initialized

bool SYN_ParamStore::initialized;

Init complete


variable next_seq

uint16_t SYN_ParamStore::next_seq;

Next sequence number to use


variable sector_count

uint8_t SYN_ParamStore::sector_count;

Number of sectors allocated


variable sector_size

uint32_t SYN_ParamStore::sector_size;

Size of one flash sector (bytes)


variable slot_size

uint16_t SYN_ParamStore::slot_size;

sizeof(header) + data_size, aligned


variable slots_per_sector

uint16_t SYN_ParamStore::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