MG32L003 Standard Peripherals Firmware Library

宏定义
I2C_Master_Mode
MG32L003_StdPeriph_Driver » I2C » I2C_Exported_Constants

## 宏定义
#define | I2C_MASTER_MODE_DISABLE ((uint32_t)0x00000000U)
#define | I2C_MASTER_MODE_ENABLE ((uint32_t)0x00000001U)
#define | IS_I2C_MASTER_MODE(MASTER_MODE)

## 详细描述

## 宏定义说明

## ◆ IS_I2C_MASTER_MODE

#define IS_I2C_MASTER_MODE | ( |  | MASTER_MODE | ) |

值:
(((MASTER_MODE) == I2C_MASTER_MODE_DISABLE) ||\
((MASTER_MODE) == I2C_MASTER_MODE_ENABLE))