
AT32F413
Series Reference Manual
2022.06.27
Page 281
Rev 2.00
19.6.1 ADC status register (ADC_STS)
Accessible: word.
Bit
Register
Reset value
Type
Description
Bit 31: 5
Reserved
0x0000000
resd
Kept at its default value.
Bit 4
OCCS
0x0
rw0c
Ordinary channel conversion start flag
This bit is set by hardware and cleared by software (writing
0).
0: No ordinary channel conversion started
1: Ordinary channel conversion has started
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
CCE
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
19.6.2 ADC control register1 (ADC_CTRL1)
Accessible: word.
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: 20 Reserved
0x0
resd
Kept at its default value.
Bit 19: 16 MSSEL
0x0
rw
Master/slave mode select
0000: Independnet mode
0001: Regular group simultaneous t preempted
group simultaneous trigger
0010: Regular group simultaneous interleaved
preempted group trigger
0011: Preempted group simultaneous fast swift
mode on regular group
0100: Preempted group simultaneous slow shift
mode on regular group
0101: Preempted group simultaneous trigger mode
0110: Regular group simultaneous trigger mode