libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
PWR peripheral API

libopencm3 STM32F7xx Power Control More...

Collaboration diagram for PWR peripheral API:

Functions

void pwr_set_vos_scale (enum pwr_vos_scale scale)
 
void pwr_enable_overdrive (void)
 
void pwr_disable_overdrive (void)
 

Detailed Description

libopencm3 STM32F7xx Power Control

Version
1.0.0
Author
© 2011 Stephen Caudle scaud.nosp@m.le@d.nosp@m.oceme.nosp@m..com
© 2017 Matthew Lai m@mat.nosp@m.thew.nosp@m.lai.c.nosp@m.a
Date
12 March 2017

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

LGPL License Terms libopencm3 License

Function Documentation

◆ pwr_disable_overdrive()

void pwr_disable_overdrive ( void  )

Definition at line 64 of file pwr.c.

References PWR_CR1, PWR_CR1_ODEN, PWR_CR1_ODSWEN, PWR_CSR1, and PWR_CSR1_ODSWRDY.

◆ pwr_enable_overdrive()

void pwr_enable_overdrive ( void  )

Definition at line 56 of file pwr.c.

References PWR_CR1, PWR_CR1_ODEN, PWR_CR1_ODSWEN, PWR_CSR1, PWR_CSR1_ODRDY, and PWR_CSR1_ODSWRDY.

Referenced by rcc_clock_setup_hse(), and rcc_clock_setup_hsi().

Here is the caller graph for this function:

◆ pwr_set_vos_scale()

void pwr_set_vos_scale ( enum pwr_vos_scale  scale)

Definition at line 43 of file pwr.c.

References PWR_CR1, PWR_CR1_VOS_SCALE_1, PWR_CR1_VOS_SCALE_2, PWR_CR1_VOS_SCALE_3, PWR_SCALE1, PWR_SCALE2, and PWR_SCALE3.

Referenced by rcc_clock_setup_hse(), and rcc_clock_setup_hsi().

Here is the caller graph for this function: