GD32F10x User Manual
225
11.7.2.
Control register 0 (ADC_CTL0)
Address offset: 0x04
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
RWDEN
Reserved
SYNCM[3:0]
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DISNUM[2:0]
Reserved DISRC Reserved WDSC
SM
Reserved WDEIE
EOCIE
WDCHSEL[4:0]
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value.
23
RWDEN
Routine channel analog watchdog enable
0: Analog watchdog disable
1: Analog watchdog enable
22:20
Reserved
Must be kept at reset value.
19:16
SYNCM[3:0]
Sync mode selection
These bits use to select the operating mode.
0000: Free mode.
0001~0101: Reserved
0110: Routine parallel mode
0111: Routine follow-up fast mode
1000: Routine follow-up slow mode
1001~1111: Reserved
Note
:
1) These bits are only used in ADC0.
2) Users must disable sync mode before any configuration change.
15:13
DISNUM[2:0]
Number of conversions in discontinuous mode
The number of channels to be converted after a trigger will be 1 in
routine sequence.
12
Reserved
Must be kept at reset value.
11
DISRC
Discontinuous mode on routine sequence
0: Discontinuous operation mode disable
1: Discontinuous operation mode enable
10
Reserved
Must be kept at reset value.
9
WDSC
When in scan mode, analog watchdog is effective on a single channel
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...