GD32W51x User Manual
146
If WUPEN2 is set before entering the pow er saving mode, a rising edge on the
WKUP pin2 w akes up the system from the pow er saving mode. As the WKUP pin2
is active high, the WKUP pin2 is internally configured to input pull dow n mode. And
set this bit w ill trigger a w akup event w hen the input is aready high.
9
WUPEN1
WKUP Pin1 (PA15) Enable
0: Disable WKUP pin1 function
1: Enable WKUP pin1 function
If WUPEN1 is set before entering the pow er saving mode, a rising edge on the
WKUP pin1 w akes up the system from the pow er saving mode. As the WKUP pin1
is active high, the WKUP pin1 is internally configured to input pull dow n mode. And
set this bit w ill trigger a w akup event w hen the input is aready high.
8
WUPEN0
WKUP Pin0 (PA2) Enable
0: Disable WKUP pin0 function
1: Enable WKUP pin0 function
If WUPEN0 is set before entering the pow er saving mode, a rising edge on the
WKUP pin0 w akes up the system from the pow er saving mode. As the WKUP pin0
is active high, the WKUP pin0 is internally configured to input pull dow n mode. And
set this bit w ill trigger a w akup event w hen the input is aready high.
7:4
Reserved
Must be kept at reset value.
3
VLVDF
V
DDA
Low Voltage Detector Status Flag
0: Low Voltage event has not occurred (V
DDA
is higher than the specified threshold
(2.4V))
1: Low Voltage event occurred (V
DDA
is equal to or low er than the specified threshold
(2.4V))
Note:
The VLVD function is stopped 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 low er than the specified LVD
threshold)
Note
: The LVD function is stopped 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
This bit is cleared only by a POR / PDR or by setting the STBRST bit in the
PMU_CTL0 register.
0
WUF
Wakeup Flag
0: No w akeup event has been received
1: Wakeup event occurred from the WKUP pins or the RTC w akeup event including
RTC Tamper event, RTC alarm event
,
RTC Time Stamp event or RTC Wakeup