Ejemplo n.º 1
0
void USBInterruptEnable(int usbInstance)
{
    /* Configuring AINTC to receive USB interrupts. */
    USBAINTCConfigure(usbInstance);
#ifdef DMA_MODE
	CPDMAAINTCConfigure(usbInstance);
#endif
}
static void USBInterruptEnable(void)
{
    /* Enabling IRQ in CPSR of ARM processor. */
    IntMasterIRQEnable();

    /* Configuring AINTC to receive USB interrupts. */
    USB0AINTCConfigure();

    CPDMAAINTCConfigure();
}