int main(void) { InitIO(); BitSet(&LPC_SYSCON->SYSAHBCLKCTRL, 16); NVIC_DisableIRQ(WAKEUP0_IRQn); NVIC_DisableIRQ(WAKEUP1_IRQn); NVIC_DisableIRQ(WAKEUP2_IRQn); NVIC_DisableIRQ(WAKEUP3_IRQn); NVIC_DisableIRQ(WAKEUP4_IRQn); NVIC_DisableIRQ(WAKEUP5_IRQn); NVIC_DisableIRQ(WAKEUP6_IRQn); NVIC_DisableIRQ(WAKEUP7_IRQn); NVIC_DisableIRQ(WAKEUP8_IRQn); NVIC_DisableIRQ(WAKEUP9_IRQn); NVIC_DisableIRQ(WAKEUP10_IRQn); NVIC_DisableIRQ(WAKEUP11_IRQn); NVIC_DisableIRQ(WAKEUP12_IRQn); NVIC_DisableIRQ(CAN_IRQn); GUI_Init(); GUI_Clear(); GUI_DispString("www.keil.com"); while(1); } |