Adc Control Register 1 (Adc_Ctlr1) - WCH CH32V003 Series Reference Manual

Table of Contents

Advertisement

CH32V003 Reference Manual
0
AWD

9.3.2 ADC Control register 1 (ADC_CTLR1)

Offset address: 0x04
31
30
29
28
Reserved
15
14
13
12
JDISC
DISCNUM[2:0]
EN
Bit
Name
[31:27]
Reserved
[26:25]
CALVOL
24
Reserved
23
AWDEN
22
JAWDEN
[21:16]
Reserved
[15:13]
DISCNUM
12
JDISCEN
11
DISCEN
10
JAUTO
V1.3
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.
Analog watchdog flag bit.
1: Occurrence of simulated watchdog events.
0: No simulated watchdog event occurred.
RW0
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).
27
26
25
24
CALVOL Reserved
11
10
9
8
AW
DISC
JAUT
D
SCAN
EN
O
SGL
Access
RO
Reserved
Calibration voltage selection
01: Calibration voltage 2/4 AVDD
RW
10: Calibration voltage 3/4 AVDD
Other: Invalid
Reserved
RO
Simulate the watchdog function enable bit on the rule
channel.
RW
1: Enabling the analog watchdog on the rule channel.
0: Disable the analog watchdog on the rule channel.
Simulate the watchdog function enable bit on the injection
channel.
RW
1: Enabling the analog watchdog on the injection channel.
0: Disable the analog watchdog on the injection channel.
RO
Reserved
Number of rule channels to be converted after external
triggering in intermittent mode.
RW
000: 1 channel.
...
111: 8 channels.
Inject the intermittent mode enable bit on the channel.
RW
1: Enables intermittent mode on the injection channel.
0: Turn off the intermittent mode on the injection channel.
Intermittent mode enable bit on rule channel.
RW
1: Enables intermittent mode on the rule channel.
0: Turn off the intermittent mode on the rule channel.
After the opening of the rule channel is completed, the
injection channel group enable bit is automatically
switched.
RW
1: Enables automatic injection channel group switching.
0: Turn off the automatic injection channel group
conversion.
23
22
21
AWDE
JAWDE
N
N
7
6
5
EO
JEOC
AWDIE
CI
IE
E
Description
78
http://wch.cn
0
20
19
18
17
Reserved
4
3
2
1
AWDCH[4:0]
Reset
value
0
01
0
0
0
0
0
0
0
0
16
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents