GD32VF103 User Manual
176
1001: Trigger rotation mode only
Note: These bits are reserved in ADC1.In sync mode, the change of configuration
will cause unpredictable consequences. We 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
12
DISIC
Discontinuous mode on inserted channels
0: Discontinuous mode on inserted channels disable
1: Discontinuous mode on inserted channels enable
11
DISRC
Discontinuous mode on regular channels
0: Discontinuous mode on regular channels disable
1: Discontinuous mode on regular channels enable
10
ICA
Inserted channel group convert automatically
0: Inserted channel group convert automatically disable
1: Inserted channel group convert automatically enable
9
WDSC
When in scan mode, analog watchdog is effective on a single channel
0: Analog watchdog is effective on all channels
1: Analog watchdog is effective on a single channel
8
SM
Scan mode
0: scan mode disable
1: scan mode enable
7
EOICIE
Interrupt enable for EOIC
0: EOIC interrupt disable
1: EOIC interrupt enable
6
WDEIE
Interrupt enable for WDE
0: WDE interrupt disable
1: WDE interrupt enable
5
EOCIE
Interrupt enable for EOC
0: EOC interrupt disable
1: EOC interrupt enable
4:0
WDCHSEL[4:0]
Analog watchdog channel select
00000: ADC channel0
00001: ADC channel1
00010: ADC channel2
00011: ADC channel 3
00100: ADC channel 4
00101: ADC channel 5
00110: ADC channel 6
00111: ADC channel 7