Files | |
| file | SPIEEPROM.c |
| Data SPI EEPROM Access Routines. | |
| file | XEEPROM.h |
| External serial data EEPROM Access Defs. | |
Functions | |
| XEE_RESULT | XEEReadArray (XEE_ADDR address, BYTE *buffer, BYTE length) |
| Reads desired number of bytes in sequential mode. | |
| void | XEEEraseEEPROM (void) |
| Erases the whole EEPROM. | |
| void | XEEWriteArray (WORD u16Address, BYTE *pu8Data, BYTE u8Len) |
| Writes an array of bytes to a specified address in the EEPROM. | |
| void XEEEraseEEPROM | ( | void | ) |
Erases the whole EEPROM.
After the erase all bytes in EEPROM have a value of 0xFF.
Definition at line 369 of file SPIEEPROM.c.
| XEE_RESULT XEEReadArray | ( | XEE_ADDR | address, | |
| BYTE * | buffer, | |||
| BYTE | length | |||
| ) |
Reads desired number of bytes in sequential mode.
This function performs all necessary steps and releases the bus when finished.
| address | Address from where the array should be read | |
| buffer | Caller supplied buffer to hold the data | |
| length | Number of bytes to read. |
Definition at line 161 of file SPIEEPROM.c.
| void XEEWriteArray | ( | WORD | u16Address, | |
| BYTE * | pu8Data, | |||
| BYTE | u8Len | |||
| ) |
Writes an array of bytes to a specified address in the EEPROM.
| u16Address | Address in EEPROM the data is written to. | |
| pu8Data | Pointer to the data. | |
| u8Len | Size of data to be written. |
Definition at line 385 of file SPIEEPROM.c.
1.5.5