/* USBH_ClrFeature This request is used to clear or disable a specific feature.  */
USBH_Status USBH_ClrFeature(USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost, uint8_t ep_num, uint8_t hc_num)
/* USBH_ClrFeature This request is used to clear or disable a specific feature.  */
USBH_Status USBH_ClrFeature(USB_OTG_CORE_HANDLE *pdev, USBH_HOST *phost, uint8_t ep_num, uint8_t hc_num)
{
  phost->Control.setup.b.bmRequestType = USB_H2D | 
                                         USB_REQ_RECIPIENT_ENDPOINT |
                                         USB_REQ_TYPE_STANDARD;
  phost->Control.setup.b.bRequest = USB_REQ_CLEAR_FEATURE;
  phost->Control.setup.b.wValue.w = FEATURE_SELECTOR_ENDPOINT;
  phost->Control.setup.b.wIndex.w = ep_num;
  phost->Control.setup.b.wLength.w = 0;           
  if ((ep_num & USB_REQ_DIR_MASK ) == USB_D2H)
  {
    pdev->host.hc[hc_num].toggle_in = 0; 
  }
  else
  {
    pdev->host.hc[hc_num].toggle_out = 0; 
  }
  return USBH_CtlReq(pdev, phost, 0 , 0 );   
}