Power Status Register 2 (Pwr_Sr2) - ST STM32G0 1 Series Reference Manual

Table of Contents

Advertisement

RM0444
Bit 8 SBF: Standby flag
Bits 7:6 Reserved, must be kept at reset value.
Bit 5 WUF6: Wakeup flag 6
Bit 4 WUF5: Wakeup flag 5
Bit 3 WUF4: Wakeup flag 4
Bit 2 WUF3: Wakeup flag 3
Bit 1 WUF2: Wakeup flag 2
Bit 0 WUF1: Wakeup flag 1
4.4.6

Power status register 2 (PWR_SR2)

Address offset: 0x14
Reset value: 0x0000 0000. This register is partially reset when exiting Standby/Shutdown
modes.
31
30
29
Res.
Res.
Res.
Res.
15
14
13
PVMO
PVMO
Res.
Res.
DAC
USB
r
This bit is set by hardware when the device enters Standby mode and is cleared by setting
the CSBF bit in the PWR_SCR register, or by a power-on reset. It is not cleared by the
system reset.
0: The device did not enter Standby mode
1: The device entered Standby mode
This bit is set when a wakeup event is detected on WKUP6 wakeup pin. It is cleared by
writing 1 in the CWUF6 bit of the PWR_SCR register.
This bit is set when a wakeup event is detected on WKUP5 wakeup pin. It is cleared by
writing 1 in the CWUF5 bit of the PWR_SCR register.
This bit is set when a wakeup event is detected on WKUP4 wakeup pin. It is cleared by
writing 1 in the CWUF4 bit of the PWR_SCR register.
This bit is set when a wakeup event is detected on WKUP3 wakeup pin. It is cleared by
writing 1 in the CWUF3 bit of the PWR_SCR register.
This bit is set when a wakeup event is detected on WKUP2 wakeup pin. It is cleared by
writing 1 in the CWUF2 bit of the PWR_SCR register.
This bit is set when a wakeup event is detected on WKUP1 wakeup pin. It is cleared by
writing 1 in the CWUF1 bit of the PWR_SCR register.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
REGLP
PVDO
VOSF
F
r
r
r
r
24
23
22
Res.
Res.
Res.
8
7
6
REGLP
FLASH
Res.
S
_RDY
r
r
RM0444 Rev 5
Power control (PWR)
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
Res.
Res.
Res.
Res.
17
16
Res.
Res.
1
0
Res.
Res.
149/1390
159

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF