libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
pwr.c File Reference
Include dependency graph for pwr.c:

Go to the source code of this file.

Macros

#define DBGMCU_IDCODE_DEV_ID_STM32H74X_5X   0x450
 libopencm3 STM32H7xx Power Control More...
 
#define DBGMCU_IDCODE_DEV_ID_STM32H7A3_B3_B0   0x480
 

Functions

void pwr_set_mode_ldo (void)
 Set power subsystem to utilize the LDO for CPU. More...
 
void pwr_set_mode_scu_ldo (void)
 Specific STM32H742/43/50/53 LDO mode setting. More...
 
void pwr_set_mode_smps_ldo (bool supply_external, uint32_t smps_level, bool use_ldo)
 Set power subsystem to utilize the SMPS run through the LDO for CPU. More...
 
void pwr_set_mode_bypass (void)
 Set power subsystem to bypass all internal supplies. More...
 
void pwr_set_mode_scu_bypass (void)
 Specific STM32H742/43/50/53 Bypsass mode setting. More...
 
void pwr_set_mode (enum pwr_sys_mode mode, uint8_t smps_level)
 Set power system based on "System Supply Configurations" table in reference manual. More...
 
void pwr_set_svos_scale (enum pwr_svos_scale scale)
 Set the voltage scaling/strength for the internal SMPS/LDO when in Stop mode. More...
 
void pwr_set_vos_scale (enum pwr_vos_scale scale)
 Set the voltage scaling/strength for the internal SMPS/LDO while running. More...
 

Macro Definition Documentation

◆ DBGMCU_IDCODE_DEV_ID_STM32H74X_5X

#define DBGMCU_IDCODE_DEV_ID_STM32H74X_5X   0x450

libopencm3 STM32H7xx Power Control

Version
1.0.0
Date
16 December, 2019

This library supports the power control system for the STM32H7 series of ARM Cortex Microcontrollers by ST Microelectronics.

LGPL License Terms libopencm3 License

Definition at line 40 of file pwr.c.

◆ DBGMCU_IDCODE_DEV_ID_STM32H7A3_B3_B0

#define DBGMCU_IDCODE_DEV_ID_STM32H7A3_B3_B0   0x480

Definition at line 41 of file pwr.c.