Pwr Registers; Power Control Register 1 (Pwr_Cr1) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

RM0351
5.4

PWR registers

The peripheral registers can be accessed by half-words (16-bit) or words (32-bit).
5.4.1

Power control register 1 (PWR_CR1)

Address offset: 0x00
Reset value: 0x0000 0200. This register is reset after wakeup from Standby mode.
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
Res.
LPR
Res.
Res.
rw
Bits 31:15 Reserved, must be kept at reset value.
Bit 14 LPR: Low-power run
Note: Stop 2 mode cannot be entered when LPR bit is set. Stop 1 is entered instead.
Bits 13:11 Reserved, must be kept at reset value.
Bits 10:9 VOS: Voltage scaling range selection
Bit 8 DBP: Disable backup domain write protection
Bits 7:3 Reserved, must be kept at reset value.
Bits 2:0 LPMS[2:0]: Low-power mode selection
Note: If LPR bit is set, Stop 2 mode cannot be selected and Stop 1 mode shall be entered
27
26
25
Res.
Res.
Res.
11
10
9
Res.
VOS[1:0]
rw
rw
When this bit is set, the regulator is switched from main mode (MR) to low-power mode
(LPR).
00: Cannot be written (forbidden by hardware)
01: Range 1
10: Range 2
11: Cannot be written (forbidden by hardware)
In reset state, the RTC and backup registers are protected against parasitic write access.
This bit must be set to enable write access to these registers.
0: Access to RTC and Backup registers disabled
1: Access to RTC and Backup registers enabled
These bits select the low-power mode entered when CPU enters the deepsleep mode.
000: Stop 0 mode
001: Stop 1 mode
010: Stop 2 mode
011: Standby mode
1xx: Shutdown mode
instead of Stop 2.
In Standby mode, SRAM2 can be preserved or not, depending on RRS bit configuration
in PWR_CR3.
24
23
22
Res.
Res.
Res.
8
7
6
DBP
Res.
Res.
rw
DocID024597 Rev 3
Power control (PWR)
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
Res.
Res.
Res.
rw
17
16
Res.
Res.
1
0
LPMS[2:0]
rw
rw
161/1693
178

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L4x6 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF