AT32F421
Series Reference Manual
2022.11.11
Page 321
Rev 2.02
18.5.9 ADC ordinary sequence register 1 ( ADC_ OSQ1)
Accessible by words.
Bit
Register
Reset value
Type
Description
Bit 31: 24 Reserved
0x00
resd
Kept at its default value
Bit 23: 20 OCLEN
0x0
rw
Ordinary conversion sequence length
0000: 1 conversion
0001: 2 conversions
……
1111: 16 conversions
Bit 19: 15 OSN16
0x00
rw
Number of 16th conversion in ordinary sequence
Bit 14: 10 OSN15
0x00
rw
Number of 15th conversion in ordinary sequence
Bit 9: 5
OSN14
0x00
rw
Number of 14th conversion in ordinary sequence
Bit 4: 0
OSN13
0x00
rw
Number of 13th conversion in ordinary sequence
Note: The number can be from 0 to 17. For example, if
the number is set to 3, it means that the 13
th
conversion
is ADC_IN3 channel.
18.5.10 ADC ordinary sequence register 2 ( ADC_OSQ2)
Accessible by words.
Bit
Register
Reset value
Type
Description
Bit 31: 30 Reserved
0x0
resd
Kept at its default value
Bit 29: 25 OSN12
0x00
rw
Number of 12th conversion in ordinary sequence
Bit 24: 20 OSN11
0x00
rw
Number of 11th conversion in ordinary sequence
Bit 19: 15 OSN10
0x00
rw
Number of 10th conversion in ordinary sequence
Bit 14: 10 OSN9
0x00
rw
Number of 9th conversion in ordinary sequence
Bit 9: 5
OSN8
0x00
rw
Number of 8th conversion in ordinary sequence
Bit 4: 0
OSN7
0x00
rw
Number of 7th conversion in ordinary sequence
Note: The number can be from 0 to 17. For example, if
the number is set to 8, it means that the 7
th
conversion is
ADC_IN8 channel.
18.5.11 ADC ordinary sequence register 3 (ADC_OSQ3)
Accessible by words.
Bit
Register
Reset value
Type
Description
Bit 31: 30 Reserved
0x0
resd
Kept at its default value
Bit 29: 25 OSN6
0x00
rw
Number of 6th conversion in ordinary sequence
Bit 24: 20 OSN5
0x00
rw
Number of 5th conversion in ordinary sequence
Bit 19: 15 OSN4
0x00
rw
Number of 4th conversion in ordinary sequence
Bit 14: 10 OSN3
0x00
rw
Number of 3rd conversion in ordinary sequence
Bit 9: 5
OSN2
0x00
rw
Number of 2nd conversion in ordinary sequence
Bit 4: 0
OSN1
0x00
rw
Number of 1st conversion in ordinary sequence
Note: The number can be from 0 to 17. For example, if
the number is set to 8, it means that the 1st conversion is
ADC_IN17 channel.