This is a part of the Kinetiszer project.

Dependents:   SoundEngine

Committer:
Clemo
Date:
Tue Oct 28 12:19:22 2014 +0000
Revision:
0:5a419ba2726d
Error & warning free (I believe as I don't know how to clean).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Clemo 0:5a419ba2726d 1 #ifndef __EEPROM_H__
Clemo 0:5a419ba2726d 2 #define __EEPROM_H__
Clemo 0:5a419ba2726d 3
Clemo 0:5a419ba2726d 4
Clemo 0:5a419ba2726d 5 // TODO: replace this structure by external EEPROM chip driver.
Clemo 0:5a419ba2726d 6 typedef struct
Clemo 0:5a419ba2726d 7 {
Clemo 0:5a419ba2726d 8 void (*write)(uint32_t address, uint8_t value);
Clemo 0:5a419ba2726d 9 uint8_t (*read)(uint32_t address);
Clemo 0:5a419ba2726d 10 }
Clemo 0:5a419ba2726d 11 eeprom_t;
Clemo 0:5a419ba2726d 12
Clemo 0:5a419ba2726d 13 extern eeprom_t EEPROM;
Clemo 0:5a419ba2726d 14
Clemo 0:5a419ba2726d 15
Clemo 0:5a419ba2726d 16 #endif // __EEPROM_H__