Added runtime configurable global settings with eeprom persitence

This commit is contained in:
Simen Svale Skogsrud
2010-03-07 20:29:18 +01:00
parent a6b8d73044
commit b8ba8a4231
13 changed files with 350 additions and 48 deletions

9
eeprom.h Normal file
View 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