#include <cfg/os.h>#include <cfg/memory.h>#include <sys/timer.h>#include <stdlib.h>#include <dev/twif.h>#include <dev/at24c.h>
Go to the source code of this file.
Defines | |
| #define | AT24C_AT91 |
Functions | |
| int | At24cRead (struct at24c *at24cs, uint8_t *buffer, uint32_t len, uint32_t addr) |
| Read data from EEPROM with ACK-Polling support. | |
| int | At24cWrite (struct at24c *at24cs, uint8_t *buffer, uint32_t len, uint32_t addr) |
| Write data into eeprom memory. | |
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. |
Definition at line 152 of file at24c.c.
Referenced by EEInit(), and EEReadData().
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. |
Definition at line 170 of file at24c.c.
References at24c::PageSize.
Referenced by EEWriteData().