1 #ifndef DRIVER_IO_EXPANDER_PCA9535A_H 2 #define DRIVER_IO_EXPANDER_PCA9535A_H 42 #include <em_device.h> 170 #endif //DRIVER_IO_EXPANDER_PCA9535A_H bool IoExpPortWrite(const struct io_expander_t *IoExpander, const uint8_t Port0, const uint8_t Port1)
Name: IoExpPortWrite Write to IO expander PORT0 and PORT1.
uint8_t SlaveAddress
I2C slave address 0x20 to 0x27.
bool IoExpPortRead(const struct io_expander_t *IoExpander, uint8_t *Port0, uint8_t *Port1)
Name: IoExpPortRead Read IO expander PORT0 and PORT1.
const struct i2c_t * I2c
I2C port I2C0 or I2C1.
bool IoExpPortInit(const struct io_expander_t *IoExpander)
Name: IoExpPortInit Initializes I2C-based IO expander type NXP PCA9535A. I2C address range is 0x20 - ...
bool IoExpPort0Write(const struct io_expander_t *IoExpander, const uint8_t Port0)
Name: IoExpPort0Write Write to IO expander PORT0.
static bool IoExpPort1Read(const struct io_expander_t *IoExpander, uint8_t *Port1)
Name: IoExpPort1Read Read IO expander PORT1.
bool IoExpPort1Write(const struct io_expander_t *IoExpander, const uint8_t Port1)
Name: IoExpPort1Write Write to IO expander PORT1.
static bool IoExpPort0Read(const struct io_expander_t *IoExpander, uint8_t *Port0)
Name: IoExpPort0Read Read IO expander PORT0.