37 #ifndef __STM32F4xx_HAL_I2C_EX_H
38 #define __STM32F4xx_HAL_I2C_EX_H
44 #if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx) ||\
45 defined(STM32F401xC) || defined(STM32F401xE) || defined(STM32F411xE) || defined(STM32F446xx) ||\
46 defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F413xx) || defined(STM32F423xx)
67 #define I2C_ANALOGFILTER_ENABLE 0x00000000U
68 #define I2C_ANALOGFILTER_DISABLE I2C_FLTR_ANOFF
111 #define IS_I2C_ANALOG_FILTER(FILTER) (((FILTER) == I2C_ANALOGFILTER_ENABLE) || \
112 ((FILTER) == I2C_ANALOGFILTER_DISABLE))
113 #define IS_I2C_DIGITAL_FILTER(FILTER) ((FILTER) <= 0x0000000FU)