XWOS API
4.0
XWOS C/C++ API参考手册
|
TCA9539配置 更多...
#include <device.h>
成员变量 | ||
struct { | ||
union { | ||
struct { | ||
xwu8_t p0:1 | ||
xwu8_t p1:1 | ||
xwu8_t p2:1 | ||
xwu8_t p3:1 | ||
xwu8_t p4:1 | ||
xwu8_t p5:1 | ||
xwu8_t p6:1 | ||
xwu8_t p7:1 | ||
} bit | ||
xwu8_t u8 | ||
} direction | ||
union { | ||
struct { | ||
xwu8_t p0:1 | ||
xwu8_t p1:1 | ||
xwu8_t p2:1 | ||
xwu8_t p3:1 | ||
xwu8_t p4:1 | ||
xwu8_t p5:1 | ||
xwu8_t p6:1 | ||
xwu8_t p7:1 | ||
} bit | ||
xwu8_t u8 | ||
} out | ||
} | p0 | |
struct { | ||
union { | ||
struct { | ||
xwu8_t p0:1 | ||
xwu8_t p1:1 | ||
xwu8_t p2:1 | ||
xwu8_t p3:1 | ||
xwu8_t p4:1 | ||
xwu8_t p5:1 | ||
xwu8_t p6:1 | ||
xwu8_t p7:1 | ||
} bit | ||
xwu8_t u8 | ||
} direction | ||
union { | ||
struct { | ||
xwu8_t p0:1 | ||
xwu8_t p1:1 | ||
xwu8_t p2:1 | ||
xwu8_t p3:1 | ||
xwu8_t p4:1 | ||
xwu8_t p5:1 | ||
xwu8_t p6:1 | ||
xwu8_t p7:1 | ||
} bit | ||
xwu8_t u8 | ||
} out | ||
} | p1 | |
struct { ... } xwds_tca9539_cfg::bit |
struct { ... } xwds_tca9539_cfg::bit |
struct { ... } xwds_tca9539_cfg::bit |
struct { ... } xwds_tca9539_cfg::bit |
union { ... } xwds_tca9539_cfg::direction |
方向
union { ... } xwds_tca9539_cfg::direction |
方向
union { ... } xwds_tca9539_cfg::out |
初始值
union { ... } xwds_tca9539_cfg::out |
初始值
struct { ... } xwds_tca9539_cfg::p0 |
P0的配置
struct { ... } xwds_tca9539_cfg::p1 |
P1的配置