#include <arch/cm3.h>
Functions | |
void | NutBoardInit (void) |
Early hardware initialization for FLECX 1 board. | |
Variables | |
const uint32_t | CRP_WORD = 0xFFFFFFFF |
void NutBoardInit | ( | void | ) |
Early hardware initialization for FLECX 1 board.
Early AT91SAM7X-EK hardware initialization.
This routine is called during system initialization, if NUT_INIT_BOARD has been enabled in the architecture configuration.
It will mainly set up the basic clocks for the CPU to run at 99.6MHz.
References inr, outr, PINSEL, PLLFEED_FEED1, PLLFEED_FEED2, PS3_P1_27_CLKOUT, SC_CCLKCFG, SC_CCLKSEL_LSB, SC_CLKOUT_EN, SC_CLKOUTCFG, SC_CLKOUTDIV_LSB, SC_CLKSRC_MCLK, SC_CLKSRCSEL, SC_FLASHCFG, SC_FLASHTIM, SC_FLASHTIM_LSB, SC_MSEL_LSB, SC_NSEL_LSB, SC_OSCEN, SC_OSCSTAT, SC_PCGPIO, SC_PCI2C0, SC_PCI2C1, SC_PCI2C2, SC_PCLKSEL0, SC_PCLKSEL1, SC_PCONP, SC_PCPWM1, SC_PCRTC, SC_PCSPI, SC_PCSSP1, SC_PCTIM0, SC_PCTIM1, SC_PCTIM2, SC_PCUART0, SC_PLL0CFG, SC_PLL0CON, SC_PLL0FEED, SC_PLL0STAT, SC_PLLC, SC_PLLC_STAT, SC_PLLE, SC_PLLE_STAT, SC_PLOCK, and SC_SCS.