30#ifndef CONFIGURATION_HPP__
31#define CONFIGURATION_HPP__
36#define createData( x ) { .dataPointer = &x, .dataSize = sizeof( x ) }
Configuration Manager Class.
configurationData_t * configTree
Pointer to configTree.
uint8_t crc
Calculated CRC.
void crcFeed(uint8_t data)
Maxim like crc-8.
bool loadConfig()
Load configuration from EEPROM.
void saveConfig()
Save configuration to EEPROM.
uint8_t configTreeSize
configTree size.
Type for configTree element.
void * dataPointer
Pointer for the data, that has to be stored or loaded. The type is void* to support any kind of data.
uint8_t dataSize
The size of the data, that has to be stored or loaded. Specified in bytes.