libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
ccs_clk_config Struct Reference

CCS Clock Configuration structure. More...

#include <ccs.h>

Data Fields

uint32_t frclk_source
 FRCLK source input selection. More...
 
uint32_t extclk_frequency
 EXTCLK frequency, 0 if none. More...
 
uint32_t sclk_source
 SCLK source selection. More...
 
uint32_t pll_indiv
 PLL Input Divider 1-15. More...
 
uint32_t pll_fbdiv
 PLL Feedback Divider 4-16383. More...
 
uint32_t pll_outdiv
 PLL Output Divider. More...
 
uint32_t hclkdiv
 Divisor from SCLK to HCLK. More...
 
uint32_t aclkdiv
 Divisor from SCLK to ACLK. More...
 
uint32_t pclkdiv
 Divisor from HCLK to PCLK. More...
 
uint32_t mem_wstate
 Number of Flash Read wait states. More...
 
uint32_t mem_mclkdiv
 Divisor from HCLK to MCLK. More...
 
bool mem_mclksel
 false: ROSCLK, true: HCLK/MCLK More...
 
bool mem_enable_cache
 false: disable cache, true: enable cache More...
 

Detailed Description

CCS Clock Configuration structure.

Definition at line 350 of file ccs.h.

Field Documentation

◆ aclkdiv

uint32_t ccs_clk_config::aclkdiv

Divisor from SCLK to ACLK.

Definition at line 358 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ extclk_frequency

uint32_t ccs_clk_config::extclk_frequency

EXTCLK frequency, 0 if none.

Definition at line 352 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ frclk_source

uint32_t ccs_clk_config::frclk_source

FRCLK source input selection.

Definition at line 351 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ hclkdiv

uint32_t ccs_clk_config::hclkdiv

Divisor from SCLK to HCLK.

Definition at line 357 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ mem_enable_cache

bool ccs_clk_config::mem_enable_cache

false: disable cache, true: enable cache

Definition at line 363 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ mem_mclkdiv

uint32_t ccs_clk_config::mem_mclkdiv

Divisor from HCLK to MCLK.

Definition at line 361 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ mem_mclksel

bool ccs_clk_config::mem_mclksel

false: ROSCLK, true: HCLK/MCLK

Definition at line 362 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ mem_wstate

uint32_t ccs_clk_config::mem_wstate

Number of Flash Read wait states.

Definition at line 360 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ pclkdiv

uint32_t ccs_clk_config::pclkdiv

Divisor from HCLK to PCLK.

Definition at line 359 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ pll_fbdiv

uint32_t ccs_clk_config::pll_fbdiv

PLL Feedback Divider 4-16383.

Definition at line 355 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ pll_indiv

uint32_t ccs_clk_config::pll_indiv

PLL Input Divider 1-15.

Definition at line 354 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ pll_outdiv

uint32_t ccs_clk_config::pll_outdiv

PLL Output Divider.

Definition at line 356 of file ccs.h.

Referenced by ccs_configure_clocks().

◆ sclk_source

uint32_t ccs_clk_config::sclk_source

SCLK source selection.

Definition at line 353 of file ccs.h.

Referenced by ccs_configure_clocks().


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