GD32A50x User Manual
284
0: Discontinuous operation mode disable
1: Discontinuous operation mode enable
10
Reserved
Must be kept at reset value.
9
WD0SC
When in scan mode, analog watchdog 0 is effective on a single channel.
0: All channels have analog watchdog 0 function
1: A single channel has analog watchdog 0 function
8
SM
Scan mode
0: Scan operation mode disable
1: Scan operation mode enable
7
Reserved
Must be kept at reset value.
6
WDE0IE
Interrupt enable for WDE0
0: Interrupt disable
1: Interrupt enable
5
EOCIE
Interrupt enable for EOC
0: Interrupt disable
1: Interrupt enable
4:0
WD0CHSEL[4:0]
Analog watchdog 0 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
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
.