
GD32L23x User Manual
78
9
WUPEN1
WKUP Pin1(PC13) enable
0: Disable WKUP pin1 function.
1: Enable WKUP pin1 function.
If WUPEN1 is set before entering the power saving mode, a rising edge on the
WKUP pin1 wakes up the system from the power saving mode. As the WKUP pin1
is active high, the WKUP pin1 is internally configured to input pull down mode. And
set this bit will trigger a wakup event when the input is aready high.
8
WUPEN0
WKUP Pin0(PA0) enable
0: Disable WKUP pin0 function.
1: Enable WKUP pin0 function.
If WUPEN0 is set before entering the power saving mode, a rising edge on the
WKUP pin0 wakes up the system from the power saving mode. As the WKUP pin0
is active high, the WKUP pin0 is internally configured to input pull down mode. And
set this bit will trigger a wakup event when the input is aready high.
7:3
Reserved
Must be kept at reset value.
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 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 wakeup event has been received.
1: Wakeup event occurred from the WKUP pins or the RTC wakeup event including
RTC alarm event, RTC time stamp event, RTC tamper event or RTC auto wakeup
event.
This bit is cleared only by a POR/PDR or by setting the WURST bit in the
PMU_CTL0 register.
3.4.3.
Control register 1 (PMU_CTL1)
Address offset: 0x08
Reset value: 0x0000 0000 (reset by wakeup from Standby mode).
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