REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
nvmconfig Namespace Reference
Classes | |
struct | PermanentUserDefinedStuff |
Permanent untyped arbitrary information which a device user wants to store. More... | |
struct | PersistentSettings |
class | PersistentSettingsWriter |
Persistent user-changable configuration of the Teensy Microcontroller. More... | |
struct | VendorOTP |
Enumerations | |
enum class | Context { User , Flash } |
Functions | |
JSON_CONVERT_SUGAR (VendorOTP) | |
Variables | |
static constexpr int | eeprom_address = 0 |
static constexpr int | eeprom_size = 2'000 |
static constexpr uint32_t | required_magic = 0xAA03 |
Enumeration Type Documentation
◆ Context
|
strong |
Enumerator | |
---|---|
User | User-Facing (writing/reading) |
Flash | Flash-Facing (writing/reading) |
Definition at line 23 of file persistent.h.
Function Documentation
◆ JSON_CONVERT_SUGAR()
nvmconfig::JSON_CONVERT_SUGAR | ( | VendorOTP | ) |
Variable Documentation
◆ eeprom_address
|
staticconstexpr |
Definition at line 42 of file persistent.h.
Referenced by nvmconfig::PersistentSettingsWriter::read_from_eeprom(), and nvmconfig::PersistentSettingsWriter::write_to_eeprom().
◆ eeprom_size
|
static |
Definition at line 42 of file persistent.h.
Referenced by nvmconfig::PersistentSettingsWriter::info(), nvmconfig::PersistentSettingsWriter::read_from_eeprom(), and nvmconfig::PersistentSettingsWriter::write_to_eeprom().
◆ required_magic
|
staticconstexpr |
Definition at line 48 of file persistent.h.
Referenced by nvmconfig::PersistentSettingsWriter::read_from_eeprom(), and nvmconfig::PersistentSettingsWriter::reset_defaults().