Getting started with PWR

Revision as of 14:47, 1 July 2020 by Registered User

This article explain what is sleep/stop and standby low power mode and provide code examples !

1. Low power mode

By default, the microcontroller is in Run mode after a system or a power-on reset. Several low-power modes are available to save power when the CPU does not need to be kept running, for example when waiting for an external event. It is up to the user to select the mode that gives the best compromise between low-power consumption, short startup time and available wakeup sources. The devices feature three low-power modes: • Sleep mode (Cortex®-M4 with FPU core stopped, peripherals kept running) • Stop mode (all clocks are stopped) • Standby mode (1.2 V domain powered off)

2. SLEEP Mode

2.1. Definition

2.1.1. Use SLEEP mode with EXTI​

2.1.1.1. Objective
2.1.1.2. Goal

3. STOP Mode

3.1. Definition

3.1.1. Use STOP mode with EXTI​

3.1.1.1. Objective
3.1.1.2. Goal

4. STANBY Mode

4.1. Definition

4.1.1. Use STANBY mode

4.1.1.1. Objective
4.1.1.2. Goal
No categories assignedEdit