libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
libopencm3 STM32L4xx Power Control More...
Functions | |
void | pwr_set_vos_scale (enum pwr_vos_scale scale) |
void | pwr_disable_backup_domain_write_protect (void) |
Disable Backup Domain Write Protection. More... | |
void | pwr_enable_backup_domain_write_protect (void) |
Re-enable Backup Domain Write Protection. More... | |
libopencm3 STM32L4xx Power Control
This library supports the power control system for the STM32L4 series of ARM Cortex Microcontrollers by ST Microelectronics.
LGPL License Terms libopencm3 License
void pwr_disable_backup_domain_write_protect | ( | void | ) |
Disable Backup Domain Write Protection.
This allows backup domain registers to be changed. These registers are write protected after a reset.
Definition at line 61 of file pwr.c.
References PWR_CR1, and PWR_CR1_DBP.
void pwr_enable_backup_domain_write_protect | ( | void | ) |
void pwr_set_vos_scale | ( | enum pwr_vos_scale | scale | ) |
Definition at line 39 of file pwr.c.
References PWR_CR1, PWR_CR1_VOS_MASK, PWR_CR1_VOS_RANGE_1, PWR_CR1_VOS_RANGE_2, PWR_CR1_VOS_SHIFT, PWR_SCALE1, and PWR_SCALE2.
Referenced by rcc_clock_setup_pll().