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

#include <rcc.h>

Data Fields

uint8_t pllm
 
uint16_t plln
 
uint8_t pllp
 
uint8_t pllq
 
uint8_t pllr
 
uint8_t pll_source
 
uint8_t hpre
 
uint8_t ppre1
 
uint8_t ppre2
 
enum pwr_vos_scale vos_scale
 
bool boost
 
uint32_t flash_config
 
uint8_t flash_waitstates
 
uint32_t ahb_frequency
 
uint32_t apb1_frequency
 
uint32_t apb2_frequency
 

Detailed Description

Definition at line 746 of file g4/rcc.h.

Field Documentation

◆ ahb_frequency

uint32_t rcc_clock_scale::ahb_frequency

Definition at line 760 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ apb1_frequency

uint32_t rcc_clock_scale::apb1_frequency

Definition at line 761 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ apb2_frequency

uint32_t rcc_clock_scale::apb2_frequency

Definition at line 762 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ boost

bool rcc_clock_scale::boost

Definition at line 757 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ flash_config

uint32_t rcc_clock_scale::flash_config

Definition at line 758 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ flash_waitstates

uint8_t rcc_clock_scale::flash_waitstates

Definition at line 759 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ hpre

uint8_t rcc_clock_scale::hpre

Definition at line 753 of file g4/rcc.h.

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

◆ pll_source

uint8_t rcc_clock_scale::pll_source

Definition at line 752 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pllm

uint8_t rcc_clock_scale::pllm

Definition at line 747 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_main_pll().

◆ plln

uint16_t rcc_clock_scale::plln

Definition at line 748 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_main_pll().

◆ pllp

uint8_t rcc_clock_scale::pllp

Definition at line 749 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_main_pll().

◆ pllq

uint8_t rcc_clock_scale::pllq

Definition at line 750 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_main_pll().

◆ pllr

uint8_t rcc_clock_scale::pllr

Definition at line 751 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_main_pll().

◆ ppre1

uint8_t rcc_clock_scale::ppre1

Definition at line 754 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_ppre1().

◆ ppre2

uint8_t rcc_clock_scale::ppre2

Definition at line 755 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_ppre2().

◆ vos_scale

enum pwr_vos_scale rcc_clock_scale::vos_scale

Definition at line 756 of file g4/rcc.h.

Referenced by rcc_clock_setup_pll().


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