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 pllmul
 
uint8_t hpre
 
uint8_t ppre1
 
uint8_t ppre2
 
uint8_t adcpre
 
uint8_t usbpre
 
bool use_hse
 
uint8_t pll_hse_prediv
 
uint32_t ahb_frequency
 
uint32_t apb1_frequency
 
uint32_t apb2_frequency
 

Detailed Description

Definition at line 442 of file gd32/f1x0/rcc.h.

Field Documentation

◆ adcpre

uint8_t rcc_clock_scale::adcpre

Definition at line 447 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_adcpre().

◆ ahb_frequency

uint32_t rcc_clock_scale::ahb_frequency

Definition at line 451 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ apb1_frequency

uint32_t rcc_clock_scale::apb1_frequency

Definition at line 452 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ apb2_frequency

uint32_t rcc_clock_scale::apb2_frequency

Definition at line 453 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ hpre

uint8_t rcc_clock_scale::hpre

Definition at line 444 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_hpre().

◆ pll_hse_prediv

uint8_t rcc_clock_scale::pll_hse_prediv

Definition at line 450 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ pllmul

uint8_t rcc_clock_scale::pllmul

Definition at line 443 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll().

◆ ppre1

uint8_t rcc_clock_scale::ppre1

Definition at line 445 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_ppre1().

◆ ppre2

uint8_t rcc_clock_scale::ppre2

Definition at line 446 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_ppre2().

◆ usbpre

uint8_t rcc_clock_scale::usbpre

Definition at line 448 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll(), and rcc_set_usbpre().

◆ use_hse

bool rcc_clock_scale::use_hse

Definition at line 449 of file gd32/f1x0/rcc.h.

Referenced by rcc_clock_setup_pll().


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