#include <i2c.h>
Go to the source code of this file.
Function Documentation
This function reads to the data Port of the I2C I/O expander.
- Parameters:
-
control | Is the address of the PCF8574 (Internal Address + Pin address |
data | Address where the data is written into. |
- Returns:
- status 1: The byte has been properly written -1: Bus Collision error -2: Not Ack error condition -3: Write collision
Definition at line 132 of file PCF8574.c.
This function writes to the data Port of the I2C I/O expander.
- Parameters:
-
control | Is the address of the PCF8574 (Internal Address + Pin address) |
data | Byte to write [min: 0, max: 255] |
- Returns:
- status 1: The byte has been properly written -1: Bus Collision error -2: Not Ack error condition -3: Write collision
Definition at line 46 of file PCF8574.c.