![]() |
EVE 1.0
|
Driver for I2C-based IO expander type NXP PCAL9535A. More...
Go to the source code of this file.
Data Structures | |
struct | gpio_ext_pcal_state_t |
struct | gpio_ext_pcal_t |
Functions | |
Functions called from application programs | |
uint16_t | ReadPcal (const struct gpio_ext_t *GpioExt, uint8_t Address) |
void | WritePcal (const struct gpio_ext_t *GpioExt, uint8_t Address, uint16_t Data) |
static void | GpioExtInitPcal (const struct gpio_ext_t *GpioExt) |
Initialize I2C-based IO expander type NXP PCAL9535A. More... | |
static void | GpioExtDisablePcal (const struct gpio_ext_t *GpioExt) |
De-initialize I2C-based IO expander type NXP PCAL9535A. More... | |
static uint16_t | GpioExtInPortPcal (const struct gpio_ext_t *GpioExt) |
Name: GpioExtInPortPcal Read 16-bits data from GPIO port. More... | |
static void | GpioExtOutPortPcal (const struct gpio_ext_t *GpioExt, uint16_t Data) |
Name: GpioExtOutPortPcal Write 16-bits data to GPIO port. More... | |
static void | GpioExtSetDirectionPcal (const struct gpio_ext_t *GpioExt, uint16_t Direction) |
Set pins direction to GPIO port. More... | |
static void | GpioExtSetPullSelectPcal (const struct gpio_ext_t *GpioExt, uint16_t PullSelect) |
Select pullup or pulldown for GPIO port. More... | |
static void | GpioExtSetPullEnablePcal (const struct gpio_ext_t *GpioExt, uint16_t PullEnable) |
Enable pullup/pulldown to GPIO port. More... | |
static void | GpioExtSetInterruptsPcal (const struct gpio_ext_t *GpioExt, uint16_t Mask) |
static void | GpioExtSetLatchPcal (const struct gpio_ext_t *GpioExt, uint16_t Mask) |
void | GpioExtSetDrivePcal (const struct gpio_ext_t *GpioExt, uint8_t Values[]) |
Variables | |
const struct gpio_ext_api_t | GpioPcalFunc |
Driver for I2C-based IO expander type NXP PCAL9535A.
Definition in file gpio-ext-pcal9535a.h.