
CH32V003
Reference Manual
V1.3
80
0 by software after the conversion starts.
20
EXTTRIG
RW
External trigger transition mode enable for the rule
channel.
1: Use of external events to initiate conversions.
0: Turn off the external event activation function.
0
[19:17] EXTSEL
RW
External trigger event selection for initiating rule channel
conversion.
000: TRGO event for timer 1.
001: CH1 event of timer 1.
010: CH2 event of timer 1.
011: TRGO event of timer 2.
100: CH1 event of timer 2.
101: CH2 event of timer 2.
110: PD3/PC2 events.
111: SWSTART software trigger.
0
16
Reserved
RO Reserved
0
15
JEXTTRIG
RW
External trigger transition mode enable for the injected
channel.
1: Use of external events to initiate conversions.
0: Turn off the external event activation function.
0
[14:12] JEXTSEL
RW
External trigger event selection for initiating injection
channel conversion.
000: CH3 event of timer 1.
001: CH4 event of timer 1.
010: CH3 event of timer 2.
011: CH4 event of timer 2.
100.
101.
110: PD1/PA2
111: JSWSTART software trigger.
0
11
ALIGN
RW
Data alignment.
1: left-aligned; 0: right-aligned.
0
[10:9] Reserved
RO Reserved
0
8
DMA
RW
Direct Memory Access (DMA) mode enable.
1: Enables DMA mode.
0: Turn off DMA mode.
0
[7:4]
Reserved
RO Reserved
0
3
RSTCAL
RW
Reset calibration, this bit is set by software and cleared by
hardware after the reset is completed.
1: Initialization of the calibration registers.
0: Calibration register is initialized.
Note: If RSTCAL is set while conversion is in progress,
additional cycles are required to clear the calibration
register.
0
2
CAL
RW
A/D calibration, this bit is set by software and cleared to 0
by hardware at the end of calibration.
1: Start of calibration.
0: Calibration is complete.
0
1
CONT
RW
Continuous conversion enable.
1: Continuous conversion mode.
0: Single conversion mode.
If this bit is set, the conversion will continue until the bit is
cleared.
0
0
ADON
RW
On/off A/D converter
When this bit is 0, writing 1 will wake up the ADC from
power-down mode; when this bit is 1, writing 1 will start
the conversion.
1: Turn on the ADC and start the conversion.
0: Turn off ADC conversion/calibration and enter power-
0