Added runtime configurable global settings with eeprom persitence
This commit is contained in:
parent
a6b8d73044
commit
b8ba8a4231
13 changed files with 350 additions and 48 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue