XilinxProcessorIPLib/drivers/usbpsu/examples/xusb_freertos_composite_example.c
static void Usb_AudioInHandler(void *CallBackRef, u32 RequestedBytes, u32 BytesTxed)
{
	struct Usb_DevData *InstancePtr = CallBackRef;
	USBCH9_DATA *ch9_ptr =
		(USBCH9_DATA *) Get_DrvData(InstancePtr->PrivateData);
	struct composite_dev *dev = (struct composite_dev *)(ch9_ptr->data_ptr);
	struct audio_if *f = &(dev->f_audio);
	BaseType_t xHigherPriorityTaskWoken;

	xSemaphoreGiveFromISR(f->xSemaphoreRecord, &xHigherPriorityTaskWoken);
	portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}
/*****************************************************************************/
/**
 * This function is ISO IN Endpoint handler/Callback function, called by driver
 * when data is sent to host.
 *
 * @param	CallBackRef is pointer to Usb_DevData instance.
 * @param	RequestedBytes is number of bytes requested to send.
 * @param	BytesTxed is actual number of bytes sent to Host.
 *
 * @return	None
 *
 * @note	None.
 *
 *****************************************************************************/
This function is ISO IN Endpoint handler/Callback function, called by driver
when data is sent to host.

@param       CallBackRef is pointer to Usb_DevData instance.
@param       RequestedBytes is number of bytes requested to send.
@param       BytesTxed is actual number of bytes sent to Host.

@return      None

@note        None.
This function is ISO IN Endpoint handler / Callback function called by driver when data is sent to host . @param CallBackRef is pointer to Usb_DevData instance . @param RequestedBytes is number of bytes requested to send . @param BytesTxed is actual number of bytes sent to Host . @return None @note None .
static void Usb_AudioInHandler(void *CallBackRef, u32 RequestedBytes, u32 BytesTxed)
{
	struct Usb_DevData *InstancePtr = CallBackRef;
	USBCH9_DATA *ch9_ptr =
		(USBCH9_DATA *) Get_DrvData(InstancePtr->PrivateData);
	struct composite_dev *dev = (struct composite_dev *)(ch9_ptr->data_ptr);
	struct audio_if *f = &(dev->f_audio);
	BaseType_t xHigherPriorityTaskWoken;
	xSemaphoreGiveFromISR(f->xSemaphoreRecord, &xHigherPriorityTaskWoken);
	portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}
static void Usb_AudioInHandler ( void * CallBackRef , u32 RequestedBytes , u32 BytesTxed ) { struct Usb_DevData * InstancePtr = CallBackRef ; USBCH9_DATA * ch9_ptr = ( USBCH9_DATA * ) Get_DrvData ( InstancePtr -> PrivateData ) ; struct composite_dev * dev = ( struct composite_dev * ) ( ch9_ptr -> data_ptr ) ; struct audio_if * f = & ( dev -> f_audio ) ; BaseType_t xHigherPriorityTaskWoken ; xSemaphoreGiveFromISR ( f -> xSemaphoreRecord , & xHigherPriorityTaskWoken ) ; portYIELD_FROM_ISR ( xHigherPriorityTaskWoken ) ; }
This function is ISO IN Endpoint handler/Callback function, called by driver
 when data is sent to host.
This function is ISO IN Endpoint handler / Callback function called by driver when data is sent to host .