Loading...
Searching...
No Matches
clk_cfg_t Struct Reference

Clock configuration. More...

Detailed Description

Clock configuration.

Definition at line 170 of file clk_conf.h.

#include <clk_conf.h>

Data Fields

enum fam family
 Family.
 
unsigned max_coreclock
 Max coreclock.
 
unsigned max_apb1
 Max APB1 clock.
 
unsigned max_apb2
 Max APB2 clock.
 
unsigned max_apb3
 Max APB3 clock.
 
unsigned hsi
 HSI frequency.
 
pll_cfg_t pll
 PLL configuration.
 
bool has_pll_i2s
 PLL I2S available.
 
bool has_pll_sai
 PLL SAI available.
 
bool has_pll_i2s_m
 PLL I2S has a M factor.
 
bool has_pll_sai_m
 PLL SAI has a M factor.
 
bool has_pll_i2s_alt_input
 PLL I2S has an external input available.
 
unsigned hsi_prediv
 Value if HSI has a fixed prediv, 0 otherwise.
 
int has_alt_48MHz
 48MHz can be generated by an alternate source
 
bool need_48MHz
 48MHz is needed
 

Field Documentation

◆ family

enum fam clk_cfg_t::family

Family.

Definition at line 171 of file clk_conf.h.

◆ has_alt_48MHz

int clk_cfg_t::has_alt_48MHz

48MHz can be generated by an alternate source

Definition at line 190 of file clk_conf.h.

◆ has_pll_i2s

bool clk_cfg_t::has_pll_i2s

PLL I2S available.

Definition at line 182 of file clk_conf.h.

◆ has_pll_i2s_alt_input

bool clk_cfg_t::has_pll_i2s_alt_input

PLL I2S has an external input available.

Definition at line 186 of file clk_conf.h.

◆ has_pll_i2s_m

bool clk_cfg_t::has_pll_i2s_m

PLL I2S has a M factor.

Definition at line 184 of file clk_conf.h.

◆ has_pll_sai

bool clk_cfg_t::has_pll_sai

PLL SAI available.

Definition at line 183 of file clk_conf.h.

◆ has_pll_sai_m

bool clk_cfg_t::has_pll_sai_m

PLL SAI has a M factor.

Definition at line 185 of file clk_conf.h.

◆ hsi

unsigned clk_cfg_t::hsi

HSI frequency.

Definition at line 178 of file clk_conf.h.

◆ hsi_prediv

unsigned clk_cfg_t::hsi_prediv

Value if HSI has a fixed prediv, 0 otherwise.

Definition at line 188 of file clk_conf.h.

◆ max_apb1

unsigned clk_cfg_t::max_apb1

Max APB1 clock.

Definition at line 174 of file clk_conf.h.

◆ max_apb2

unsigned clk_cfg_t::max_apb2

Max APB2 clock.

Definition at line 175 of file clk_conf.h.

◆ max_apb3

unsigned clk_cfg_t::max_apb3

Max APB3 clock.

Definition at line 176 of file clk_conf.h.

◆ max_coreclock

unsigned clk_cfg_t::max_coreclock

Max coreclock.

Definition at line 173 of file clk_conf.h.

◆ need_48MHz

bool clk_cfg_t::need_48MHz

48MHz is needed

Definition at line 191 of file clk_conf.h.

◆ pll

pll_cfg_t clk_cfg_t::pll

PLL configuration.

Definition at line 180 of file clk_conf.h.


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