MG32L003 Standard Peripherals Firmware Library
Macros
I2C_Direction_definition
MG32L003_StdPeriph_Driver
»
I2C
»
I2C_Exported_Constants
Macros
#define
I2C_Direction_Transmitter
((uint8_t)0x00)
#define
I2C_Direction_Receiver
((uint8_t)0x01)
#define
IS_I2C_DIRECTION
(I2C_Direction)
Detailed Description
Macro Definition Documentation
◆
IS_I2C_DIRECTION
#define IS_I2C_DIRECTION
(
I2C_Direction
)
Value:
(((I2C_Direction) == I2C_Direction_Transmitter) || \
((I2C_Direction) == I2C_Direction_Receiver))
Generated by megawin Technology (Shenzhen) Corp., Ltd. All rights reserved.