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

Defined Constants and Types for the STM32F7xx Power Control More...

Collaboration diagram for PWR Defines:

Modules

 PWR Registers
 
 PWR_CR1 values
 
 PWR_CSR1 values
 
 PWR_CR2 values
 
 PWR_CSR2 values
 

Enumerations

enum  pwr_vos_scale { PWR_SCALE1 , PWR_SCALE2 , PWR_SCALE3 }
 

Functions

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

Detailed Description

Defined Constants and Types for the STM32F7xx Power Control

Version
1.0.0
Author
© 2017 Matthew Lai m@mat.nosp@m.thew.nosp@m.lai.c.nosp@m.a
Date
12 March 2017

LGPL License Terms libopencm3 License

Enumeration Type Documentation

◆ pwr_vos_scale

Enumerator
PWR_SCALE1 
PWR_SCALE2 

<= 180MHz w/o overdrive, <= 216MHz w/ overdrive

PWR_SCALE3 

<= 168MHz w/o overdrive, <= 180MHz w/ overdrive

Definition at line 281 of file f7/pwr.h.

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: