STM32H735xx HAL User Manual
|
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. |
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.
HAL_StatusTypeDef HAL_DFSDM_FilterConfigInjChannel | ( | DFSDM_Filter_HandleTypeDef * | hdfsdm_filter, |
uint32_t | Channel | ||
) |
This function allows to select channels for injected conversion.
hdfsdm_filter | DFSDM filter handle. |
Channel | Channels for injected conversion. This parameter can be a values combination of DFSDM Channel Selection. |
HAL | status |
Definition at line 1946 of file stm32h7xx_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.
hdfsdm_filter | DFSDM filter handle. |
Channel | Channel for regular conversion. This parameter can be a value of DFSDM Channel Selection. |
ContinuousMode | Enable/disable continuous mode for regular conversion. This parameter can be a value of DFSDM Continuous Mode. |
HAL | status |
Definition at line 1901 of file stm32h7xx_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.