Loading...
Searching...
No Matches
clk_conf.h File Reference

Clock configuration for the FE310 cpu. More...

Detailed Description

Clock configuration for the FE310 cpu.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file clk_conf.h.

#include "macros/units.h"
#include "kernel_defines.h"
+ Include dependency graph for clk_conf.h:

Go to the source code of this file.

Core Clock configuration

#define CONFIG_USE_CLOCK_HFXOSC_PLL   1 /* Use PLL clocked by HFXOSC by default */
 
#define CONFIG_USE_CLOCK_HFXOSC   0
 
#define CONFIG_USE_CLOCK_HFROSC_PLL   0
 
#define CONFIG_USE_CLOCK_HFROSC   0
 
#define CONFIG_CLOCK_PLL_R   (1) /* Divide input clock by 2, mandatory with HFXOSC */
 
#define CONFIG_CLOCK_PLL_F   (39) /* Multiply REFR by 80, e.g 2 * (39 + 1) */
 
#define CONFIG_CLOCK_PLL_Q   (1) /* Divide VCO by 2, e.g 2^1 */
 
#define CONFIG_CLOCK_DESIRED_FREQUENCY   MHZ(320)
 
#define CONFIG_CLOCK_HFROSC_TRIM   (6) /* ~72000000Hz input freq */
 
#define CONFIG_CLOCK_HFROSC_DIV   (1) /* Divide by 2 */
 

Macro Definition Documentation

◆ CONFIG_CLOCK_DESIRED_FREQUENCY

#define CONFIG_CLOCK_DESIRED_FREQUENCY   MHZ(320)

Definition at line 119 of file clk_conf.h.

◆ CONFIG_CLOCK_HFROSC_DIV

#define CONFIG_CLOCK_HFROSC_DIV   (1) /* Divide by 2 */

Definition at line 126 of file clk_conf.h.

◆ CONFIG_CLOCK_HFROSC_TRIM

#define CONFIG_CLOCK_HFROSC_TRIM   (6) /* ~72000000Hz input freq */

Definition at line 123 of file clk_conf.h.

◆ CONFIG_CLOCK_PLL_F

#define CONFIG_CLOCK_PLL_F   (39) /* Multiply REFR by 80, e.g 2 * (39 + 1) */

Definition at line 81 of file clk_conf.h.

◆ CONFIG_CLOCK_PLL_Q

#define CONFIG_CLOCK_PLL_Q   (1) /* Divide VCO by 2, e.g 2^1 */

Definition at line 84 of file clk_conf.h.

◆ CONFIG_CLOCK_PLL_R

#define CONFIG_CLOCK_PLL_R   (1) /* Divide input clock by 2, mandatory with HFXOSC */

Definition at line 79 of file clk_conf.h.

◆ CONFIG_USE_CLOCK_HFROSC

#define CONFIG_USE_CLOCK_HFROSC   0

Definition at line 52 of file clk_conf.h.

◆ CONFIG_USE_CLOCK_HFROSC_PLL

#define CONFIG_USE_CLOCK_HFROSC_PLL   0

Definition at line 48 of file clk_conf.h.

◆ CONFIG_USE_CLOCK_HFXOSC

#define CONFIG_USE_CLOCK_HFXOSC   0

Definition at line 44 of file clk_conf.h.

◆ CONFIG_USE_CLOCK_HFXOSC_PLL

#define CONFIG_USE_CLOCK_HFXOSC_PLL   1 /* Use PLL clocked by HFXOSC by default */

Definition at line 39 of file clk_conf.h.