Struct SYN_Settings¶
Persistent settings instance — flash-backed with change detection.
#include <syn_settings.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | checksum |
| void * | data |
| uint16_t | data_size |
| const void * | defaults |
| SYN_SettingsChangeCallback | on_change |
| void * | on_change_ctx |
| SYN_ParamStore | store |
Public Attributes Documentation¶
variable checksum¶
CRC-16 at last save/load
variable data¶
Pointer to user's settings struct
variable data_size¶
sizeof(settings struct)
variable defaults¶
Pointer to const default values
variable on_change¶
Change callback
variable on_change_ctx¶
Callback context
variable store¶
Backing wear-leveled flash store
The documentation for this class was generated from the following file src/syntropic/storage/syn_settings.h