Main Page | File List | Globals

eep_lib.h File Reference

Go to the source code of this file.

Defines

#define EEPROM_BLANK_VALUE   0xFF

Functions

bit eeprom_erase (void)
bit eeprom_wr_byte (Uint16 addr, Uchar value)
 This function writes a byte in the eeprom memory.

Byte eeprom_rd_byte (Uint16 addr)
 This function reads a byte in the eeprom memory.

bit eeprom_rd_block (Uint16 src, Byte _MemType_ *dest, Byte n)
 This function reads up to 256 bytes in the eeprom memory.

bit eeprom_wr_block (Byte _MemType_ *src, Uint16 dest, Byte n)
 This function writes up to 256 bytes in the eeprom memory.


Define Documentation

#define EEPROM_BLANK_VALUE   0xFF
 

Definition at line 23 of file eep_lib.h.


Function Documentation

bit eeprom_erase void   ) 
 

bit eeprom_rd_block Uint16  src,
Byte _MemType_ *  dest,
Byte  n
 

This function reads up to 256 bytes in the eeprom memory.

Parameters:
src Address of the array to store read data
*dest Address of the eeprom memory to read
n number of byte to read
Returns:
The result of function.
  • FALSE: result KO
  • TRUE: result OK

Byte eeprom_rd_byte Uint16  addr  ) 
 

This function reads a byte in the eeprom memory.

Parameters:
addr Address of the eeprom memory to read
Returns:
Value read in the eeprom memory

bit eeprom_wr_block Byte _MemType_ *  src,
Uint16  dest,
Byte  n
 

This function writes up to 256 bytes in the eeprom memory.

Parameters:
*src Address of the array to write
dest Address of the eeprom memory to write
n number of byte to write
Returns:
The result of function.
  • FALSE: result KO
  • TRUE: result OK

bit eeprom_wr_byte Uint16  addr,
Uchar  value
 

This function writes a byte in the eeprom memory.

Parameters:
addr Address of the eeprom memory to write
value Byte to write
Returns:
The result of function.
  • FALSE: result KO
  • TRUE: result OK


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