16 byte sector header used in flash located at the start of the active sector.
Data Fields | |
uint16_t | headerCrc |
Is Crc of the sector header. More... | |
uint16_t | nextPageAddressAfterCompact |
Next Page address where the next item update should start after compact sector operation. More... | |
uint32_t | sequenceNumber |
Counter, decreased each time a new sector becomes the active sector. More... | |
uint32_t | sequenceParity |
Parity bits for the sequenceNumber field = sequenceNumber ^ 0xFFFFFFFFuL. More... | |
uint8_t | signature [6] |
Signature to detect valid sectors. More... | |
uint16_t SectorHeader_t::headerCrc |
Is Crc of the sector header.
Written at the end of the compact operation.
Referenced by ComputeSectorHeaderCrc(), S_Nv_EarlyInit(), and WriteSectorHeader().
uint16_t SectorHeader_t::nextPageAddressAfterCompact |
Next Page address where the next item update should start after compact sector operation.
Referenced by LoadSector(), and WriteSectorHeader().
uint32_t SectorHeader_t::sequenceNumber |
Counter, decreased each time a new sector becomes the active sector.
Referenced by CompactSector(), S_Nv_EarlyInit(), and WriteSectorHeader().
uint32_t SectorHeader_t::sequenceParity |
Parity bits for the sequenceNumber field = sequenceNumber ^ 0xFFFFFFFFuL.
Referenced by S_Nv_EarlyInit(), and WriteSectorHeader().
uint8_t SectorHeader_t::signature[6] |
Signature to detect valid sectors.
Must have the value "S_Nv2".
Referenced by S_Nv_EarlyInit(), and WriteSectorHeader().