/* When the host requests a descriptor this function is called to determine which descriptor is being requested and start its transmission.  */
static void prvGetStandardInterfaceDescriptor(xUSB_REQUEST *pxRequest)
/* When the host requests a descriptor this function is called to determine which descriptor is being requested and start its transmission.  */
static void prvGetStandardInterfaceDescriptor(xUSB_REQUEST *pxRequest)
{
	switch( ( pxRequest->usValue & ( unsigned short ) 0xff00 ) >> 8 )
	{
	    case usbHID_REPORT_DESCRIPTOR:
			prvSendControlData( ( unsigned char * ) pxReportDescriptor, pxRequest->usLength, sizeof( pxReportDescriptor ), pdTRUE );
		    break;
	    default:
			prvSendStall();
		    break;
	}
}