ST STM32G4 Series Reference Manual page 257

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

Advertisement

RM0440
31
30
29
Res.
Res.
Res.
15
14
13
UCPD1
UCPD1_
EIWUL
_DBDIS
STDBY
rw
rw
rw
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 EIWUL: Enable internal wakeup line
Bit 14 UCPD1_DBDIS: USB Type-C and Power Delivery Dead Battery disable.
After exiting reset, the USB Type-C "dead battery" behavior is enabled, which may have
a pull-down effect on CC1 and CC2 pins. It is recommended to disable it in all cases, either
to stop this pull-down or to hand over control to the UCPD1 (which should therefore be
initialized before doing the disable).
Bit 13 UCPD1_STDBY: UCPD1_STDBY USB Type-C and Power Delivery standby mode.
Bits 12:11 Reserved, must be kept at reset value.
Bit 10 APC: Apply pull-up and pull-down configuration
Bit 9 Reserved, must be kept at reset value.
Bit 8 RRS: SRAM2 retention in Standby mode
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 EWUP5: Enable Wakeup pin WKUP5
Bit 3 EWUP4: Enable Wakeup pin WKUP4
28
27
26
25
Res.
Res.
Res.
Res.
12
11
10
9
Res.
Res.
APC
Res.
rw
0: Internal wakeup line disable.
1: Internal wakeup line enable.
0: Enable USB Type-C dead battery pull-down behavior on UCPD1_CC1 and UCPD1_CC2
pins.
1: Disable USB Type-C dead battery pull-down behavior on UCPD1_CC1 and UCPD1_CC2
pins.
0: Write '0' immediately after standby exit when using UCPD1, (and before writing any
UCPD1 registers).
1: Write '1' just before entering standby when using UCPD1.
When this bit is set, the I/O pull-up and pull-down configurations defined in the PWR_PUCRx
and PWR_PDCRx registers are applied. When this bit is cleared, the PWR_PUCRx and
PWR_PDCRx registers are not applied to the I/Os.
0: SRAM2 is powered off in Standby mode (SRAM2 content is lost).
1: SRAM2 is powered by the low-power regulator in Standby mode (SRAM2 content is kept).
When this bit is set, the external wakeup pin WKUP5 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 WP5 bit in the PWR_CR4 register.
When this bit is set, the external wakeup pin WKUP4 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 WP4 bit in the PWR_CR4 register.
24
23
22
Res.
Res.
Res.
8
7
6
RRS
Res.
Res.
rw
RM0440 Rev 4
Power control (PWR)
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
EWUP
EWUP
EWUP
Res.
5
4
3
rw
rw
rw
17
16
Res.
Res.
1
0
EWUP
EWUP
2
1
rw
rw
257/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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF