This is a part of the Kinetiszer project.
Diff: eeprom.h
- Revision:
- 0:5a419ba2726d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eeprom.h Tue Oct 28 12:19:22 2014 +0000 @@ -0,0 +1,16 @@ +#ifndef __EEPROM_H__ +#define __EEPROM_H__ + + +// TODO: replace this structure by external EEPROM chip driver. +typedef struct +{ + void (*write)(uint32_t address, uint8_t value); + uint8_t (*read)(uint32_t address); +} +eeprom_t; + +extern eeprom_t EEPROM; + + +#endif // __EEPROM_H__