![]() |
EVE 1.0
|
#include <gpio-ext-pcal9535a.h>
Data Fields | |
const struct i2c_t * | I2c |
I2C port I2C0 or I2C1. | |
struct gpio_ext_pcal_state_t * | State |
IO expander run-time state. | |
uint8_t | SlaveAddress |
I2C slave address 0x20 to 0x27. | |
uint8_t | Reserved |
Reserved and not used. | |
uint16_t | OutInit |
Initialize value for output port pins (0 = low output, 1 = high output) | |
uint16_t | InInvert |
Invertion of inputs port pins (0 = no invert, 1 = invert) | |
uint16_t | Direction |
Sets the direction of port pins (0 = output, 1 = input) | |
uint16_t | PullEnable |
Enables pull resistors for port pins (0 = disable, 1 = enable) | |
uint16_t | PullSelect |
Selects pullup or polldown resistors port pins (0 = 100k pulldown, 1 = 100k pullup) | |
io_expander_t structure holds I2C port and slave address to be used, and the initial data for the ports.
Definition at line 80 of file gpio-ext-pcal9535a.h.