예제 #1
0
void USBInterruptEnable(int usbInstance)
{
    /* Configuring AINTC to receive USB interrupts. */
    USBAINTCConfigure(usbInstance);
#ifdef DMA_MODE
	CPDMAAINTCConfigure(usbInstance);
#endif
}
예제 #2
0
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();
}