Alchemy
Loading...
Searching...
No Matches

SaveWorkspace Struct Reference

The save work: which of the 16 flash sectors hold a record, their record ids and sequence numbers, one sector's buffer and the three files' summaries. More...

#include <save_state.h>

Data Structures

union  [union].slot

Data Fields

u8 occupied [16]
 1 for a sector holding the current copy of a record
u8 recordId [16]
 each sector's record; 16 for none
u16 sequence [16]
 each sector's sequence number
union  slot
 one sector, read from or written to flash
struct SaveSummary summary [3]
 each file's, read from its first record

Detailed Description

The save work: which of the 16 flash sectors hold a record, their record ids and sequence numbers, one sector's buffer and the three files' summaries.

Definition at line 61 of file save_state.h.

Field Documentation

◆ occupied

u8 SaveWorkspace::occupied[16]

◆ recordId

◆ sequence

u16 SaveWorkspace::sequence[16]

◆ slot

◆ summary

struct SaveSummary SaveWorkspace::summary[3]