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 pll_mul
 
uint8_t pll_source
 
uint8_t hpre
 
uint8_t ppre1
 
uint8_t ppre2
 
uint8_t adcpre
 
uint8_t flash_waitstates
 
uint8_t prediv1
 
uint8_t prediv1_source
 
uint8_t prediv2
 
uint8_t pll2_mul
 
uint8_t pll3_mul
 
uint8_t usbpre
 
uint32_t ahb_frequency
 
uint32_t apb1_frequency
 
uint32_t apb2_frequency
 

Detailed Description

Definition at line 721 of file f1/rcc.h.

Field Documentation

◆ adcpre

uint8_t rcc_clock_scale::adcpre

Definition at line 727 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_adcpre().

◆ ahb_frequency

uint32_t rcc_clock_scale::ahb_frequency

Definition at line 735 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ apb1_frequency

uint32_t rcc_clock_scale::apb1_frequency

Definition at line 736 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ apb2_frequency

uint32_t rcc_clock_scale::apb2_frequency

Definition at line 737 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ flash_waitstates

uint8_t rcc_clock_scale::flash_waitstates

Definition at line 728 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ hpre

uint8_t rcc_clock_scale::hpre

Definition at line 724 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_hpre().

◆ pll2_mul

uint8_t rcc_clock_scale::pll2_mul

Definition at line 732 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pll3_mul

uint8_t rcc_clock_scale::pll3_mul

Definition at line 733 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pll_mul

uint8_t rcc_clock_scale::pll_mul

Definition at line 722 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pll_source

uint8_t rcc_clock_scale::pll_source

Definition at line 723 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ ppre1

uint8_t rcc_clock_scale::ppre1

Definition at line 725 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll(), rcc_get_timer_clk_freq(), and rcc_set_ppre1().

◆ ppre2

uint8_t rcc_clock_scale::ppre2

Definition at line 726 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll(), rcc_get_timer_clk_freq(), and rcc_set_ppre2().

◆ prediv1

uint8_t rcc_clock_scale::prediv1

Definition at line 729 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ prediv1_source

uint8_t rcc_clock_scale::prediv1_source

Definition at line 730 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ prediv2

uint8_t rcc_clock_scale::prediv2

Definition at line 731 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ usbpre

uint8_t rcc_clock_scale::usbpre

Definition at line 734 of file f1/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_usbpre().


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