GD32A50x User Manual
282
14.7.
Register definition
ADC0 base address: 0x4001 2400
ADC1 base address: 0x4001 2800
14.7.1.
Status register (ADC_STAT)
Address offset: 0x00
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
WDE1
Reserved
rc_w0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
STRC
Reserved
EOC
WDE0
rc_w0
rc_w0
rc_w0
Bits
Fields
Descriptions
31
Reserved
Must be kept at reset value.
30
WDE1
Analog watchdog 1 event flag
0: Analog watchdog 1 event is not happened
1: Analog watchdog 1 event is happening
Set by hardware when the converted voltage crosses the values programmed in
the ADC_WDT1 register. Cleared by software writing 0 to it.
29:5
Reserved
Must be kept at reset value.
4
STRC
Start flag of routine sequence
0: Conversion is not started
1: Conversion is started
Set by hardware when routine sequence conversion starts.
Cleared by software writing 0 to it.
31:5
Reserved
Must be kept at reset value.
1
EOC
End flag of routine sequence conversion
0: No end of routine sequence conversion
1: End ofroutine sequence conversion
Set by hardware at the end of a routine sequence conversion.
Cleared by software writing 0 to it or by reading the ADC_RDATA register.
0
WDE0
Analog watchdog 0 event flag
0: Analog watchdog 0 event is not happened
1: Analog watchdog 0 event is happening