void main(void) { InitPLL (); SetupIRQ12 () ; // Need to initialize DAI because the sport signals // need to be routed InitDAI(); // This function will configure the codec on the kit Init1835viaSPI(); // Finally setup the sport to receive / transmit the data InitSPORT(); interrupt (SIG_SP0,TalkThroughISR); interrupt (SIG_IRQ1, Irq1ISR) ; interrupt (SIG_IRQ2, Irq2ISR) ; // Be in infinite loop and do nothing until done. for(;;) { while(blockReady) processBlock(src_pointer[int_cntr]); } }
void main(void) { InitPLL(); InitServo(); StartServo(); SetServo(90); StartMenu(); FOREVER(); }
void InicializarLPC ( void ) { //Configuro en primer lugar el PLL: //Estabiliza el oscilador interno del micro en 100MHz InitPLL(); }