Added runtime configurable global settings with eeprom persitence
This commit is contained in:
9
eeprom.h
Normal file
9
eeprom.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef eeprom_h
|
||||
#define eeprom_h
|
||||
|
||||
char eeprom_get_char(unsigned int addr);
|
||||
void eeprom_put_char(unsigned int addr, char new_value);
|
||||
void memcpy_to_eeprom_with_checksum(unsigned int destination, char *source, unsigned int size);
|
||||
int memcpy_from_eeprom_with_checksum(char *destination, unsigned int source, unsigned int size);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user