A platform with EEPROM support must implement this API.
Files | |
| file | eeprom.h |
| EEPROM functions. | |
Defines | |
| #define | EEPROM_NULL 0 |
Typedefs | |
| typedef unsigned short | eeprom_addr_t |
Functions | |
| void | eeprom_write (eeprom_addr_t addr, unsigned char *buf, int size) |
| Write a buffer into EEPROM. | |
| void | eeprom_read (eeprom_addr_t addr, unsigned char *buf, int size) |
| Read data from the EEPROM. | |
| void | eeprom_init (void) |
| Initialize the EEPROM module. | |
|
|
Initialize the EEPROM module. This function initializes the EEPROM module and is called from the bootup code. |
|
||||||||||||||||
|
Read data from the EEPROM. This function reads a number of bytes from the specified address in EEPROM and into a buffer in memory.
Definition at line 241 of file eeprom.c. References EEPROMADDRESS. |
|
||||||||||||||||
|
Write a buffer into EEPROM. This function writes a buffer of the specified size into EEPROM.
Definition at line 274 of file eeprom.c. References EEPROMADDRESS, and EEPROMPAGEMASK. |
1.4.4