EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #731 background imageLoading...
Page #731 background image
UM1940
LL ADC Generic Driver
DocID028236 Rev 2
731/1371
monitored: ADC groups regular and-or injected.resolution:
resolution is not limited (corresponds to ADC resolution
configured).
Reference Manual to
LL API cross
reference:
CR1 AWD1CH LL_ADC_GetAnalogWDMonitChannels
CR1 AWD1SGL LL_ADC_GetAnalogWDMonitChannels
CR1 AWD1EN LL_ADC_GetAnalogWDMonitChannels
LL_ADC_SetAnalogWDThresholds
Function name
__STATIC_INLINE void LL_ADC_SetAnalogWDThresholds
(ADC_TypeDef * ADCx, uint32_t AWDThresholdsHighLow,
uint32_t AWDThresholdValue)
Function description
Set ADC analog watchdog threshold value of threshold high or
low.
Parameters
ADCx: ADC instance
AWDThresholdsHighLow: This parameter can be one of
the following values:
LL_ADC_AWD_THRESHOLD_HIGH
LL_ADC_AWD_THRESHOLD_LOW
AWDThresholdValue: Value between Min_Data=0x000 and
Max_Data=0xFFF
Return values
None:
Notes
In case of ADC resolution different of 12 bits, analog
watchdog thresholds data require a specific shift. Use helper
macro
__LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTIO
N().
On this STM32 serie, there is only 1 kind of analog watchdog
instance: AWD standard (instance AWD1): channels
monitored: can monitor 1 channel or all channels.groups
monitored: ADC groups regular and-or injected.resolution:
resolution is not limited (corresponds to ADC resolution
configured).
Reference Manual to
LL API cross
reference:
HTR HT LL_ADC_SetAnalogWDThresholds
LTR LT LL_ADC_SetAnalogWDThresholds
LL_ADC_GetAnalogWDThresholds
Function name
__STATIC_INLINE uint32_t LL_ADC_GetAnalogWDThresholds
(ADC_TypeDef * ADCx, uint32_t AWDThresholdsHighLow)
Function description
Get ADC analog watchdog threshold value of threshold high or
threshold low.
Parameters
ADCx: ADC instance
AWDThresholdsHighLow: This parameter can be one of
the following values:
LL_ADC_AWD_THRESHOLD_HIGH
LL_ADC_AWD_THRESHOLD_LOW
Return values
Value: between Min_Data=0x000 and Max_Data=0xFFF

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals