RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
I2C Extended Private Macros

Macros

#define IS_I2C_ANALOG_FILTER(FILTER)
 
#define IS_I2C_DIGITAL_FILTER(FILTER)   ((FILTER) <= 0x0000000FU)
 
#define IS_I2C_FASTMODEPLUS(__CONFIG__)
 

Detailed Description

Macro Definition Documentation

◆ IS_I2C_ANALOG_FILTER

#define IS_I2C_ANALOG_FILTER (   FILTER)
Value:
(((FILTER) == I2C_ANALOGFILTER_ENABLE) || \
((FILTER) == I2C_ANALOGFILTER_DISABLE))

◆ IS_I2C_FASTMODEPLUS

#define IS_I2C_FASTMODEPLUS (   __CONFIG__)
Value:
((((__CONFIG__) & I2C_FASTMODEPLUS_PB6) == I2C_FASTMODEPLUS_PB6) || \
(((__CONFIG__) & I2C_FASTMODEPLUS_PB7) == I2C_FASTMODEPLUS_PB7) || \
(((__CONFIG__) & I2C_FASTMODEPLUS_PB8) == I2C_FASTMODEPLUS_PB8) || \
(((__CONFIG__) & I2C_FASTMODEPLUS_PB9) == I2C_FASTMODEPLUS_PB9) || \
(((__CONFIG__) & I2C_FASTMODEPLUS_I2C1) == I2C_FASTMODEPLUS_I2C1) || \
(((__CONFIG__) & I2C_FASTMODEPLUS_I2C2) == I2C_FASTMODEPLUS_I2C2) || \
(((__CONFIG__) & I2C_FASTMODEPLUS_I2C3) == I2C_FASTMODEPLUS_I2C3) || \
#define I2C_FASTMODEPLUS_I2C4
Definition: stm32h7xx_hal_i2c_ex.h:67
#define I2C_FASTMODEPLUS_I2C1
Definition: stm32h7xx_hal_i2c_ex.h:64
#define I2C_FASTMODEPLUS_PB6
Definition: stm32h7xx_hal_i2c_ex.h:60
#define I2C_FASTMODEPLUS_I2C2
Definition: stm32h7xx_hal_i2c_ex.h:65
#define I2C_FASTMODEPLUS_PB7
Definition: stm32h7xx_hal_i2c_ex.h:61
#define I2C_FASTMODEPLUS_PB8
Definition: stm32h7xx_hal_i2c_ex.h:62
#define I2C_FASTMODEPLUS_PB9
Definition: stm32h7xx_hal_i2c_ex.h:63
#define I2C_FASTMODEPLUS_I2C3
Definition: stm32h7xx_hal_i2c_ex.h:66