/* USBH_HID_InterfaceDeInit The function DeInit the Host Channels used for the HID class.  */
void USBH_HID_InterfaceDeInit(USB_OTG_CORE_HANDLE *pdev, void *phost)
/* USBH_HID_InterfaceDeInit The function DeInit the Host Channels used for the HID class.  */
void USBH_HID_InterfaceDeInit(USB_OTG_CORE_HANDLE *pdev, void *phost)
{
  if(HID_Machine.hc_num_in != 0x00)
  {   
    USB_OTG_HC_Halt(pdev, HID_Machine.hc_num_in);
    USBH_Free_Channel  (pdev, HID_Machine.hc_num_in);
    HID_Machine.hc_num_in = 0;  
  }
  if(HID_Machine.hc_num_out != 0x00)
  {   
    USB_OTG_HC_Halt(pdev, HID_Machine.hc_num_out);
    USBH_Free_Channel  (pdev, HID_Machine.hc_num_out);
    HID_Machine.hc_num_out = 0;  
  }
  start_toggle = 0;
}