GD32W51x User Manual
145
5.4.2.
Control and status register 0 (PMU_CS0)
Address offset: 0x04
Reset value: 0x0000 0000 (not reset by wakeup from Standby mode)
When PRIV in PMU_PRICFG register is 1, only privileged access is supported.
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
LDRF[1:0]
Reserved
rc_w1
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
LDOVSR
F
Reserved
WUPEN3 WUPEN2 WUPEN1 WUPEN0
Reserved
VLVDF
LVDF
STBF
WUF
r
rw
rw
rw
rw
r
r
r
r
Bits
Fields
Descriptions
31:20
Reserved
Must be kept at reset value.
19:18
LDRF[1:0]
Low -driver mode ready flag
These bits are set by hardw are w hen enter Deep-sleep mode and the LDO in Low -
driver mode. These bits are cleared by softw are w hen w rite 11.
00: normal driver in Deep-sleep mode
01: Reserved
10: Reserved
11: Low -driver mode in Deep-sleep mode
17:15
Reserved
Must be kept at reset value.
14
LDOVSRF
LDO voltage select ready flag
0: LDO voltage select not ready
1: LDO voltage select ready
13:12
Reserved
Must be kept at reset value.
11
WUPEN3
WKUP Pin3 (PA12) Enable
0: Disable WKUP pin3 function
1: Enable WKUP pin3 function
If WUPEN3 is set before entering the pow er saving mode, a rising edge on the
WKUP pin3 w akes up the system from the pow er saving mode. As the WKUP pin3
is active high, the WKUP pin3 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.
10
WUPEN2
WKUP Pin2 (PB2) Enable
0: Disable WKUP pin2 function
1: Enable WKUP pin2 function