Contents
EEPROM
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
EEPROM_WriteByte
Defination | void EEPROM_WriteByte(uint16_t eeprom_Address, uint8_t eeprom_Data) |
Input Arguments | uint16_t: eeprom_address at which eeprom_data is to be written. uint8_t-->byte of data to be to be written in eeprom. |
Return Value | none |
Description | This function is used to write the data at specified EEPROM_address.. |
Usage |
EEPROM_WriteNBytes
Defination | void EEPROM_WriteNBytes(uint16_t EepromAddr, uint8_t *RamAddr, uint16_t NoOfBytes) |
Input Arguments | uint16_t,-->eeprom_address from where the N-bytes are to be written. uint8_t*-->Pointer to the N-bytes of data to be written. uint16_t --> Number of bytes to be written. |
Return Value | none |
Description | This function is used to write N-bytes of data at specified EEPROM_address. |
Usage |
EEPROM_WriteString
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
EEPROM_Erase
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |
EEPROM_ReadByte
Defination | uint8_t EEPROM_ReadByte(uint16_t eeprom_Address) |
Input Arguments | uint16_t-->eeprom_address from where eeprom_data is to be read. |
Return Value | uint8_t-->data read from Eeprom. |
Description | This function is used to read the data from specified EEPROM_address. |
Usage |
EEPROM_ReadNBytes
Defination | void EEPROM_ReadNBytes(uint16_t EepromAddr, uint8_t *RamAddr, uint16_t NoOfBytes) |
Input Arguments | uint16_t,-->eeprom_address from where the N-bytes is to be read. uint8_t*-->Pointer into which the N-bytes of data is to be read. uint16_t --> Number of bytes to be Read.
|
Return Value | none |
Description | This function is used to Read N-bytes of data from specified EEPROM_address. The data read from the eeprom will be copied into the RamAddress passed.Care should be taken to allocate enough buffer to read the data. |
Usage |
EEPROM_ReadString
Defination | |
Input Arguments | |
Return Value | |
Description | |
Usage |