
AT32F413
Series Reference Manual
2022.06.27
Page 282
Rev 2.00
0111: Fast shift mode on regular group
1000: Slow shift mode on regular group
1001: Interleaved preempted group trigger mode
1010~1111: Unused, configuration is not allowed.
Note: These bits are reserved in ADC2.
In master/slave mode, a change of configurmation will
result in a loss of synchronization. It is recommended to
disable master/slave mode before any change.
Bit 15: 13 OCPCNT
0x0
rw
Partitioned mode conversion count of ordinary channels
000: 1 channel
001: 2 channels
……
111: 8 channels
Note: In this mode, the preempted group converts only one
channel at each trigger.
Bit 12
PCPEN
0x0
rw
Partitioned mode enable on preempted channels
0: Partitioned mode disabled on preempted channels
1: Partitioned mode enabled on preempted channels
Bit 11
OCPEN
0x0
rw
Partitioned mode enable on ordinary channels
This is set and cleared by software to enable or disable
partitioned mode on ordinary channels.
0: Partitioned mode disabled on ordinary channels
1: Partitioned mode enabled on ordinary channels
Bit 10
PCAUTOEN
0x0
rw
Preempted group automatic conversion enable after
ordinary group
0: Preempted group automatic conversion disabled
1: Preempted group automatic conversion enabled
Bit 9
VMSGEN
0x0
rw
Voltage monitoring enable on a single channel
0: Disabled (Voltage monitoring enabled on all channels)
1: Enabled (Voltage monitoring enabled a single channel)
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.