int main(void) { int Status; /* Run the USB Interrupt example.*/ Status = UsbIntrExample(&IntcInstance, &UsbInstance, XPAR_XUSBPS_0_DEVICE_ID, XPAR_XUSBPS_0_INTR); if (Status != XST_SUCCESS) { return XST_FAILURE; } return XST_SUCCESS; }
int main() { int Status; xil_printf("== Enclustra USB Test ==\r\n\r\n"); /* Run the USB Interrupt example.*/ Status = UsbIntrExample(&IntcInstance, &UsbInstance, XPAR_XUSBPS_0_DEVICE_ID, XPAR_XUSBPS_0_INTR); if (Status != XST_SUCCESS) { return XST_FAILURE; } while (1); return XST_SUCCESS; }