/** Registers */
/* 读为1,写为0 */
#define AW9523B_KeyMode_DeviceAddre 0xB0 ///< Device Addres for AW9523B
#define AW9523B_LedMode_DeviceAddre 0xB6 ///< Device Addres for AW9523B
#define AW9523B_REG_ID 0x10 ///< id register
#define AW9523B_ID 0x23 ///< id value
#define AW9523B_P0_IN_STATE 0x00 ///< P0 port input state
#define AW9523B_P1_IN_STATE 0x01 ///< P1 port input state
#define AW9523B_P0_OUT_STATE 0x02 ///< P0 port output state
#define AW9523B_P1_OUT_STATE 0x03 ///< P1 port output state
#define AW9523B_P0_CONF_STATE 0x04 ///< P0 port config state
#define AW9523B_P1_CONF_STATE 0x05 ///< P1 port config state
#define AW9523B_P0_INTE_STATE 0x06 ///< P0 port interrupt state
#define AW9523B_P1_INTE_STATE 0x07 ///< P1 port interrupt state
#define AW9523B_REG_GLOB_CTR 0x11 ///< Global control register
#define AW9523B_P0_LED_MODE
AW9523B IIC驱动
最新推荐文章于 2024-01-10 14:11:32 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)