STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches

Filter Mode Functions. More...

Collaboration diagram for Filter Mode Functions:

Functions

HAL_StatusTypeDef HAL_FMPI2CEx_ConfigAnalogFilter (FMPI2C_HandleTypeDef *hfmpi2c, uint32_t AnalogFilter)
 Configure FMPI2C Analog noise filter.
 
HAL_StatusTypeDef HAL_FMPI2CEx_ConfigDigitalFilter (FMPI2C_HandleTypeDef *hfmpi2c, uint32_t DigitalFilter)
 Configure FMPI2C Digital noise filter.
 

Detailed Description

Filter Mode Functions.

 ===============================================================================
                      ##### Filter Mode Functions #####
 ===============================================================================
    [..] This section provides functions allowing to:
      (+) Configure Noise Filters

Function Documentation

◆ HAL_FMPI2CEx_ConfigAnalogFilter()

HAL_StatusTypeDef HAL_FMPI2CEx_ConfigAnalogFilter ( FMPI2C_HandleTypeDef * hfmpi2c,
uint32_t AnalogFilter )

#include <stm32f4xx_hal_fmpi2c_ex.h>

Configure FMPI2C Analog noise filter.

Parameters
hfmpi2cPointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2Cx peripheral.
AnalogFilterNew state of the Analog filter.
Return values
HALstatus

Definition at line 92 of file stm32f4xx_hal_fmpi2c_ex.c.

References __HAL_FMPI2C_DISABLE, __HAL_FMPI2C_ENABLE, __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_BUSY, HAL_FMPI2C_STATE_BUSY, HAL_FMPI2C_STATE_READY, HAL_OK, __FMPI2C_HandleTypeDef::Instance, IS_FMPI2C_ANALOG_FILTER, and __FMPI2C_HandleTypeDef::State.

◆ HAL_FMPI2CEx_ConfigDigitalFilter()

HAL_StatusTypeDef HAL_FMPI2CEx_ConfigDigitalFilter ( FMPI2C_HandleTypeDef * hfmpi2c,
uint32_t DigitalFilter )

#include <stm32f4xx_hal_fmpi2c_ex.h>

Configure FMPI2C Digital noise filter.

Parameters
hfmpi2cPointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2Cx peripheral.
DigitalFilterCoefficient of digital noise filter between Min_Data=0x00 and Max_Data=0x0F.
Return values
HALstatus

Definition at line 136 of file stm32f4xx_hal_fmpi2c_ex.c.

References __HAL_FMPI2C_DISABLE, __HAL_FMPI2C_ENABLE, __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_BUSY, HAL_FMPI2C_STATE_BUSY, HAL_FMPI2C_STATE_READY, HAL_OK, __FMPI2C_HandleTypeDef::Instance, IS_FMPI2C_DIGITAL_FILTER, and __FMPI2C_HandleTypeDef::State.