Modular Pinball Machine Controller

eeprom.h

00001 #ifndef _EEPROM_H
00002 #define _EEPROM_H
00003 
00004 #include "types.h"
00005 
00006 
00007 typedef union EE32_T {
00008   UINT32 val;
00009   BYTE   n[4];
00010 } EE32;
00011 
00012 BYTE ReadEEByte(BYTE address);
00013 void WriteEEByte(BYTE address, BYTE data);
00014 BYTE WriteVerifyEEByte(BYTE address, BYTE data);
00015 UINT32 ReadEE32(BYTE address);
00016 void WriteEE32(BYTE address, UINT32 *data);
00017 
00018 #endif     // _EEPROM_H