Scan Mode; Table 49. Analog Watchdog Channel Selection; Figure 36. Analog Watchdog's Guarded Area - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

Analog-to-digital converter (ADC)

Figure 36. Analog watchdog's guarded area

Table 49.
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
11.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.
269/1422
Analog voltage
Higher threshold
Lower threshold
Analog watchdog channel selection
watchdog
injected channel
regular channel
regular or injected channel
Doc ID 018909 Rev 4
Guarde d area
ADC_CR1 register control bits (x = don't care)
AWDSGL bit
AWDEN bit
x
0
0
0
1
1
1
RM0090
HTR
LT R
ai16048
JAWDEN bit
0
0
0
1
1
0
1
1
0
1
1
0
1
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF