libopencm3 STM32G4xx Power Control
More...
libopencm3 STM32G4xx Power Control
- Version
- 1.0.0
- Author
- © 2016 Benjamin Levine benja.nosp@m.min@.nosp@m.jesco.nosp@m..kar.nosp@m.oo.co.nosp@m..uk
-
© 2019 Guillaume Revaillot g.rev.nosp@m.aill.nosp@m.ot@gm.nosp@m.ail..nosp@m.com
-
© 2020 Ben Brewer ben.b.nosp@m.rewe.nosp@m.r@cod.nosp@m.ethi.nosp@m.nk.co.nosp@m..uk
- Date
- 29 July 2020
This library supports the power control system for the STM32G4 series of ARM Cortex Microcontrollers by ST Microelectronics.
LGPL License Terms libopencm3 License
◆ pwr_disable_backup_domain_write_protect()
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 57 of file pwr.c.
References PWR_CR1, and PWR_CR1_DBP.
◆ pwr_disable_boost()
void pwr_disable_boost |
( |
void |
| ) |
|
◆ pwr_disable_power_voltage_detect()
void pwr_disable_power_voltage_detect |
( |
void |
| ) |
|
Disable Power Voltage Detector.
Definition at line 100 of file pwr.c.
References PWR_CR2.
◆ pwr_enable_backup_domain_write_protect()
void pwr_enable_backup_domain_write_protect |
( |
void |
| ) |
|
Re-enable Backup Domain Write Protection.
This protects backup domain registers from inadvertent change.
Definition at line 66 of file pwr.c.
References PWR_CR1.
◆ pwr_enable_boost()
void pwr_enable_boost |
( |
void |
| ) |
|
◆ pwr_enable_power_voltage_detect()
void pwr_enable_power_voltage_detect |
( |
uint32_t |
pvd_level | ) |
|
◆ pwr_set_low_power_mode_selection()
void pwr_set_low_power_mode_selection |
( |
uint32_t |
lpms | ) |
|
◆ pwr_set_vos_scale()