libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
ccm.c File Reference
Include dependency graph for ccm.c:

Go to the source code of this file.

Functions

uint32_t ccm_get_pll_pfd (uint32_t pfd_sel, uint32_t pll_pfd, uint32_t pll_clk)
 Calculate PFD clock. More...
 
void ccm_clock_gate_enable (enum ccm_clock_gate gr)
 Enable clock of given device. More...
 
void ccm_clock_gate_disable (enum ccm_clock_gate gr)
 Disable clock of given device. More...
 
void ccm_calculate_clocks ()
 Calculate clocks. More...
 

Variables

static const uint32_t pll1_main_clk = 528000000
 
static const uint32_t pll2_main_clk = 528000000
 
static const uint32_t pll3_main_clk = 480000000
 
uint32_t ccm_core_clk
 
uint32_t ccm_platform_bus_clk
 
uint32_t ccm_ipg_bus_clk