ST STM32G4 Series Reference Manual page 255

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
6.4
PWR registers
The peripheral registers can be accessed by half-words (16-bit) or words (32-bit).
6.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
Res.
Res.
Res.
Res.
15
14
13
Res.
LPR
Res.
Res.
rw
Bits 31:15 Reserved, must be kept at reset value.
Bit 14 LPR: Low-power run
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: In Standby mode, SRAM2 can be preserved or not, depending on RRS bit configuration
28
27
26
25
Res.
Res.
Res.
12
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: Reserved
011: Standby mode
1xx: Shutdown mode
in PWR_CR3.
24
23
22
Res.
Res.
Res.
8
7
6
DBP
Res.
Res.
rw
RM0440 Rev 4
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
255/2126
271

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF