GD32W51x User Manual
376
01011: ADC channel 11
Other values are reserved.
Note:
ADC analog inputs Channel 9, Channel 10 and Channel 11 are inter nally
connected to the temperature sensor and V
REFINT
and V
BAT
analog inputs.
14.5.3.
Control register 1 (ADC_CTL1)
Address offset: 0x08
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved SWRCST
ETMRC[1:0]
ETSRC[3:0]
Reserved SWICST
ETMIC[1:0]
ETSIC[3:0]
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
DAL
EOCM
DDM
DMA
Reserved
CTN
ADCON
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31
Reserved
Must be kept at reset value.
30
SWRCST
Softw are start on regular channel.
Setting 1 on this bit starts a conversion of a group of regular channels . It is set by
softw are and cleared by softw are or by hardw are after the conversion starts.
29:28
ETMRC[1:0]
External trigger mode for regular channel
00: External trigger for regular channel disable
01: Rising edge of external trigger for regular channel enable
01: Falling edge of external trigger for regular channel enable
11: Rising and falling edge of external trigger for regular channel enable
27:24
ETSRC[3:0]
External trigger select for regular channel
0000: TIMER0 CH0
0001: TIMER0 CH1
0010: TIMER0 CH2
0011: TIMER1 CH1
0100: TIMER1 CH2
0101: TIMER1 CH3
0110: TIMER1 TRGO
0111: TIMER2 CH0
1000: TIMER2 TRGO
1001: TIMER3 CH3
1010: TIMER4 CH0
1011: TIMER4 CH1