STM32L443xx 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_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_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.
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 5318 of file stm32l4xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_AWD_TRX_REGOFFSET_MASK, ADC_AWD_TRX_REGOFFSET_POS, and ADC_TR1_HT1_BITOFFSET_POS.
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 5210 of file stm32l4xx_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=0xFFF |
Definition at line 5431 of file stm32l4xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, 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_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 5074 of file stm32l4xx_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 5387 of file stm32l4xx_ll_adc.h.
References __ADC_PTR_REG_OFFSET, ADC_AWD_TRX_BIT_HIGH_MASK, ADC_AWD_TRX_BIT_HIGH_SHIFT4, ADC_AWD_TRX_REGOFFSET_MASK, and ADC_AWD_TRX_REGOFFSET_POS.