void USBInterruptEnable(int usbInstance) { /* Configuring AINTC to receive USB interrupts. */ USBAINTCConfigure(usbInstance); #ifdef DMA_MODE CPDMAAINTCConfigure(usbInstance); #endif }
static void USBInterruptEnable(int usbInstance) { /* Enabling IRQ in CPSR of ARM processor. */ IntMasterIRQEnable(); /* Initializing the ARM Interrupt Controller. */ IntAINTCInit(); /* Configuring AINTC to receive UART0 interrupts. */ USBAINTCConfigure(usbInstance); LCDAINTCConfigure(); }