GD32A50x User Manual
285
14.7.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
INREFEN TSVEN SWRCST Reserved ETERC
Reserved
ETSRC Reserved
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
ETSIC
DAL
Reserved.
DMA
Reserved
RSTCLB
CLB
CTN
ADCON
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:25
Reserved
Must be kept at reset value.
24
INREFEN
Channel 17 (internal reference voltage) enable of ADC0.
0: Channel 17 of ADC0 disable
1: Channel 17 of ADC0 enable
23
TSVEN
Channel 16 (
temperature sensor
) enable of ADC0.
0: Channel 16 of ADC0 disable
1: Channel 16 of ADC0 enable
22
SWRCST
Software start conversion of routine sequence .
Set 1 on this bit starts a conversion of a routine sequence if ETSRC is 1. It is set
by software and cleared by software or by hardware immediately after the
conversion starts.
21
Reserved
Must be kept at reset value.
20
ETERC
External trigger enable for routine sequence
0: External trigger for routine sequence disable
1: External trigger for routine sequence enable
19:18
Reserved
Must be kept at reset value.
17
ETSRC
External trigger select for routine sequence
0: TRIGSEL
1: SWRCST
16:12
Reserved
Must be kept at reset value.
11
DAL
Data alignment
0: LSB alignment
1: MSB alignment
10:9
Reserved
Must be kept at reset value.
8
DMA
DMA request enable