This file contains a set of routines to perform eeprom access. More...

Go to the source code of this file.
Defines | |
| #define | EEPROM_BLANK_VALUE 0xFF |
Functions | |
| bit | eeprom_erase (void) |
| This function erases the whole eeprom memory. | |
| 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, U16 n) |
| This function writes up to 256 bytes in the eeprom memory. | |
This file contains a set of routines to perform eeprom access.
Definition in file eep_lib.h.
| bit eeprom_erase | ( | void | ) |
This function erases the whole eeprom memory.
This function writes a byte in the eeprom memory.
| addr | Address of the eeprom memory to write |
| value | Byte to write |
This function reads a byte in the eeprom memory.
| addr | Address of the eeprom memory to read |
This function reads up to 256 bytes in the eeprom memory.
| src | Address of the array to store read data |
| *dest | Address of the eeprom memory to read |
| n | number of byte to read |
This function writes up to 256 bytes in the eeprom memory.
| *src | Address of the array to write |
| dest | Address of the eeprom memory to write |
| n | number of byte to write |
1.7.2