Table 66. Analog Watchdog Channel Selection; Figure 46. Analog Watchdog's Guarded Area - ST STM32F405 Reference Manual

Hide thumbs Also See for STM32F405:
Table of Contents

Advertisement

RM0090
Channels guarded by the analog
None
All injected channels
All regular channels
All regular and injected channels
(1)
Single
(1)
Single
(1)
Single
1. Selected by the AWDCH[4:0] bits
13.3.8
Scan mode
This mode is used to scan a group of analog channels.
The Scan mode is selected by setting the SCAN bit in the ADC_CR1 register. Once this bit
has been set, the ADC scans all the channels selected in the ADC_SQRx registers (for
regular channels) or in the ADC_JSQR register (for injected channels). A single conversion
is performed for each channel of the group. After each end of conversion, the next channel
in the group is converted automatically. If the CONT bit is set, regular channel conversion
does not stop at the last selected channel in the group but continues again from the first
selected channel.
If the DMA bit is set, the direct memory access (DMA) controller is used to transfer the data
converted from the regular group of channels (stored in the ADC_DR register) to SRAM
after each regular channel conversion.
The EOC bit is set in the ADC_SR register:
At the end of each regular group sequence if the EOCS bit is cleared to 0
At the end of each regular channel conversion if the EOCS bit is set to 1
The data converted from an injected channel are always stored into the ADC_JDRx
registers.

Figure 46. Analog watchdog's guarded area

Analog voltage
Higher threshold
Lower threshold

Table 66. Analog watchdog channel selection

watchdog
injected channel
regular channel
regular or injected channel
Guarde d area
ADC_CR1 register control bits (x = don't care)
AWDSGL bit
x
0
0
0
1
1
1
RM0090 Rev 18
Analog-to-digital converter (ADC)
HTR
LT R
ai16048
AWDEN bit
JAWDEN bit
0
0
1
1
0
1
1
0
1
0
1
1
0
1
393/1749
432

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF