|
XWOS API
4.0
XWOS C/C++ API参考手册
|

结构体 | |
| struct | xwds_tca9539_cfg |
| TCA9539配置 更多... | |
| struct | xwds_tca9539_pincfg |
| TCA9539 PIN配置 更多... | |
| struct | xwds_tca9539 |
| TCA9539对象 更多... | |
宏定义 | |
| #define | XWDS_TCA9539_REG_P0_INPUT ((xwu8_t)0) |
| #define | XWDS_TCA9539_REG_P1_INPUT ((xwu8_t)1) |
| #define | XWDS_TCA9539_REG_P0_OUTPUT ((xwu8_t)2) |
| #define | XWDS_TCA9539_REG_P1_OUTPUT ((xwu8_t)3) |
| #define | XWDS_TCA9539_REG_P0_POLINV ((xwu8_t)4) |
| #define | XWDS_TCA9539_REG_P1_POLINV ((xwu8_t)5) |
| #define | XWDS_TCA9539_REG_P0_CFG ((xwu8_t)6) |
| #define | XWDS_TCA9539_REG_P1_CFG ((xwu8_t)7) |
枚举 | |
| enum | xwds_tca9539_pin_direction_em { XWDS_TCA9539_PIN_DIRECTION_OUT = 0U , XWDS_TCA9539_PIN_DIRECTION_IN } |
| TCA9539 Pin方向枚举 更多... | |
函数 | |
| void | xwds_tca9539_construct (struct xwds_tca9539 *tca9539) |
| TCA9539 API:TCA9539对象的构造函数 | |
| void | xwds_tca9539_destruct (struct xwds_tca9539 *tca9539) |
| TCA9539 API:TCA9539对象的析构函数 | |
| static xwer_t | xwds_tca9539_grab (struct xwds_tca9539 *tca9539) |
| TCA9539 API:增加对象的引用计数 | |
| static xwer_t | xwds_tca9539_put (struct xwds_tca9539 *tca9539) |
| TCA9539 API:减少对象的引用计数 | |
| xwer_t | xwds_tca9539_drv_start (struct xwds_device *dev) |
| TCA9539基本驱动:启动设备 | |
TCA9539 Pin方向枚举
| 枚举值 | |
|---|---|
| XWDS_TCA9539_PIN_DIRECTION_OUT | 输出 |
| XWDS_TCA9539_PIN_DIRECTION_IN | 输入 |
| void xwds_tca9539_construct | ( | struct xwds_tca9539 * | tca9539 | ) |
TCA9539 API:TCA9539对象的构造函数
| [in] | tca9539 | TCA9539对象指针 |

| void xwds_tca9539_destruct | ( | struct xwds_tca9539 * | tca9539 | ) |
TCA9539 API:TCA9539对象的析构函数
| [in] | tca9539 | TCA9539对象指针 |

| xwer_t xwds_tca9539_drv_start | ( | struct xwds_device * | dev | ) |
TCA9539基本驱动:启动设备
<No error


|
inlinestatic |
TCA9539 API:增加对象的引用计数
| [in] | tca9539 | I2C TCA9539对象指针 |
ref xwds_i2cp_grab()

|
inlinestatic |
TCA9539 API:减少对象的引用计数
| [in] | tca9539 | I2C TCA9539对象指针 |
ref xwds_i2cp_put()
