Go to the source code of this file.
Data Structures | |
| struct | at24c |
Defines | |
| #define | NUT_CONFIG_AT24_ADR 0x50 |
Functions | |
| int | At24cWrite (struct at24c *at24cs, uint8_t *buffer, uint16_t len, uint16_t addr) |
| Write data into eeprom memory. | |
| int | At24cRead (struct at24c *at24cs, uint8_t *buffer, uint16_t len, uint16_t addr) |
| Read data from EEPROM with ACK-Polling support. | |
| #define NUT_CONFIG_AT24_ADR 0x50 |
Referenced by EEInit(), and ShowHardwareConfiguration().
Write data into eeprom memory.
| at24cs | Device descriptor. |
| buffer | Buffer to transfer to EEPROM. |
| len | Number of bytes to write. |
| addr | Address in EEPROM to place data. |
References at24c::ee_mutex, NutEventPost(), NutEventWait(), at24c::PageSize, printf, rc, at24c::SlaveAddress, and at24c::Timeout.
Referenced by EEWriteData().
Read data from EEPROM with ACK-Polling support.
| at24cs | Device descriptor. |
| buffer | Buffer to transfer to from EEPROM. |
| len | Number of bytes to read. |
| addr | Address in EEPROM where to read from. |
References at24c::ee_mutex, NutEventPost(), NutEventWait(), at24c::PageSize, printf, rc, at24c::SlaveAddress, and at24c::Timeout.
Referenced by EEInit(), and EEReadData().