XilinxProcessorIPLib/drivers/usbpsu/examples/xusb_freertos_composite_example.c
static void prvMainTask(void *pvParameters)
{
	s32 Status;
	struct composite_dev *dev = pvParameters;

	Status = XUsbCompositeExample(&UsbInstance, &InterruptController, dev,
			USB_DEVICE_ID, INTC_DEVICE_ID, USB_INTR_ID);
	if (Status == XST_FAILURE) {
		xil_printf("USB Composite Example failed\r\n");
		vTaskDelete(NULL);
	}
}
/****************************************************************************/
/**
* This task implements mass storage functionality
*
* @param	pvParameters private parameters.
*
* @note		None.
*
*****************************************************************************/
This task implements mass storage functionality
This task implements mass storage functionality
static void prvMainTask(void *pvParameters)
{
	s32 Status;
	struct composite_dev *dev = pvParameters;
	Status = XUsbCompositeExample(&UsbInstance, &InterruptController, dev,
			USB_DEVICE_ID, INTC_DEVICE_ID, USB_INTR_ID);
	if (Status == XST_FAILURE) {
		xil_printf("USB Composite Example failed\r\n");
		vTaskDelete(NULL);
	}
}
static void prvMainTask ( void * pvParameters ) { s32 Status ; struct composite_dev * dev = pvParameters ; Status = XUsbCompositeExample ( & UsbInstance , & InterruptController , dev , USB_DEVICE_ID , INTC_DEVICE_ID , USB_INTR_ID ) ; if ( Status == XST_FAILURE ) { xil_printf ( " \r \n " ) ; vTaskDelete ( NULL ) ; } }
This task implements mass storage functionality
This task implements mass storage functionality