|
STM32H735xx HAL User Manual
|
Channel operation functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelCkabStart (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to start clock absence detection in polling mode. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelPollForCkab (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Timeout) |
| This function allows to poll for the clock absence detection. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelCkabStop (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to stop clock absence detection in polling mode. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelCkabStart_IT (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to start clock absence detection in interrupt mode. | |
| __weak void | HAL_DFSDM_ChannelCkabCallback (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| Clock absence detection callback. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelCkabStop_IT (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to stop clock absence detection in interrupt mode. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelScdStart (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Threshold, uint32_t BreakSignal) |
| This function allows to start short circuit detection in polling mode. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelPollForScd (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Timeout) |
| This function allows to poll for the short circuit detection. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelScdStop (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to stop short circuit detection in polling mode. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelScdStart_IT (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Threshold, uint32_t BreakSignal) |
| This function allows to start short circuit detection in interrupt mode. | |
| __weak void | HAL_DFSDM_ChannelScdCallback (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| Short circuit detection callback. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelScdStop_IT (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to stop short circuit detection in interrupt mode. | |
| int16_t | HAL_DFSDM_ChannelGetAwdValue (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
| This function allows to get channel analog watchdog value. | |
| HAL_StatusTypeDef | HAL_DFSDM_ChannelModifyOffset (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, int32_t Offset) |
| This function allows to modify channel offset value. | |
Channel operation functions.
==============================================================================
##### Channel operation functions #####
==============================================================================
[..] This section provides functions allowing to:
(+) Manage clock absence detector feature.
(+) Manage short circuit detector feature.
(+) Get analog watchdog value.
(+) Modify offset value.
| void HAL_DFSDM_ChannelCkabCallback | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
Clock absence detection callback.
| hdfsdm_channel | DFSDM channel handle. |
| None |
Definition at line 1005 of file stm32h7xx_hal_dfsdm.c.
Referenced by HAL_DFSDM_Channel_UnRegisterCallback(), HAL_DFSDM_ChannelInit(), and HAL_DFSDM_IRQHandler().
| HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStart | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to start clock absence detection in polling mode.
| hdfsdm_channel | DFSDM channel handle. |
| HAL | status |
Definition at line 755 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_CKAB_TIMEOUT, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, HAL_GetTick(), __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStart_IT | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to start clock absence detection in interrupt mode.
| hdfsdm_channel | DFSDM channel handle. |
| HAL | status |
Definition at line 936 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_CKAB_TIMEOUT, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, HAL_GetTick(), __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStop | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to stop clock absence detection in polling mode.
| hdfsdm_channel | DFSDM channel handle. |
| HAL | status |
Definition at line 886 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelCkabStop_IT | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to stop clock absence detection in interrupt mode.
| hdfsdm_channel | DFSDM channel handle. |
| HAL | status |
Definition at line 1021 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| int16_t HAL_DFSDM_ChannelGetAwdValue | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to get channel analog watchdog value.
| hdfsdm_channel | DFSDM channel handle. |
| Channel | analog watchdog value. |
Definition at line 1345 of file stm32h7xx_hal_dfsdm.c.
References __DFSDM_Channel_HandleTypeDef::Instance.
| HAL_StatusTypeDef HAL_DFSDM_ChannelModifyOffset | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel, |
| int32_t | Offset | ||
| ) |
This function allows to modify channel offset value.
| hdfsdm_channel | DFSDM channel handle. |
| Offset | DFSDM channel offset. This parameter must be a number between Min_Data = -8388608 and Max_Data = 8388607. |
| HAL | status. |
Definition at line 1357 of file stm32h7xx_hal_dfsdm.c.
References assert_param, HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, IS_DFSDM_CHANNEL_OFFSET, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelPollForCkab | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel, |
| uint32_t | Timeout | ||
| ) |
This function allows to poll for the clock absence detection.
| hdfsdm_channel | DFSDM channel handle. |
| Timeout | Timeout value in milliseconds. |
| HAL | status |
Definition at line 822 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, HAL_GetTick(), __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelPollForScd | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel, |
| uint32_t | Timeout | ||
| ) |
This function allows to poll for the short circuit detection.
| hdfsdm_channel | DFSDM channel handle. |
| Timeout | Timeout value in milliseconds. |
| HAL | status |
Definition at line 1112 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, HAL_GetTick(), __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| void HAL_DFSDM_ChannelScdCallback | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
Short circuit detection callback.
| hdfsdm_channel | DFSDM channel handle. |
| None |
Definition at line 1280 of file stm32h7xx_hal_dfsdm.c.
Referenced by HAL_DFSDM_Channel_UnRegisterCallback(), HAL_DFSDM_ChannelInit(), and HAL_DFSDM_IRQHandler().
| HAL_StatusTypeDef HAL_DFSDM_ChannelScdStart | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel, |
| uint32_t | Threshold, | ||
| uint32_t | BreakSignal | ||
| ) |
This function allows to start short circuit detection in polling mode.
| hdfsdm_channel | DFSDM channel handle. |
| Threshold | Short circuit detector threshold. This parameter must be a number between Min_Data = 0 and Max_Data = 255. |
| BreakSignal | Break signals assigned to short circuit event. This parameter can be a values combination of DFSDM break signals. |
| HAL | status |
Definition at line 1075 of file stm32h7xx_hal_dfsdm.c.
References assert_param, HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, IS_DFSDM_BREAK_SIGNALS, IS_DFSDM_CHANNEL_SCD_THRESHOLD, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelScdStart_IT | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel, |
| uint32_t | Threshold, | ||
| uint32_t | BreakSignal | ||
| ) |
This function allows to start short circuit detection in interrupt mode.
| hdfsdm_channel | DFSDM channel handle. |
| Threshold | Short circuit detector threshold. This parameter must be a number between Min_Data = 0 and Max_Data = 255. |
| BreakSignal | Break signals assigned to short circuit event. This parameter can be a values combination of DFSDM break signals. |
| HAL | status |
Definition at line 1227 of file stm32h7xx_hal_dfsdm.c.
References assert_param, HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, IS_DFSDM_BREAK_SIGNALS, IS_DFSDM_CHANNEL_SCD_THRESHOLD, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelScdStop | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to stop short circuit detection in polling mode.
| hdfsdm_channel | DFSDM channel handle. |
| HAL | status |
Definition at line 1176 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_DFSDM_ChannelScdStop_IT | ( | DFSDM_Channel_HandleTypeDef * | hdfsdm_channel | ) |
This function allows to stop short circuit detection in interrupt mode.
| hdfsdm_channel | DFSDM channel handle. |
| HAL | status |
Definition at line 1296 of file stm32h7xx_hal_dfsdm.c.
References assert_param, DFSDM_GetChannelFromInstance(), HAL_DFSDM_CHANNEL_STATE_READY, __DFSDM_Channel_HandleTypeDef::Instance, and __DFSDM_Channel_HandleTypeDef::State.
1.7.6.1