Go to the source code of this file.
◆ EEPROM_ADDR
◆ EEPROM_DISABLE_WRITE_PROTECT
| #define EEPROM_DISABLE_WRITE_PROTECT |
( |
| ) |
PA7 = 0; OEA |= 0x80 |
◆ EEPROM_ENABLE_WRITE_PROTECT
| #define EEPROM_ENABLE_WRITE_PROTECT |
( |
| ) |
OEA &= ~0x80 |
◆ LSB
| #define LSB |
( |
|
word | ) |
(BYTE)((WORD)(word) & 0xff) |
◆ MSB
| #define MSB |
( |
|
word | ) |
(BYTE)(((WORD)(word) >> 8) & 0xff) |
◆ SERIAL_ADDR
◆ SWAP_ENDIAN
| #define SWAP_ENDIAN |
( |
|
word | ) |
|
Value:((
BYTE*)&word)[0] ^= ((
BYTE*)&word)[1];\
((
BYTE*)&word)[1] ^= ((
BYTE*)&word)[0];\
unsigned char BYTE
Definition: fx2regs.h:72
◆ EEPROMGetPageSize()
| BYTE EEPROMGetPageSize |
( |
| ) |
|
◆ EEPROMRead()
◆ EEPROMWritePage()
◆ EEStartAndAddr()
| static void EEStartAndAddr |
( |
| ) |
|
|
static |
◆ EEWaitForAck()
◆ EEWaitForDone()
◆ EEWaitForStop()
◆ WaitForEEPROMWrite()
| void WaitForEEPROMWrite |
( |
| ) |
|
◆ WaitForEEPROMWrite2()
| void WaitForEEPROMWrite2 |
( |
| ) |
|
◆ DB_Addr
◆ EE_Page_Size
◆ I2C_Addr