MG32L003 Standard Peripherals Firmware Library

宏定义
I2C_Slave_Mode
MG32L003_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))