Clock configuration for the FE310 cpu. More...
Clock configuration for the FE310 cpu.
Definition in file 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 | CLOCK_PLL_INPUT_CLOCK MHZ(16) |
#define | CLOCK_PLL_REFR |
#define | CLOCK_PLL_VCO |
#define | CLOCK_PLL_OUT |
#define | CLOCK_CORECLOCK (CLOCK_PLL_OUT) /* 320000000Hz with the values used above */ |
#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 */ |
#define CLOCK_PLL_OUT |
Definition at line 93 of file clk_conf.h.
#define CLOCK_PLL_REFR |
Definition at line 89 of file clk_conf.h.
#define CLOCK_PLL_VCO |
Definition at line 91 of file clk_conf.h.