GD32A50x User Manual
104
This register can be accessed by half-word(16-bit) or word(32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
WUPEN1 WUPEN0
Reserved
OVDF
LVDF
STBF
WUF
rw
rw
r
r
r
r
Bits
Fields
Descriptions
31:10
Reserved
Must be kept at reset value.
9
WUPEN1
WKUP Pin1 Enable (PC13)
0: Disable WKUP pin1 function
1: Enable WKUP pin1 function
If WUPEN1 is set before entering the Standby mode, a rising edge on the WKUP
pin1 will wake up the system from the Standby mode. As the WKUP pin1 is active
high, the WKUP pin1 is internally configured to input pull down mode. And setting
this bit will trigger a wakeup event when the input is already high.
8
WUPEN0
WKUP Pin0 Enable (PA0)
0: Disable WKUP pin0 function
1: Enable WKUP pin0 function
If WUPEN0 is set before entering the Standby mode, a rising edge on the WKUP
pin0 will wake up the system from the Standby mode. As the WKUP pin0 is active
high, the WKUP pin0 is internally configured to input pull down mode. And setting
this bit will trigger a wakeup event when the input is already high.
7:4
Reserved
Must be kept at reset value.
3
OVDF
Over Voltage Detector Status Flag
0: Over Voltage event has not occurred (V
DD
is lower than the specified OVD
threshold)
1: Over Voltage event occurred (V
DD
is equal to or higher than the specified OVD
threshold)
Note:
The OVD function is disabled in Standby mode.
2
LVDF
Low Voltage Detector Status Flag
0: Low Voltage event has not occurred (V
DD
is higher than the specified LVD
threshold)
1: Low Voltage event occurred (V
DD
is equal to or lower than the specified LVD
threshold)
Note:
The LVD function is disabled in Standby mode.
1
STBF
Standby Flag
0: The device has not entered the Standby mode
1: The device has been in the Standby mode