GD32VF103 User Manual
177
01000: ADC channel 8
01001: ADC channel 9
01010: ADC channel 10
01011: ADC channel 11
01100: ADC channel 12
01101: ADC channel 13
01110: ADC channel 14
01111: ADC channel15
10000: ADC channel16
10001: ADC channel17
Other values are reserved.
Note: ADC0 analog inputs Channel16 and Channel17 are internally connected to
the temperature sensor, and to V
REFINT
inputs. ADC1 analog inputs Channel16, and
Channel17 are internally connected to V
SSA
.
11.8.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
TSVREN SWRCST SWICST
ETERC
ETSRC[2:0]
Reserved
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ETEIC
ETSIC[2:0]
DAL
Reserved.
DMA
Reserved
RSTCLB
CLB
CTN
ADCON
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value
23
TSVREN
Channel 16 and 17 enable of ADC0.
0: Channel 16 and 17 of ADC0 disable
1: Channel 16 and 17 of ADC0 enable
22
SWRCST
Start on regular channel.
Set 1 on this bit starts a conversion of a group of regular channels if ETSRC is 111.
It is set by software and cleared by software or by hardware after the conversion
starts.
21
SWICST
Start on inserted channel.
Set 1 on this bit starts a conversion of a group of inserted channels if ETSIC is 111.
It is set by software and cleared by software or by hardware after the conversion
starts.