EasyManuals Logo

ST STM32G0 1 Series User Manual

ST STM32G0 1 Series
1390 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 #372 background imageLoading...
Page #372 background image
Analog-to-digital converter (ADC) RM0444
372/1390 RM0444 Rev 5
Figure 52. ADC_AWDx_OUT signal generation (on a single channel)
15.7.4 Analog Watchdog threshold control
LTx[11:0] and HTx[11:0] can be changed during an analog-to-digital conversion (that is
between the start of the conversion and the end of conversion of the ADC internal state). If
HTx and LTx bits are programmed during the ADC guarded channel conversion, the
watchdog function is masked for this conversion. This mask is cleared when starting a new
conversion, and the resulting new AWD threshold is applied starting the next ADC
conversion result. AWD comparison is performed at each end of conversion. If the current
ADC data are out of the new threshold interval, this does not generated any interrupt or an
ADC_AWDx_OUT signal. The Interrupt and the ADC_AWDx_OUT generation only occurs
at the end of the ADC conversion that started after the threshold update. If
ADC_AWDx_OUT is already asserted, programming the new threshold does not deassert
the ADC_AWDx_OUT signal.
Figure 53. Analog watchdog threshold update
MSv45364V1
EOC FLAG
ADC STATE
AWDx FLAG
Conversion1
outside
ADCy_AWDx_OUT
Cleared
by SW
Conversion2 Conversion1 Conversion2 Conversion1 Conversion2 Conversion1
inside outside outside
Conversion2
EOS FLAG
Cleared
by SW
- Converted channels: 1 and 2
- Only channel 1 is guarded
MSv45365V1
ADC state Conversion Conversion
LTx, HTx XXXX
Comparison
Active
XXXY
Masked
Threshould updated
Conversion
Active
XXXZ
Conversion

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G0 1 Series and is the answer not in the manual?

ST STM32G0 1 Series Specifications

General IconGeneral
BrandST
ModelSTM32G0 1 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals