@@ -240,7 +240,7 @@ int board_early_init_f (void)
|
||||
iop->iop_padir = 0x0800;
|
||||
|
||||
/* start timer 2 for the 4hz LED blink rate */
|
||||
timers->cpmt_tmr2 = 0xff2c; /* 4hz for 64mhz */
|
||||
timers->cpmt_tmr2 = 0xff2c; /* 4HZ for 64MHz */
|
||||
timers->cpmt_trr2 = 0x000003d0; /* clk/16 , prescale=256 */
|
||||
timers->cpmt_tgcr = 0x00000810; /* run timer 2 */
|
||||
|
||||
|
||||
@@ -579,7 +579,7 @@ void atmUtpInit()
|
||||
/* 11 = divide by 7 */
|
||||
/* */
|
||||
/* Note that the UTOPIA clock must be programmed as to operate */
|
||||
/* within the range SYSCLK/10 .. 50Mhz. */
|
||||
/* within the range SYSCLK/10 .. 50MHz. */
|
||||
/*-----------------------------------------------------------------*/
|
||||
car->car_sccr &= 0xFFFFFFE0;
|
||||
car->car_sccr |= 0x00000008; /* UTPCLK = SYSCLK / 4 */
|
||||
|
||||
Reference in New Issue
Block a user