
CH32V003
Reference Manual
V1.3
78
1: Conversion complete.
0: The conversion is not completed.
This bit is set to 1 by hardware (end of rule or injection
channel group conversion), cleared by software to 0 (write
1 is invalid) or when reading ADC_RDATAR.
0
AWD
RW0
Analog watchdog flag bit.
1: Occurrence of simulated watchdog events.
0: No simulated watchdog event occurred.
This bit is set to 1 by hardware (conversion value is out of
range of ADC_WDHTR and ADC_WDLTR registers) and
cleared to 0 by software (write 1 is not valid).
0
9.3.2 ADC Control register 1 (ADC_CTLR1)
Offset address: 0x04
31
30
29
28
27
26
25
24
23
22
21 20
19
18
17
16
Reserved
CALVOL Reserved AWDE
N
JAWDE
N
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DISCNUM[2:0] JDISC
EN
DISC
EN
JAUT
O
AW
D
SGL
SCAN JEOC
IE AWDIE
EO
CI
E
AWDCH[4:0]
Bit
Name
Access
Description
Reset
value
[31:27] Reserved
RO Reserved
0
[26:25] CALVOL
RW
Calibration voltage selection
01: Calibration voltage 2/4 AVDD
10: Calibration voltage 3/4 AVDD
Other: Invalid
01
24
Reserved
RO
Reserved
0
23
AWDEN
RW
Simulate the watchdog function enable bit on the rule
channel.
1: Enabling the analog watchdog on the rule channel.
0: Disable the analog watchdog on the rule channel.
0
22
JAWDEN
RW
Simulate the watchdog function enable bit on the injection
channel.
1: Enabling the analog watchdog on the injection channel.
0: Disable the analog watchdog on the injection channel.
0
[21:16] Reserved
RO Reserved
0
[15:13] DISCNUM
RW
Number of rule channels to be converted after external
triggering in intermittent mode.
000: 1 channel.
...
111: 8 channels.
0
12
JDISCEN
RW
Inject the intermittent mode enable bit on the channel.
1: Enables intermittent mode on the injection channel.
0: Turn off the intermittent mode on the injection channel.
0
11
DISCEN
RW
Intermittent mode enable bit on rule channel.
1: Enables intermittent mode on the rule channel.
0: Turn off the intermittent mode on the rule channel.
0
10
JAUTO
RW
After the opening of the rule channel is completed, the
injection channel group enable bit is automatically
switched.
1: Enables automatic injection channel group switching.
0: Turn off the automatic injection channel group
conversion.
0