/* USB_OTG_otg_hcd_handle_sof_intr Handles the start-of-frame interrupt in host mode.  */
static uint32_t USB_OTG_USBH_handle_sof_ISR(USB_OTG_CORE_HANDLE *pdev)
/* USB_OTG_otg_hcd_handle_sof_intr Handles the start-of-frame interrupt in host mode.  */
static uint32_t USB_OTG_USBH_handle_sof_ISR(USB_OTG_CORE_HANDLE *pdev)
{
  USB_OTG_GINTSTS_TypeDef      gintsts;
  gintsts.d32 = 0;
  USBH_HCD_INT_fops->SOF(pdev);
  gintsts.b.sofintr = 1;
  USB_OTG_WRITE_REG32(&pdev->regs.GREGS->GINTSTS, gintsts.d32);
  return 1;
}