8. Power control (PWR)
8.1 PWR introduction
The power controller manages the device power supplies and power modes transitions.
8.2 PWR main features
The power controller (PWR) main features are:
- • Power supplies and supply domains
- – Core domain (\(V_{CORE}\))
- – \(V_{DD}\) domain
- – RTC domain (\(V_{RTC}\))
- – Analog domain (\(V_{DDA}\))
- – \(V_{DDUSB}\) for USB transceiver
- • System supply voltage regulation
- – Linear voltage regulator (LDO)
- • Power supply supervision
- – POR/PDR monitor
- – PVD monitor
- • Power management
- – Low-power modes
- • Privileged protection
8.3 PWR pins and internal signals
Table 52. PWR input/output pins
| Pin name | Signal type | Description |
|---|---|---|
| VDD | Supply | Main supply |
| GND | Supply | Main ground |
| VDDA | Supply | Analog peripherals supply |
| VSSA | Supply | Analog peripherals ground |
| VCAP | Supply | Logic supply (\(V_{CORE}\)) |
| VREF+ | Supply | ADC/DAC high reference voltage |
| VREF- | Supply | ADC/DAC low reference voltage |
| WKUPx (x = 1 to 7) | Input | Wake-up pins |
| CSLEEP | Output | MCU in Sleep mode |
| CSTOP | Output | CPU in Stop modes |
Table 53. PWR internal input/output signals
| Internal signal name | Signal type | Description |
|---|---|---|
| WKUPx (x = 1 to 7) | Input | Wake-up event source |
8.4 PWR power supplies and supply domains
Figure 20. Power supply

Figure 1 is a block diagram of the MSV76090V2 microcontroller, illustrating its internal architecture and power domains. The diagram is organized into three main power domains: VDDA, VDD, and Core.
- VDDA domain: This domain contains the A/D converters, D/A converter, Comparator, Operational amplifier, and USB transceiver. It is connected to the VDDA pin on the left.
- VDD domain: This domain is further divided into several functional blocks:
- I/O ring: Connected to the VDDIO pin.
- Reset block and Internal RC oscillators: A dashed box containing reset and oscillator circuitry.
- Standby circuitry: A dashed box containing Wake-up logic, IWDG, LSE crystal 32 kHz oscillator, Backup registers, RCC_RTCCR register, RTC, and TAMP. It is connected to the VDD pin.
- Voltage regulator: A dashed box containing the LDO regulator, which provides VCORE to the Core domain. It is connected to the VCAP pin.
- Core domain: This domain contains the Core, SRAM1, SRAM2, and Digital peripherals. It is connected to the VCORE output from the Voltage regulator.
- Flash memory: Located at the bottom right, it is connected to both the VDDA and Core domains.
- Power pins: VSS (ground) is connected to the VDDA, VDD, and Core domains. VDD is connected to the VDD domain. VCAP is connected to the Voltage regulator.
8.4.1 External power supplies
The devices require a 2.7 to 3.6 V operating voltage supply \(V_{DD}\):
- • \(V_{DD} = 2.7\) to 3.6 V
\(V_{DD}\) is the external power supply for the I/Os, the internal regulator, and the system analog (such as reset, power management, and internal clocks). It is provided externally through the VDD pins. - • \(V_{DDA} = 2.7\) V (ADCs, DAC, COMP, and OPAMP) to 3.6 V
\(V_{DDA}\) is the external analog power supply for A/D converters, D/A converters, operational amplifier, and the analog comparator. The \(V_{DDA}\) voltage domain is
RM0522 Power control (PWR)
RM0522 Rev 1 225/2572
- physically connected to the \(V_{DD}\) voltage.
- • \(V_{CAP} = 0.9\) to 1.25 V: digital core domain supply
This power supply is independent from all the other power supplies: - • \(V_{RTC} = 2.7\) to 3.6 V
\(V_{RTC}\) is the power supply for RTC, external clock 32 kHz oscillator, and backup registers. The \(V_{RTC}\) voltage level is physically connected to the \(V_{DD}\) voltage. - • \(V_{REF-}\), \(V_{REF+}\)
\(V_{REF+}\) is the input reference voltage for ADCs and DAC.
\(V_{REF+}\) can be grounded when ADC and DAC are not active.
\(V_{REF-}\) and \(V_{REF+}\) pins are not available on all packages. When not available, they are bonded to VSS and VDD, respectively.
\(V_{REF-}\) must always be equal to \(V_{SSA}\).
8.4.2 Internal regulator
The devices embed an LDO regulator to provide the \(V_{CORE}\) supply for digital peripherals, SRAMs, and embedded flash memory. The LDO generates this voltage on \(V_{CAP}\), with a total external capacitance of 2.2μF (typical). The LDO regulator is always enabled in Run mode and Stop mode, generating \(V_{core}\) at 1.2 V in Run and Stop 0 mode and at 0.95 V in Stop 1 mode.
8.4.3 Independent analog peripherals supply
To improve ADC and DAC conversion and OPAMP accuracy, the analog peripherals have an independent power supply that can be filtered and shielded from noise on the PCB:
- • The voltage supply input of the analog peripherals is available on \(V_{DDA}\) pin.
- • An isolated supply ground connection is provided on the \(V_{SSA}\) pin.
ADC and DAC reference voltage
To ensure a better accuracy on low-voltage inputs and outputs, the user can connect to \(V_{REF+}\), a separate reference voltage lower than \(V_{DDA}\). \(V_{REF+}\) is the highest voltage, represented by the full-scale value, for an analog input (ADC) or output (DAC) signal.
Note: The \(V_{REF+}\) and \(V_{REF-}\) pins are not available on all packages. When not available, they are internally connected, respectively to VDD and VSS).
8.4.4 RTC domain
To retain the content of the backup registers and to supply the RTC function when the device enters Standby mode.
The RTC domain powers the RTC unit and the LSE oscillator, allowing the RTC to operate even when the core supply domain is switched off.
RTC domain access
After a system reset, the RTC domain (RCC RTC domain control register RCC_RTCCR, RTC registers, TAMP registers, and backup registers) is protected against possible unwanted write accesses. To enable access to the RTC domain, set the DRTCP bit in PWR_RTCCR.
8.5 PWR system supply voltage regulation
8.5.1 Embedded voltage regulator operating modes
There are three different power modes: Run, Stop mode (Stop 0 and Stop 1), and Standby modes.
Run mode
The voltage regulator provides full power to the \(V_{\text{CORE}}\) domain (core, memories, and digital peripherals). The regulator output voltage is 1.2 V and is stabilized thanks the VCAP capacitance.
Stop mode
The voltage regulator supplies the \(V_{\text{CORE}}\) domain to retain the content of registers and internal memories. The regulator under Stop 1 mode is configured to output 0.95 V to \(V_{\text{CORE}}\) domain.
Standby mode
The regulator is OFF and the \(V_{\text{CORE}}\) domain is powered down. The content of the registers and memories is lost except for the Standby circuitry in the RTC domain.
8.6 PWR power supply and temperature supervision
Power supply level monitoring is available on the following supplies:
- • \(V_{\text{DD}}\) via POR/PDR (see Section 8.6.1) and PVD monitor (see Section 8.6.2)
- • Temperature monitoring (see Section 21.4.30)
8.6.1 Power-on reset (POR)/power-down reset (PDR)
The system has an integrated POR/PDR circuitry that ensures proper startup operation.
The system remains in reset mode when \(V_{\text{DD}}\) is below a specified VPOR threshold, without the need for an external reset circuit. Once the supply level is above the VPOR threshold, the system is taken out of reset (see figure below). For more details concerning the reset thresholds refer to the electrical characteristics section of the datasheets.
Figure 21. Power-on (POR) / power-down (PDR) reset waveform

