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
 
uint16_t pll_div
 
uint8_t pll_source
 
uint8_t flash_waitstates
 
uint8_t hpre
 
uint8_t ppre1
 
uint8_t ppre2
 
enum pwr_vos_scale voltage_scale
 
uint32_t ahb_frequency
 
uint32_t apb1_frequency
 
uint32_t apb2_frequency
 
uint8_t msi_range
 

Detailed Description

Definition at line 442 of file l1/rcc.h.

Field Documentation

◆ ahb_frequency

uint32_t rcc_clock_scale::ahb_frequency

Definition at line 451 of file l1/rcc.h.

Referenced by rcc_clock_setup_hsi(), rcc_clock_setup_msi(), and rcc_clock_setup_pll().

◆ apb1_frequency

uint32_t rcc_clock_scale::apb1_frequency

Definition at line 452 of file l1/rcc.h.

Referenced by rcc_clock_setup_hsi(), rcc_clock_setup_msi(), and rcc_clock_setup_pll().

◆ apb2_frequency

uint32_t rcc_clock_scale::apb2_frequency

Definition at line 453 of file l1/rcc.h.

Referenced by rcc_clock_setup_hsi(), rcc_clock_setup_msi(), and rcc_clock_setup_pll().

◆ flash_waitstates

uint8_t rcc_clock_scale::flash_waitstates

Definition at line 446 of file l1/rcc.h.

Referenced by rcc_clock_setup_hsi(), rcc_clock_setup_msi(), and rcc_clock_setup_pll().

◆ hpre

uint8_t rcc_clock_scale::hpre

◆ msi_range

uint8_t rcc_clock_scale::msi_range

Definition at line 454 of file l1/rcc.h.

Referenced by rcc_clock_setup_msi().

◆ pll_div

uint16_t rcc_clock_scale::pll_div

Definition at line 444 of file l1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pll_mul

uint8_t rcc_clock_scale::pll_mul

Definition at line 443 of file l1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pll_source

uint8_t rcc_clock_scale::pll_source

Definition at line 445 of file l1/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ ppre1

uint8_t rcc_clock_scale::ppre1

◆ ppre2

uint8_t rcc_clock_scale::ppre2

◆ voltage_scale

enum pwr_vos_scale rcc_clock_scale::voltage_scale

Definition at line 450 of file l1/rcc.h.

Referenced by rcc_clock_setup_hsi(), rcc_clock_setup_msi(), and rcc_clock_setup_pll().


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