GD32A50x User Manual
293
Reset value: 0x00000000
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
AWD1CS[17:16]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
AWD1CS[15:0]
rw
Bits
Fields
Descriptions
31:18
Reserved
Must be kept at reset value.
17:0
AWD1CS[17:0]
Analog watchdog 1 channel selection
These bits are set and cleared by software. They enable and select the input
channels to be guarded by the analog watchdog 1.
AWD1CS[n] = 0: ADC analog input channel n is not monitored by AWD1
AWD1CS[n] = 1: ADC analog input channel n is monitored by AWD1
When AWD1CH[17:0] = 000..0, the analog Watchdog 1 is disabled
Note:
1)
The channels selected by AWD1CS must be also selected into the ADC_RSQn.
2)
Software is allowed to write these bits only when the ADC is disabled (ADCON
=0).
14.7.14.
Watchdog threshold register 1 (ADC_WDT1)
Address offset: 0xA8
Reset value: 0x00FF 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
WDHT1[7:0]
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
WDLT1[7:0]
rw
Bits
Fields
Descriptions
31:24
Reserved
Must be kept at reset value.
23:16
WDHT1[7:0]
High threshold for analog watchdog 1
These bits define the high threshold for the analog watchdog 1.
Note:
Software is allowed to write these bits only when the ADC is disabled
(ADCON =0).