MG32L003 Standard Peripherals Firmware Library

宏定义
I2C_Direction_definition
MG32L003_StdPeriph_Driver » I2C » I2C_Exported_Constants

## 宏定义
#define | I2C_Direction_Transmitter ((uint8_t)0x00)
#define | I2C_Direction_Receiver ((uint8_t)0x01)
#define | IS_I2C_DIRECTION(I2C_Direction)

## 详细描述

## 宏定义说明

## ◆ IS_I2C_DIRECTION

#define IS_I2C_DIRECTION | ( |  | I2C_Direction | ) |

值:
(((I2C_Direction) == I2C_Direction_Transmitter) || \
((I2C_Direction) == I2C_Direction_Receiver))