STM32L486xx HAL User Manual
|
Extended features functions. More...
Modules | |
I2C Extended Private Constants | |
I2C Extended Private Macros | |
I2C Extended Private Functions | |
Functions | |
HAL_StatusTypeDef | HAL_I2CEx_ConfigAnalogFilter (I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter) |
Configure I2C Analog noise filter. | |
HAL_StatusTypeDef | HAL_I2CEx_ConfigDigitalFilter (I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter) |
Configure I2C Digital noise filter. | |
HAL_StatusTypeDef | HAL_I2CEx_EnableWakeUp (I2C_HandleTypeDef *hi2c) |
Enable I2C wakeup from Stop mode(s). | |
HAL_StatusTypeDef | HAL_I2CEx_DisableWakeUp (I2C_HandleTypeDef *hi2c) |
Disable I2C wakeup from Stop mode(s). | |
void | HAL_I2CEx_EnableFastModePlus (uint32_t ConfigFastModePlus) |
Enable the I2C fast mode plus driving capability. | |
void | HAL_I2CEx_DisableFastModePlus (uint32_t ConfigFastModePlus) |
Disable the I2C fast mode plus driving capability. |
Extended features functions.
=============================================================================== ##### Extended features functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Configure Noise Filters (+) Configure Wake Up Feature (+) Configure Fast Mode Plus
HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter | ( | I2C_HandleTypeDef * | hi2c, |
uint32_t | AnalogFilter | ||
) |
Configure I2C Analog noise filter.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral. |
AnalogFilter | New state of the Analog filter. |
HAL | status |
Definition at line 113 of file stm32l4xx_hal_i2c_ex.c.
References __HAL_I2C_DISABLE, __HAL_I2C_ENABLE, assert_param, HAL_I2C_STATE_BUSY, HAL_I2C_STATE_READY, __I2C_HandleTypeDef::Instance, IS_I2C_ANALOG_FILTER, and __I2C_HandleTypeDef::State.
HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter | ( | I2C_HandleTypeDef * | hi2c, |
uint32_t | DigitalFilter | ||
) |
Configure I2C Digital noise filter.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral. |
DigitalFilter | Coefficient of digital noise filter between Min_Data=0x00 and Max_Data=0x0F. |
HAL | status |
Definition at line 157 of file stm32l4xx_hal_i2c_ex.c.
References __HAL_I2C_DISABLE, __HAL_I2C_ENABLE, assert_param, HAL_I2C_STATE_BUSY, HAL_I2C_STATE_READY, __I2C_HandleTypeDef::Instance, IS_I2C_DIGITAL_FILTER, and __I2C_HandleTypeDef::State.
void HAL_I2CEx_DisableFastModePlus | ( | uint32_t | ConfigFastModePlus | ) |
Disable the I2C fast mode plus driving capability.
ConfigFastModePlus | Selects the pin. This parameter can be one of the I2C Extended Fast Mode Plus values |
None |
Definition at line 326 of file stm32l4xx_hal_i2c_ex.c.
References __HAL_RCC_SYSCFG_CLK_ENABLE, assert_param, and IS_I2C_FASTMODEPLUS.
HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp | ( | I2C_HandleTypeDef * | hi2c | ) |
Disable I2C wakeup from Stop mode(s).
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral. |
HAL | status |
Definition at line 247 of file stm32l4xx_hal_i2c_ex.c.
References __HAL_I2C_DISABLE, __HAL_I2C_ENABLE, assert_param, HAL_I2C_STATE_BUSY, HAL_I2C_STATE_READY, __I2C_HandleTypeDef::Instance, and __I2C_HandleTypeDef::State.
void HAL_I2CEx_EnableFastModePlus | ( | uint32_t | ConfigFastModePlus | ) |
Enable the I2C fast mode plus driving capability.
ConfigFastModePlus | Selects the pin. This parameter can be one of the I2C Extended Fast Mode Plus values |
None |
Definition at line 297 of file stm32l4xx_hal_i2c_ex.c.
References __HAL_RCC_SYSCFG_CLK_ENABLE, assert_param, and IS_I2C_FASTMODEPLUS.
HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp | ( | I2C_HandleTypeDef * | hi2c | ) |
Enable I2C wakeup from Stop mode(s).
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral. |
HAL | status |
Definition at line 208 of file stm32l4xx_hal_i2c_ex.c.
References __HAL_I2C_DISABLE, __HAL_I2C_ENABLE, assert_param, HAL_I2C_STATE_BUSY, HAL_I2C_STATE_READY, __I2C_HandleTypeDef::Instance, and __I2C_HandleTypeDef::State.