STM/STM32_LIBRARIES/USB_Host/Core/Src/usbh_conf.c
USBH_StatusTypeDef USBH_LL_SubmitURB(USBH_HandleTypeDef *phost, 
                                     uint8_t pipe, 
                                     uint8_t direction,
                                     uint8_t ep_type,  
                                     uint8_t token, 
                                     uint8_t* pbuff, 
                                     uint16_t length,
                                     uint8_t do_ping) 
{
	HAL_HCD_HC_SubmitRequest(phost->pData,
						   pipe, 
						   direction,
						   ep_type,  
						   token, 
						   pbuff, 
						   length,
						   do_ping);
	return USBH_OK;   
}
/**
  * @brief  Submits a new URB to the low level driver.
  * @param  phost: Host handle
  * @param  pipe: Pipe index    
  *          This parameter can be a value from 1 to 15
  * @param  direction: Channel number
  *          This parameter can be one of these values:
  *           0: Output 
  *           1: Input
  * @param  ep_type: Endpoint Type
  *          This parameter can be one of these values:
  *            @arg EP_TYPE_CTRL: Control type
  *            @arg EP_TYPE_ISOC: Isochronous type
  *            @arg EP_TYPE_BULK: Bulk type
  *            @arg EP_TYPE_INTR: Interrupt type
  * @param  token: Endpoint Type
  *          This parameter can be one of these values:
  *            @arg 0: PID_SETUP
  *            @arg 1: PID_DATA
  * @param  pbuff: pointer to URB data
  * @param  length: length of URB data
  * @param  do_ping: activate do ping protocol (for high speed only)
  *          This parameter can be one of these values:
  *           0: do ping inactive 
  *           1: do ping active 
  * @retval USBH Status
  */
@brief  Submits a new URB to the low level driver.
@brief Submits a new URB to the low level driver .
USBH_StatusTypeDef USBH_LL_SubmitURB(USBH_HandleTypeDef *phost, 
                                     uint8_t pipe, 
                                     uint8_t direction,
                                     uint8_t ep_type,  
                                     uint8_t token, 
                                     uint8_t* pbuff, 
                                     uint16_t length,
                                     uint8_t do_ping) 
{
	HAL_HCD_HC_SubmitRequest(phost->pData,
						   pipe, 
						   direction,
						   ep_type,  
						   token, 
						   pbuff, 
						   length,
						   do_ping);
	return USBH_OK;   
}
USBH_StatusTypeDef USBH_LL_SubmitURB ( USBH_HandleTypeDef * phost , uint8_t pipe , uint8_t direction , uint8_t ep_type , uint8_t token , uint8_t * pbuff , uint16_t length , uint8_t do_ping ) { HAL_HCD_HC_SubmitRequest ( phost -> pData , pipe , direction , ep_type , token , pbuff , length , do_ping ) ; return USBH_OK ; }
@brief  Submits a new URB to the low level driver.
@brief Submits a new URB to the low level driver .