AT32F425
Series Reference Manual
2022.03.30
Page 309
Ver 2.01
Bit 3
PCCS
0x0
rw0c
Preempted channel conversion start flag
This bit is set by hardware and cleared by software (writing
0).
0: No preempted channel conversion started
1: Preempted channel conversion has started
Bit 2
PCCE
0x0
rw0c
Preempted channel end of conversion flag
This bit is set by hardware and cleared by software (writing
0).
0: Conversion is not complete
1: Conversion is complete
Bit 1
OCCE
0x0
rw0c
End of conversion flag
This bit is set by hardware. It is cleared by software (writing
0) or by reading the ADC_ODT register.
0: Conversion is not complete
1: Conversion is complete
Note: This bit is set at the end of the ordinary or preempted
group.
Bit 0
VMOR
0x0
rw0c
Voltage monitoring out of range flag
This bit is set by hardware and cleared by software (writing
0).
0: Voltage is within the value programmed
1: Voltage is outside the value programmed
18.5.2 ADC control register1 (ADC_CTRL1)
Accessed by words.
Bit
Register
Reset value
Type
Description
Bit 31: 24 Reserved
0x00
resd
Kept at its default value.
Bit 23
OCVMEN
0x0
rw
Voltage monitoring enable on ordinary channels
0: Voltage monitoring disabled on ordinary channels
1: Voltage monitoring enabled on ordinary channels
Bit 22
PCVMEN
0x0
rw
Voltage monitoring enable on preempted channels
0: Voltage monitoring disabled on preempted channels
1: Voltage monitoring enabled on preempted channels
Bit 21: 16 Reserved
0x0
resd
Kept at its default value.
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)