Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stm32:peripherals:pwr [2016/06/07 07:14] feurstm32:peripherals:pwr [2022/12/27 18:58] (current) – [PWR→CR] ruan
Line 1: Line 1:
-:!: Incomplete 
 ====== Power Controller ====== ====== Power Controller ======
  
Line 16: Line 15:
 \\ \\
  
-===== Programming Example =====+===== Low Power Modes ===== 
 + 
 +The following low power modes are vailable: 
 +  * The [[pwr_sleep|SLEEP]] mode offers some power reduction and fast wake up times. 
 +  * The [[pwr_stop|STOP]] mode offers more power reduction, at the cost of a slower wake up times. 
 +  * The [[pwr_standby|STANDBY]] (and VBAT) mode saves the most energy, at the cost of an even slower wake up time. 
 + 
 +The power reduction is accomplished by switching off different parts of the hardware. \\ 
 +Which part is available in which mode is shown in the tables below. \\
 \\ \\
  
-{{logo_hal.svg?72px |}} **Hardware Abstraction Layer** +=== Clocks === 
-> [[https://ennis.zhaw.ch/hal/structreg__pwr__t.html Registry Types]] + 
-> [[https://ennis.zhaw.ch/hal/hal__pwr_8h.html InES PWR HAL Interface]]+|< 45em 15em 10em >| 
 +| ^  SLEEP  ^  STOP  ^  STANDBY 
 +^ CPU clock |  disabled  |  disabled  |  disabled 
 +^ Peripheral clocks |  on off  |  on off  |  disabled  
 +^ RTC clock |  on off  |  on off  |  on off  |
 \\ \\
  
-===== Configuration Registers =====+=== Clock Sources ===
  
-==== CR ====+|< 45em 15em 10em >| 
 +| ^  SLEEP  ^  STOP  ^  STANDBY 
 +^ Low Speed (Int. / Ext.) |  on / off  |  on / off  |  on / off  | 
 +^ High Speed (Int. / Ext.) |  on / off  |  disabled  |  disabled 
 +^ PLL Oscillator |  on / off  |  disabled  |  disabled 
 +\\ 
 + 
 +=== Voltage Regulators === 
 + 
 +|< 45em 15em 10em >| 
 +| ^  SLEEP  ^  STOP  ^  STANDBY 
 +^ Flash Power Down |  disabled  |  on / off  |  disabled 
 +^ 1,2V Domain (Normal) |  Main  |  Main \\ or \\ Low Power  |  disabled 
 +^ 1,2V Domain (Underdrive)* |  disabled  |:::|  disabled 
 +^ Backup Domain |  on / off  |  on / off  |  on / off  | 
 +* Underdrive mode of 1,2V domain voltage regulator only possible if Flash power down enabled. \\ 
 +\\ 
 + 
 +=== SRAM / Registers === 
 + 
 +|< 45em 15em 10em >| 
 +| ^  SLEEP  ^  STOP  ^  STANDBY 
 +^ Regular SRAM |  on  |  on  |  disabled 
 +^ Regular Registers |  on  |  on  |  disabled 
 +^ Backup SRAM |  on / off  |  on / off  |  on / off  | 
 +^ Backup Registers |  on / off  |  on / off  |  on / off  | 
 +\\ 
 + 
 + 
 + 
 +===== Configuration Registers =====
  
-Configuration register+==== PWR→CR - Configuration register ====
  
 \\ {{power_reg_cr.svg}} \\ \\ \\ {{power_reg_cr.svg}} \\ \\
  • stm32/peripherals/pwr.1465283640.txt.gz
  • Last modified: 2016/06/07 07:14
  • by feur