#ifndef EEPROM_H
#define EEPROM_H

#define EepErase 0x8
#define EepWrite 0x2
#define EepRead 0x1

#define EepEraseFlag 0x80
#define EepWriteFlag 0x20
#define EepReadFlag 0x10

// <<< Use Configuration Wizard in Context Menu >>>

// <e> EEPROM  Enable/Disable
	#define EEPROM_MODE	1

// </e>

// <<< end of configuration section >>>

extern uint8 EEPBuf;
#if (EEPROM_MODE==1)
	extern void EEP_Power_Init_read_data(void);
	extern uint8 EEP_Read (uint8 Add);
#endif	
// extern void EEP_Saving(uint8 rf_data);
// extern void EEP_Init (uint8 Add);
extern void EEP_Erase (void);
extern void EEP_Write (uint8 Add,uint8 Data);

#endif