|
static void | WriteByte (addr_t addr, uint8_t value) |
|
static void | UpdateByte (addr_t addr, uint8_t value) |
|
static uint8_t | ReadByte (addr_t addr) |
|
static uint8_t | ReadByte (addr_t addr, uint8_t defaultValue) |
|
static void | WriteWord (addr_t addr, uint16_t value) |
|
static void | UpdateWord (addr_t addr, uint16_t value) |
|
static uint16_t | ReadWord (addr_t addr) |
|
constexpr static addr_t | End () |
|
◆ End()
constexpr static addr_t hal::eeprom::EEPROM::End |
( |
| ) |
|
|
inlinestaticconstexpr |
- Returns
- physical end address of EEPROM memory end TODO this is sad - the constexpr must be inline... find a way around in the future
◆ ReadByte()
uint8_t hal::eeprom::EEPROM::ReadByte |
( |
EEPROM::addr_t |
addr, |
|
|
uint8_t |
defaultValue |
|
) |
| |
|
static |
Convenience function to read a 1-byte value from EEPROM and check for unitialized EEPROM cells.
- Returns
- 1-byte value read from the EEPROM. In case the EEPROM has a default value at
addr
, this function returns defaultValue
The documentation for this class was generated from the following files: