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

#include <rcc.h>

Data Fields

enum rcc_osc sysclock_source
 
uint8_t pll_source
 
uint8_t pll_div
 
uint8_t pll_mul
 
uint8_t pllp_div
 
uint8_t pllq_div
 
uint8_t pllr_div
 
uint8_t hsisys_div
 
uint8_t hpre
 
uint8_t ppre
 
uint8_t flash_waitstates
 
enum pwr_vos_scale voltage_scale
 
uint32_t ahb_frequency
 
uint32_t apb_frequency
 

Detailed Description

Definition at line 821 of file g0/rcc.h.

Field Documentation

◆ ahb_frequency

uint32_t rcc_clock_scale::ahb_frequency

Definition at line 839 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ apb_frequency

uint32_t rcc_clock_scale::apb_frequency

Definition at line 840 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ flash_waitstates

uint8_t rcc_clock_scale::flash_waitstates

Definition at line 837 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ hpre

uint8_t rcc_clock_scale::hpre

Definition at line 835 of file g0/rcc.h.

Referenced by rcc_clock_setup(), rcc_get_clksel_freq(), and rcc_set_hpre().

◆ hsisys_div

uint8_t rcc_clock_scale::hsisys_div

Definition at line 833 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ pll_div

uint8_t rcc_clock_scale::pll_div

Definition at line 826 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ pll_mul

uint8_t rcc_clock_scale::pll_mul

Definition at line 827 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ pll_source

uint8_t rcc_clock_scale::pll_source

Definition at line 825 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ pllp_div

uint8_t rcc_clock_scale::pllp_div

Definition at line 828 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ pllq_div

uint8_t rcc_clock_scale::pllq_div

Definition at line 829 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ pllr_div

uint8_t rcc_clock_scale::pllr_div

Definition at line 830 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ ppre

uint8_t rcc_clock_scale::ppre

Definition at line 836 of file g0/rcc.h.

Referenced by rcc_clock_setup(), rcc_get_timer_clk_freq(), and rcc_set_ppre().

◆ sysclock_source

enum rcc_osc rcc_clock_scale::sysclock_source

Definition at line 822 of file g0/rcc.h.

Referenced by rcc_clock_setup().

◆ voltage_scale

enum pwr_vos_scale rcc_clock_scale::voltage_scale

Definition at line 838 of file g0/rcc.h.

Referenced by rcc_clock_setup().


The documentation for this struct was generated from the following file: