]> Shamusworld >> Repos - virtualjaguar/blob - src/include/eeprom.h
Changed functioning to save EEPROM contents on write instead of waiting until the...
[virtualjaguar] / src / include / eeprom.h
1 //
2 // EEPROM.H: Header file
3 //
4
5 #ifndef __EEPROM_H__
6 #define __EEPROM_H__
7
8 #include "jaguar.h"
9
10 void eeprom_init(void);
11 void eeprom_reset(void);
12 void eeprom_done(void);
13 void eeprom_update(void);
14
15 uint8 eeprom_byte_read(uint32 offset);
16 uint16 eeprom_word_read(uint32 offset);
17 void eeprom_byte_write(uint32 offset, uint8 data);
18 void eeprom_word_write(uint32 offset, uint16 data);
19
20 #endif  // __EEPROM_H__