![Geehy SEMICONDUCTOR APM32F030x4x6x8xC Скачать руководство пользователя страница 59](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f030x4x6x8xc/apm32f030x4x6x8xc_user-manual_573629059.webp)
www.geehy.com Page 58
Field
Name
R/W
Description
0: Write is disabed
1: Write is enabled
31:9
Reserved
Power control/state register (PMU_CSTS)
Offset address: 0x04
Reset value: 0x0000 000X (not cleared when waking up from standby mode)
Compared with the standard APB read, it requires extra APB cycle to read this
register
Field
Name
R/W
Description
0
WUEFLG
R
Wakeup Event Flag
This bit is set by hardware, indicating whether wake-up event or RTC
alarm wake-up event occurs on WKUP pin.
0: Not occur
1: Occurred
Note: Enable the WKUP pin, and an event will be detected when the
WKUP pin is at high level.
1
SBFLG
R
Standby Flag
This bit is set to 1 by hardware, and can only be cleared by POR/PDR
(power-on/power-down reset) or by setting the SBFLGCLR bit of the
power supply control register (PMU_CTRL).
0: Not enter the standby mode
1: Have entered the standby mode
7:2
Reserved
9:8
WKUPCFGx R/W
WKUPxPin Configure
When WKUPx is used as a normal I/O, the event on WKUPx pin cannot
wake up the CPU in standby mode; it can wake up CPU only when it is
not used as a normal I/O.
0: Configure normal I/O
1: Can wake MCU
Note: Clear this bit in system reset.
31:10
Reserved