STM32H735xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_ADC_SetAnalogWDMonitChannels (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup) |
Set ADC analog watchdog monitored channels: a single channel, multiple channels or all channels, on ADC groups regular and-or injected. | |
__STATIC_INLINE uint32_t | LL_ADC_GetAnalogWDMonitChannels (ADC_TypeDef *ADCx, uint32_t AWDy) |
Get ADC analog watchdog monitored channel. | |
__STATIC_INLINE void | LL_ADC_SetAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow, uint32_t AWDThresholdValue) |
Set ADC analog watchdog threshold value of threshold high or low. | |
__STATIC_INLINE uint32_t | LL_ADC_GetAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow) |
Get ADC analog watchdog threshold value of threshold high, threshold low or raw data with ADC thresholds high and low concatenated. | |
__STATIC_INLINE void | LL_ADC_ConfigAnalogWDThresholds (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdHighValue, uint32_t AWDThresholdLowValue) |
Set ADC analog watchdog thresholds value of both thresholds high and low. | |
__STATIC_INLINE void | LL_ADC_SetAWDFilteringConfiguration (ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t FilteringConfig) |
Set ADC analog watchdog filtering configuration. | |
__STATIC_INLINE uint32_t | LL_ADC_GetAWDFilteringConfiguration (ADC_TypeDef *ADCx, uint32_t AWDy) |
Get ADC analog watchdog filtering configuration. |
__STATIC_INLINE void LL_ADC_ConfigAnalogWDThresholds | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy, | ||
uint32_t | AWDThresholdHighValue, | ||
uint32_t | AWDThresholdLowValue | ||
) |
Set ADC analog watchdog thresholds value of both thresholds high and low.
Applicable for devices STM32H72xx and STM32H73xx.
ADCx | ADC instance |
AWDy | This parameter can be one of the following values: |
AWDThresholdHighValue | Value between Min_Data=0x000 and Max_Data=0xFFF |
AWDThresholdLowValue | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 6084 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_AWD_TR12_REGOFFSETGAP_MASK, ADC_AWD_TR12_REGOFFSETGAP_VAL, ADC_AWD_TRX_REGOFFSET_MASK, ADC_AWD_TRX_REGOFFSET_POS, LL_ADC_AWD_THRESHOLD_HIGH, and LL_ADC_AWD_THRESHOLD_LOW.
Referenced by HAL_ADC_AnalogWDGConfig().
__STATIC_INLINE uint32_t LL_ADC_GetAnalogWDMonitChannels | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy | ||
) |
Get ADC analog watchdog monitored channel.
ADCx | ADC instance |
AWDy | This parameter can be one of the following values:
|
Definition at line 5846 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, __LL_ADC_CHANNEL_TO_DECIMAL_NB, ADC_AWD_CR12_REGOFFSETGAP_MASK, ADC_AWD_CR12_REGOFFSETGAP_VAL, ADC_AWD_CR23_CHANNEL_MASK, ADC_AWD_CR_ALL_CHANNEL_MASK, ADC_AWD_CRX_REGOFFSET_MASK, ADC_AWD_CRX_REGOFFSET_POS, and LL_ADC_AWD1.
__STATIC_INLINE uint32_t LL_ADC_GetAnalogWDThresholds | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy, | ||
uint32_t | AWDThresholdsHighLow | ||
) |
Get ADC analog watchdog threshold value of threshold high, threshold low or raw data with ADC thresholds high and low concatenated.
ADCx | ADC instance |
AWDy | This parameter can be one of the following values: |
AWDThresholdsHighLow | This parameter can be one of the following values: |
Value | between Min_Data=0x000 and Max_Data=0x3FFFFFF |
Definition at line 6021 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_AWD_TR12_REGOFFSETGAP_MASK, ADC_AWD_TR12_REGOFFSETGAP_VAL, ADC_AWD_TRX_REGOFFSET_MASK, and ADC_AWD_TRX_REGOFFSET_POS.
__STATIC_INLINE uint32_t LL_ADC_GetAWDFilteringConfiguration | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy | ||
) |
Get ADC analog watchdog filtering configuration.
ADCx | ADC instance |
AWDy | This parameter can be one of the following values: |
Returned | value can be: |
Definition at line 6167 of file stm32h7xx_ll_adc.h.
__STATIC_INLINE void LL_ADC_SetAnalogWDMonitChannels | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy, | ||
uint32_t | AWDChannelGroup | ||
) |
Set ADC analog watchdog monitored channels: a single channel, multiple channels or all channels, on ADC groups regular and-or injected.
None |
Definition at line 5707 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_AWD_CR12_REGOFFSETGAP_MASK, ADC_AWD_CR12_REGOFFSETGAP_VAL, ADC_AWD_CR_ALL_CHANNEL_MASK, ADC_AWD_CRX_REGOFFSET_MASK, and ADC_AWD_CRX_REGOFFSET_POS.
Referenced by HAL_ADC_AnalogWDGConfig().
__STATIC_INLINE void LL_ADC_SetAnalogWDThresholds | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy, | ||
uint32_t | AWDThresholdsHighLow, | ||
uint32_t | AWDThresholdValue | ||
) |
Set ADC analog watchdog threshold value of threshold high or low.
ADCx | ADC instance |
AWDy | This parameter can be one of the following values: |
AWDThresholdsHighLow | This parameter can be one of the following values: |
AWDThresholdValue | Value between Min_Data=0x000 and Max_Data=0xFFF |
None |
Definition at line 5955 of file stm32h7xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_AWD_TR12_REGOFFSETGAP_MASK, ADC_AWD_TR12_REGOFFSETGAP_VAL, ADC_AWD_TRX_BIT_HIGH_MASK, ADC_AWD_TRX_BIT_HIGH_SHIFT4, ADC_AWD_TRX_REGOFFSET_MASK, and ADC_AWD_TRX_REGOFFSET_POS.
__STATIC_INLINE void LL_ADC_SetAWDFilteringConfiguration | ( | ADC_TypeDef * | ADCx, |
uint32_t | AWDy, | ||
uint32_t | FilteringConfig | ||
) |
Set ADC analog watchdog filtering configuration.
ADCx | ADC instance |
AWDy | This parameter can be one of the following values: |
FilteringConfig | This parameter can be one of the following values: |
None |
Definition at line 6138 of file stm32h7xx_ll_adc.h.