struct BUP_SECTOR_HEADER
The header of a save sector in flash: its signature, the part it holds, its checksum and its counter.
Declared in definitions.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | signature [7] | CAMELOT, unterminated |
Uint8 | partId | parts n, n + BUP_FILE_COUNT; BUP_PART_NONE (system/system_bup.c) free |
Uint16 | checksum | low half of the payload's checksum |
Uint16 | count | the highest is the current copy; restarts after |
Uint8 | reserved [4] | 65000 |
Description
The header of a save sector in flash: its signature, the part it holds, its checksum and its counter.
struct BUP_SECTOR_HEADER
Referenced by syBupInitState(), syBupInvalidateSector(), syBupReadSector() and syBupWritePart().
Definition at line 1262 of file definitions.h.
Fields in detail
signature
Uint8 signature[7]
CAMELOT, unterminated
partId
Uint8 partId
parts n, n + BUP_FILE_COUNT; BUP_PART_NONE
(system/system_bup.c) free
checksum
Uint16 checksum
low half of the payload's checksum
count
Uint16 count
the highest is the current copy; restarts after
reserved
Uint8 reserved[4]
65000