Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Extended features functions

Extended features functions
[I2C Extended Exported Functions]

Extended features functions. More...

Functions

HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter (I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter)
 Configures I2C Analog noise filter.
HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter (I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter)
 Configures I2C Digital noise filter.
HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp (I2C_HandleTypeDef *hi2c)
 Enables I2C wakeup from stop mode.
HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp (I2C_HandleTypeDef *hi2c)
 Disables I2C wakeup from stop mode.
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.

Detailed Description

Extended features functions.

 ===============================================================================
                      ##### Extended features functions #####
 ===============================================================================  
    [..] This section provides functions allowing to:
      (+) Configure Noise Filters 


Function Documentation

HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter ( I2C_HandleTypeDef *  hi2c,
uint32_t  AnalogFilter 
)

Configures I2C Analog noise filter.

Parameters:
hi2c: pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral.
AnalogFilter: new state of the Analog filter.
Return values:
HALstatus

Definition at line 115 of file stm32l4xx_hal_i2c_ex.c.

HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter ( I2C_HandleTypeDef *  hi2c,
uint32_t  DigitalFilter 
)

Configures I2C Digital noise filter.

Parameters:
hi2c: pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral.
DigitalFilter: Coefficient of digital noise filter between 0x00 and 0x0F.
Return values:
HALstatus

Definition at line 160 of file stm32l4xx_hal_i2c_ex.c.

void HAL_I2CEx_DisableFastModePlus ( uint32_t  ConfigFastModePlus )

Disable the I2C fast mode plus driving capability.

Parameters:
ConfigFastModePlus,:selects the pin. This parameter can be one of the I2CEx_FastModePlus values
Note:
For I2C1, fast mode plus driving capability can be disabled on all selected I2C1 pins using I2C_FASTMODEPLUS_I2C1 parameter or independently on each one of the following pins PB6, PB7, PB8 and PB9.
For remaining I2C1 pins (PA14, PA15...) fast mode plus driving capability can be disabled only by using I2C_FASTMODEPLUS_I2C1 parameter.
For all I2C2 pins fast mode plus driving capability can be disabled only by using I2C_FASTMODEPLUS_I2C2 parameter.
For all I2C3 pins fast mode plus driving capability can be disabled only by using I2C_FASTMODEPLUS_I2C3 parameter.
Return values:
None

Definition at line 323 of file stm32l4xx_hal_i2c_ex.c.

HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp ( I2C_HandleTypeDef *  hi2c )

Disables I2C wakeup from stop mode.

Parameters:
hi2c: pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral.
Return values:
HALstatus

Definition at line 249 of file stm32l4xx_hal_i2c_ex.c.

void HAL_I2CEx_EnableFastModePlus ( uint32_t  ConfigFastModePlus )

Enable the I2C fast mode plus driving capability.

Parameters:
ConfigFastModePlus,:selects the pin. This parameter can be one of the I2CEx_FastModePlus values
Note:
For I2C1, fast mode plus driving capability can be enabled on all selected I2C1 pins using I2C_FASTMODEPLUS_I2C1 parameter or independently on each one of the following pins PB6, PB7, PB8 and PB9.
For remaining I2C1 pins (PA14, PA15...) fast mode plus driving capability can be enabled only by using I2C_FASTMODEPLUS_I2C1 parameter.
For all I2C2 pins fast mode plus driving capability can be enabled only by using I2C_FASTMODEPLUS_I2C2 parameter.
For all I2C3 pins fast mode plus driving capability can be enabled only by using I2C_FASTMODEPLUS_I2C3 parameter.
Return values:
None

Definition at line 296 of file stm32l4xx_hal_i2c_ex.c.

HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp ( I2C_HandleTypeDef *  hi2c )

Enables I2C wakeup from stop mode.

Parameters:
hi2c: pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2Cx peripheral.
Return values:
HALstatus

Definition at line 210 of file stm32l4xx_hal_i2c_ex.c.