GD32W51x User Manual
375
21:16
Reserved
Must be kept at reset value.
15:13
DISNUM[2:0]
Number of conversions in discontinuous mode
The number of channels to be converted after a trigger w ill be DISNUM [2:0] +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 w atchdog is effective on a single channel
0: Analog w atchdog is effective on all channels
1: Analog w atchdog 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 w atchdog channel select
00000: ADC channel 0
00001: ADC channel 1
00010: ADC channel 2
00011: ADC channel 3
00100: ADC channel 4
00101: ADC channel 5
00110: ADC channel 6
00111: ADC channel 7
01000: ADC channel 8
01001: ADC channel 9
01010: ADC channel 10