GD32W51x User Manual
374
Set by hardw are at the end of all inserted group channel conversion.
Cleared by softw are w riting 0 to it.
1
EOC
End of group conversion flag
0: No end of group conversion
1: End of group conversion
Set by hardw are at the end of a regular or inserted group channel conversion.
Cleared by softw are w riting 0 to it or by reading the ADC_RDATA register.
0
WDE
Analog w atchdog event flag
0: No analog w atchdog event
1: Analog w atchdog event
Set by hardw are w hen the converted voltage crosses the values programmed in the
ADC_WDLT and ADC_WDHT registers.
Cleared by softw are w riting 0 to it.
14.5.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
ROVFIE
Reserved
RWDEN
IWDEN
Reserved
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DISNUM [2:0]
DISIC
DISRC
ICA
WDSC
SM
EOICIE
WDEIE
EOCIE
WDCHSEL [4:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:27
Reserved
Must be kept at reset value.
26
ROVFIE
Interrupt enable for ROVF
0: ROVF interrupt disable
1: ROVF interrupt enable
25:24
Reserved
Must be kept at reset value.
23
RWDEN
Regular channel analog w atchdog enable
0: Regular channel analog w atchdog disable
1: Regular channel analog w atchdog enable
22
IWDEN
Inserted channel analog w atchdog enable
0: Inserted channel analog w atchdog disable
1: Inserted channel analog w atchdog enable