AT32F425
Series Reference Manual
2022.03.30
Page 310
Ver 2.01
Bit 8
SQEN
0x0
rw
Sequence mode enable
0: Sequence mode disabled (a single channel is
converted)
1: Sequence mode enabled (the selected multiple
channels are converted)
Note: If this mode is enabled and the CCEIEN/PCCEIEN
is set, a CCE or PCCE interrupt is generated only at the
end of conversion of the last channel.
Bit 7
PCCEIEN
0x0
rw
Conversion end interrupt enable on Preempted channels
0: Conversion end interrupt disabled on Preempted
channels
1: Conversion end interrupt enabled on Preempted
channels
Bit 6
VMORIEN
0x0
rw
Voltage monitoring out of range interrupt enable
0: Voltage monitoring out of range interrupt disabled
1: Voltage monitoring out of range interrupt enabled
Bit 5
CCEIEN
0x0
rw
Channel conversion end interrupt enable
0: Channel conversion end interrupt disabled
1: Channel conversion end interrupt enabled
Bit 4: 0
VMCSEL
0x00
rw
Voltage monitoring channel select
This filed is valid only when the VMSGEN is enabled.
00000: ADC_IN0 channel
00001: ADC_IN1 channel
……
01111: ADC_IN15 channel
10000: ADC_IN16 channel
10001: ADC_IN17 channel
10010~11111: Unused, configuration is not allowed.
18.5.3 ADC control register2 (ADC_CTRL2)
Accessed by words.
Bit
Register
Reset value
Type
Description
Bit 30: 24 Reserved
0x00
resd
Kept at its default value
Bit 23
ITSRVEN
0x0
rw
Internal V
INTRV
enable
0: Internal V
INTRV
disabled
1: Internal V
INTRV
enabled
Bit 22
OCSWTRG
0x0
rw
Conversion of ordinary channels triggered by software
0: Conversion of ordinary channels not triggered
1: Conversion of ordinary channels triggered (This bit is
cleared by software or by hardware as soon as the
conversion starts)
Bit 21
PCSWTRG
0x0
rw
Conversion of preempted channels triggered by software
0: Conversion of preempted channels not triggered
1: Conversion of preempted channels triggered (This bit is
cleared by software or by hardware as soon as the
conversion starts)
Bit 20
OCTEN
0x0
rw
Trigger mode enable for ordinary channel conversion
0: Disabled
1: Enabled
Bit 19: 17 OCTESEL
0x0
rw
Trigger event select for ordinary channel conversion
000: TMR1 TRGOUT event
001: TMR1 CH4 event
010: TMR 2 TRGOUT event
011: TMR 3 TRGOUT event
100: TMR 15 TRGOUT event
101:TMR 1 CH1 event
110: EXINT11