AT32F421
Series Reference Manual
2022.11.11
Page 322
Rev 2.02
18.5.12 ADC preempted sequence register ( ADC_ PSQ)
Accessible by words.
Bit
Register
Reset value
Type
Description
Bit 31: 30 Reserved
0x0
resd
Kept at its default value
Bit 21: 20 PCLEN
0x0
rw
Preempted conversion sequence length
00: 1 conversion
01: 2 conversions
10: 3 conversions
11: 4 conversions
Bit 19: 15 PSN4
0x00
rw
Number of 4th conversion in preempted sequence
Bit 14: 10 PSN3
0x00
rw
Number of 3rd conversion in preempted sequence
Bit 9: 5
PSN2
0x00
rw
Number of 2nd conversion in preempted sequence
Bit 4: 0
PSN1
0x00
rw
Number of 1st conversion in preempted sequence
Note: The number can be from 0 to 17. For example, if
the number is set to 3, it refers to the ADC_IN3 channel.
If PCLEN is less than 4, the conversion sequence starts
from 4-PCLEN. For example, when ADC_PSQ ([21: 0])
=10 00110 00101 00100 00011, it indicates that the scan
conversion follows the sequence: 4, 5, 6, not 3, 4,5.
18.5.13 ADC preempted data register x ( ADC_ PDTx) (x=1..4)
Accessible by words.
Bit
Register
Reset value
Type
Description
Bit 31: 16 Reserved
0x0000
resd
Kept at its default value
Bit 15: 0
PDTx
0x0000
rw
Conversion data from preempted channel
18.5.14 ADC ordinary data register ( ADC_ ODT)
Accessible by words.
Bit
Register
Reset value
Type
Description
Bit 31: 16 ADC2ODT
0x0000
ro
ADC2 conversion data of ordinary channel
Note:
These bits are reserved in ADC2 and ADC3.
In ADC1, these bits are valid only in master/slave mode,
and they contain the conversion result from the ADC2
ordinary channels.
Bit 15: 0
ODT
0x0000
ro
Conversion data of ordinary channel