RTEMS 6.1-rc6
|
This source file contains parts of the system initialization. More...
Typedefs | |
typedef enum Tms570ClockDisableSources | Tms570ClockDisableSources |
typedef enum Tms570GhvClockSources | Tms570GhvClockSources |
Enumerations | |
enum | Tms570ClockDisableSources { TMS570_CLKDIS_SRC_OSC = 0x01 , TMS570_CLKDIS_SRC_PLL1 = 0x02 , TMS570_CLKDIS_SRC_RESERVED = 0x04 , TMS570_CLKDIS_SRC_EXT_CLK1 = 0x08 , TMS570_CLKDIS_SRC_LOW_FREQ_LPO = 0x10 , TMS570_CLKDIS_SRC_HIGH_FREQ_LPO = 0x20 , TMS570_CLKDIS_SRC_PLL2 = 0x40 , TMS570_CLKDIS_SRC_EXT_CLK2 = 0x80 } |
enum | Tms570GhvClockSources { TMS570_SYS_CLK_SRC_OSC = 0U , TMS570_SYS_CLK_SRC_PLL1 = 1U , TMS570_SYS_CLK_SRC_EXTERNAL1 = 3U , TMS570_SYS_CLK_SRC_LPO_LOW = 4U , TMS570_SYS_CLK_SRC_LPO_HIGH = 5U , TMS570_SYS_CLK_SRC_PLL2 = 6U , TMS570_SYS_CLK_SRC_EXTERNAL2 = 7U , TMS570_SYS_CLK_SRC_VCLK = 9U } |
Functions | |
void | tms570_pinmux_init (void) |
Initialize the tms570 PINMUX peripheral. This maps signals to pin terminals. | |
void | tms570_emif_sdram_init (void) |
Initialize the External Memory InterFace (EMIF) peripheral. | |
void | tms570_pll_init (void) |
Setup all system PLLs (HCG:setupPLL) | |
void | tms570_map_clock_init (void) |
Initialize the tms570 Global Clock Manager (GCM) registers which sub-divide the input clock source (generally PLL) into the various peripheral clocks (VCLK1-3, etc). | |
This source file contains parts of the system initialization.
void tms570_map_clock_init | ( | void | ) |
Initialize the tms570 Global Clock Manager (GCM) registers which sub-divide the input clock source (generally PLL) into the various peripheral clocks (VCLK1-3, etc).
Initialize Clock Tree:
void tms570_pll_init | ( | void | ) |
Setup all system PLLs (HCG:setupPLL)
Initialize PLLs source divider/multipliers.