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