09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>RM0090</strong> Power control (PWR)<br />

5.4 Power control registers<br />

5.4.1 PWR power control register (PWR_CR) for STM32F40x and<br />

STM32F41x<br />

Address offset: 0x00<br />

Reset value: 0x0000 4000 (reset by wakeup from Standby mode)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Res.<br />

VOS<br />

Reserved<br />

FPDS DBP PLS[2:0] PVDE CSBF CWUF PDDS LPDS<br />

rw rw rw rw rw rw rw rc_w1 rc_w1 rw rw<br />

Bits 31:15 Reserved, must be kept at reset value.<br />

Bit 14 VOS: Regulator voltage scaling output selection<br />

This bit controls the main internal voltage regulator output voltage to achieve a trade-off<br />

between performance and power consumption when the device does not operate at the<br />

maximum frequency.<br />

0: Scale 2 mode<br />

1: Scale 1 mode (default value at reset)<br />

Bits 13:10 Reserved, must be kept at reset value.<br />

Bit 9 FPDS: Flash power-down in Stop mode<br />

When set, the Flash memory enters power-down mode when the device enters Stop mode.<br />

This allows to achieve a lower consumption in stop mode but a longer restart time.<br />

0: Flash memory not in power-down when the device is in Stop mode<br />

1: Flash memory in power-down when the device is in Stop mode<br />

Bit 8 DBP: Disable backup domain write protection<br />

In reset state, the RCC_BDCR register, the RTC registers (including the backup registers), and<br />

the BRE bit of the PWR_CSR register, are protected against parasitic write access. This bit<br />

must be set to enable write access to these registers.<br />

0: Access to RTC and RTC Backup registers and backup SRAM disabled<br />

1: Access to RTC and RTC Backup registers and backup SRAM enabled<br />

Bits 7:5 PLS[2:0]: PVD level selection<br />

These bits are written by software to select the voltage threshold detected by the Power<br />

Voltage Detector<br />

000: 2.0 V<br />

001: 2.1 V<br />

010: 2.3 V<br />

011: 2.5 V<br />

100: 2.6 V<br />

101: 2.7 V<br />

110: 2.8 V<br />

111: 2.9 V<br />

Note: Refer to the electrical characteristics of the datasheet for more details.<br />

Doc ID 018909 Rev 3 106/1416

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!