WB32L003 Standard Peripherals Firmware Library
宏定义
I2C_Slave_Mode
WB32L003_StdPeriph_Driver
»
I2C
»
I2C_Exported_Constants
宏定义
#define
I2C_SLAVE_MODE_ENABLE
((uint32_t)0x00000000U)
#define
I2C_SLAVE_MODE_DISABLE
((uint32_t)0x00000001U)
#define
IS_I2C_SLAVE_MODE
(SLAVE_MODE)
详细描述
宏定义说明
◆
IS_I2C_SLAVE_MODE
#define IS_I2C_SLAVE_MODE
(
SLAVE_MODE
)
值:
(((SLAVE_MODE) == I2C_SLAVE_MODE_ENABLE) || \
((SLAVE_MODE) == I2C_SLAVE_MODE_DISABLE))
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.