MG32L003 Standard Peripherals Firmware Library
Macros

Macros

#define I2C_SLAVE_MODE_ENABLE   ((uint32_t)0x00000000U)
 
#define I2C_SLAVE_MODE_DISABLE   ((uint32_t)0x00000001U)
 
#define IS_I2C_SLAVE_MODE(SLAVE_MODE)
 

Detailed Description

Macro Definition Documentation

◆ IS_I2C_SLAVE_MODE

#define IS_I2C_SLAVE_MODE (   SLAVE_MODE)
Value:
(((SLAVE_MODE) == I2C_SLAVE_MODE_ENABLE) || \
((SLAVE_MODE) == I2C_SLAVE_MODE_DISABLE))