![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <pcf857x.h>
Data Fields | |
| GPIO_DEVICE | gpio |
| I2C_DEVICE * | i2c |
| The I2C device this GPIO is connected to. | |
| uint16_t | address |
| The I2C address of the device. | |
| uint32_t | chip |
| The chip type (eg PCF857X_CHIP_PCF8574). | |
| uint32_t | size |
| Size of an I2C read/write for the device. | |
| uint32_t | rate |
| Clock rate for this device. | |
| uint8_t | gpiovalues [PCF857X_I2C_MAX_SIZE] |
| Buffer for GPIO port values (Output only). | |
| uint8_t | gppuvalues [PCF857X_I2C_MAX_SIZE] |
| Buffer for GPPU pull up values. | |
| uint8_t | iodirvalues [PCF857X_I2C_MAX_SIZE] |
| Buffer for IODIR I/O direction values. | |
| GPIO_DEVICE gpio |
| I2C_DEVICE* i2c |
The I2C device this GPIO is connected to.
| uint16_t address |
The I2C address of the device.
| uint32_t chip |
The chip type (eg PCF857X_CHIP_PCF8574).
| uint32_t size |
Size of an I2C read/write for the device.
| uint32_t rate |
Clock rate for this device.
| uint8_t gpiovalues[PCF857X_I2C_MAX_SIZE] |
Buffer for GPIO port values (Output only).
| uint8_t gppuvalues[PCF857X_I2C_MAX_SIZE] |
Buffer for GPPU pull up values.
| uint8_t iodirvalues[PCF857X_I2C_MAX_SIZE] |
Buffer for IODIR I/O direction values.