/* USBH_SubmitSetupRequest Start a setup transfer by changing the state-machine and initializing the required variables needed for the Control Transfer.  */
static USBH_Status USBH_SubmitSetupRequest(USBH_HOST *phost, uint8_t *buff, uint16_t length)
/* USBH_SubmitSetupRequest Start a setup transfer by changing the state-machine and initializing the required variables needed for the Control Transfer.  */
static USBH_Status USBH_SubmitSetupRequest(USBH_HOST *phost, uint8_t *buff, uint16_t length)
{
  phost->gStateBkp =   phost->gState;
  phost->gState = HOST_CTRL_XFER;
  phost->Control.buff = buff; 
  phost->Control.length = length;
  phost->Control.state = CTRL_SETUP;  
  return USBH_OK;  
}