RM0432
Bit 2 EWUP3: Enable Wakeup pin WKUP3
Bit 1 EWUP2: Enable Wakeup pin WKUP2
Bit 0 EWUP1: Enable Wakeup pin WKUP1
5.4.4
Power control register 4 (PWR_CR4)
Address offset: 0x0C
Reset value: 0x0000 0000 (This register is not reset when exiting Standby modes and with
the PWRRST bit in the RCC_APB1RSTR1 register)
Access: Additional APB cycles are needed to access this register vs. a standard APB
access (3 for a write and 2 for a read).
31
30
29
Res.
Res.
Res.
Res.
15
14
13
EXT_S
Res.
Res.
MPS_O
Res.
N
rw
Bits 31:14 Reserved, must be kept at reset value.
Bit 13 EXT_SMPS_ON: external SMPS on.
This bit informs the internal regulator about external SMPS switch status to decrease regulator
output to 0.95 V in Range 2, allowing the external SMPS output down to 1.00 V.
Note: This bit is only available on STM32L4P5xx and STM32L4Q5xx devices.
Bits 12:10 Reserved, must be kept at reset value.
Bit 9 VBRS: V
Bit 8 VBE: V
Bits 7:5 Reserved, must be kept at reset value.
When this bit is set, the external wakeup pin WKUP3 is enabled and triggers a wakeup from
Standby or Shutdown event when a rising or a falling edge occurs. The active edge is
configured via the WP3 bit in the PWR_CR4 register.
When this bit is set, the external wakeup pin WKUP2 is enabled and triggers a wakeup from
Standby or Shutdown event when a rising or a falling edge occurs. The active edge is
configured via the WP2 bit in the PWR_CR4 register.
When this bit is set, the external wakeup pin WKUP1 is enabled and triggers a wakeup from
Standby or Shutdown event when a rising or a falling edge occurs. The active edge is
configured via the WP1 bit in the PWR_CR4 register.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
VBRS
rw
0: the external SMPS switch is open.
1: the external SMPS switch is closed, internal regulator output is set to 0.95 V.
battery charging resistor selection
BAT
0: Charge V
through a 5 kOhms resistor
BAT
1: Charge V
through a 1.5 kOhms resistor
BAT
battery charging enable
BAT
0: V
battery charging disable
BAT
1: V
battery charging enable
BAT
24
23
22
Res.
Res.
Res.
8
7
6
VBE
Res.
Res.
rw
RM0432 Rev 6
Power control (PWR)
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
Res.
WP5
WP4
WP3
rw
rw
rw
17
16
Res.
Res.
1
0
WP2
WP1
rw
rw
221/2301
237
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?