RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Files | Macros | Functions

Driver for NXP PCA9535 16-bit GPIO device. More...

Files

file  gpio-nxp-pca9535.c
 GPIO NXP PCA9535 Driver Implementation.
 
file  gpio-nxp-pca9535.h
 GPIO NXP PCA9535 Driver API.
 

Macros

#define GPIO_NXP_PCA9535_GET_INPUT   (I2C_DEV_IO_CONTROL + 0)
 
#define GPIO_NXP_PCA9535_GET_OUTPUT   (I2C_DEV_IO_CONTROL + 1)
 
#define GPIO_NXP_PCA9535_SET_OUTPUT   (I2C_DEV_IO_CONTROL + 2)
 
#define GPIO_NXP_PCA9535_CLEAR_AND_SET_OUTPUT   (I2C_DEV_IO_CONTROL + 3)
 
#define GPIO_NXP_PCA9535_GET_POL_INV   (I2C_DEV_IO_CONTROL + 4)
 
#define GPIO_NXP_PCA9535_SET_POL_INV   (I2C_DEV_IO_CONTROL + 5)
 
#define GPIO_NXP_PCA9535_GET_CONFIG   (I2C_DEV_IO_CONTROL + 6)
 
#define GPIO_NXP_PCA9535_SET_CONFIG   (I2C_DEV_IO_CONTROL + 7)
 

Functions

int i2c_dev_register_gpio_nxp_pca9535 (const char *bus_path, const char *dev_path, uint16_t address)
 

Detailed Description

Driver for NXP PCA9535 16-bit GPIO device.