Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Diff: Src/stm32l4xx_hal_i2c_ex.c
- Revision:
- 1:271ce2251692
- Parent:
- 0:80ee8f3b695e
diff -r 80ee8f3b695e -r 271ce2251692 Src/stm32l4xx_hal_i2c_ex.c --- a/Src/stm32l4xx_hal_i2c_ex.c Mon Nov 02 19:37:23 2015 +0000 +++ b/Src/stm32l4xx_hal_i2c_ex.c Thu Nov 12 20:49:49 2015 +0000 @@ -70,6 +70,8 @@ * @{ */ + + /** @defgroup I2CEx I2CEx * @brief I2C Extended HAL module driver * @{ @@ -109,9 +111,12 @@ * @param AnalogFilter : new state of the Analog filter. * @retval HAL status */ + HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter) { /* Check the parameters */ + #define I2C_CR1_DNF ((uint32_t)0x00000F00) + assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance)); assert_param(IS_I2C_ANALOG_FILTER(AnalogFilter));