Create a directory for EEPROMs if it doesn't already exist
[clinton/Virtual-Jaguar-Rx.git] / src / eeprom.h
1 //
2 // EEPROM.H: Header file
3 //
4
5 #ifndef __EEPROM_H__
6 #define __EEPROM_H__
7
8 #include <stdint.h>
9
10 extern void EepromInit(void);
11 extern void EepromReset(void);
12 extern void EepromDone(void);
13
14 extern uint8_t EepromReadByte(uint32_t offset);
15 extern uint16_t EepromReadWord(uint32_t offset);
16 extern void EepromWriteByte(uint32_t offset, uint8_t data);
17 extern void EepromWriteWord(uint32_t offset, uint16_t data);
18
19 #endif // __EEPROM_H__