MSv74180V1
1. For thresholds and hysteresis values refer to the datasheets.
8.6.2 Programmable voltage detector (PVD)
The PVD can be used to monitor the \(V_{DD}\) power supply by comparing it to a defined threshold.
The PVD is enabled by setting the PVDE bit in PWR_VMCR.
A PVDO flag is available in PWR_VMSR to indicate if \(V_{DD}\) voltage is higher or lower than the PVD threshold. This event is internally connected to the EXTI and can generate an interrupt, provided it has been enabled through the EXTI registers. The rising/falling edge sensitivity of the EXTI line must be configured according to PVD output behavior. As an example, if the EXTI line is configured to rising edge sensitivity, the interrupt is generated when \(V_{DD}\) voltage drops below the PVD threshold. The service routine can then start an emergency shutdown.
Figure 22. PVD thresholds

MSv76088V1
- 1. For thresholds and hysteresis values, refer to the product datasheet.
8.7 Power modes
By default, the microcontroller is in Run mode after a system or a power reset. Three low-power modes are available to reduce consumption when there is no need to keep the CPU running, for example when waiting for an external event. The user can select the mode that gives the best compromise between low-power consumption, short startup time, and wake-up sources.
The device features the following low-power modes:
- • Sleep mode
CPU clock off, peripherals such as NVIC and SysTick can run and wake up the CPU when an interrupt or an event occurs. Refer to Section 8.7.4. - • Stop 0 and Stop 1 modes
Achieve the lowest power consumption, while retaining the content of SRAM and registers. All clocks in the core domain are stopped. The HSE crystal oscillators, HSI (except if HSIKERON is set), PSI (except if PSIKERON is set) are disabled. The LSE or LSI is still running. Under Stop 0, the LDO regulator supplies VCore at 1.2 V while under Stop 1 VCore voltage is decreased down to 0.9 V. Consequently wake up sources are reduced and wake up time increased, refer to Section Table 54.
The RTC can remain active (Stop mode with RTC, Stop mode without RTC).
When exiting from Stop mode, the system clock is HSI clock at 144 MHz or 48 MHz based STOPWUCK value.
Refer to Section 8.7.5. - • Standby mode
This mode achieves the lowest power consumption. The internal regulator is switched
off so that the core domain is powered off. The HSI, PSI, and the HSE crystal oscillators are also switched off.
The RTC can remain active (Standby mode with RTC, Standby mode without RTC).
The power-on reset and power-down reset (POR/PDR) remains active.
The state of the I/O (except I/Os used by Standby mode) during Standby mode can be retained.
After entering Standby mode, SRAMs and register contents are lost except for registers in the RTC domain and Standby circuitry.
The device exits Standby mode when an external reset (NRST pin), an IWDG reset, WKUP pin event (configurable rising or falling edge), an RTC event occurs (alarm, periodic wake-up, timestamp), or a tamper detection. The tamper detection can be raised either due to external pins or due to an internal failure detection.
The system clock after wake-up is HSI at 48 MHz.
The table below shows the power modes overview.
Table 54. Low-power mode summary
| Mode name | Entry | Wake-up source(1) | Wake-up system clock | Effect on clocks |
|---|---|---|---|---|
| Sleep (Sleep-now or Sleep-on-exit) | WFI or Return from ISR | Any interrupt | Same as before entering Sleep mode |
|
| WFE | Wake-up event | |||
| Stop 0 | LPMS = 00 + SLEEPDEEP bit + WFI or Return from ISR or WFE |
|
|
|
| Stop 1 | LPMS = 01 + SLEEPDEEP bit + WFI or Return from ISR or WFE |
|
| |
| Standby | LPMS = 10 + SLEEPDEEP bit + WFI or Return from ISR or WFE | WKUP pin edge, RTC event, IWDG reset, external reset in NRST pin | HSI clock at 48 MHz | All clocks OFF except LSI and LSE |
1. Refer to Table 55.
2. Peripherals able to wake up the system from Stop mode.
Table 55. Functionalities depending on the working mode(1)| Peripheral | Run | Sleep | Stop | Standby | |||
|---|---|---|---|---|---|---|---|
| Available | Wake-up capability | Available | Wake-up capability | ||||
| Stop 0 | Stop 1 | ||||||
| CPU | Y | - | - | - | - | - | - |
| Flash memory | O | O | -(2) | - | - | - | - |
| SRAM1 | Y(3) | Y(3) | Y | - | - | - | - |
| SRAM2 | Y(3) | Y(3) | Y | - | - | - | - |
| Backup registers | Y | Y | Y | Y | Y | Y | - |
| XSPI1 | O | O | - | - | - | - | - |
| Programmable voltage detector (PVD) | O | O | O | O | O | - | - |
| LPDMA | O | O | - | - | - | - | - |
| High-speed internal (HSI) | O | O | - | - | - | - | - |
| Programmable-speed internal (PSI) | O | O | - | - | - | - | - |
| High-speed external (HSE) | O | O | - | - | - | - | - |
| Low-speed internal (LSI) | O | O | O | O | - | O | - |
| Low-speed external (LSE) | O | O | O | - | - | O | - |
| Clock security system (CSS) | O | O | - | - | - | - | - |
| Clock security system on LSE | O | O | O | O | O(4) | O | O |
| RTC domain voltage | O | O | O | O | O(5) | O | O |
| RTC/TAMP | O | O | O | O | O | O | O |
| Number of TAMP tamper pins | 3 | 3 | 3 | - | - | 3 | - |
| USB FS | O | O | O | O | - | - | - |
| USARTx / UARTx | O | O | O | O | - | - | - |
| Low-power UART (LPUART) | O | O | O | O | O | - | - |
| I2Cx (x = 1, 2) | O | O | O | O | - | - | - |
| I3C1 | O | O | O | O | - | - | - |
| SPIx (x = 1 to 3) | O | O | O | O | - | - | - |
| FDCANx (x = 1, 2) | O | O | - | - | - | - | - |
| ETH1 | O | O | O | O | - | - | - |
| ADCx (x = 1 to 3) | O | O | - | - | - | - | - |
| DAC1 (OUT1, OUT2) | O | O | O | - | - | - | - |
| COMPx (x = 1, 2) | O | O | O | O | O | - | - |
| Peripheral | Run | Sleep | Stop | Standby | |||
|---|---|---|---|---|---|---|---|
| Available | Wake-up capability | Available | Wake-up capability | ||||
| Stop 0 | Stop 1 | ||||||
| OPAMP1 | O | O | - | - | - | - | - |
| Timers (TIMx) | O | O | - | - | - | - | - |
| Low-power timer LPTIM1 | O | O | O | O | O | - | - |
| Independent watchdog (IWDG) | O | O | O | O | O | O | O |
| Window watchdog (WWDG) | O | O | - | - | - | - | - |
| SysTick timer (SYSTICK) | O | O | O | - | - | - | - |
| CORDIC coprocessor (CORDIC) | O | O | - | - | - | - | - |
| Random number generator (RNG) | O | O | - | - | - | - | - |
| AES/SAES | O | O | - | - | - | - | - |
| HASH accelerator | O | O | - | - | - | - | - |
| Public key accelerator (PKA) | O | O | - | - | - | - | - |
| CCB | O | O | - | - | - | - | - |
| CRC calculation unit | O | O | - | - | - | - | - |
| GPIOs | O | O | - | - | - | O(5) | O(6) |
| EXTI | O | O | O | O | O | - | - |
- 1. Y = yes (enabled). O = optional (disabled by default, can be enabled by software). - = not available.
HSI or PSI are available as kernel clock for peripherals only in STOP 0. - 2. The memory can be configured in low-power mode. By default, it is not in Low-power mode during Stop.
- 3. The SRAM clock can be gated on or off independently. By default clock is enabled in Run and Sleep modes.
- 4. Wake-up with internal tamper.
- 5. GPIOs state can be retained during Standby mode. By default GPIOs states are not retained.
- 6. 7 pins are capable of wake-up from Standby mode: PA0, PA2, PB7, PC1, PC13, PD2, and PE6.
In addition, the power consumption in Run mode can be reduced by slowing down the system clocks and by gating the clocks to the APB and AHB peripherals when they are not used.
Debug mode
By default, the debug connection is lost if the application puts the MCU in Stop or Standby mode while the debug features are used. This is due to the fact that the Cortex-M33 core is no longer clocked.
However, by setting some configuration bits in the DBGMCU control registers, the software can be debugged even when using the low-power modes extensively. For more details, refer to Section 49.2.5: Debug and low-power modes.
8.7.1 Slowing down system clocks
In Run mode, the speed of the system clocks (SYSCLK, HCLK, PCLK) can be reduced by programming the prescaler registers. These prescalers can also be used to slow down the peripherals before entering the Sleep mode.
For more details, refer to Section 9: Reset and clock control (RCC).
8.7.2 Peripheral clock gating
In Run mode, the HCLK and PCLK for individual peripherals and memories can be stopped at any time to reduce the power consumption.
To further reduce the power consumption in Sleep mode, or Stop 0 mode the peripheral clocks can be disabled before executing the WFI or WFE instructions.
The peripheral clock gating is controlled by the RCC_AHBxENR and RCC_APBxENR registers.
Disabling the peripheral clocks in Sleep mode or Stop 0 mode can be performed automatically by resetting the corresponding bit in the RCC_AHBxLPENR and RCC_APBxLPENR registers.
8.7.3 Low-power modes
Entering into a low-power mode
The MCU enters in low-power modes by executing the WFI (wait for interrupt), or WFE (wait for event) instructions, or when the SLEEPONEXIT bit in the Cortex-M33 system control register is set on return from ISR.
Entering into a low-power mode through WFI or WFE is executed only if no interrupt is pending or no event is pending.
Exiting a low-power mode
The MCU exits the Sleep or Stop mode according to how the low-power mode was entered:
- • If the WFI instruction or return from ISR was used to enter the low-power mode, any peripheral interrupt acknowledged by the NVIC can wake up the device.
- • If the WFE instruction is used to enter the low-power mode, the MCU exits the low-power mode as soon as an event occurs. The wake-up event can be generated either by:
- – An NVIC IRQ interrupt:
- > When SEVONPEND = 0 in the Cortex-M33 system control register
By enabling an interrupt in the peripheral control register and in the NVIC.
When the MCU resumes from WFE, the peripheral interrupt pending bit and the NVIC peripheral IRQ channel pending bit (in the NVIC interrupt clear
- > When SEVONPEND = 0 in the Cortex-M33 system control register
- – An NVIC IRQ interrupt:
pending register) must be cleared. Only NVIC interrupts with high enough priority can wake up and interrupt the MCU.
- > When SEVONPEND = 1 in the Cortex-M33 system control register
By enabling an interrupt in the peripheral control register and optionally in the NVIC. When the MCU resumes from WFE, the peripheral interrupt pending bit and when enabled the NVIC peripheral IRQ channel pending bit (in the NVIC interrupt clear pending register) must be cleared. All NVIC interrupts wake up the MCU, even the disabled ones. Only enabled NVIC interrupts with high enough priority can wake up and interrupt the MCU. - – An event:
- > Configuring an EXTI line in event mode. When the CPU resumes from WFE, it is not necessary to clear the EXTI peripheral interrupt pending bit or the NVIC IRQ channel pending bit, as the pending bits corresponding to the event line are not set. It may be necessary to clear the interrupt flag in the peripheral.
The MCU exits Standby mode through an external reset (NRST pin), an IWDG reset, a rising edge on one of the enabled WKUPx pins or a RTC/TAMP event (see Figure 561: RTC block diagram).
After waking up from Standby mode, the program execution restarts in the same way as after a reset (boot pin sampling, option bytes loading, reset vector is fetched).
Caution: When the device is in Stop 0 mode, a peripheral interrupt powers on an internal oscillator. The corresponding NVIC interrupt channel must be enabled to allow the interrupt to exit the device from Stop mode. It is not allowed to disable a peripheral interrupt by disabling only the NVIC channel while keeping the peripheral interrupt enable, as the device could remain in Stop mode with clock ON.
8.7.4 Sleep mode
I/O states in Sleep mode
In Sleep mode, all I/O pins keep the same state as in Run mode.
Entering the Sleep mode
The MCU enters the Sleep mode as described in Entering into a low-power mode, when the SLEEPDEEP bit in the Cortex-M33 system control register is clear (see the table below for details on how to enter the Sleep mode).
Exiting the Sleep mode
The MCU exits the Sleep mode as described in Exiting a low-power mode (see the table below for details on how to exit the Sleep mode).
Table 56. Sleep mode| Sleep mode | Description |
|---|---|
| Mode entry | WFI (wait for interrupt) or WFE (wait for event) while: – SLEEPDEEP = 0 – No interrupt (for WFI) or event (for WFE) pending Refer to the Cortex-M33 system control register. |
| On return from ISR while: – SLEEPDEEP = 0 and – SLEEPONEXIT = 1 – No interrupt pending Refer to the Cortex-M33 system control register. | |
| Mode exit | If WFI or Return from ISR was used for entry Interrupt (see Table 100: STM32C5 vector table) If WFE was used for entry and SEVONPEND = 0: Wake-up event (see Section 16.3: EXTI functional description) If WFE was used for entry and SEVONPEND = 1: Interrupt even when disabled in NVIC (see Table 100: STM32C5 vector table) or wake-up event (see Section 16.3: EXTI functional description) |
| Wake-up latency | None |
8.7.5 Stop 0 mode
The Stop 0 mode is based on the Cortex-M33 Deepsleep mode combined with the peripheral clock gating. In Stop mode, all clocks in the core domain are stopped. The HSI, PSI, and HSE oscillators are disabled.
It is possible to keep the HSI or PSI clock enabled during Stop mode, to be quickly available as kernel clock for peripherals.
All register contents are preserved. SRAMs can be preserved or powered down, depending on the SRAMxPDSx bits in PWR_PMCR.
Table 57. Memory power down block selection| Selection bit | Power down block in Stop mode | ||
|---|---|---|---|
| STM32C53x/542 | STM32C55x/562 | STM32C59x/5A3 | |
| SRAM1PDS | SRAM1 block from 0 to 32 Kbytes | SRAM1 block from 0 to 64 Kbytes | SRAM1 block from 0 to 128 Kbytes |
| SRAM2PDS1 | SRAM2 block from 0 to 16 Kbytes | ||
| SRAM2PDS2 | SRAM2 block from 16 to 32 Kbytes | SRAM2 block from 16 to 64 Kbytes | SRAM2 block from 16 to 64 Kbytes |
| SRAM2PDS3 | - | - | SRAM2 block from 64 to 128 Kbytes |
The power-down reset is always available in Stop 0 mode.
I/O states in Stop 0 mode
In the Stop 0 mode, all I/O pins keep the same state as in the Run mode.
Entering the Stop 0 mode
The MCU enters the Stop mode as described in Entering into a low-power mode, when the SLEEPDEEP bit in the Cortex-M33 system control register is set (see Table 54 for details on how to enter the Stop mode).
If the flash memory programming is ongoing, the Stop mode entry is delayed until the memory access is finished.
If an access to the APB domain is ongoing, the Stop mode entry is delayed until the APB access is finished.
In Stop 0 mode, the following features can be selected by programming the individual control bits:
- • The independent watchdog (IWDG) is started by writing to its key register or by hardware option. Once started, it can be stopped only by a reset (see Section 37.4: IWDG functional description).
- • The real-time clock (RTC) is configured by the RTCEN bit in RCC_RTCCR.
- • The internal RC oscillator LSI clock is configured by the LSION bit in RCC_RTCCR.
- • The external 32.768 kHz oscillator (LSE) is configured by the LSEON bit in RCC_RTCCR.
The PVD can be used in Stop mode. If not needed, it must be disabled by software to save power consumption.
The ADCx (x = 1 to 3) and the DAC1 can consume power during the Stop mode, unless they are disabled before entering this mode.
Exiting the Stop 0 mode
The MCU exits Stop mode by enabling an EXTI interrupt or event depending on how the low-power mode was entered. Some peripherals are able to wake up the system (refer to Table 103: EXTI line connections) from Stop mode.
When exiting Stop 0 mode by issuing an interrupt or a wake-up event, HSI is selected as system clock. The MCU exits Stop 0 mode by enabling an EXTI interrupt or event depending on how the low-power mode was entered.
Table 58. Stop 0 mode
| Stop mode | Description |
|---|---|
| Mode entry | WFI (wait for interrupt) or WFE (wait for event) while:
|
On Return from ISR while:
| |
| Note: To enter Stop 0 mode, all EXTI line pending bits (in Section 16.6.4: EXTI rising edge pending register (EXTI_RPR1) and Section 16.6.10: EXTI rising edge pending register 2 (EXTI_RPR2)), and the peripheral flags generating wake-up interrupts must be cleared. Otherwise, the Stop 0 mode entry procedure is ignored and the program execution continues. | |
| Mode exit | If WFI or Return from ISR was used for entry:
|
| Note: All peripheral clocks must be enabled to allow this peripheral to generate a wake-up from Stop interrupt ([PERIPH]EN and [PERIPH]LPEN bits must be set in the RCC, and a functional independent clock must be selected). | |
| Wake-up latency | Longest wake-up time between: HSI wake-up time and flash memory wake-up time from Stop mode. |
8.7.6 Stop 1 mode
The Stop 1 mode is based on the Cortex-M33 Deep sleep mode combined with the peripheral clock gating. In comparison to Stop 0, the voltage regulator is configured to Low voltage retention at 0.9 V. All clocks in the core domain are stopped. The HSI, PSI, and HSE oscillators are disabled.
All register contents are preserved. SRAMs can be preserved or powered down, depending on SRAMxPDSx bits in PWR_PMCR. Refer to Table 57: Memory power down block selection for details.
The power-down reset is always available in Stop mode.
I/O states in Stop 1 mode
In the Stop mode, all I/O pins keep the same state as in the Run mode.
Entering the Stop 1 mode
The MCU enters the Stop 1 mode as described in Entering into a low-power mode, when the SLEEPDEEP bit in the Cortex-M33 system control register is set (see Table 54 for details on how to enter the Stop mode).
If the flash memory programming is ongoing, the Stop 1 mode entry is delayed until the memory access is finished.
If an access to the APB domain is ongoing, the Stop 1 mode entry is delayed until the APB access is finished.
In Stop 1 mode, the following features can be selected by programming the individual control bits:
- • The independent watchdog (IWDG) is started by writing to its key register or by hardware option. Once started, it can be stopped only by a reset (see Section 37.4: IWDG functional description).
- • The real-time clock (RTC) is configured by the RTCEN bit in RCC_RTCCR.
- • The internal RC oscillator LSI clock is configured by the LSION bit in RCC_RTCCR.
- • The external 32.768 kHz oscillator (LSE) is configured by the LSEON bit in RCC_RTCCR.
The PVD can be used in Stop mode. If not needed, it must be disabled by software to save power consumption.
The ADCx (x = 1 to 3) and the DAC1 can consume power during the Stop 1 mode, unless they are disabled before entering this mode.
Exiting the Stop 1 mode
The MCU exits Stop mode by enabling an EXTI interrupt or event depending on how the low-power mode was entered.
When exiting Stop mode by issuing an interrupt or a wake-up event, HSI is selected as system clock. The MCU exits Stop 1 mode by enabling an EXTI interrupt or event depending on how the low-power mode was entered.
Table 59. Stop 1 mode
| Stop mode | Description |
|---|---|
| Mode entry | WFI (wait for interrupt) or WFE (wait for event) while:
|
On Return from ISR while:
| |
| Note: To enter Stop mode, all EXTI line pending bits (in Section 16.6.4: EXTI rising edge pending register (EXTI_RPR1) and Section 16.6.10: EXTI rising edge pending register 2 (EXTI_RPR2)), and the peripheral flags generating wake-up interrupts must be cleared. Otherwise, the Stop mode entry procedure is ignored and the program execution continues. | |
| Mode exit |
|
| Wake-up latency | Longest wake-up time between: HSI wake-up time, regulator stabilization from 0.9 V to 1.2 V and flash memory wake-up time from Stop mode. |
8.7.7 Standby mode
The lowest power mode in which the POR/PDR is active is the Standby mode. It is based on the Cortex-M33 Deepsleep mode, with the voltage regulators disabled. The HSI, PSI, and HSE oscillators are also switched off.
The SRAMs and register contents are lost except for registers in the backup domain and Standby circuitry (see Figure 23).
I/O states in Standby mode
In the Standby mode, the I/Os are by default in floating state. If the IORETEN bit in the PWR_IORETR register is set, the I/Os output state is retained. I/O retention mode is enabled for all I/Os except those supporting the standby functionality and JTAG I/Os (PA13, PA14, PA15, and PB4). When entering into Standby mode, the state of the output is sampled, and pull-up or pull-down resistors are set to maintain the I/O output during Standby mode.
If the JTAGIORETEN bit in the PWR_IORETR register is set, the I/Os output state is retained. I/O retention mode is enabled for PA13, PA14, PA15, and PB4 (default JTAG pull-up/pull-down after wake-up is not enabled).
Figure 23. I/O states in Standby mode

