38#define DWC2_REG_BASE (USB_BASE + offsetof(USB_TypeDef, GOTGCTL))
43 { .reg_base = DWC2_REG_BASE, .irqnum = USB_IRQn, .ep_count = DWC2_EP_MAX, .ep_fifo_size = 2048 }
72 USB->ROUTE = USB_ROUTE_PHYPEN;
static void dwc2_remote_wakeup_delay(void)
static void dwc2_phy_init(dwc2_regs_t *dwc2, uint8_t hs_phy_type)
static TU_ATTR_ALWAYS_INLINE void dwc2_dcd_int_enable(uint8_t rhport)
static void dwc2_phy_update(dwc2_regs_t *dwc2, uint8_t hs_phy_type)
static TU_ATTR_ALWAYS_INLINE void dwc2_dcd_int_disable(uint8_t rhport)
static const dwc2_controller_t _dwc2_controller[]