|
at24c32 access library
|

Functions | |
| unsigned char | at24c32ByteRead (int fd, unsigned short address) |
| reads a byte from the EEPROM More... | |
| unsigned char * | at24c32BlockRead (int fd, unsigned short address, unsigned short length) |
| reads a block of data from the EEPROM More... | |
| unsigned char | a24c32CurrentAddressRead (int fd) |
| reads from current memory address More... | |
Variables | |
| bool | at24c32Debug |
| unsigned char | at24c32BlockData [AT24C32_SIZE] |
Contains functions to read the at24c32 eeprom
Copyright U. Raich Dec. 2016
This program is part of a course on embedded systems held at the University of Cape Coast, Ghana in 2017 It is released under the GNU Public License For details please see https://www.gnu.org/licenses/gpl.html
| unsigned char a24c32CurrentAddressRead | ( | int | fd | ) |
reads from current memory address
| int | fd: the file descriptor returned by a24c32Open |
| unsigned char* at24c32BlockRead | ( | int | fd, |
| unsigned short | address, | ||
| unsigned short | length | ||
| ) |
reads a block of data from the EEPROM
| int | fd: the file descriptor returned by a24c32Open |
| unsigned | short address: the memory address to read from |
| unsigned | short length: the number of bytes to be read |
| unsigned char at24c32ByteRead | ( | int | fd, |
| unsigned short | address | ||
| ) |
reads a byte from the EEPROM
| int | fd: the file descriptor returned by a24c32Open |
| unsigned | short address: the memory address to read from |
1.8.11