IO state retention disabled
| GPIO mode | Normal | Floating | Normal (default after reset) |
| System mode | Run | Standby (Vcore off) | Run |
Standby entry: WFI/WFE/Sleep on exit
IORETEN (PWR): Low
Wakeup request: Positive pulse exiting Standby
IO state retention enabled
| GPIO mode | Normal | State retained (PU/PD) | Normal |
| System mode | Run | Standby (Vcore off) | Run |
Standby entry: WFI/WFE/Sleep on exit
IORETEN (PWR): Set (high) before Standby, Clear (low) after Standby
Wakeup request: Positive pulse exiting Standby
MSv74182V1
After wake-up from Standby mode, as long as IORETEN (or JTAGIORETEN for JTAG I/Os) is set, the retained state (pull-up/pull-down) remains applied.
The GPIO pin state before standby can be identified with GPIO_IDR register (when both GPIO port clock and input buffer are enabled).
The application can release the I/O state (clear the retained Pull-up/Pull-down) by clearing the IORETEN (or JTAGIORETEN for JTAG I/Os) bit, before or after reconfiguring the GPIOs and related peripherals. The GPIOs can then be configured in a known state before releasing the retained state.
The RTC output on PC13 is functional in Standby mode. PC14 and PC15 used for LSE are also functional. Up to seven wake-up (WKUPx, x = 1 to 7) and three RTC tamper pins are available.
Entering Standby mode
The MCU enters the Standby mode as described in Entering into a low-power mode, when the SLEEPDEEP bit in the Cortex-M33 system control register is set (see Table 60 for details on how to enter Standby mode).
In Standby mode, the following features can be selected by programming individual control bits:
- • The independent watchdog (IWDG) is started by writing to its Key register or by hardware option. Once started, it can be stopped only by a reset (see Section 37.4: IWDG functional description).
- • The real-time clock (RTC) is configured by the RTCEN bit in RCC_RTCCR.
- • The internal RC oscillator LSI clock is configured by the LSION bit in RCC_RTCCR.
- • The external 32.768 kHz oscillator (LSE) is configured by the LSEON bit in RCC_RTCCR.
- • The I/Os retention is configured by the IORETEN bit in the PWR_IORETR register.
Exiting Standby mode
The MCU exits the Standby mode as described in Exiting a low-power mode. The SBF status flag in PWR_PMSR) indicates that the MCU was in Standby mode. All registers are reset after wake-up from Standby except for PWR_RTCCR and PWR_IORETR (see Table 60 for more details on how to exit Standby mode).
When exiting Standby mode, I/Os output state that were retained during Standby through IORETEN bit, keep this configuration upon exiting Standby mode until the IORETEN bit in PWR_IORETR register is cleared. Once IORETEN is cleared, the I/Os are configured to their reset values, or to the pull-up/pull-down state according to the GPIOx_PUPDR registers.
For I/Os, with a pull-up or pull-down predefined after reset (some JTAG/SWD I/Os), in case those pull-up or pull-downs are different from the retained values during Standby, both a pull-down and pull-up are applied until IORETEN is cleared, releasing the retained value.
Also in case the GPIOx_PUPDR values programed after exiting from Standby are different from the retained values during Standby, both a pull-down and pull-up are applied until IORETEN is cleared, releasing the retained value.
Table 60. Standby mode
| Standby mode | Description |
|---|---|
| Mode entry | WFI (wait for interrupt) or WFE (wait for event) while:
|
On Return from ISR while:
| |
| Mode exit | WKUPx pin edge, RTC event, external reset in NRST pin, IWDG reset |
| Wake-up latency | Reset phase |
8.7.8 Power mode output pins
In order to help the debug, two signals are available as device pins alternate functions:
- • CSLEEP
When set, CSLEEP indicates that the system is in Sleep mode: WFI or WFE has been executed.
When cleared, CSLEEP indicates that the system is in Run mode.
- • CSTOP
When set, CSTOP indicates that the system is in Stop mode, meaning that the following conditions are fulfilled:
- – WFI or WFE has been executed with CPU SLEEPDEEP = 1.
- – No AHB/APB clock is running.
When cleared, CSTOP indicates that the system is not in Stop mode: AHB/APB clocks are running.
The table below explains the MCU power mode depending on these signal states.
Table 61. Power mode output states versus MCU power modes
| CSLEEP | CSTOP | MCU power modes(1) |
|---|---|---|
| 0 | 0 | Run mode |
| 1 | 0 | Sleep mode |
| 1 | 1 | Stop mode |
1. CSLEEP and CSTOP are generated in core domain, consequently they are not driven in Standby mode.
8.8 PWR privileged protection
By default, after a reset, all registers can be read or written with both privileged and unprivileged accesses, except PWR_PRIVCFGR, which can be written only with privileged access. PWR_PRIVCFGR can be read by privileged and unprivileged accesses.
The PRIV bit of PWR_PRIVCFGR can be written only with privileged access. It configures the privileged access of all PWR functions (defined by RCC, or GPIO).
When the PRIV bit is set in PWR_PRIVCFGR:
- • The PWR bits can be written only with privileged access.
- • The PWR bits can be read only with privileged access except PWR_PRIVCFGR, which can be read by privileged or unprivileged accesses.
- • An unprivileged access to a privileged PWR bit or register is discarded: the bits are read as 0, and the write to these bits is ignored (RAZ/WI).
8.9 PWR interrupts
The table below gives a summary of the interrupt sources and the way to control them.
Table 62. PWR interrupt requests
| Interrupt vector | Interrupt event | Event flag | Enable control bit | Interrupt clear method | Exit Sleep, Stop mode | Exit Standby mode |
|---|---|---|---|---|---|---|
| PVD output | Programmable voltage detector through EXTI line 16 | PVDO | EXTI line 16 enabled | Write EXTI PIF16 = 1 | Yes | No |
8.10 PWR registers
The PWR registers can be accessed in word, half-word and byte format, unless otherwise specified.
For the actual availability of some peripherals/features and their related bits, check the datasheet or Table 3: Memory map and peripheral register boundary addresses. If not present, consider them as reserved, and keep them at reset value
8.10.1 PWR power mode control register (PWR_PMCR)
Address offset: 0x000
Reset value: 0x0000 0000
This register is protected against unprivileged access when PRIV = 1 in PWR_PRIVCFGR register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | SRAM1 PDS | SRAM2P DS2 | SRAM2 PDS1 | SRAM2 PDS3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | rw | rw | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | FLPS | Res. | CSSF | Res. | Res. | Res. | Res. | Res. | LPMS[1:0] | |
| rw | rw | rw | rw |
Bits 31:27 Reserved, must be kept at reset value.
Bit 26 SRAM1PDS: AHB SRAM1 block power down in Stop mode
0: AHB RAM1 content is kept in Stop mode.
1: AHB RAM1 content is lost in Stop mode.
Bit 25 SRAM2PDS2: AHB SRAM2 block 2 power down in Stop mode
0: AHB RAM2 block 2 content is kept in Stop mode.
1: AHB RAM2 block 2 content is lost in Stop mode.
Note: For block definition, refer to Table 57: Memory power down block selection.
Bit 24 SRAM2PDS1: AHB SRAM2 block 1 power down in Stop mode
0: AHB RAM2 block 1 content is kept in Stop mode.
1: AHB RAM2 block 1 content is lost in Stop mode.
Note: For block definition, refer to Table 57: Memory power down block selection.
Bit 23 SRAM2PDS3: AHB SRAM2 block 3 power down in Stop mode
0: AHB RAM2 block 3 content is kept in Stop mode.
1: AHB RAM2 block 3 content is lost in Stop mode.
Note: For block definition, refer to Table 57: Memory power down block selection.
Bits 22:10 Reserved, must be kept at reset value.
Bit 9 FLPS: Flash memory low-power mode in Stop mode
This bit is used to obtain the best trade-off between low-power consumption and restart time when exiting from Stop mode.
When it is set, the flash memory enters low-power mode when the system is in Stop mode.
0: Flash memory remains in normal mode when the system enters Stop mode (quick restart time).
1: Flash memory enters low-power mode when the system enters Stop mode (low-power consumption).
Bit 8 Reserved, must be kept at reset value.
Bit 7 CSSF: Clear Standby and Stop flags (always read as 0)
This bit is cleared to 0 by hardware.
0: No effect
1: STOPF and SBF flags cleared
Bits 6:2 Reserved, must be kept at reset value.
Bits 1:0 LPMS[1:0]: low-power mode selection
This bits define the Deepsleep mode.
00: Stop 0 mode when entering DeepSleep.
01: Stop 1 mode when entering DeepSleep.
10: Standby mode when entering DeepSleep.
11: Reserved
8.10.2 PWR status register (PWR_PMSR)
Address offset: 0x004
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SBF | STOPF | Res. | Res. | Res. | Res. | Res. |
| r | r |
Bits 31:7 Reserved, must be kept at reset value.
Bit 6 SBF: System standby flag
This bit is set by hardware and cleared only by a POR or by setting the CSSF bit.
0: System has not been in Standby mode.
1: System has been in Standby mode.
Bit 5 STOPF: Stop flag
This bit is set by hardware and cleared only by any reset or by setting the CSSF bit.
0: System has not been in Stop mode.
1: System has been in Stop mode.
Bits 4:0 Reserved, must be kept at reset value.
8.10.3 PWR RTC domain control register (PWR_RTCCR)
Address offset: 0x24
Reset value: 0x0000 0000
This register is protected against unprivileged access when PRIV = 1 in PWR_PRIVCFGR register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRTCP |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 DRTCP: Disable RTC domain write protection
In reset state, all registers in RTC domain are protected against parasitic write access. This bit must be set to enable write access to these registers.
0: Write access to RTC domain disabled
1: Write access to RTC domain enabled
8.10.4 PWR voltage monitor control register (PWR_VMCR)
Address offset: 0x034
Reset value: 0x0000 0000
This register is protected against unprivileged access when PRIV = 1 in PWR_PRIVCFGR register.
The PVDE bit is protected by lock mechanism. The lock control is in the SBS module controlled by PVDL bit in SBS_CFGR2 register. By default, the PVDE is unlocked.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PVDE |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 PVDE: PVD enable
0: PVD disabled
1: PVD enabled
8.10.5 PWR voltage monitor status register (PWR_VMSR)
Address offset: 0x03C
Reset value: 0x00X0 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PVDO | Res. | Res. | Res. | Res. | Res. | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
Bits 31:23 Reserved, must be kept at reset value.
Bit 22 PVDO: programmable voltage detect output
This bit is set and cleared by hardware. It is valid only if the PVD has been enabled by the PVDE bit.
0: \(V_{DD}\) is equal or higher than the PVD threshold.
1: \(V_{DD}\) is lower than the PVD threshold.
Note: Since the PVD is disabled in Standby mode, this bit is equal to 0 after Standby or reset until the PVDE bit is set.
Bits 21:0 Reserved, must be kept at reset value.
8.10.6 PWR wake-up status clear register (PWR_WUSCR)
Address offset: 0x040
Reset value: 0x0000 0000
Each register bit CWUFx (x = 1 to 7) is protected against unprivileged access when PRIV = 1 in PWR_PRIVCFGR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CWUF 7 | CWUF 6 | CWUF 5 | CWUF 4 | CWUF 3 | CWUF 2 | CWUF 1 |
| w | w | w | w | w | w | w |
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:0 CWUFx: clear wake-up pin flag for WUFx (x = 7 to 1)
These bits are always read as 0.
0: No effect
1: Writing 1 clears the WUFx wake-up pin flag (bit is cleared to 0 by hardware).
8.10.7 PWR wake-up status register (PWR_WUSR)
Address offset: 0x044
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WUF7 | WUF6 | WUF5 | WUF4 | WUF3 | WUF2 | WUF1 |
| r | r | r | r | r | r | r |
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:0 WUFx: wake-up pin WUFx flag (x = 7 to 1)
This bit is set by hardware and cleared only by a RESET pin or by setting the CWUFx bit in PWR_WUSCR register or by hardware when WUPENx = 0.
0: No wake-up event occurred.
1: Wake-up event received from WUFx pin.
8.10.8 PWR wake-up configuration register (PWR_WUCR)
Address offset: 0x048
Reset value: 0x0000 0000
Each WUPPUPDx (x = 1 to 7), WUPPx (x = 1 to 7), and WUPENx (x = 1 to 7) is protected against unprivileged access when PRIV = 1 in PWR_PRIVCFGR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | WUPPUPD7[1:0] | WUPPUPD6[1:0] | WUPPUPD5[1:0] | WUPPUPD4[1:0] | WUPPUPD3[1:0] | WUPPUPD2[1:0] | WUPPUPD1[1:0] | |||||||
| rw | rw | rw | rw | rw | w | rw | rw | rw | rw | rw | rw | rw | rw | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | WUPP 7 | WUPP 6 | WUPP 5 | WUPP 4 | WUPP 3 | WUPP 2 | WUPP 1 | Res. | WUPE N7 | WUPE N6 | WUPE N5 | WUPE N4 | WUPE N3 | WUPE N2 | WUPE N1 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bits 31:30 Reserved, must be kept at reset value.
Bits 29:16 WUPPUPDx[1:0]: Wake-up pin pull configuration for WKUPx (x = 7 to 1)
These bits define the I/O pad pull configuration used when WUPENx = 1. The associated GPIO port pull configuration must be set to the same value or to 00. The wake-up pin pull configuration is kept in Standby mode.
00: No pull-up
01: Pull-up
10: Pull-down
11: Reserved
Bit 15 Reserved, must be kept at reset value.
Bits 14:8 WUPPx: Wake-up pin polarity bit for WKUPx (x = 7 to 1)
These bits define the polarity used for event detection on WUPx external wake-up pin.
0: Detection on high level (rising edge)
1: Detection on low level (falling edge)
Bit 7 Reserved, must be kept at reset value.
Bits 6:0 WUPENx: Enable wake-up pin WKUPx (x = 7 to 1)
These bits are set and cleared by software.
0: An event on WUPx pin does not wake-up the system from Standby mode.
1: A rising or falling edge on WUPx pin wakes up the system from Standby mode.
Note: An additional wake-up event is detected if WUPx pin is enabled (by setting the WUPENx bit) when WUPx pin level is already high when WUPPx selects rising edge, or low when WUPPx selects falling edge.
8.10.9 PWR I/O retention register (PWR_IORETR)
Address offset: 0x050
Reset value: 0x0000 0000
This register is protected against unprivileged access PRIV = 1 in the PWR_PRIVCFGR register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JTAGIO RETEN |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IORET EN |
| rw |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 JTAGIORETEN: IO retention enable for JTAG I/Os
0: I/O retention mode is disabled.
1: I/O retention mode is enabling for PA13, PA14, PA15, and PB4.
When entering Standby mode, the output is sampled, and apply to the output I/O during the Standby power mode.
Bits 15:1 Reserved, must be kept at reset value.
Bit 0 IORETEN: IO retention enable
0: I/O retention mode is disabled.
1: I/O retention mode is enabling for all I/Os except the I/O support the standby functionality and PA13, PA14, PA15, and PB4.
When entering Standby mode, the output is sampled, and apply to the output I/O during the Standby power mode.
Note: The I/O state is not retained if the DBG_STANDBY bit is set in DBGMCU_CR register.
8.10.10 PWR privilege configuration register (PWR_PRIVCFGR)
Address offset: 0x104
Reset value: 0x0000 0000
This register can be written only when the access is privileged. It can be read by privileged or unprivileged access.
| Peripheral | Reserved | Reserved | Reserved | Reserved | Reserved | Run | Sleep | Wake-up capability | Reserved | Stop 0 | Reserved | Stop 1 | Reserved | Wake-up | Standby | Wake-up capability |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 30 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |||
| Res. Res. Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||
| 15 14 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||
| Res. Res. Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIV rw | Res. | |||
| Bit 1 | PRIV : PWR functions privilege configuration | |||||||||||||||
| Register name Offset reset value | 31 | 3 0 2 9 2 8 | 2 7 | 2 6 2 5 | 2 4 2 3 | 2 2 21 | 2 0 19 | 18 17 | 16 15 | 14 13 | 12 1 1 | 10 9 | 8 7 | 6 5 | 4 3 | 2 1 0 |
| Register name Offset reset value | S F L P | |||||||||||||||
| Register name Offset reset value | S[1:0] L P M | |||||||||||||||
| Register name Offset reset value | C S S F | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R | e s. | ||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | R e s. | |||||||||||||||
| Register name Offset reset value | S S R A M2 P D 3 | |||||||||||||||
| Register name Offset reset value | S R A M2 P D S 2 | |||||||||||||||
| Register name Offset reset value | S S | R A M1P D | ||||||||||||||
| Register name Offset reset value | S S1 R A M2 P D | |||||||||||||||
| Reset value | 0 0 0 0 | 0 | 0 | 0 0 | ||||||||||||
| Reset value | S O T P F | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R | e s. | ||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | R e s. | |||||||||||||||
| Reset value | S B F | |||||||||||||||
| Reset value Reset value 0x008 - | 00 | |||||||||||||||
| 0x020 Reserved | Res. | |||||||||||||||
| 0x020 Reserved | C D R T P | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R | e s. | ||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| 0x020 Reserved | R e s. | |||||||||||||||
| Reset value Reset value 0x028 - | 0 | |||||||||||||||
| 0x030 Reserved | Res. | |||||||||||||||
| 0x030 Reserved | P V D E | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R | e s. | ||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| 0x030 Reserved | R e s. | |||||||||||||||
| Reset value Reset value | 0 | |||||||||||||||
| 0x038 Reserved | Res. | |||||||||||||||
| 0x038 Reserved | RM0522 Rev 1 | 249/2572 |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 PRIV: PWR functions privilege configuration
Set and reset by software. This bit can be written only by privileged access.
0: Read and write to PWR functions can be done by privileged or unprivileged access.
1: Read and write to PWR functions can be done by privileged access only.
Bit 0 Reserved, must be kept at reset value.
8.10.11 PWR register map
Table 63. PWR register map and reset values
Table 63. PWR register map and reset values
| Power control (PWR) Offset Register name | column_2 | RM0522 |
|---|---|---|
| reset value 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 17 16 | 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0 | |
| O P V D | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| CWU F 7 | ||
| CWU 6 F | ||
| CWU F 5 | ||
| CWU F 4 | ||
| CWU F 3 | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| CWU F 2 | ||
| Reset value | 0000000 | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| WU F 7 | ||
| WU F 5 | ||
| WU F 3 | ||
| 6 WU F | ||
| WU F 4 | ||
| WU F 2 | ||
| Reset value | 0000000 | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| WU P E N 7 | ||
| WU P E N 6 | ||
| WU P E N 5 | ||
| WU P E N 4 | ||
| WU P E N 3 | ||
| WU P P 7 | ||
| WU P P 6 | ||
| WU P P 5 | ||
| WU P P 4 | ||
| WU P P 3 | ||
| 2 WU P E N | ||
| WU P P 2 | ||
| WU P P U P D 7[1:0] | ||
| 6[1:0] WU P P U P D | ||
| WU P P U P D 5[1:0] | ||
| WU P P U P D 4[1:0] | ||
| WU P P U P D 3[1:0] | ||
| WU P P U P D 2[1:0] | ||
| WU P P U P D1[1:0] | ||
| WU P E N1 | ||
| P1 WU P | ||
| Reset value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |
| 0x04C Reserved Res. | ||
| IO R E T E N | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| GIO JT A R E T E N | ||
| Reset value 0 | 0 | |
| 0x100 Reserved Res. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| Refer to Section 2.2 for the register boundary addresses. |
Refer to Section 2.2 for the register boundary addresses.