#include "t89c51cc02.h"
#include "datatypes.h"
#include "eeprom.h"
Go to the source code of this file.
Functions | |
BYTE | EEPROM_read (BYTE address) |
read a byte from the EEPROM | |
void | EEPROM_write (BYTE d, BYTE address) |
write a byte into the EEPROM latches | |
void | EEPROM_flush () |
writes latched EEPROM contents to the EEPROM | |
Variables | |
unsigned char xdata * | eepromptr |
Definition in file eeprom.c.
|
writes latched EEPROM contents to the EEPROM
Prepare the new contents with EEPROM_write before writing them to the EEPROM. Definition at line 77 of file eeprom.c. References EEPROM_wait. |
|
read a byte from the EEPROM
A byte is read from the EEPROM at the given EEPROM address.
Definition at line 23 of file eeprom.c. References EEPROM_wait, and eepromptr. Referenced by Command_ReadDefaultConfiguration(). |
|
write a byte into the EEPROM latches
This function only latches data but the data is not written to the EEPROM.
Definition at line 54 of file eeprom.c. References EEPROM_wait, and eepromptr. |
|
address pointer into EEPROM Definition at line 12 of file eeprom.c. Referenced by EEPROM_read(), and EEPROM_write(). |