libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/cm3/assert.h>
#include <libopencm3/stm32/dbgmcu.h>
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/syscfg.h>
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... | |
#define DBGMCU_IDCODE_DEV_ID_STM32H74X_5X 0x450 |
libopencm3 STM32H7xx Power Control
This library supports the power control system for the STM32H7 series of ARM Cortex Microcontrollers by ST Microelectronics.
LGPL License Terms libopencm3 License