Main Page | File List | Globals

eep_lib.h

Go to the documentation of this file.
00001 
00015 #ifndef _EEP_LIB_H
00016 #define _EEP_LIB_H
00017 
00018 /*_____ I N C L U D E S ____________________________________________________*/
00019 
00020 /*_____ M A C R O S ________________________________________________________*/
00021 
00022 /*_____ D E F I N I T I O N S ______________________________________________*/
00023 #define EEPROM_BLANK_VALUE    0xFF
00024 
00025 /*_____ D E C L A R A T I O N S ____________________________________________*/
00026 //
00027 // @brief This function erases the whole eeprom memory.
00028 //
00029  // @return The result of function.
00030  //         - FALSE: result KO
00031  //         - TRUE:  result OK
00032 //
00033  //
00034 bit     eeprom_erase          (void);
00035 
00045 bit     eeprom_wr_byte        (Uint16 addr, Uchar value);
00046 
00055 Byte  eeprom_rd_byte        (Uint16 addr);
00056 
00067 bit     eeprom_rd_block       (Uint16 src, Byte _MemType_* dest, Byte n);
00068 
00079 bit     eeprom_wr_block       (Byte _MemType_* src, Uint16 dest, Byte n);
00080 
00081 #endif  /* _EEP_LIB_H */
00082 

Generated on Thu Apr 1 15:49:47 2004 for Library Flash by doxygen 1.3.6