STM32L486xx HAL User Manual
Functions
Filter control functions
DFSDM Exported Functions

Filter control functions. More...

Functions

HAL_StatusTypeDef HAL_DFSDM_FilterConfigRegChannel (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel, uint32_t ContinuousMode)
 This function allows to select channel and to enable/disable continuous mode for regular conversion.
HAL_StatusTypeDef HAL_DFSDM_FilterConfigInjChannel (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel)
 This function allows to select channels for injected conversion.

Detailed Description

Filter control functions.

  ==============================================================================
                    ##### Filter control functions #####
  ==============================================================================
    [..]  This section provides functions allowing to:
      (+) Select channel and enable/disable continuous mode for regular conversion.
      (+) Select channels for injected conversion.

Function Documentation

HAL_StatusTypeDef HAL_DFSDM_FilterConfigInjChannel ( DFSDM_Filter_HandleTypeDef hdfsdm_filter,
uint32_t  Channel 
)

This function allows to select channels for injected conversion.

Parameters:
hdfsdm_filterDFSDM filter handle.
ChannelChannels for injected conversion. This parameter can be a values combination of DFSDM Channel Selection.
Return values:
HALstatus

Definition at line 1763 of file stm32l4xx_hal_dfsdm.c.

References assert_param, DFSDM_GetInjChannelsNbr(), DFSDM_LSB_MASK, HAL_DFSDM_FILTER_STATE_ERROR, HAL_DFSDM_FILTER_STATE_RESET, __DFSDM_Filter_HandleTypeDef::InjConvRemaining, __DFSDM_Filter_HandleTypeDef::InjectedChannelsNbr, __DFSDM_Filter_HandleTypeDef::InjectedScanMode, __DFSDM_Filter_HandleTypeDef::Instance, IS_DFSDM_INJECTED_CHANNEL, and __DFSDM_Filter_HandleTypeDef::State.

HAL_StatusTypeDef HAL_DFSDM_FilterConfigRegChannel ( DFSDM_Filter_HandleTypeDef hdfsdm_filter,
uint32_t  Channel,
uint32_t  ContinuousMode 
)

This function allows to select channel and to enable/disable continuous mode for regular conversion.

Parameters:
hdfsdm_filterDFSDM filter handle.
ChannelChannel for regular conversion. This parameter can be a value of DFSDM Channel Selection.
ContinuousModeEnable/disable continuous mode for regular conversion. This parameter can be a value of DFSDM Continuous Mode.
Return values:
HALstatus

Definition at line 1718 of file stm32l4xx_hal_dfsdm.c.

References assert_param, DFSDM_CONTINUOUS_CONV_ON, DFSDM_FLTCR1_MSB_RCH_OFFSET, DFSDM_MSB_MASK, HAL_DFSDM_FILTER_STATE_ERROR, HAL_DFSDM_FILTER_STATE_RESET, __DFSDM_Filter_HandleTypeDef::Instance, IS_DFSDM_CONTINUOUS_MODE, IS_DFSDM_REGULAR_CHANNEL, __DFSDM_Filter_HandleTypeDef::RegularContMode, and __DFSDM_Filter_HandleTypeDef::State.