STM32H735xx HAL User Manual
|
Header file of DFSDM HAL module. More...
#include "stm32h7xx_hal_def.h"
Go to the source code of this file.
Data Structures | |
struct | DFSDM_Channel_OutputClockTypeDef |
DFSDM channel output clock structure definition. More... | |
struct | DFSDM_Channel_InputTypeDef |
DFSDM channel input structure definition. More... | |
struct | DFSDM_Channel_SerialInterfaceTypeDef |
DFSDM channel serial interface structure definition. More... | |
struct | DFSDM_Channel_AwdTypeDef |
DFSDM channel analog watchdog structure definition. More... | |
struct | DFSDM_Channel_InitTypeDef |
DFSDM channel init structure definition. More... | |
struct | __DFSDM_Channel_HandleTypeDef |
DFSDM channel handle structure definition. More... | |
struct | DFSDM_Filter_RegularParamTypeDef |
DFSDM filter regular conversion parameters structure definition. More... | |
struct | DFSDM_Filter_InjectedParamTypeDef |
DFSDM filter injected conversion parameters structure definition. More... | |
struct | DFSDM_Filter_FilterParamTypeDef |
DFSDM filter parameters structure definition. More... | |
struct | DFSDM_Filter_InitTypeDef |
DFSDM filter init structure definition. More... | |
struct | __DFSDM_Filter_HandleTypeDef |
DFSDM filter handle structure definition. More... | |
struct | DFSDM_Filter_AwdParamTypeDef |
DFSDM filter analog watchdog parameters structure definition. More... | |
Defines | |
#define | DFSDM_CHANNEL_OUTPUT_CLOCK_SYSTEM 0x00000000U |
#define | DFSDM_CHANNEL_OUTPUT_CLOCK_AUDIO DFSDM_CHCFGR1_CKOUTSRC |
#define | DFSDM_CHANNEL_EXTERNAL_INPUTS 0x00000000U |
#define | DFSDM_CHANNEL_ADC_OUTPUT DFSDM_CHCFGR1_DATMPX_0 |
#define | DFSDM_CHANNEL_INTERNAL_REGISTER DFSDM_CHCFGR1_DATMPX_1 |
#define | DFSDM_CHANNEL_STANDARD_MODE 0x00000000U |
#define | DFSDM_CHANNEL_INTERLEAVED_MODE DFSDM_CHCFGR1_DATPACK_0 |
#define | DFSDM_CHANNEL_DUAL_MODE DFSDM_CHCFGR1_DATPACK_1 |
#define | DFSDM_CHANNEL_SAME_CHANNEL_PINS 0x00000000U |
#define | DFSDM_CHANNEL_FOLLOWING_CHANNEL_PINS DFSDM_CHCFGR1_CHINSEL |
#define | DFSDM_CHANNEL_SPI_RISING 0x00000000U |
#define | DFSDM_CHANNEL_SPI_FALLING DFSDM_CHCFGR1_SITP_0 |
#define | DFSDM_CHANNEL_MANCHESTER_RISING DFSDM_CHCFGR1_SITP_1 |
#define | DFSDM_CHANNEL_MANCHESTER_FALLING DFSDM_CHCFGR1_SITP |
#define | DFSDM_CHANNEL_SPI_CLOCK_EXTERNAL 0x00000000U |
#define | DFSDM_CHANNEL_SPI_CLOCK_INTERNAL DFSDM_CHCFGR1_SPICKSEL_0 |
#define | DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_FALLING DFSDM_CHCFGR1_SPICKSEL_1 |
#define | DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_RISING DFSDM_CHCFGR1_SPICKSEL |
#define | DFSDM_CHANNEL_FASTSINC_ORDER 0x00000000U |
#define | DFSDM_CHANNEL_SINC1_ORDER DFSDM_CHAWSCDR_AWFORD_0 |
#define | DFSDM_CHANNEL_SINC2_ORDER DFSDM_CHAWSCDR_AWFORD_1 |
#define | DFSDM_CHANNEL_SINC3_ORDER DFSDM_CHAWSCDR_AWFORD |
#define | DFSDM_FILTER_SW_TRIGGER 0x00000000U |
#define | DFSDM_FILTER_SYNC_TRIGGER 0x00000001U |
#define | DFSDM_FILTER_EXT_TRIGGER 0x00000002U |
#define | DFSDM_FILTER_EXT_TRIG_TIM1_TRGO 0x00000000U |
#define | DFSDM_FILTER_EXT_TRIG_TIM1_TRGO2 DFSDM_FLTCR1_JEXTSEL_0 |
#define | DFSDM_FILTER_EXT_TRIG_TIM8_TRGO DFSDM_FLTCR1_JEXTSEL_1 |
#define | DFSDM_FILTER_EXT_TRIG_TIM8_TRGO2 (DFSDM_FLTCR1_JEXTSEL_0 | DFSDM_FLTCR1_JEXTSEL_1) |
#define | DFSDM_FILTER_EXT_TRIG_TIM3_TRGO DFSDM_FLTCR1_JEXTSEL_2 |
#define | DFSDM_FILTER_EXT_TRIG_TIM4_TRGO (DFSDM_FLTCR1_JEXTSEL_0 | DFSDM_FLTCR1_JEXTSEL_2) |
#define | DFSDM_FILTER_EXT_TRIG_TIM16_OC1 (DFSDM_FLTCR1_JEXTSEL_2 | DFSDM_FLTCR1_JEXTSEL_1) |
#define | DFSDM_FILTER_EXT_TRIG_TIM6_TRGO (DFSDM_FLTCR1_JEXTSEL_0 | DFSDM_FLTCR1_JEXTSEL_2 | DFSDM_FLTCR1_JEXTSEL_1) |
#define | DFSDM_FILTER_EXT_TRIG_TIM7_TRGO DFSDM_FLTCR1_JEXTSEL_3 |
#define | DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG1 (DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_0) |
#define | DFSDM_FILTER_EXT_TRIG_HRTIM1_ADCTRG3 (DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_1) |
#define | DFSDM_FILTER_EXT_TRIG_EXTI11 (DFSDM_FLTCR1_JEXTSEL_4 | DFSDM_FLTCR1_JEXTSEL_3) |
#define | DFSDM_FILTER_EXT_TRIG_EXTI15 (DFSDM_FLTCR1_JEXTSEL_4 | DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_0) |
#define | DFSDM_FILTER_EXT_TRIG_LPTIM1_OUT (DFSDM_FLTCR1_JEXTSEL_4 | DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_1) |
#define | DFSDM_FILTER_EXT_TRIG_LPTIM2_OUT (DFSDM_FLTCR1_JEXTSEL_4 | DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_1 | DFSDM_FLTCR1_JEXTSEL_0) |
#define | DFSDM_FILTER_EXT_TRIG_LPTIM3_OUT (DFSDM_FLTCR1_JEXTSEL_4 | DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_2) |
#define | DFSDM_FILTER_EXT_TRIG_TIM23_TRGO |
#define | DFSDM_FILTER_EXT_TRIG_TIM24_TRGO (DFSDM_FLTCR1_JEXTSEL_3 | DFSDM_FLTCR1_JEXTSEL_2 ) |
#define | DFSDM_FILTER_EXT_TRIG_RISING_EDGE DFSDM_FLTCR1_JEXTEN_0 |
#define | DFSDM_FILTER_EXT_TRIG_FALLING_EDGE DFSDM_FLTCR1_JEXTEN_1 |
#define | DFSDM_FILTER_EXT_TRIG_BOTH_EDGES DFSDM_FLTCR1_JEXTEN |
#define | DFSDM_FILTER_FASTSINC_ORDER 0x00000000U |
#define | DFSDM_FILTER_SINC1_ORDER DFSDM_FLTFCR_FORD_0 |
#define | DFSDM_FILTER_SINC2_ORDER DFSDM_FLTFCR_FORD_1 |
#define | DFSDM_FILTER_SINC3_ORDER (DFSDM_FLTFCR_FORD_0 | DFSDM_FLTFCR_FORD_1) |
#define | DFSDM_FILTER_SINC4_ORDER DFSDM_FLTFCR_FORD_2 |
#define | DFSDM_FILTER_SINC5_ORDER (DFSDM_FLTFCR_FORD_0 | DFSDM_FLTFCR_FORD_2) |
#define | DFSDM_FILTER_AWD_FILTER_DATA 0x00000000U |
#define | DFSDM_FILTER_AWD_CHANNEL_DATA DFSDM_FLTCR1_AWFSEL |
#define | DFSDM_FILTER_ERROR_NONE 0x00000000U |
#define | DFSDM_FILTER_ERROR_REGULAR_OVERRUN 0x00000001U |
#define | DFSDM_FILTER_ERROR_INJECTED_OVERRUN 0x00000002U |
#define | DFSDM_FILTER_ERROR_DMA 0x00000003U |
#define | DFSDM_FILTER_ERROR_INVALID_CALLBACK 0x00000004U |
#define | DFSDM_NO_BREAK_SIGNAL 0x00000000U |
#define | DFSDM_BREAK_SIGNAL_0 0x00000001U |
#define | DFSDM_BREAK_SIGNAL_1 0x00000002U |
#define | DFSDM_BREAK_SIGNAL_2 0x00000004U |
#define | DFSDM_BREAK_SIGNAL_3 0x00000008U |
#define | DFSDM_CHANNEL_0 0x00000001U |
#define | DFSDM_CHANNEL_1 0x00010002U |
#define | DFSDM_CHANNEL_2 0x00020004U |
#define | DFSDM_CHANNEL_3 0x00030008U |
#define | DFSDM_CHANNEL_4 0x00040010U |
#define | DFSDM_CHANNEL_5 0x00050020U |
#define | DFSDM_CHANNEL_6 0x00060040U |
#define | DFSDM_CHANNEL_7 0x00070080U |
#define | DFSDM_CONTINUOUS_CONV_OFF 0x00000000U |
#define | DFSDM_CONTINUOUS_CONV_ON 0x00000001U |
#define | DFSDM_AWD_HIGH_THRESHOLD 0x00000000U |
#define | DFSDM_AWD_LOW_THRESHOLD 0x00000001U |
#define | __HAL_DFSDM_CHANNEL_RESET_HANDLE_STATE(__HANDLE__) |
Reset DFSDM channel handle state. | |
#define | __HAL_DFSDM_FILTER_RESET_HANDLE_STATE(__HANDLE__) |
Reset DFSDM filter handle state. | |
#define | IS_DFSDM_CHANNEL_OUTPUT_CLOCK(CLOCK) |
#define | IS_DFSDM_CHANNEL_OUTPUT_CLOCK_DIVIDER(DIVIDER) ((2U <= (DIVIDER)) && ((DIVIDER) <= 256U)) |
#define | IS_DFSDM_CHANNEL_INPUT(INPUT) |
#define | IS_DFSDM_CHANNEL_DATA_PACKING(MODE) |
#define | IS_DFSDM_CHANNEL_INPUT_PINS(PINS) |
#define | IS_DFSDM_CHANNEL_SERIAL_INTERFACE_TYPE(MODE) |
#define | IS_DFSDM_CHANNEL_SPI_CLOCK(TYPE) |
#define | IS_DFSDM_CHANNEL_FILTER_ORDER(ORDER) |
#define | IS_DFSDM_CHANNEL_FILTER_OVS_RATIO(RATIO) ((1U <= (RATIO)) && ((RATIO) <= 32U)) |
#define | IS_DFSDM_CHANNEL_OFFSET(VALUE) ((-8388608 <= (VALUE)) && ((VALUE) <= 8388607)) |
#define | IS_DFSDM_CHANNEL_RIGHT_BIT_SHIFT(VALUE) ((VALUE) <= 0x1FU) |
#define | IS_DFSDM_CHANNEL_SCD_THRESHOLD(VALUE) ((VALUE) <= 0xFFU) |
#define | IS_DFSDM_FILTER_REG_TRIGGER(TRIG) |
#define | IS_DFSDM_FILTER_INJ_TRIGGER(TRIG) |
#define | IS_DFSDM_FILTER_EXT_TRIG(TRIG) |
#define | IS_DFSDM_FILTER_EXT_TRIG_EDGE(EDGE) |
#define | IS_DFSDM_FILTER_SINC_ORDER(ORDER) |
#define | IS_DFSDM_FILTER_OVS_RATIO(RATIO) ((1U <= (RATIO)) && ((RATIO) <= 1024U)) |
#define | IS_DFSDM_FILTER_INTEGRATOR_OVS_RATIO(RATIO) ((1U <= (RATIO)) && ((RATIO) <= 256U)) |
#define | IS_DFSDM_FILTER_AWD_DATA_SOURCE(DATA) |
#define | IS_DFSDM_FILTER_AWD_THRESHOLD(VALUE) ((-8388608 <= (VALUE)) && ((VALUE) <= 8388607)) |
#define | IS_DFSDM_BREAK_SIGNALS(VALUE) ((VALUE) <= 0xFU) |
#define | IS_DFSDM_REGULAR_CHANNEL(CHANNEL) |
#define | IS_DFSDM_INJECTED_CHANNEL(CHANNEL) (((CHANNEL) != 0U) && ((CHANNEL) <= 0x000F00FFU)) |
#define | IS_DFSDM_CONTINUOUS_MODE(MODE) |
Typedefs | |
typedef struct __DFSDM_Channel_HandleTypeDef | DFSDM_Channel_HandleTypeDef |
DFSDM channel handle structure definition. | |
typedef void(* | pDFSDM_Channel_CallbackTypeDef )(DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
DFSDM channel callback pointer definition. | |
typedef struct __DFSDM_Filter_HandleTypeDef | DFSDM_Filter_HandleTypeDef |
DFSDM filter handle structure definition. | |
typedef void(* | pDFSDM_Filter_CallbackTypeDef )(DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
DFSDM filter callback pointer definition. | |
typedef void(* | pDFSDM_Filter_AwdCallbackTypeDef )(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel, uint32_t Threshold) |
Enumerations | |
enum | HAL_DFSDM_Channel_StateTypeDef { HAL_DFSDM_CHANNEL_STATE_RESET = 0x00U, HAL_DFSDM_CHANNEL_STATE_READY = 0x01U, HAL_DFSDM_CHANNEL_STATE_ERROR = 0xFFU } |
HAL DFSDM Channel states definition. More... | |
enum | HAL_DFSDM_Channel_CallbackIDTypeDef { HAL_DFSDM_CHANNEL_CKAB_CB_ID = 0x00U, HAL_DFSDM_CHANNEL_SCD_CB_ID = 0x01U, HAL_DFSDM_CHANNEL_MSPINIT_CB_ID = 0x02U, HAL_DFSDM_CHANNEL_MSPDEINIT_CB_ID = 0x03U } |
DFSDM channel callback ID enumeration definition. More... | |
enum | HAL_DFSDM_Filter_StateTypeDef { HAL_DFSDM_FILTER_STATE_RESET = 0x00U, HAL_DFSDM_FILTER_STATE_READY = 0x01U, HAL_DFSDM_FILTER_STATE_REG = 0x02U, HAL_DFSDM_FILTER_STATE_INJ = 0x03U, HAL_DFSDM_FILTER_STATE_REG_INJ = 0x04U, HAL_DFSDM_FILTER_STATE_ERROR = 0xFFU } |
HAL DFSDM Filter states definition. More... | |
enum | HAL_DFSDM_Filter_CallbackIDTypeDef { HAL_DFSDM_FILTER_REGCONV_COMPLETE_CB_ID = 0x00U, HAL_DFSDM_FILTER_REGCONV_HALFCOMPLETE_CB_ID = 0x01U, HAL_DFSDM_FILTER_INJCONV_COMPLETE_CB_ID = 0x02U, HAL_DFSDM_FILTER_INJCONV_HALFCOMPLETE_CB_ID = 0x03U, HAL_DFSDM_FILTER_ERROR_CB_ID = 0x04U, HAL_DFSDM_FILTER_MSPINIT_CB_ID = 0x05U, HAL_DFSDM_FILTER_MSPDEINIT_CB_ID = 0x06U } |
DFSDM filter callback ID enumeration definition. More... | |
Functions | |
HAL_StatusTypeDef | HAL_DFSDM_ChannelInit (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
Initialize the DFSDM channel according to the specified parameters in the DFSDM_ChannelInitTypeDef structure and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_DFSDM_ChannelDeInit (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
De-initialize the DFSDM channel. | |
__weak void | HAL_DFSDM_ChannelMspInit (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
Initialize the DFSDM channel MSP. | |
__weak void | HAL_DFSDM_ChannelMspDeInit (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
De-initialize the DFSDM channel MSP. | |
HAL_StatusTypeDef | HAL_DFSDM_Channel_RegisterCallback (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, HAL_DFSDM_Channel_CallbackIDTypeDef CallbackID, pDFSDM_Channel_CallbackTypeDef pCallback) |
Register a user DFSDM channel callback to be used instead of the weak predefined callback. | |
HAL_StatusTypeDef | HAL_DFSDM_Channel_UnRegisterCallback (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, HAL_DFSDM_Channel_CallbackIDTypeDef CallbackID) |
Unregister a user DFSDM channel callback. | |
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_ChannelCkabStart_IT (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
This function allows to start clock absence detection in interrupt mode. | |
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_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_ChannelScdStart_IT (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Threshold, uint32_t BreakSignal) |
This function allows to start short circuit detection in interrupt mode. | |
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_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. | |
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_ChannelPollForScd (DFSDM_Channel_HandleTypeDef *hdfsdm_channel, uint32_t Timeout) |
This function allows to poll for the short circuit detection. | |
__weak void | HAL_DFSDM_ChannelCkabCallback (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
Clock absence detection callback. | |
__weak void | HAL_DFSDM_ChannelScdCallback (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
Short circuit detection callback. | |
HAL_DFSDM_Channel_StateTypeDef | HAL_DFSDM_ChannelGetState (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
This function allows to get the current DFSDM channel handle state. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInit (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Initialize the DFSDM filter according to the specified parameters in the DFSDM_FilterInitTypeDef structure and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterDeInit (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
De-initializes the DFSDM filter. | |
__weak void | HAL_DFSDM_FilterMspInit (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Initializes the DFSDM filter MSP. | |
__weak void | HAL_DFSDM_FilterMspDeInit (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
De-initializes the DFSDM filter MSP. | |
HAL_StatusTypeDef | HAL_DFSDM_Filter_RegisterCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, HAL_DFSDM_Filter_CallbackIDTypeDef CallbackID, pDFSDM_Filter_CallbackTypeDef pCallback) |
Register a user DFSDM filter callback to be used instead of the weak predefined callback. | |
HAL_StatusTypeDef | HAL_DFSDM_Filter_UnRegisterCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, HAL_DFSDM_Filter_CallbackIDTypeDef CallbackID) |
Unregister a user DFSDM filter callback. | |
HAL_StatusTypeDef | HAL_DFSDM_Filter_RegisterAwdCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, pDFSDM_Filter_AwdCallbackTypeDef pCallback) |
Register a user DFSDM filter analog watchdog callback to be used instead of the weak predefined callback. | |
HAL_StatusTypeDef | HAL_DFSDM_Filter_UnRegisterAwdCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Unregister a user DFSDM filter analog watchdog callback. | |
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. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularStart (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to start regular conversion in polling mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularStart_IT (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to start regular conversion in interrupt mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularStart_DMA (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length) |
This function allows to start regular conversion in DMA mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularMsbStart_DMA (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int16_t *pData, uint32_t Length) |
This function allows to start regular conversion in DMA mode and to get only the 16 most significant bits of conversion. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularStop (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop regular conversion in polling mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularStop_IT (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop regular conversion in interrupt mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterRegularStop_DMA (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop regular conversion in DMA mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedStart (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to start injected conversion in polling mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedStart_IT (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to start injected conversion in interrupt mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedStart_DMA (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length) |
This function allows to start injected conversion in DMA mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedMsbStart_DMA (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int16_t *pData, uint32_t Length) |
This function allows to start injected conversion in DMA mode and to get only the 16 most significant bits of conversion. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedStop (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop injected conversion in polling mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedStop_IT (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop injected conversion in interrupt mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterInjectedStop_DMA (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop injected conversion in DMA mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterAwdStart_IT (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, DFSDM_Filter_AwdParamTypeDef *awdParam) |
This function allows to start filter analog watchdog in interrupt mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterAwdStop_IT (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop filter analog watchdog in interrupt mode. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterExdStart (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel) |
This function allows to start extreme detector feature. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterExdStop (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to stop extreme detector feature. | |
int32_t | HAL_DFSDM_FilterGetRegularValue (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel) |
This function allows to get regular conversion value. | |
int32_t | HAL_DFSDM_FilterGetInjectedValue (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel) |
This function allows to get injected conversion value. | |
int32_t | HAL_DFSDM_FilterGetExdMaxValue (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel) |
This function allows to get extreme detector maximum value. | |
int32_t | HAL_DFSDM_FilterGetExdMinValue (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t *Channel) |
This function allows to get extreme detector minimum value. | |
uint32_t | HAL_DFSDM_FilterGetConvTimeValue (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to get conversion time value. | |
void | HAL_DFSDM_IRQHandler (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function handles the DFSDM interrupts. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterPollForRegConversion (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Timeout) |
This function allows to poll for the end of regular conversion. | |
HAL_StatusTypeDef | HAL_DFSDM_FilterPollForInjConversion (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Timeout) |
This function allows to poll for the end of injected conversion. | |
__weak void | HAL_DFSDM_FilterRegConvCpltCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Regular conversion complete callback. | |
__weak void | HAL_DFSDM_FilterRegConvHalfCpltCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Half regular conversion complete callback. | |
__weak void | HAL_DFSDM_FilterInjConvCpltCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Injected conversion complete callback. | |
__weak void | HAL_DFSDM_FilterInjConvHalfCpltCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Half injected conversion complete callback. | |
__weak void | HAL_DFSDM_FilterAwdCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel, uint32_t Threshold) |
Filter analog watchdog callback. | |
__weak void | HAL_DFSDM_FilterErrorCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Error callback. | |
HAL_DFSDM_Filter_StateTypeDef | HAL_DFSDM_FilterGetState (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to get the current DFSDM filter handle state. | |
uint32_t | HAL_DFSDM_FilterGetError (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
This function allows to get the current DFSDM filter error. |
Header file of DFSDM HAL module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32h7xx_hal_dfsdm.h.