VSF Documented
Data Structures | Macros
dwcotg_regs.h File Reference

Go to the source code of this file.

Data Structures

struct  dwcotg_core_global_regs_t
 
struct  dwcotg_dev_global_regs_t
 
struct  dwcotg_host_global_regs_t
 
struct  dwcotg_hc_regs_t
 
struct  dwcotg_dev_in_ep_regs_t
 
struct  dwcotg_dev_out_ep_regs_t
 

Macros

#define MAX_PERIO_FIFOS   15
 
#define MAX_TX_FIFOS   15
 
#define MAX_EPS_CHANNELS   16
 
#define USB_OTG_GOTGCTL_SRQSCS   ((uint32_t)0x00000001)
 
#define USB_OTG_GOTGCTL_SRQ   ((uint32_t)0x00000002)
 
#define USB_OTG_GOTGCTL_VBVALOEN   ((uint32_t)0x00000004)
 
#define USB_OTG_GOTGCTL_VBVALOVAL   ((uint32_t)0x00000008)
 
#define USB_OTG_GOTGCTL_AVALOEN   ((uint32_t)0x00000010)
 
#define USB_OTG_GOTGCTL_AVALOVAL   ((uint32_t)0x00000020)
 
#define USB_OTG_GOTGCTL_BVALOEN   ((uint32_t)0x00000040)
 
#define USB_OTG_GOTGCTL_BVALOVAL   ((uint32_t)0x00000080)
 
#define USB_OTG_GOTGCTL_HNGSCS   ((uint32_t)0x00000100)
 
#define USB_OTG_GOTGCTL_HNPRQ   ((uint32_t)0x00000200)
 
#define USB_OTG_GOTGCTL_HSHNPEN   ((uint32_t)0x00000400)
 
#define USB_OTG_GOTGCTL_DHNPEN   ((uint32_t)0x00000800)
 
#define USB_OTG_GOTGCTL_EHEN   ((uint32_t)0x00001000)
 
#define USB_OTG_GOTGCTL_CIDSTS   ((uint32_t)0x00010000)
 
#define USB_OTG_GOTGCTL_DBCT   ((uint32_t)0x00020000)
 
#define USB_OTG_GOTGCTL_ASVLD   ((uint32_t)0x00040000)
 
#define USB_OTG_GOTGCTL_BSESVLD   ((uint32_t)0x00080000)
 
#define USB_OTG_GOTGCTL_OTGVER   ((uint32_t)0x00100000)
 
#define USB_OTG_GOTGCTL_MULTVALIDBC   ((uint32_t)0x07c00000)
 
#define USB_OTG_GOTGCTL_CHIRPEN   ((uint32_t)0x08000000)
 
#define USB_OTG_GOTGINT_SEDET   ((uint32_t)0x00000004)
 
#define USB_OTG_GOTGINT_SRSSCHG   ((uint32_t)0x00000100)
 
#define USB_OTG_GOTGINT_HNSSCHG   ((uint32_t)0x00000200)
 
#define USB_OTG_GOTGINT_HNGDET   ((uint32_t)0x00020000)
 
#define USB_OTG_GOTGINT_ADTOCHG   ((uint32_t)0x00040000)
 
#define USB_OTG_GOTGINT_DBCDNE   ((uint32_t)0x00080000)
 
#define USB_OTG_GOTGINT_IDCHNG   ((uint32_t)0x00100000)
 
#define USB_OTG_GAHBCFG_GINT   ((uint32_t)0x00000001)
 
#define USB_OTG_GAHBCFG_HBSTLEN   ((uint32_t)0x0000001E)
 
#define USB_OTG_GAHBCFG_HBSTLEN_0   ((uint32_t)0x00000002)
 
#define USB_OTG_GAHBCFG_HBSTLEN_1   ((uint32_t)0x00000004)
 
#define USB_OTG_GAHBCFG_HBSTLEN_2   ((uint32_t)0x00000008)
 
#define USB_OTG_GAHBCFG_HBSTLEN_3   ((uint32_t)0x00000010)
 
#define USB_OTG_GAHBCFG_DMAEN   ((uint32_t)0x00000020)
 
#define USB_OTG_GAHBCFG_TXFELVL   ((uint32_t)0x00000080)
 
#define USB_OTG_GAHBCFG_PTXFELVL   ((uint32_t)0x00000100)
 
#define USB_OTG_GAHBCFG_REMMEMSUPP   ((uint32_t)0x00200000)
 
#define USB_OTG_GAHBCFG_NOTIALLDMAWRIT   ((uint32_t)0x00400000)
 
#define USB_OTG_GAHBCFG_AHBSINGLE   ((uint32_t)0x00800000)
 
#define USB_OTG_GUSBCFG_TOCAL   ((uint32_t)0x00000007)
 
#define USB_OTG_GUSBCFG_TOCAL_0   ((uint32_t)0x00000001)
 
#define USB_OTG_GUSBCFG_TOCAL_1   ((uint32_t)0x00000002)
 
#define USB_OTG_GUSBCFG_TOCAL_2   ((uint32_t)0x00000004)
 
#define USB_OTG_GUSBCFG_PHYIF   ((uint32_t)0x00000008)
 
#define USB_OTG_GUSBCFG_ULPI_UTMI_SEL   ((uint32_t)0x00000010)
 
#define USB_OTG_GUSBCFG_FSINTF   ((uint32_t)0x00000020)
 
#define USB_OTG_GUSBCFG_PHYSEL   ((uint32_t)0x00000040)
 
#define USB_OTG_GUSBCFG_DDRSEL   ((uint32_t)0x00000080)
 
#define USB_OTG_GUSBCFG_SRPCAP   ((uint32_t)0x00000100)
 
#define USB_OTG_GUSBCFG_HNPCAP   ((uint32_t)0x00000200)
 
#define USB_OTG_GUSBCFG_TRDT   ((uint32_t)0x00003C00)
 
#define USB_OTG_GUSBCFG_TRDT_0   ((uint32_t)0x00000400)
 
#define USB_OTG_GUSBCFG_TRDT_1   ((uint32_t)0x00000800)
 
#define USB_OTG_GUSBCFG_TRDT_2   ((uint32_t)0x00001000)
 
#define USB_OTG_GUSBCFG_TRDT_3   ((uint32_t)0x00002000)
 
#define USB_OTG_GUSBCFG_PHYLPCS   ((uint32_t)0x00008000)
 
#define USB_OTG_GUSBCFG_OTGUTMIFSSEL   ((uint32_t)0x00010000)
 
#define USB_OTG_GUSBCFG_ULPIFSLS   ((uint32_t)0x00020000)
 
#define USB_OTG_GUSBCFG_ULPIAR   ((uint32_t)0x00040000)
 
#define USB_OTG_GUSBCFG_ULPICSM   ((uint32_t)0x00080000)
 
#define USB_OTG_GUSBCFG_ULPIEVBUSD   ((uint32_t)0x00100000)
 
#define USB_OTG_GUSBCFG_ULPIEVBUSI   ((uint32_t)0x00200000)
 
#define USB_OTG_GUSBCFG_TSDPS   ((uint32_t)0x00400000)
 
#define USB_OTG_GUSBCFG_PCCI   ((uint32_t)0x00800000)
 
#define USB_OTG_GUSBCFG_PTCI   ((uint32_t)0x01000000)
 
#define USB_OTG_GUSBCFG_ULPIIPD   ((uint32_t)0x02000000)
 
#define USB_OTG_GUSBCFG_IC_USB_CAP   ((uint32_t)0x04000000)
 
#define USB_OTG_GUSBCFG_IC_TRAFFIC_PULL_REMOVE   ((uint32_t)0x08000000)
 
#define USB_OTG_GUSBCFG_TX_END_DELAY   ((uint32_t)0x10000000)
 
#define USB_OTG_GUSBCFG_FHMOD   ((uint32_t)0x20000000)
 
#define USB_OTG_GUSBCFG_FDMOD   ((uint32_t)0x40000000)
 
#define USB_OTG_GUSBCFG_CTXPKT   ((uint32_t)0x80000000)
 
#define USB_OTG_GRSTCTL_CSRST   ((uint32_t)0x00000001)
 
#define USB_OTG_GRSTCTL_HSRST   ((uint32_t)0x00000002)
 
#define USB_OTG_GRSTCTL_FCRST   ((uint32_t)0x00000004)
 
#define USB_OTG_GRSTCTL_INTKNGFLSH   ((uint32_t)0x00000008)
 
#define USB_OTG_GRSTCTL_RXFFLSH   ((uint32_t)0x00000010)
 
#define USB_OTG_GRSTCTL_TXFFLSH   ((uint32_t)0x00000020)
 
#define USB_OTG_GRSTCTL_TXFNUM   ((uint32_t)0x000007C0)
 
#define USB_OTG_GRSTCTL_TXFNUM_0   ((uint32_t)0x00000040)
 
#define USB_OTG_GRSTCTL_TXFNUM_1   ((uint32_t)0x00000080)
 
#define USB_OTG_GRSTCTL_TXFNUM_2   ((uint32_t)0x00000100)
 
#define USB_OTG_GRSTCTL_TXFNUM_3   ((uint32_t)0x00000200)
 
#define USB_OTG_GRSTCTL_TXFNUM_4   ((uint32_t)0x00000400)
 
#define USB_OTG_GRSTCTL_DMAREQ   ((uint32_t)0x40000000)
 
#define USB_OTG_GRSTCTL_AHBIDL   ((uint32_t)0x80000000)
 
#define USB_OTG_GINTSTS_CMOD   ((uint32_t)0x00000001)
 
#define USB_OTG_GINTSTS_MMIS   ((uint32_t)0x00000002)
 
#define USB_OTG_GINTSTS_OTGINT   ((uint32_t)0x00000004)
 
#define USB_OTG_GINTSTS_SOF   ((uint32_t)0x00000008)
 
#define USB_OTG_GINTSTS_RXFLVL   ((uint32_t)0x00000010)
 
#define USB_OTG_GINTSTS_NPTXFE   ((uint32_t)0x00000020)
 
#define USB_OTG_GINTSTS_GINAKEFF   ((uint32_t)0x00000040)
 
#define USB_OTG_GINTSTS_BOUTNAKEFF   ((uint32_t)0x00000080)
 
#define USB_OTG_GINTSTS_ULPICKINT   ((uint32_t)0x00000100)
 
#define USB_OTG_GINTSTS_I2CINTR   ((uint32_t)0x00000200)
 
#define USB_OTG_GINTSTS_ESUSP   ((uint32_t)0x00000400)
 
#define USB_OTG_GINTSTS_USBSUSP   ((uint32_t)0x00000800)
 
#define USB_OTG_GINTSTS_USBRST   ((uint32_t)0x00001000)
 
#define USB_OTG_GINTSTS_ENUMDNE   ((uint32_t)0x00002000)
 
#define USB_OTG_GINTSTS_ISOODRP   ((uint32_t)0x00004000)
 
#define USB_OTG_GINTSTS_EOPF   ((uint32_t)0x00008000)
 
#define USB_OTG_GINTSTS_RESTOREDONE   ((uint32_t)0x00010000)
 
#define USB_OTG_GINTSTS_EPMISMATCH   ((uint32_t)0x00020000)
 
#define USB_OTG_GINTSTS_IEPINT   ((uint32_t)0x00040000)
 
#define USB_OTG_GINTSTS_OEPINT   ((uint32_t)0x00080000)
 
#define USB_OTG_GINTSTS_IISOIXFR   ((uint32_t)0x00100000)
 
#define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT   ((uint32_t)0x00200000)
 
#define USB_OTG_GINTSTS_DATAFSUSP   ((uint32_t)0x00400000)
 
#define USB_OTG_GINTSTS_RSTDET   ((uint32_t)0x00800000)
 
#define USB_OTG_GINTSTS_HPRTINT   ((uint32_t)0x01000000)
 
#define USB_OTG_GINTSTS_HCINT   ((uint32_t)0x02000000)
 
#define USB_OTG_GINTSTS_PTXFE   ((uint32_t)0x04000000)
 
#define USB_OTG_GINTSTS_LPMINT   ((uint32_t)0x08000000)
 
#define USB_OTG_GINTSTS_CIDSCHG   ((uint32_t)0x10000000)
 
#define USB_OTG_GINTSTS_DISCINT   ((uint32_t)0x20000000)
 
#define USB_OTG_GINTSTS_SRQINT   ((uint32_t)0x40000000)
 
#define USB_OTG_GINTSTS_WKUINT   ((uint32_t)0x80000000)
 
#define USB_OTG_GINTMSK_MMISM   ((uint32_t)0x00000002)
 
#define USB_OTG_GINTMSK_OTGINT   ((uint32_t)0x00000004)
 
#define USB_OTG_GINTMSK_SOFM   ((uint32_t)0x00000008)
 
#define USB_OTG_GINTMSK_RXFLVLM   ((uint32_t)0x00000010)
 
#define USB_OTG_GINTMSK_NPTXFEM   ((uint32_t)0x00000020)
 
#define USB_OTG_GINTMSK_GINAKEFFM   ((uint32_t)0x00000040)
 
#define USB_OTG_GINTMSK_GONAKEFFM   ((uint32_t)0x00000080)
 
#define USB_OTG_GINTMSK_ESUSPM   ((uint32_t)0x00000400)
 
#define USB_OTG_GINTMSK_USBSUSPM   ((uint32_t)0x00000800)
 
#define USB_OTG_GINTMSK_USBRST   ((uint32_t)0x00001000)
 
#define USB_OTG_GINTMSK_ENUMDNEM   ((uint32_t)0x00002000)
 
#define USB_OTG_GINTMSK_ISOODRPM   ((uint32_t)0x00004000)
 
#define USB_OTG_GINTMSK_EOPFM   ((uint32_t)0x00008000)
 
#define USB_OTG_GINTMSK_EPMISM   ((uint32_t)0x00020000)
 
#define USB_OTG_GINTMSK_IEPINT   ((uint32_t)0x00040000)
 
#define USB_OTG_GINTMSK_OEPINT   ((uint32_t)0x00080000)
 
#define USB_OTG_GINTMSK_IISOIXFRM   ((uint32_t)0x00100000)
 
#define USB_OTG_GINTMSK_PXFRM_IISOOXFRM   ((uint32_t)0x00200000)
 
#define USB_OTG_GINTMSK_FSUSPM   ((uint32_t)0x00400000)
 
#define USB_OTG_GINTMSK_RSTDEM   ((uint32_t)0x00800000)
 
#define USB_OTG_GINTMSK_PRTIM   ((uint32_t)0x01000000)
 
#define USB_OTG_GINTMSK_HCIM   ((uint32_t)0x02000000)
 
#define USB_OTG_GINTMSK_PTXFEM   ((uint32_t)0x04000000)
 
#define USB_OTG_GINTMSK_LPMINTM   ((uint32_t)0x08000000)
 
#define USB_OTG_GINTMSK_CIDSCHGM   ((uint32_t)0x10000000)
 
#define USB_OTG_GINTMSK_DISCINT   ((uint32_t)0x20000000)
 
#define USB_OTG_GINTMSK_SRQIM   ((uint32_t)0x40000000)
 
#define USB_OTG_GINTMSK_WUIM   ((uint32_t)0x80000000)
 
#define USB_OTG_GRXSTSP_EPNUM   ((uint32_t)0x0000000F)
 
#define USB_OTG_GRXSTSP_BCNT   ((uint32_t)0x00007FF0)
 
#define USB_OTG_GRXSTSP_DPID   ((uint32_t)0x00018000)
 
#define USB_OTG_GRXSTSP_PKTSTS   ((uint32_t)0x001E0000)
 
#define USB_OTG_GRXFSIZ_RXFD   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_GNPTXSTS_NPTXFSAV   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV   ((uint32_t)0x00FF0000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_0   ((uint32_t)0x00010000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_1   ((uint32_t)0x00020000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_2   ((uint32_t)0x00040000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_3   ((uint32_t)0x00080000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_4   ((uint32_t)0x00100000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_5   ((uint32_t)0x00200000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_6   ((uint32_t)0x00400000)
 
#define USB_OTG_GNPTXSTS_NPTQXSAV_7   ((uint32_t)0x00800000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP   ((uint32_t)0x7F000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_0   ((uint32_t)0x01000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_1   ((uint32_t)0x02000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_2   ((uint32_t)0x04000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_3   ((uint32_t)0x08000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_4   ((uint32_t)0x10000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_5   ((uint32_t)0x20000000)
 
#define USB_OTG_GNPTXSTS_NPTXQTOP_6   ((uint32_t)0x40000000)
 
#define USB_OTG_GCCFG_PWRDWN   ((uint32_t)0x00010000)
 
#define USB_OTG_GCCFG_VBUSACEN   ((uint32_t)0x00040000)
 
#define USB_OTG_GCCFG_VBUSBCEN   ((uint32_t)0x00080000)
 
#define USB_OTG_GCCFG_VBDEN   ((uint32_t)0x00200000)
 
#define USB_OTG_GLPMCFG_LPMEN   ((uint32_t)0x00000001)
 
#define USB_OTG_GLPMCFG_LPMACK   ((uint32_t)0x00000002)
 
#define USB_OTG_GLPMCFG_BESL   ((uint32_t)0x0000003C)
 
#define USB_OTG_GLPMCFG_REMWAKE   ((uint32_t)0x00000040)
 
#define USB_OTG_GLPMCFG_L1SSEN   ((uint32_t)0x00000080)
 
#define USB_OTG_GLPMCFG_BESLTHRS   ((uint32_t)0x00000F00)
 
#define USB_OTG_GLPMCFG_L1DSEN   ((uint32_t)0x00001000)
 
#define USB_OTG_GLPMCFG_LPMRSP   ((uint32_t)0x00006000)
 
#define USB_OTG_GLPMCFG_SLPSTS   ((uint32_t)0x00008000)
 
#define USB_OTG_GLPMCFG_L1RSMOK   ((uint32_t)0x00010000)
 
#define USB_OTG_GLPMCFG_LPMCHIDX   ((uint32_t)0x001E0000)
 
#define USB_OTG_GLPMCFG_LPMRCNT   ((uint32_t)0x00E00000)
 
#define USB_OTG_GLPMCFG_SNDLPM   ((uint32_t)0x01000000)
 
#define USB_OTG_GLPMCFG_LPMRCNTSTS   ((uint32_t)0x0E000000)
 
#define USB_OTG_GLPMCFG_ENBESL   ((uint32_t)0x10000000)
 
#define USB_OTG_GPWRDN_ADPMEN   ((uint32_t)0x00000001)
 
#define USB_OTG_GPWRDN_ADPIF   ((uint32_t)0x00800000)
 
#define USB_OTG_HPTXFSIZ_PTXSA   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_HPTXFSIZ_PTXFD   ((uint32_t)0xFFFF0000)
 
#define USB_OTG_DVBUSDIS_VBUSDT   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_DVBUSPULSE_DVBUSP   ((uint32_t)0x00000FFF)
 
#define USB_OTG_DIEPTXF_INEPTXSA   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_DIEPTXF_INEPTXFD   ((uint32_t)0xFFFF0000)
 
#define USB_OTG_DCFG_DSPD   ((uint32_t)0x00000003)
 
#define USB_OTG_DCFG_DSPD_0   ((uint32_t)0x00000001)
 
#define USB_OTG_DCFG_DSPD_1   ((uint32_t)0x00000002)
 
#define USB_OTG_DCFG_NZLSOHSK   ((uint32_t)0x00000004)
 
#define USB_OTG_DCFG_DAD   ((uint32_t)0x000007F0)
 
#define USB_OTG_DCFG_DAD_0   ((uint32_t)0x00000010)
 
#define USB_OTG_DCFG_DAD_1   ((uint32_t)0x00000020)
 
#define USB_OTG_DCFG_DAD_2   ((uint32_t)0x00000040)
 
#define USB_OTG_DCFG_DAD_3   ((uint32_t)0x00000080)
 
#define USB_OTG_DCFG_DAD_4   ((uint32_t)0x00000100)
 
#define USB_OTG_DCFG_DAD_5   ((uint32_t)0x00000200)
 
#define USB_OTG_DCFG_DAD_6   ((uint32_t)0x00000400)
 
#define USB_OTG_DCFG_PFIVL   ((uint32_t)0x00001800)
 
#define USB_OTG_DCFG_PFIVL_0   ((uint32_t)0x00000800)
 
#define USB_OTG_DCFG_PFIVL_1   ((uint32_t)0x00001000)
 
#define USB_OTG_DCFG_PERSCHIVL   ((uint32_t)0x03000000)
 
#define USB_OTG_DCFG_PERSCHIVL_0   ((uint32_t)0x01000000)
 
#define USB_OTG_DCFG_PERSCHIVL_1   ((uint32_t)0x02000000)
 
#define USB_OTG_DCTL_RWUSIG   ((uint32_t)0x00000001)
 
#define USB_OTG_DCTL_SDIS   ((uint32_t)0x00000002)
 
#define USB_OTG_DCTL_GINSTS   ((uint32_t)0x00000004)
 
#define USB_OTG_DCTL_GONSTS   ((uint32_t)0x00000008)
 
#define USB_OTG_DCTL_TCTL   ((uint32_t)0x00000070)
 
#define USB_OTG_DCTL_TCTL_0   ((uint32_t)0x00000010)
 
#define USB_OTG_DCTL_TCTL_1   ((uint32_t)0x00000020)
 
#define USB_OTG_DCTL_TCTL_2   ((uint32_t)0x00000040)
 
#define USB_OTG_DCTL_SGINAK   ((uint32_t)0x00000080)
 
#define USB_OTG_DCTL_CGINAK   ((uint32_t)0x00000100)
 
#define USB_OTG_DCTL_SGONAK   ((uint32_t)0x00000200)
 
#define USB_OTG_DCTL_CGONAK   ((uint32_t)0x00000400)
 
#define USB_OTG_DCTL_POPRGDNE   ((uint32_t)0x00000800)
 
#define USB_OTG_DSTS_SUSPSTS   ((uint32_t)0x00000001)
 
#define USB_OTG_DSTS_ENUMSPD   ((uint32_t)0x00000006)
 
#define USB_OTG_DSTS_ENUMSPD_0   ((uint32_t)0x00000002)
 
#define USB_OTG_DSTS_ENUMSPD_1   ((uint32_t)0x00000004)
 
#define USB_OTG_DSTS_EERR   ((uint32_t)0x00000008)
 
#define USB_OTG_DSTS_FNSOF   ((uint32_t)0x003FFF00)
 
#define USB_OTG_DIEPMSK_XFRCM   ((uint32_t)0x00000001)
 
#define USB_OTG_DIEPMSK_EPDM   ((uint32_t)0x00000002)
 
#define USB_OTG_DIEPMSK_TOM   ((uint32_t)0x00000008)
 
#define USB_OTG_DIEPMSK_ITTXFEMSK   ((uint32_t)0x00000010)
 
#define USB_OTG_DIEPMSK_INEPNMM   ((uint32_t)0x00000020)
 
#define USB_OTG_DIEPMSK_INEPNEM   ((uint32_t)0x00000040)
 
#define USB_OTG_DIEPMSK_TXFURM   ((uint32_t)0x00000100)
 
#define USB_OTG_DIEPMSK_BIM   ((uint32_t)0x00000200)
 
#define USB_OTG_DOEPMSK_XFRCM   ((uint32_t)0x00000001)
 
#define USB_OTG_DOEPMSK_EPDM   ((uint32_t)0x00000002)
 
#define USB_OTG_DOEPMSK_STUPM   ((uint32_t)0x00000008)
 
#define USB_OTG_DOEPMSK_OTEPDM   ((uint32_t)0x00000010)
 
#define USB_OTG_DOEPMSK_B2BSTUP   ((uint32_t)0x00000040)
 
#define USB_OTG_DOEPMSK_OPEM   ((uint32_t)0x00000100)
 
#define USB_OTG_DOEPMSK_BOIM   ((uint32_t)0x00000200)
 
#define USB_OTG_DAINT_IEPINT   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_DAINT_OEPINT   ((uint32_t)0xFFFF0000)
 
#define USB_OTG_DAINTMSK_IEPM   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_DAINTMSK_OEPM   ((uint32_t)0xFFFF0000)
 
#define USB_OTG_DTHRCTL_NONISOTHREN   ((uint32_t)0x00000001)
 
#define USB_OTG_DTHRCTL_ISOTHREN   ((uint32_t)0x00000002)
 
#define USB_OTG_DTHRCTL_TXTHRLEN   ((uint32_t)0x000007FC)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_0   ((uint32_t)0x00000004)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_1   ((uint32_t)0x00000008)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_2   ((uint32_t)0x00000010)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_3   ((uint32_t)0x00000020)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_4   ((uint32_t)0x00000040)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_5   ((uint32_t)0x00000080)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_6   ((uint32_t)0x00000100)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_7   ((uint32_t)0x00000200)
 
#define USB_OTG_DTHRCTL_TXTHRLEN_8   ((uint32_t)0x00000400)
 
#define USB_OTG_DTHRCTL_RXTHREN   ((uint32_t)0x00010000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN   ((uint32_t)0x03FE0000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_0   ((uint32_t)0x00020000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_1   ((uint32_t)0x00040000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_2   ((uint32_t)0x00080000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_3   ((uint32_t)0x00100000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_4   ((uint32_t)0x00200000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_5   ((uint32_t)0x00400000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_6   ((uint32_t)0x00800000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_7   ((uint32_t)0x01000000)
 
#define USB_OTG_DTHRCTL_RXTHRLEN_8   ((uint32_t)0x02000000)
 
#define USB_OTG_DTHRCTL_ARPEN   ((uint32_t)0x08000000)
 
#define USB_OTG_DIEPEMPMSK_INEPTXFEM   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_DEACHINT_IEP1INT   ((uint32_t)0x00000002)
 
#define USB_OTG_DEACHINT_OEP1INT   ((uint32_t)0x00020000)
 
#define USB_OTG_DEACHINT_IEP1INT   ((uint32_t)0x00000002)
 
#define USB_OTG_DEACHINT_OEP1INT   ((uint32_t)0x00020000)
 
#define USB_OTG_DEACHINTMSK_IEP1INTM   ((uint32_t)0x00000002)
 
#define USB_OTG_DEACHINTMSK_OEP1INTM   ((uint32_t)0x00020000)
 
#define USB_OTG_HCFG_FSLSPCS   ((uint32_t)0x00000003)
 
#define USB_OTG_HCFG_FSLSPCS_0   ((uint32_t)0x00000001)
 
#define USB_OTG_HCFG_FSLSPCS_1   ((uint32_t)0x00000002)
 
#define USB_OTG_HCFG_FSLSS   ((uint32_t)0x00000004)
 
#define USB_OTG_HFIR_FRIVL   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_HFNUM_FRNUM   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_HFNUM_FTREM   ((uint32_t)0xFFFF0000)
 
#define USB_OTG_HPTXSTS_PTXFSAVL   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_HPTXSTS_PTXQSAV   ((uint32_t)0x00FF0000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_0   ((uint32_t)0x00010000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_1   ((uint32_t)0x00020000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_2   ((uint32_t)0x00040000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_3   ((uint32_t)0x00080000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_4   ((uint32_t)0x00100000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_5   ((uint32_t)0x00200000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_6   ((uint32_t)0x00400000)
 
#define USB_OTG_HPTXSTS_PTXQSAV_7   ((uint32_t)0x00800000)
 
#define USB_OTG_HPTXSTS_PTXQTOP   ((uint32_t)0xFF000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_0   ((uint32_t)0x01000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_1   ((uint32_t)0x02000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_2   ((uint32_t)0x04000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_3   ((uint32_t)0x08000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_4   ((uint32_t)0x10000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_5   ((uint32_t)0x20000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_6   ((uint32_t)0x40000000)
 
#define USB_OTG_HPTXSTS_PTXQTOP_7   ((uint32_t)0x80000000)
 
#define USB_OTG_HAINT_HAINT   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_HAINTMSK_HAINTM   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_HPRT_PCSTS   ((uint32_t)0x00000001)
 
#define USB_OTG_HPRT_PCDET   ((uint32_t)0x00000002)
 
#define USB_OTG_HPRT_PENA   ((uint32_t)0x00000004)
 
#define USB_OTG_HPRT_PENCHNG   ((uint32_t)0x00000008)
 
#define USB_OTG_HPRT_POCA   ((uint32_t)0x00000010)
 
#define USB_OTG_HPRT_POCCHNG   ((uint32_t)0x00000020)
 
#define USB_OTG_HPRT_PRES   ((uint32_t)0x00000040)
 
#define USB_OTG_HPRT_PSUSP   ((uint32_t)0x00000080)
 
#define USB_OTG_HPRT_PRST   ((uint32_t)0x00000100)
 
#define USB_OTG_HPRT_PLSTS   ((uint32_t)0x00000C00)
 
#define USB_OTG_HPRT_PLSTS_0   ((uint32_t)0x00000400)
 
#define USB_OTG_HPRT_PLSTS_1   ((uint32_t)0x00000800)
 
#define USB_OTG_HPRT_PPWR   ((uint32_t)0x00001000)
 
#define USB_OTG_HPRT_PTCTL   ((uint32_t)0x0001E000)
 
#define USB_OTG_HPRT_PTCTL_0   ((uint32_t)0x00002000)
 
#define USB_OTG_HPRT_PTCTL_1   ((uint32_t)0x00004000)
 
#define USB_OTG_HPRT_PTCTL_2   ((uint32_t)0x00008000)
 
#define USB_OTG_HPRT_PTCTL_3   ((uint32_t)0x00010000)
 
#define USB_OTG_HPRT_PSPD   ((uint32_t)0x00060000)
 
#define USB_OTG_HPRT_PSPD_0   ((uint32_t)0x00020000)
 
#define USB_OTG_HPRT_PSPD_1   ((uint32_t)0x00040000)
 
#define USB_OTG_HCCHAR_MPSIZ   ((uint32_t)0x000007FF)
 
#define USB_OTG_HCCHAR_EPNUM   ((uint32_t)0x00007800)
 
#define USB_OTG_HCCHAR_EPNUM_0   ((uint32_t)0x00000800)
 
#define USB_OTG_HCCHAR_EPNUM_1   ((uint32_t)0x00001000)
 
#define USB_OTG_HCCHAR_EPNUM_2   ((uint32_t)0x00002000)
 
#define USB_OTG_HCCHAR_EPNUM_3   ((uint32_t)0x00004000)
 
#define USB_OTG_HCCHAR_EPDIR   ((uint32_t)0x00008000)
 
#define USB_OTG_HCCHAR_LSDEV   ((uint32_t)0x00020000)
 
#define USB_OTG_HCCHAR_EPTYP   ((uint32_t)0x000C0000)
 
#define USB_OTG_HCCHAR_EPTYP_0   ((uint32_t)0x00040000)
 
#define USB_OTG_HCCHAR_EPTYP_1   ((uint32_t)0x00080000)
 
#define USB_OTG_HCCHAR_MC   ((uint32_t)0x00300000)
 
#define USB_OTG_HCCHAR_MC_0   ((uint32_t)0x00100000)
 
#define USB_OTG_HCCHAR_MC_1   ((uint32_t)0x00200000)
 
#define USB_OTG_HCCHAR_DAD   ((uint32_t)0x1FC00000)
 
#define USB_OTG_HCCHAR_DAD_0   ((uint32_t)0x00400000)
 
#define USB_OTG_HCCHAR_DAD_1   ((uint32_t)0x00800000)
 
#define USB_OTG_HCCHAR_DAD_2   ((uint32_t)0x01000000)
 
#define USB_OTG_HCCHAR_DAD_3   ((uint32_t)0x02000000)
 
#define USB_OTG_HCCHAR_DAD_4   ((uint32_t)0x04000000)
 
#define USB_OTG_HCCHAR_DAD_5   ((uint32_t)0x08000000)
 
#define USB_OTG_HCCHAR_DAD_6   ((uint32_t)0x10000000)
 
#define USB_OTG_HCCHAR_ODDFRM   ((uint32_t)0x20000000)
 
#define USB_OTG_HCCHAR_CHDIS   ((uint32_t)0x40000000)
 
#define USB_OTG_HCCHAR_CHENA   ((uint32_t)0x80000000)
 
#define USB_OTG_HCSPLT_PRTADDR   ((uint32_t)0x0000007F)
 
#define USB_OTG_HCSPLT_PRTADDR_0   ((uint32_t)0x00000001)
 
#define USB_OTG_HCSPLT_PRTADDR_1   ((uint32_t)0x00000002)
 
#define USB_OTG_HCSPLT_PRTADDR_2   ((uint32_t)0x00000004)
 
#define USB_OTG_HCSPLT_PRTADDR_3   ((uint32_t)0x00000008)
 
#define USB_OTG_HCSPLT_PRTADDR_4   ((uint32_t)0x00000010)
 
#define USB_OTG_HCSPLT_PRTADDR_5   ((uint32_t)0x00000020)
 
#define USB_OTG_HCSPLT_PRTADDR_6   ((uint32_t)0x00000040)
 
#define USB_OTG_HCSPLT_HUBADDR   ((uint32_t)0x00003F80)
 
#define USB_OTG_HCSPLT_HUBADDR_0   ((uint32_t)0x00000080)
 
#define USB_OTG_HCSPLT_HUBADDR_1   ((uint32_t)0x00000100)
 
#define USB_OTG_HCSPLT_HUBADDR_2   ((uint32_t)0x00000200)
 
#define USB_OTG_HCSPLT_HUBADDR_3   ((uint32_t)0x00000400)
 
#define USB_OTG_HCSPLT_HUBADDR_4   ((uint32_t)0x00000800)
 
#define USB_OTG_HCSPLT_HUBADDR_5   ((uint32_t)0x00001000)
 
#define USB_OTG_HCSPLT_HUBADDR_6   ((uint32_t)0x00002000)
 
#define USB_OTG_HCSPLT_XACTPOS   ((uint32_t)0x0000C000)
 
#define USB_OTG_HCSPLT_XACTPOS_0   ((uint32_t)0x00004000)
 
#define USB_OTG_HCSPLT_XACTPOS_1   ((uint32_t)0x00008000)
 
#define USB_OTG_HCSPLT_COMPLSPLT   ((uint32_t)0x00010000)
 
#define USB_OTG_HCSPLT_SPLITEN   ((uint32_t)0x80000000)
 
#define USB_OTG_HCINT_XFRC   ((uint32_t)0x00000001)
 
#define USB_OTG_HCINT_CHH   ((uint32_t)0x00000002)
 
#define USB_OTG_HCINT_AHBERR   ((uint32_t)0x00000004)
 
#define USB_OTG_HCINT_STALL   ((uint32_t)0x00000008)
 
#define USB_OTG_HCINT_NAK   ((uint32_t)0x00000010)
 
#define USB_OTG_HCINT_ACK   ((uint32_t)0x00000020)
 
#define USB_OTG_HCINT_NYET   ((uint32_t)0x00000040)
 
#define USB_OTG_HCINT_TXERR   ((uint32_t)0x00000080)
 
#define USB_OTG_HCINT_BBERR   ((uint32_t)0x00000100)
 
#define USB_OTG_HCINT_FRMOR   ((uint32_t)0x00000200)
 
#define USB_OTG_HCINT_DTERR   ((uint32_t)0x00000400)
 
#define USB_OTG_HCINTMSK_XFRCM   ((uint32_t)0x00000001)
 
#define USB_OTG_HCINTMSK_CHHM   ((uint32_t)0x00000002)
 
#define USB_OTG_HCINTMSK_AHBERR   ((uint32_t)0x00000004)
 
#define USB_OTG_HCINTMSK_STALLM   ((uint32_t)0x00000008)
 
#define USB_OTG_HCINTMSK_NAKM   ((uint32_t)0x00000010)
 
#define USB_OTG_HCINTMSK_ACKM   ((uint32_t)0x00000020)
 
#define USB_OTG_HCINTMSK_NYET   ((uint32_t)0x00000040)
 
#define USB_OTG_HCINTMSK_TXERRM   ((uint32_t)0x00000080)
 
#define USB_OTG_HCINTMSK_BBERRM   ((uint32_t)0x00000100)
 
#define USB_OTG_HCINTMSK_FRMORM   ((uint32_t)0x00000200)
 
#define USB_OTG_HCINTMSK_DTERRM   ((uint32_t)0x00000400)
 
#define USB_OTG_HCTSIZ_XFRSIZ   ((uint32_t)0x0007FFFF)
 
#define USB_OTG_HCTSIZ_PKTCNT   ((uint32_t)0x1FF80000)
 
#define USB_OTG_HCTSIZ_DOPING   ((uint32_t)0x80000000)
 
#define USB_OTG_HCTSIZ_DPID   ((uint32_t)0x60000000)
 
#define USB_OTG_HCTSIZ_DPID_0   ((uint32_t)0x20000000)
 
#define USB_OTG_HCTSIZ_DPID_1   ((uint32_t)0x40000000)
 
#define USB_OTG_HCDMA_DMAADDR   ((uint32_t)0xFFFFFFFF)
 
#define USB_OTG_DIEPCTL_MPSIZ   ((uint32_t)0x000007FF)
 
#define USB_OTG_DIEPCTL_USBAEP   ((uint32_t)0x00008000)
 
#define USB_OTG_DIEPCTL_EONUM_DPID   ((uint32_t)0x00010000)
 
#define USB_OTG_DIEPCTL_NAKSTS   ((uint32_t)0x00020000)
 
#define USB_OTG_DIEPCTL_EPTYP   ((uint32_t)0x000C0000)
 
#define USB_OTG_DIEPCTL_EPTYP_0   ((uint32_t)0x00040000)
 
#define USB_OTG_DIEPCTL_EPTYP_1   ((uint32_t)0x00080000)
 
#define USB_OTG_DIEPCTL_STALL   ((uint32_t)0x00200000)
 
#define USB_OTG_DIEPCTL_TXFNUM   ((uint32_t)0x03C00000)
 
#define USB_OTG_DIEPCTL_TXFNUM_0   ((uint32_t)0x00400000)
 
#define USB_OTG_DIEPCTL_TXFNUM_1   ((uint32_t)0x00800000)
 
#define USB_OTG_DIEPCTL_TXFNUM_2   ((uint32_t)0x01000000)
 
#define USB_OTG_DIEPCTL_TXFNUM_3   ((uint32_t)0x02000000)
 
#define USB_OTG_DIEPCTL_CNAK   ((uint32_t)0x04000000)
 
#define USB_OTG_DIEPCTL_SNAK   ((uint32_t)0x08000000)
 
#define USB_OTG_DIEPCTL_SD0PID_SEVNFRM   ((uint32_t)0x10000000)
 
#define USB_OTG_DIEPCTL_SODDFRM   ((uint32_t)0x20000000)
 
#define USB_OTG_DIEPCTL_EPDIS   ((uint32_t)0x40000000)
 
#define USB_OTG_DIEPCTL_EPENA   ((uint32_t)0x80000000)
 
#define USB_OTG_DIEPINT_XFRC   ((uint32_t)0x00000001)
 
#define USB_OTG_DIEPINT_EPDISD   ((uint32_t)0x00000002)
 
#define USB_OTG_DIEPINT_TOC   ((uint32_t)0x00000008)
 
#define USB_OTG_DIEPINT_ITTXFE   ((uint32_t)0x00000010)
 
#define USB_OTG_DIEPINT_INEPNE   ((uint32_t)0x00000040)
 
#define USB_OTG_DIEPINT_TXFE   ((uint32_t)0x00000080)
 
#define USB_OTG_DIEPINT_TXFIFOUDRN   ((uint32_t)0x00000100)
 
#define USB_OTG_DIEPINT_BNA   ((uint32_t)0x00000200)
 
#define USB_OTG_DIEPINT_PKTDRPSTS   ((uint32_t)0x00000800)
 
#define USB_OTG_DIEPINT_BERR   ((uint32_t)0x00001000)
 
#define USB_OTG_DIEPINT_NAK   ((uint32_t)0x00002000)
 
#define USB_OTG_DIEPTSIZ_XFRSIZ   ((uint32_t)0x0007FFFF)
 
#define USB_OTG_DIEPTSIZ_PKTCNT   ((uint32_t)0x1FF80000)
 
#define USB_OTG_DIEPTSIZ_MULCNT   ((uint32_t)0x60000000)
 
#define USB_OTG_DTXFSTS_INEPTFSAV   ((uint32_t)0x0000FFFF)
 
#define USB_OTG_DOEPCTL_MPSIZ   ((uint32_t)0x000007FF) /*!< Maximum packet size */
 
#define USB_OTG_DOEPCTL_USBAEP   ((uint32_t)0x00008000)
 
#define USB_OTG_DOEPCTL_NAKSTS   ((uint32_t)0x00020000)
 
#define USB_OTG_DOEPCTL_SD0PID_SEVNFRM   ((uint32_t)0x10000000)
 
#define USB_OTG_DOEPCTL_SODDFRM   ((uint32_t)0x20000000)
 
#define USB_OTG_DOEPCTL_EPTYP   ((uint32_t)0x000C0000)
 
#define USB_OTG_DOEPCTL_EPTYP_0   ((uint32_t)0x00040000)
 
#define USB_OTG_DOEPCTL_EPTYP_1   ((uint32_t)0x00080000)
 
#define USB_OTG_DOEPCTL_SNPM   ((uint32_t)0x00100000)
 
#define USB_OTG_DOEPCTL_STALL   ((uint32_t)0x00200000)
 
#define USB_OTG_DOEPCTL_CNAK   ((uint32_t)0x04000000)
 
#define USB_OTG_DOEPCTL_SNAK   ((uint32_t)0x08000000)
 
#define USB_OTG_DOEPCTL_EPDIS   ((uint32_t)0x40000000)
 
#define USB_OTG_DOEPCTL_EPENA   ((uint32_t)0x80000000)
 
#define USB_OTG_DOEPINT_XFRC   ((uint32_t)0x00000001)
 
#define USB_OTG_DOEPINT_EPDISD   ((uint32_t)0x00000002)
 
#define USB_OTG_DOEPINT_STUP   ((uint32_t)0x00000008)
 
#define USB_OTG_DOEPINT_OTEPDIS   ((uint32_t)0x00000010)
 
#define USB_OTG_DOEPINT_STSPHSERCVD   ((uint32_t)0x00000020)
 
#define USB_OTG_DOEPINT_B2BSTUP   ((uint32_t)0x00000040)
 
#define USB_OTG_DOEPINT_NYET   ((uint32_t)0x00004000)
 
#define USB_OTG_DOEPTSIZ_XFRSIZ   ((uint32_t)0x0007FFFF)
 
#define USB_OTG_DOEPTSIZ_PKTCNT   ((uint32_t)0x1FF80000)
 
#define USB_OTG_DOEPTSIZ_STUPCNT   ((uint32_t)0x60000000)
 
#define USB_OTG_DOEPTSIZ_STUPCNT_0   ((uint32_t)0x20000000)
 
#define USB_OTG_DOEPTSIZ_STUPCNT_1   ((uint32_t)0x40000000)
 
#define USB_OTG_PCGCCTL_STOPCLK   ((uint32_t)0x00000001)
 
#define USB_OTG_PCGCCTL_GATECLK   ((uint32_t)0x00000002)
 
#define USB_OTG_PCGCCTL_PHYSUSP   ((uint32_t)0x00000010)
 

Detailed Description

This file contains the data structures for accessing the DWC_otg core registers.

The application interfaces with the HS OTG core by reading from and writing to the Control and Status Register (CSR) space through the AHB Slave interface. These registers are 32 bits wide, and the addresses are 32-bit-block aligned. CSRs are classified as follows:

Only the Core Global registers can be accessed in both Device and Host modes. When the HS OTG core is operating in one mode, either Device or Host, the application must not access registers from the other mode. When the core switches from one mode to another, the registers in the new mode of operation must be reprogrammed as they would be after a power-on reset.

Macro Definition Documentation

◆ MAX_PERIO_FIFOS

#define MAX_PERIO_FIFOS   15

Maximum number of Periodic FIFOs

◆ MAX_TX_FIFOS

#define MAX_TX_FIFOS   15

Maximum number of Periodic FIFOs

◆ MAX_EPS_CHANNELS

#define MAX_EPS_CHANNELS   16

Maximum number of Endpoints/HostChannels

◆ USB_OTG_GOTGCTL_SRQSCS

#define USB_OTG_GOTGCTL_SRQSCS   ((uint32_t)0x00000001)

Session request success

◆ USB_OTG_GOTGCTL_SRQ

#define USB_OTG_GOTGCTL_SRQ   ((uint32_t)0x00000002)

Session request

◆ USB_OTG_GOTGCTL_VBVALOEN

#define USB_OTG_GOTGCTL_VBVALOEN   ((uint32_t)0x00000004)

VBUS valid override enable

◆ USB_OTG_GOTGCTL_VBVALOVAL

#define USB_OTG_GOTGCTL_VBVALOVAL   ((uint32_t)0x00000008)

VBUS valid override value

◆ USB_OTG_GOTGCTL_AVALOEN

#define USB_OTG_GOTGCTL_AVALOEN   ((uint32_t)0x00000010)

A-peripheral session valid override enable

◆ USB_OTG_GOTGCTL_AVALOVAL

#define USB_OTG_GOTGCTL_AVALOVAL   ((uint32_t)0x00000020)

A-peripheral session valid override value

◆ USB_OTG_GOTGCTL_BVALOEN

#define USB_OTG_GOTGCTL_BVALOEN   ((uint32_t)0x00000040)

B-peripheral session valid override enable

◆ USB_OTG_GOTGCTL_BVALOVAL

#define USB_OTG_GOTGCTL_BVALOVAL   ((uint32_t)0x00000080)

B-peripheral session valid override value

◆ USB_OTG_GOTGCTL_HNGSCS

#define USB_OTG_GOTGCTL_HNGSCS   ((uint32_t)0x00000100)

Host set HNP enable

◆ USB_OTG_GOTGCTL_HNPRQ

#define USB_OTG_GOTGCTL_HNPRQ   ((uint32_t)0x00000200)

HNP request

◆ USB_OTG_GOTGCTL_HSHNPEN

#define USB_OTG_GOTGCTL_HSHNPEN   ((uint32_t)0x00000400)

Host set HNP enable

◆ USB_OTG_GOTGCTL_DHNPEN

#define USB_OTG_GOTGCTL_DHNPEN   ((uint32_t)0x00000800)

Device HNP enabled

◆ USB_OTG_GOTGCTL_EHEN

#define USB_OTG_GOTGCTL_EHEN   ((uint32_t)0x00001000)

Embedded host enable

◆ USB_OTG_GOTGCTL_CIDSTS

#define USB_OTG_GOTGCTL_CIDSTS   ((uint32_t)0x00010000)

Connector ID status

◆ USB_OTG_GOTGCTL_DBCT

#define USB_OTG_GOTGCTL_DBCT   ((uint32_t)0x00020000)

Long/short debounce time

◆ USB_OTG_GOTGCTL_ASVLD

#define USB_OTG_GOTGCTL_ASVLD   ((uint32_t)0x00040000)

A-session valid

◆ USB_OTG_GOTGCTL_BSESVLD

#define USB_OTG_GOTGCTL_BSESVLD   ((uint32_t)0x00080000)

B-session valid

◆ USB_OTG_GOTGCTL_OTGVER

#define USB_OTG_GOTGCTL_OTGVER   ((uint32_t)0x00100000)

OTG version

◆ USB_OTG_GOTGCTL_MULTVALIDBC

#define USB_OTG_GOTGCTL_MULTVALIDBC   ((uint32_t)0x07c00000)

◆ USB_OTG_GOTGCTL_CHIRPEN

#define USB_OTG_GOTGCTL_CHIRPEN   ((uint32_t)0x08000000)

◆ USB_OTG_GOTGINT_SEDET

#define USB_OTG_GOTGINT_SEDET   ((uint32_t)0x00000004)

Session end detected

◆ USB_OTG_GOTGINT_SRSSCHG

#define USB_OTG_GOTGINT_SRSSCHG   ((uint32_t)0x00000100)

Session request success status change

◆ USB_OTG_GOTGINT_HNSSCHG

#define USB_OTG_GOTGINT_HNSSCHG   ((uint32_t)0x00000200)

Host negotiation success status change

◆ USB_OTG_GOTGINT_HNGDET

#define USB_OTG_GOTGINT_HNGDET   ((uint32_t)0x00020000)

Host negotiation detected

◆ USB_OTG_GOTGINT_ADTOCHG

#define USB_OTG_GOTGINT_ADTOCHG   ((uint32_t)0x00040000)

A-device timeout change

◆ USB_OTG_GOTGINT_DBCDNE

#define USB_OTG_GOTGINT_DBCDNE   ((uint32_t)0x00080000)

Debounce done

◆ USB_OTG_GOTGINT_IDCHNG

#define USB_OTG_GOTGINT_IDCHNG   ((uint32_t)0x00100000)

Change in ID pin input value

◆ USB_OTG_GAHBCFG_GINT

#define USB_OTG_GAHBCFG_GINT   ((uint32_t)0x00000001)

Global interrupt mask

◆ USB_OTG_GAHBCFG_HBSTLEN

#define USB_OTG_GAHBCFG_HBSTLEN   ((uint32_t)0x0000001E)

Burst length/type

◆ USB_OTG_GAHBCFG_HBSTLEN_0

#define USB_OTG_GAHBCFG_HBSTLEN_0   ((uint32_t)0x00000002)

Bit 0

◆ USB_OTG_GAHBCFG_HBSTLEN_1

#define USB_OTG_GAHBCFG_HBSTLEN_1   ((uint32_t)0x00000004)

Bit 1

◆ USB_OTG_GAHBCFG_HBSTLEN_2

#define USB_OTG_GAHBCFG_HBSTLEN_2   ((uint32_t)0x00000008)

Bit 2

◆ USB_OTG_GAHBCFG_HBSTLEN_3

#define USB_OTG_GAHBCFG_HBSTLEN_3   ((uint32_t)0x00000010)

Bit 3

◆ USB_OTG_GAHBCFG_DMAEN

#define USB_OTG_GAHBCFG_DMAEN   ((uint32_t)0x00000020)

DMA enable

◆ USB_OTG_GAHBCFG_TXFELVL

#define USB_OTG_GAHBCFG_TXFELVL   ((uint32_t)0x00000080)

TxFIFO empty level

◆ USB_OTG_GAHBCFG_PTXFELVL

#define USB_OTG_GAHBCFG_PTXFELVL   ((uint32_t)0x00000100)

Periodic TxFIFO empty level

◆ USB_OTG_GAHBCFG_REMMEMSUPP

#define USB_OTG_GAHBCFG_REMMEMSUPP   ((uint32_t)0x00200000)

◆ USB_OTG_GAHBCFG_NOTIALLDMAWRIT

#define USB_OTG_GAHBCFG_NOTIALLDMAWRIT   ((uint32_t)0x00400000)

◆ USB_OTG_GAHBCFG_AHBSINGLE

#define USB_OTG_GAHBCFG_AHBSINGLE   ((uint32_t)0x00800000)

◆ USB_OTG_GUSBCFG_TOCAL

#define USB_OTG_GUSBCFG_TOCAL   ((uint32_t)0x00000007)

FS timeout calibration

◆ USB_OTG_GUSBCFG_TOCAL_0

#define USB_OTG_GUSBCFG_TOCAL_0   ((uint32_t)0x00000001)

Bit 0

◆ USB_OTG_GUSBCFG_TOCAL_1

#define USB_OTG_GUSBCFG_TOCAL_1   ((uint32_t)0x00000002)

Bit 1

◆ USB_OTG_GUSBCFG_TOCAL_2

#define USB_OTG_GUSBCFG_TOCAL_2   ((uint32_t)0x00000004)

Bit 2

◆ USB_OTG_GUSBCFG_PHYIF

#define USB_OTG_GUSBCFG_PHYIF   ((uint32_t)0x00000008)

◆ USB_OTG_GUSBCFG_ULPI_UTMI_SEL

#define USB_OTG_GUSBCFG_ULPI_UTMI_SEL   ((uint32_t)0x00000010)

◆ USB_OTG_GUSBCFG_FSINTF

#define USB_OTG_GUSBCFG_FSINTF   ((uint32_t)0x00000020)

◆ USB_OTG_GUSBCFG_PHYSEL

#define USB_OTG_GUSBCFG_PHYSEL   ((uint32_t)0x00000040)

USB 2.0 high-speed ULPI PHY or USB 1.1 full-speed serial transceiver select

◆ USB_OTG_GUSBCFG_DDRSEL

#define USB_OTG_GUSBCFG_DDRSEL   ((uint32_t)0x00000080)

◆ USB_OTG_GUSBCFG_SRPCAP

#define USB_OTG_GUSBCFG_SRPCAP   ((uint32_t)0x00000100)

SRP-capable

◆ USB_OTG_GUSBCFG_HNPCAP

#define USB_OTG_GUSBCFG_HNPCAP   ((uint32_t)0x00000200)

HNP-capable

◆ USB_OTG_GUSBCFG_TRDT

#define USB_OTG_GUSBCFG_TRDT   ((uint32_t)0x00003C00)

USB turnaround time

◆ USB_OTG_GUSBCFG_TRDT_0

#define USB_OTG_GUSBCFG_TRDT_0   ((uint32_t)0x00000400)

Bit 0

◆ USB_OTG_GUSBCFG_TRDT_1

#define USB_OTG_GUSBCFG_TRDT_1   ((uint32_t)0x00000800)

Bit 1

◆ USB_OTG_GUSBCFG_TRDT_2

#define USB_OTG_GUSBCFG_TRDT_2   ((uint32_t)0x00001000)

Bit 2

◆ USB_OTG_GUSBCFG_TRDT_3

#define USB_OTG_GUSBCFG_TRDT_3   ((uint32_t)0x00002000)

Bit 3

◆ USB_OTG_GUSBCFG_PHYLPCS

#define USB_OTG_GUSBCFG_PHYLPCS   ((uint32_t)0x00008000)

PHY Low-power clock select

◆ USB_OTG_GUSBCFG_OTGUTMIFSSEL

#define USB_OTG_GUSBCFG_OTGUTMIFSSEL   ((uint32_t)0x00010000)

◆ USB_OTG_GUSBCFG_ULPIFSLS

#define USB_OTG_GUSBCFG_ULPIFSLS   ((uint32_t)0x00020000)

ULPI FS/LS select

◆ USB_OTG_GUSBCFG_ULPIAR

#define USB_OTG_GUSBCFG_ULPIAR   ((uint32_t)0x00040000)

ULPI Auto-resume

◆ USB_OTG_GUSBCFG_ULPICSM

#define USB_OTG_GUSBCFG_ULPICSM   ((uint32_t)0x00080000)

ULPI Clock SuspendM

◆ USB_OTG_GUSBCFG_ULPIEVBUSD

#define USB_OTG_GUSBCFG_ULPIEVBUSD   ((uint32_t)0x00100000)

ULPI External VBUS Drive

◆ USB_OTG_GUSBCFG_ULPIEVBUSI

#define USB_OTG_GUSBCFG_ULPIEVBUSI   ((uint32_t)0x00200000)

ULPI external VBUS indicator

◆ USB_OTG_GUSBCFG_TSDPS

#define USB_OTG_GUSBCFG_TSDPS   ((uint32_t)0x00400000)

TermSel DLine pulsing selection

◆ USB_OTG_GUSBCFG_PCCI

#define USB_OTG_GUSBCFG_PCCI   ((uint32_t)0x00800000)

Indicator complement

◆ USB_OTG_GUSBCFG_PTCI

#define USB_OTG_GUSBCFG_PTCI   ((uint32_t)0x01000000)

Indicator pass through

◆ USB_OTG_GUSBCFG_ULPIIPD

#define USB_OTG_GUSBCFG_ULPIIPD   ((uint32_t)0x02000000)

ULPI interface protect disable

◆ USB_OTG_GUSBCFG_IC_USB_CAP

#define USB_OTG_GUSBCFG_IC_USB_CAP   ((uint32_t)0x04000000)

◆ USB_OTG_GUSBCFG_IC_TRAFFIC_PULL_REMOVE

#define USB_OTG_GUSBCFG_IC_TRAFFIC_PULL_REMOVE   ((uint32_t)0x08000000)

◆ USB_OTG_GUSBCFG_TX_END_DELAY

#define USB_OTG_GUSBCFG_TX_END_DELAY   ((uint32_t)0x10000000)

◆ USB_OTG_GUSBCFG_FHMOD

#define USB_OTG_GUSBCFG_FHMOD   ((uint32_t)0x20000000)

Forced host mode

◆ USB_OTG_GUSBCFG_FDMOD

#define USB_OTG_GUSBCFG_FDMOD   ((uint32_t)0x40000000)

Forced peripheral mode

◆ USB_OTG_GUSBCFG_CTXPKT

#define USB_OTG_GUSBCFG_CTXPKT   ((uint32_t)0x80000000)

Corrupt Tx packet

◆ USB_OTG_GRSTCTL_CSRST

#define USB_OTG_GRSTCTL_CSRST   ((uint32_t)0x00000001)

Core soft reset

◆ USB_OTG_GRSTCTL_HSRST

#define USB_OTG_GRSTCTL_HSRST   ((uint32_t)0x00000002)

HCLK soft reset

◆ USB_OTG_GRSTCTL_FCRST

#define USB_OTG_GRSTCTL_FCRST   ((uint32_t)0x00000004)

Host frame counter reset

◆ USB_OTG_GRSTCTL_INTKNGFLSH

#define USB_OTG_GRSTCTL_INTKNGFLSH   ((uint32_t)0x00000008)

◆ USB_OTG_GRSTCTL_RXFFLSH

#define USB_OTG_GRSTCTL_RXFFLSH   ((uint32_t)0x00000010)

RxFIFO flush

◆ USB_OTG_GRSTCTL_TXFFLSH

#define USB_OTG_GRSTCTL_TXFFLSH   ((uint32_t)0x00000020)

TxFIFO flush

◆ USB_OTG_GRSTCTL_TXFNUM

#define USB_OTG_GRSTCTL_TXFNUM   ((uint32_t)0x000007C0)

TxFIFO number

◆ USB_OTG_GRSTCTL_TXFNUM_0

#define USB_OTG_GRSTCTL_TXFNUM_0   ((uint32_t)0x00000040)

Bit 0

◆ USB_OTG_GRSTCTL_TXFNUM_1

#define USB_OTG_GRSTCTL_TXFNUM_1   ((uint32_t)0x00000080)

Bit 1

◆ USB_OTG_GRSTCTL_TXFNUM_2

#define USB_OTG_GRSTCTL_TXFNUM_2   ((uint32_t)0x00000100)

Bit 2

◆ USB_OTG_GRSTCTL_TXFNUM_3

#define USB_OTG_GRSTCTL_TXFNUM_3   ((uint32_t)0x00000200)

Bit 3

◆ USB_OTG_GRSTCTL_TXFNUM_4

#define USB_OTG_GRSTCTL_TXFNUM_4   ((uint32_t)0x00000400)

Bit 4

◆ USB_OTG_GRSTCTL_DMAREQ

#define USB_OTG_GRSTCTL_DMAREQ   ((uint32_t)0x40000000)

DMA request signal

◆ USB_OTG_GRSTCTL_AHBIDL

#define USB_OTG_GRSTCTL_AHBIDL   ((uint32_t)0x80000000)

AHB master idle

◆ USB_OTG_GINTSTS_CMOD

#define USB_OTG_GINTSTS_CMOD   ((uint32_t)0x00000001)

Current mode of operation

◆ USB_OTG_GINTSTS_MMIS

#define USB_OTG_GINTSTS_MMIS   ((uint32_t)0x00000002)

Mode mismatch interrupt

◆ USB_OTG_GINTSTS_OTGINT

#define USB_OTG_GINTSTS_OTGINT   ((uint32_t)0x00000004)

OTG interrupt

◆ USB_OTG_GINTSTS_SOF

#define USB_OTG_GINTSTS_SOF   ((uint32_t)0x00000008)

Start of frame

◆ USB_OTG_GINTSTS_RXFLVL

#define USB_OTG_GINTSTS_RXFLVL   ((uint32_t)0x00000010)

RxFIFO nonempty

◆ USB_OTG_GINTSTS_NPTXFE

#define USB_OTG_GINTSTS_NPTXFE   ((uint32_t)0x00000020)

Nonperiodic TxFIFO empty

◆ USB_OTG_GINTSTS_GINAKEFF

#define USB_OTG_GINTSTS_GINAKEFF   ((uint32_t)0x00000040)

Global IN nonperiodic NAK effective

◆ USB_OTG_GINTSTS_BOUTNAKEFF

#define USB_OTG_GINTSTS_BOUTNAKEFF   ((uint32_t)0x00000080)

Global OUT NAK effective

◆ USB_OTG_GINTSTS_ULPICKINT

#define USB_OTG_GINTSTS_ULPICKINT   ((uint32_t)0x00000100)

◆ USB_OTG_GINTSTS_I2CINTR

#define USB_OTG_GINTSTS_I2CINTR   ((uint32_t)0x00000200)

◆ USB_OTG_GINTSTS_ESUSP

#define USB_OTG_GINTSTS_ESUSP   ((uint32_t)0x00000400)

Early suspend

◆ USB_OTG_GINTSTS_USBSUSP

#define USB_OTG_GINTSTS_USBSUSP   ((uint32_t)0x00000800)

USB suspend

◆ USB_OTG_GINTSTS_USBRST

#define USB_OTG_GINTSTS_USBRST   ((uint32_t)0x00001000)

USB reset

◆ USB_OTG_GINTSTS_ENUMDNE

#define USB_OTG_GINTSTS_ENUMDNE   ((uint32_t)0x00002000)

Enumeration done

◆ USB_OTG_GINTSTS_ISOODRP

#define USB_OTG_GINTSTS_ISOODRP   ((uint32_t)0x00004000)

Isochronous OUT packet dropped interrupt

◆ USB_OTG_GINTSTS_EOPF

#define USB_OTG_GINTSTS_EOPF   ((uint32_t)0x00008000)

End of periodic frame interrupt

◆ USB_OTG_GINTSTS_RESTOREDONE

#define USB_OTG_GINTSTS_RESTOREDONE   ((uint32_t)0x00010000)

◆ USB_OTG_GINTSTS_EPMISMATCH

#define USB_OTG_GINTSTS_EPMISMATCH   ((uint32_t)0x00020000)

◆ USB_OTG_GINTSTS_IEPINT

#define USB_OTG_GINTSTS_IEPINT   ((uint32_t)0x00040000)

IN endpoint interrupt

◆ USB_OTG_GINTSTS_OEPINT

#define USB_OTG_GINTSTS_OEPINT   ((uint32_t)0x00080000)

OUT endpoint interrupt

◆ USB_OTG_GINTSTS_IISOIXFR

#define USB_OTG_GINTSTS_IISOIXFR   ((uint32_t)0x00100000)

Incomplete isochronous IN transfer

◆ USB_OTG_GINTSTS_PXFR_INCOMPISOOUT

#define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT   ((uint32_t)0x00200000)

Incomplete periodic transfer

◆ USB_OTG_GINTSTS_DATAFSUSP

#define USB_OTG_GINTSTS_DATAFSUSP   ((uint32_t)0x00400000)

Data fetch suspended

◆ USB_OTG_GINTSTS_RSTDET

#define USB_OTG_GINTSTS_RSTDET   ((uint32_t)0x00800000)

Reset detected interrupt

◆ USB_OTG_GINTSTS_HPRTINT

#define USB_OTG_GINTSTS_HPRTINT   ((uint32_t)0x01000000)

Host port interrupt

◆ USB_OTG_GINTSTS_HCINT

#define USB_OTG_GINTSTS_HCINT   ((uint32_t)0x02000000)

Host channels interrupt

◆ USB_OTG_GINTSTS_PTXFE

#define USB_OTG_GINTSTS_PTXFE   ((uint32_t)0x04000000)

Periodic TxFIFO empty

◆ USB_OTG_GINTSTS_LPMINT

#define USB_OTG_GINTSTS_LPMINT   ((uint32_t)0x08000000)

LPM interrupt

◆ USB_OTG_GINTSTS_CIDSCHG

#define USB_OTG_GINTSTS_CIDSCHG   ((uint32_t)0x10000000)

Connector ID status change

◆ USB_OTG_GINTSTS_DISCINT

#define USB_OTG_GINTSTS_DISCINT   ((uint32_t)0x20000000)

Disconnect detected interrupt

◆ USB_OTG_GINTSTS_SRQINT

#define USB_OTG_GINTSTS_SRQINT   ((uint32_t)0x40000000)

Session request/new session detected interrupt

◆ USB_OTG_GINTSTS_WKUINT

#define USB_OTG_GINTSTS_WKUINT   ((uint32_t)0x80000000)

Resume/remote wakeup detected interrupt

◆ USB_OTG_GINTMSK_MMISM

#define USB_OTG_GINTMSK_MMISM   ((uint32_t)0x00000002)

Mode mismatch interrupt mask

◆ USB_OTG_GINTMSK_OTGINT

#define USB_OTG_GINTMSK_OTGINT   ((uint32_t)0x00000004)

OTG interrupt mask

◆ USB_OTG_GINTMSK_SOFM

#define USB_OTG_GINTMSK_SOFM   ((uint32_t)0x00000008)

Start of frame mask

◆ USB_OTG_GINTMSK_RXFLVLM

#define USB_OTG_GINTMSK_RXFLVLM   ((uint32_t)0x00000010)

Receive FIFO nonempty mask

◆ USB_OTG_GINTMSK_NPTXFEM

#define USB_OTG_GINTMSK_NPTXFEM   ((uint32_t)0x00000020)

Nonperiodic TxFIFO empty mask

◆ USB_OTG_GINTMSK_GINAKEFFM

#define USB_OTG_GINTMSK_GINAKEFFM   ((uint32_t)0x00000040)

Global nonperiodic IN NAK effective mask

◆ USB_OTG_GINTMSK_GONAKEFFM

#define USB_OTG_GINTMSK_GONAKEFFM   ((uint32_t)0x00000080)

Global OUT NAK effective mask

◆ USB_OTG_GINTMSK_ESUSPM

#define USB_OTG_GINTMSK_ESUSPM   ((uint32_t)0x00000400)

Early suspend mask

◆ USB_OTG_GINTMSK_USBSUSPM

#define USB_OTG_GINTMSK_USBSUSPM   ((uint32_t)0x00000800)

USB suspend mask

◆ USB_OTG_GINTMSK_USBRST

#define USB_OTG_GINTMSK_USBRST   ((uint32_t)0x00001000)

USB reset mask

◆ USB_OTG_GINTMSK_ENUMDNEM

#define USB_OTG_GINTMSK_ENUMDNEM   ((uint32_t)0x00002000)

Enumeration done mask

◆ USB_OTG_GINTMSK_ISOODRPM

#define USB_OTG_GINTMSK_ISOODRPM   ((uint32_t)0x00004000)

Isochronous OUT packet dropped interrupt mask

◆ USB_OTG_GINTMSK_EOPFM

#define USB_OTG_GINTMSK_EOPFM   ((uint32_t)0x00008000)

End of periodic frame interrupt mask

◆ USB_OTG_GINTMSK_EPMISM

#define USB_OTG_GINTMSK_EPMISM   ((uint32_t)0x00020000)

Endpoint mismatch interrupt mask

◆ USB_OTG_GINTMSK_IEPINT

#define USB_OTG_GINTMSK_IEPINT   ((uint32_t)0x00040000)

IN endpoints interrupt mask

◆ USB_OTG_GINTMSK_OEPINT

#define USB_OTG_GINTMSK_OEPINT   ((uint32_t)0x00080000)

OUT endpoints interrupt mask

◆ USB_OTG_GINTMSK_IISOIXFRM

#define USB_OTG_GINTMSK_IISOIXFRM   ((uint32_t)0x00100000)

Incomplete isochronous IN transfer mask

◆ USB_OTG_GINTMSK_PXFRM_IISOOXFRM

#define USB_OTG_GINTMSK_PXFRM_IISOOXFRM   ((uint32_t)0x00200000)

Incomplete periodic transfer mask

◆ USB_OTG_GINTMSK_FSUSPM

#define USB_OTG_GINTMSK_FSUSPM   ((uint32_t)0x00400000)

Data fetch suspended mask

◆ USB_OTG_GINTMSK_RSTDEM

#define USB_OTG_GINTMSK_RSTDEM   ((uint32_t)0x00800000)

Reset detected interrupt mask

◆ USB_OTG_GINTMSK_PRTIM

#define USB_OTG_GINTMSK_PRTIM   ((uint32_t)0x01000000)

Host port interrupt mask

◆ USB_OTG_GINTMSK_HCIM

#define USB_OTG_GINTMSK_HCIM   ((uint32_t)0x02000000)

Host channels interrupt mask

◆ USB_OTG_GINTMSK_PTXFEM

#define USB_OTG_GINTMSK_PTXFEM   ((uint32_t)0x04000000)

Periodic TxFIFO empty mask

◆ USB_OTG_GINTMSK_LPMINTM

#define USB_OTG_GINTMSK_LPMINTM   ((uint32_t)0x08000000)

LPM interrupt Mask

◆ USB_OTG_GINTMSK_CIDSCHGM

#define USB_OTG_GINTMSK_CIDSCHGM   ((uint32_t)0x10000000)

Connector ID status change mask

◆ USB_OTG_GINTMSK_DISCINT

#define USB_OTG_GINTMSK_DISCINT   ((uint32_t)0x20000000)

Disconnect detected interrupt mask

◆ USB_OTG_GINTMSK_SRQIM

#define USB_OTG_GINTMSK_SRQIM   ((uint32_t)0x40000000)

Session request/new session detected interrupt mask

◆ USB_OTG_GINTMSK_WUIM

#define USB_OTG_GINTMSK_WUIM   ((uint32_t)0x80000000)

Resume/remote wakeup detected interrupt mask

◆ USB_OTG_GRXSTSP_EPNUM

#define USB_OTG_GRXSTSP_EPNUM   ((uint32_t)0x0000000F)

IN EP interrupt mask bits

◆ USB_OTG_GRXSTSP_BCNT

#define USB_OTG_GRXSTSP_BCNT   ((uint32_t)0x00007FF0)

OUT EP interrupt mask bits

◆ USB_OTG_GRXSTSP_DPID

#define USB_OTG_GRXSTSP_DPID   ((uint32_t)0x00018000)

OUT EP interrupt mask bits

◆ USB_OTG_GRXSTSP_PKTSTS

#define USB_OTG_GRXSTSP_PKTSTS   ((uint32_t)0x001E0000)

OUT EP interrupt mask bits

◆ USB_OTG_GRXFSIZ_RXFD

#define USB_OTG_GRXFSIZ_RXFD   ((uint32_t)0x0000FFFF)

RxFIFO depth

◆ USB_OTG_GNPTXSTS_NPTXFSAV

#define USB_OTG_GNPTXSTS_NPTXFSAV   ((uint32_t)0x0000FFFF)

Nonperiodic TxFIFO space available

◆ USB_OTG_GNPTXSTS_NPTQXSAV

#define USB_OTG_GNPTXSTS_NPTQXSAV   ((uint32_t)0x00FF0000)

Nonperiodic transmit request queue space available

◆ USB_OTG_GNPTXSTS_NPTQXSAV_0

#define USB_OTG_GNPTXSTS_NPTQXSAV_0   ((uint32_t)0x00010000)

Bit 0

◆ USB_OTG_GNPTXSTS_NPTQXSAV_1

#define USB_OTG_GNPTXSTS_NPTQXSAV_1   ((uint32_t)0x00020000)

Bit 1

◆ USB_OTG_GNPTXSTS_NPTQXSAV_2

#define USB_OTG_GNPTXSTS_NPTQXSAV_2   ((uint32_t)0x00040000)

Bit 2

◆ USB_OTG_GNPTXSTS_NPTQXSAV_3

#define USB_OTG_GNPTXSTS_NPTQXSAV_3   ((uint32_t)0x00080000)

Bit 3

◆ USB_OTG_GNPTXSTS_NPTQXSAV_4

#define USB_OTG_GNPTXSTS_NPTQXSAV_4   ((uint32_t)0x00100000)

Bit 4

◆ USB_OTG_GNPTXSTS_NPTQXSAV_5

#define USB_OTG_GNPTXSTS_NPTQXSAV_5   ((uint32_t)0x00200000)

Bit 5

◆ USB_OTG_GNPTXSTS_NPTQXSAV_6

#define USB_OTG_GNPTXSTS_NPTQXSAV_6   ((uint32_t)0x00400000)

Bit 6

◆ USB_OTG_GNPTXSTS_NPTQXSAV_7

#define USB_OTG_GNPTXSTS_NPTQXSAV_7   ((uint32_t)0x00800000)

Bit 7

◆ USB_OTG_GNPTXSTS_NPTXQTOP

#define USB_OTG_GNPTXSTS_NPTXQTOP   ((uint32_t)0x7F000000)

Top of the nonperiodic transmit request queue

◆ USB_OTG_GNPTXSTS_NPTXQTOP_0

#define USB_OTG_GNPTXSTS_NPTXQTOP_0   ((uint32_t)0x01000000)

Bit 0

◆ USB_OTG_GNPTXSTS_NPTXQTOP_1

#define USB_OTG_GNPTXSTS_NPTXQTOP_1   ((uint32_t)0x02000000)

Bit 1

◆ USB_OTG_GNPTXSTS_NPTXQTOP_2

#define USB_OTG_GNPTXSTS_NPTXQTOP_2   ((uint32_t)0x04000000)

Bit 2

◆ USB_OTG_GNPTXSTS_NPTXQTOP_3

#define USB_OTG_GNPTXSTS_NPTXQTOP_3   ((uint32_t)0x08000000)

Bit 3

◆ USB_OTG_GNPTXSTS_NPTXQTOP_4

#define USB_OTG_GNPTXSTS_NPTXQTOP_4   ((uint32_t)0x10000000)

Bit 4

◆ USB_OTG_GNPTXSTS_NPTXQTOP_5

#define USB_OTG_GNPTXSTS_NPTXQTOP_5   ((uint32_t)0x20000000)

Bit 5

◆ USB_OTG_GNPTXSTS_NPTXQTOP_6

#define USB_OTG_GNPTXSTS_NPTXQTOP_6   ((uint32_t)0x40000000)

Bit 6

◆ USB_OTG_GCCFG_PWRDWN

#define USB_OTG_GCCFG_PWRDWN   ((uint32_t)0x00010000)

Power down

◆ USB_OTG_GCCFG_VBUSACEN

#define USB_OTG_GCCFG_VBUSACEN   ((uint32_t)0x00040000)

USB VBUS A-device Comparer Enable

◆ USB_OTG_GCCFG_VBUSBCEN

#define USB_OTG_GCCFG_VBUSBCEN   ((uint32_t)0x00080000)

USB VBUS B-device Comparer Enable

◆ USB_OTG_GCCFG_VBDEN

#define USB_OTG_GCCFG_VBDEN   ((uint32_t)0x00200000)

USB VBUS Detection Enable

◆ USB_OTG_GLPMCFG_LPMEN

#define USB_OTG_GLPMCFG_LPMEN   ((uint32_t)0x00000001)

LPM support enable

◆ USB_OTG_GLPMCFG_LPMACK

#define USB_OTG_GLPMCFG_LPMACK   ((uint32_t)0x00000002)

LPM Token acknowledge enable

◆ USB_OTG_GLPMCFG_BESL

#define USB_OTG_GLPMCFG_BESL   ((uint32_t)0x0000003C)

BESL value received with last ACKed LPM Token

◆ USB_OTG_GLPMCFG_REMWAKE

#define USB_OTG_GLPMCFG_REMWAKE   ((uint32_t)0x00000040)

bRemoteWake value received with last ACKed LPM Token

◆ USB_OTG_GLPMCFG_L1SSEN

#define USB_OTG_GLPMCFG_L1SSEN   ((uint32_t)0x00000080)

L1 shallow sleep enable

◆ USB_OTG_GLPMCFG_BESLTHRS

#define USB_OTG_GLPMCFG_BESLTHRS   ((uint32_t)0x00000F00)

BESL threshold

◆ USB_OTG_GLPMCFG_L1DSEN

#define USB_OTG_GLPMCFG_L1DSEN   ((uint32_t)0x00001000)

L1 deep sleep enable

◆ USB_OTG_GLPMCFG_LPMRSP

#define USB_OTG_GLPMCFG_LPMRSP   ((uint32_t)0x00006000)

LPM response

◆ USB_OTG_GLPMCFG_SLPSTS

#define USB_OTG_GLPMCFG_SLPSTS   ((uint32_t)0x00008000)

Port sleep status

◆ USB_OTG_GLPMCFG_L1RSMOK

#define USB_OTG_GLPMCFG_L1RSMOK   ((uint32_t)0x00010000)

Sleep State Resume OK

◆ USB_OTG_GLPMCFG_LPMCHIDX

#define USB_OTG_GLPMCFG_LPMCHIDX   ((uint32_t)0x001E0000)

LPM Channel Index

◆ USB_OTG_GLPMCFG_LPMRCNT

#define USB_OTG_GLPMCFG_LPMRCNT   ((uint32_t)0x00E00000)

LPM retry count

◆ USB_OTG_GLPMCFG_SNDLPM

#define USB_OTG_GLPMCFG_SNDLPM   ((uint32_t)0x01000000)

Send LPM transaction

◆ USB_OTG_GLPMCFG_LPMRCNTSTS

#define USB_OTG_GLPMCFG_LPMRCNTSTS   ((uint32_t)0x0E000000)

LPM retry count status

◆ USB_OTG_GLPMCFG_ENBESL

#define USB_OTG_GLPMCFG_ENBESL   ((uint32_t)0x10000000)

Enable best effort service latency

◆ USB_OTG_GPWRDN_ADPMEN

#define USB_OTG_GPWRDN_ADPMEN   ((uint32_t)0x00000001)

ADP module enable

◆ USB_OTG_GPWRDN_ADPIF

#define USB_OTG_GPWRDN_ADPIF   ((uint32_t)0x00800000)

ADP Interrupt flag

◆ USB_OTG_HPTXFSIZ_PTXSA

#define USB_OTG_HPTXFSIZ_PTXSA   ((uint32_t)0x0000FFFF)

Host periodic TxFIFO start address

◆ USB_OTG_HPTXFSIZ_PTXFD

#define USB_OTG_HPTXFSIZ_PTXFD   ((uint32_t)0xFFFF0000)

Host periodic TxFIFO depth

◆ USB_OTG_DVBUSDIS_VBUSDT

#define USB_OTG_DVBUSDIS_VBUSDT   ((uint32_t)0x0000FFFF)

Device VBUS discharge time

◆ USB_OTG_DVBUSPULSE_DVBUSP

#define USB_OTG_DVBUSPULSE_DVBUSP   ((uint32_t)0x00000FFF)

Device VBUS pulsing time

◆ USB_OTG_DIEPTXF_INEPTXSA

#define USB_OTG_DIEPTXF_INEPTXSA   ((uint32_t)0x0000FFFF)

IN endpoint FIFOx transmit RAM start address

◆ USB_OTG_DIEPTXF_INEPTXFD

#define USB_OTG_DIEPTXF_INEPTXFD   ((uint32_t)0xFFFF0000)

IN endpoint TxFIFO depth

◆ USB_OTG_DCFG_DSPD

#define USB_OTG_DCFG_DSPD   ((uint32_t)0x00000003)

Device speed

◆ USB_OTG_DCFG_DSPD_0

#define USB_OTG_DCFG_DSPD_0   ((uint32_t)0x00000001)

Bit 0

◆ USB_OTG_DCFG_DSPD_1

#define USB_OTG_DCFG_DSPD_1   ((uint32_t)0x00000002)

Bit 1

◆ USB_OTG_DCFG_NZLSOHSK

#define USB_OTG_DCFG_NZLSOHSK   ((uint32_t)0x00000004)

Nonzero-length status OUT handshake

◆ USB_OTG_DCFG_DAD

#define USB_OTG_DCFG_DAD   ((uint32_t)0x000007F0)

Device address

◆ USB_OTG_DCFG_DAD_0

#define USB_OTG_DCFG_DAD_0   ((uint32_t)0x00000010)

Bit 0

◆ USB_OTG_DCFG_DAD_1

#define USB_OTG_DCFG_DAD_1   ((uint32_t)0x00000020)

Bit 1

◆ USB_OTG_DCFG_DAD_2

#define USB_OTG_DCFG_DAD_2   ((uint32_t)0x00000040)

Bit 2

◆ USB_OTG_DCFG_DAD_3

#define USB_OTG_DCFG_DAD_3   ((uint32_t)0x00000080)

Bit 3

◆ USB_OTG_DCFG_DAD_4

#define USB_OTG_DCFG_DAD_4   ((uint32_t)0x00000100)

Bit 4

◆ USB_OTG_DCFG_DAD_5

#define USB_OTG_DCFG_DAD_5   ((uint32_t)0x00000200)

Bit 5

◆ USB_OTG_DCFG_DAD_6

#define USB_OTG_DCFG_DAD_6   ((uint32_t)0x00000400)

Bit 6

◆ USB_OTG_DCFG_PFIVL

#define USB_OTG_DCFG_PFIVL   ((uint32_t)0x00001800)

Periodic (micro)frame interval

◆ USB_OTG_DCFG_PFIVL_0

#define USB_OTG_DCFG_PFIVL_0   ((uint32_t)0x00000800)

Bit 0

◆ USB_OTG_DCFG_PFIVL_1

#define USB_OTG_DCFG_PFIVL_1   ((uint32_t)0x00001000)

Bit 1

◆ USB_OTG_DCFG_PERSCHIVL

#define USB_OTG_DCFG_PERSCHIVL   ((uint32_t)0x03000000)

Periodic scheduling interval

◆ USB_OTG_DCFG_PERSCHIVL_0

#define USB_OTG_DCFG_PERSCHIVL_0   ((uint32_t)0x01000000)

Bit 0

◆ USB_OTG_DCFG_PERSCHIVL_1

#define USB_OTG_DCFG_PERSCHIVL_1   ((uint32_t)0x02000000)

Bit 1

◆ USB_OTG_DCTL_RWUSIG

#define USB_OTG_DCTL_RWUSIG   ((uint32_t)0x00000001)

Remote wakeup signaling

◆ USB_OTG_DCTL_SDIS

#define USB_OTG_DCTL_SDIS   ((uint32_t)0x00000002)

Soft disconnect

◆ USB_OTG_DCTL_GINSTS

#define USB_OTG_DCTL_GINSTS   ((uint32_t)0x00000004)

Global IN NAK status

◆ USB_OTG_DCTL_GONSTS

#define USB_OTG_DCTL_GONSTS   ((uint32_t)0x00000008)

Global OUT NAK status

◆ USB_OTG_DCTL_TCTL

#define USB_OTG_DCTL_TCTL   ((uint32_t)0x00000070)

Test control

◆ USB_OTG_DCTL_TCTL_0

#define USB_OTG_DCTL_TCTL_0   ((uint32_t)0x00000010)

Bit 0

◆ USB_OTG_DCTL_TCTL_1

#define USB_OTG_DCTL_TCTL_1   ((uint32_t)0x00000020)

Bit 1

◆ USB_OTG_DCTL_TCTL_2

#define USB_OTG_DCTL_TCTL_2   ((uint32_t)0x00000040)

Bit 2

◆ USB_OTG_DCTL_SGINAK

#define USB_OTG_DCTL_SGINAK   ((uint32_t)0x00000080)

Set global IN NAK

◆ USB_OTG_DCTL_CGINAK

#define USB_OTG_DCTL_CGINAK   ((uint32_t)0x00000100)

Clear global IN NAK

◆ USB_OTG_DCTL_SGONAK

#define USB_OTG_DCTL_SGONAK   ((uint32_t)0x00000200)

Set global OUT NAK

◆ USB_OTG_DCTL_CGONAK

#define USB_OTG_DCTL_CGONAK   ((uint32_t)0x00000400)

Clear global OUT NAK

◆ USB_OTG_DCTL_POPRGDNE

#define USB_OTG_DCTL_POPRGDNE   ((uint32_t)0x00000800)

Power-on programming done

◆ USB_OTG_DSTS_SUSPSTS

#define USB_OTG_DSTS_SUSPSTS   ((uint32_t)0x00000001)

Suspend status

◆ USB_OTG_DSTS_ENUMSPD

#define USB_OTG_DSTS_ENUMSPD   ((uint32_t)0x00000006)

Enumerated speed

◆ USB_OTG_DSTS_ENUMSPD_0

#define USB_OTG_DSTS_ENUMSPD_0   ((uint32_t)0x00000002)

Bit 0

◆ USB_OTG_DSTS_ENUMSPD_1

#define USB_OTG_DSTS_ENUMSPD_1   ((uint32_t)0x00000004)

Bit 1

◆ USB_OTG_DSTS_EERR

#define USB_OTG_DSTS_EERR   ((uint32_t)0x00000008)

Erratic error

◆ USB_OTG_DSTS_FNSOF

#define USB_OTG_DSTS_FNSOF   ((uint32_t)0x003FFF00)

Frame number of the received SOF

◆ USB_OTG_DIEPMSK_XFRCM

#define USB_OTG_DIEPMSK_XFRCM   ((uint32_t)0x00000001)

Transfer completed interrupt mask

◆ USB_OTG_DIEPMSK_EPDM

#define USB_OTG_DIEPMSK_EPDM   ((uint32_t)0x00000002)

Endpoint disabled interrupt mask

◆ USB_OTG_DIEPMSK_TOM

#define USB_OTG_DIEPMSK_TOM   ((uint32_t)0x00000008)

Timeout condition mask (nonisochronous endpoints)

◆ USB_OTG_DIEPMSK_ITTXFEMSK

#define USB_OTG_DIEPMSK_ITTXFEMSK   ((uint32_t)0x00000010)

IN token received when TxFIFO empty mask

◆ USB_OTG_DIEPMSK_INEPNMM

#define USB_OTG_DIEPMSK_INEPNMM   ((uint32_t)0x00000020)

IN token received with EP mismatch mask

◆ USB_OTG_DIEPMSK_INEPNEM

#define USB_OTG_DIEPMSK_INEPNEM   ((uint32_t)0x00000040)

IN endpoint NAK effective mask

◆ USB_OTG_DIEPMSK_TXFURM

#define USB_OTG_DIEPMSK_TXFURM   ((uint32_t)0x00000100)

FIFO underrun mask

◆ USB_OTG_DIEPMSK_BIM

#define USB_OTG_DIEPMSK_BIM   ((uint32_t)0x00000200)

BNA interrupt mask

◆ USB_OTG_DOEPMSK_XFRCM

#define USB_OTG_DOEPMSK_XFRCM   ((uint32_t)0x00000001)

Transfer completed interrupt mask

◆ USB_OTG_DOEPMSK_EPDM

#define USB_OTG_DOEPMSK_EPDM   ((uint32_t)0x00000002)

Endpoint disabled interrupt mask

◆ USB_OTG_DOEPMSK_STUPM

#define USB_OTG_DOEPMSK_STUPM   ((uint32_t)0x00000008)

SETUP phase done mask

◆ USB_OTG_DOEPMSK_OTEPDM

#define USB_OTG_DOEPMSK_OTEPDM   ((uint32_t)0x00000010)

OUT token received when endpoint disabled mask

◆ USB_OTG_DOEPMSK_B2BSTUP

#define USB_OTG_DOEPMSK_B2BSTUP   ((uint32_t)0x00000040)

Back-to-back SETUP packets received mask

◆ USB_OTG_DOEPMSK_OPEM

#define USB_OTG_DOEPMSK_OPEM   ((uint32_t)0x00000100)

OUT packet error mask

◆ USB_OTG_DOEPMSK_BOIM

#define USB_OTG_DOEPMSK_BOIM   ((uint32_t)0x00000200)

BNA interrupt mask

◆ USB_OTG_DAINT_IEPINT

#define USB_OTG_DAINT_IEPINT   ((uint32_t)0x0000FFFF)

IN endpoint interrupt bits

◆ USB_OTG_DAINT_OEPINT

#define USB_OTG_DAINT_OEPINT   ((uint32_t)0xFFFF0000)

OUT endpoint interrupt bits

◆ USB_OTG_DAINTMSK_IEPM

#define USB_OTG_DAINTMSK_IEPM   ((uint32_t)0x0000FFFF)

IN EP interrupt mask bits

◆ USB_OTG_DAINTMSK_OEPM

#define USB_OTG_DAINTMSK_OEPM   ((uint32_t)0xFFFF0000)

OUT EP interrupt mask bits

◆ USB_OTG_DTHRCTL_NONISOTHREN

#define USB_OTG_DTHRCTL_NONISOTHREN   ((uint32_t)0x00000001)

Nonisochronous IN endpoints threshold enable

◆ USB_OTG_DTHRCTL_ISOTHREN

#define USB_OTG_DTHRCTL_ISOTHREN   ((uint32_t)0x00000002)

ISO IN endpoint threshold enable

◆ USB_OTG_DTHRCTL_TXTHRLEN

#define USB_OTG_DTHRCTL_TXTHRLEN   ((uint32_t)0x000007FC)

Transmit threshold length

◆ USB_OTG_DTHRCTL_TXTHRLEN_0

#define USB_OTG_DTHRCTL_TXTHRLEN_0   ((uint32_t)0x00000004)

Bit 0

◆ USB_OTG_DTHRCTL_TXTHRLEN_1

#define USB_OTG_DTHRCTL_TXTHRLEN_1   ((uint32_t)0x00000008)

Bit 1

◆ USB_OTG_DTHRCTL_TXTHRLEN_2

#define USB_OTG_DTHRCTL_TXTHRLEN_2   ((uint32_t)0x00000010)

Bit 2

◆ USB_OTG_DTHRCTL_TXTHRLEN_3

#define USB_OTG_DTHRCTL_TXTHRLEN_3   ((uint32_t)0x00000020)

Bit 3

◆ USB_OTG_DTHRCTL_TXTHRLEN_4

#define USB_OTG_DTHRCTL_TXTHRLEN_4   ((uint32_t)0x00000040)

Bit 4

◆ USB_OTG_DTHRCTL_TXTHRLEN_5

#define USB_OTG_DTHRCTL_TXTHRLEN_5   ((uint32_t)0x00000080)

Bit 5

◆ USB_OTG_DTHRCTL_TXTHRLEN_6

#define USB_OTG_DTHRCTL_TXTHRLEN_6   ((uint32_t)0x00000100)

Bit 6

◆ USB_OTG_DTHRCTL_TXTHRLEN_7

#define USB_OTG_DTHRCTL_TXTHRLEN_7   ((uint32_t)0x00000200)

Bit 7

◆ USB_OTG_DTHRCTL_TXTHRLEN_8

#define USB_OTG_DTHRCTL_TXTHRLEN_8   ((uint32_t)0x00000400)

Bit 8

◆ USB_OTG_DTHRCTL_RXTHREN

#define USB_OTG_DTHRCTL_RXTHREN   ((uint32_t)0x00010000)

Receive threshold enable

◆ USB_OTG_DTHRCTL_RXTHRLEN

#define USB_OTG_DTHRCTL_RXTHRLEN   ((uint32_t)0x03FE0000)

Receive threshold length

◆ USB_OTG_DTHRCTL_RXTHRLEN_0

#define USB_OTG_DTHRCTL_RXTHRLEN_0   ((uint32_t)0x00020000)

Bit 0

◆ USB_OTG_DTHRCTL_RXTHRLEN_1

#define USB_OTG_DTHRCTL_RXTHRLEN_1   ((uint32_t)0x00040000)

Bit 1

◆ USB_OTG_DTHRCTL_RXTHRLEN_2

#define USB_OTG_DTHRCTL_RXTHRLEN_2   ((uint32_t)0x00080000)

Bit 2

◆ USB_OTG_DTHRCTL_RXTHRLEN_3

#define USB_OTG_DTHRCTL_RXTHRLEN_3   ((uint32_t)0x00100000)

Bit 3

◆ USB_OTG_DTHRCTL_RXTHRLEN_4

#define USB_OTG_DTHRCTL_RXTHRLEN_4   ((uint32_t)0x00200000)

Bit 4

◆ USB_OTG_DTHRCTL_RXTHRLEN_5

#define USB_OTG_DTHRCTL_RXTHRLEN_5   ((uint32_t)0x00400000)

Bit 5

◆ USB_OTG_DTHRCTL_RXTHRLEN_6

#define USB_OTG_DTHRCTL_RXTHRLEN_6   ((uint32_t)0x00800000)

Bit 6

◆ USB_OTG_DTHRCTL_RXTHRLEN_7

#define USB_OTG_DTHRCTL_RXTHRLEN_7   ((uint32_t)0x01000000)

Bit 7

◆ USB_OTG_DTHRCTL_RXTHRLEN_8

#define USB_OTG_DTHRCTL_RXTHRLEN_8   ((uint32_t)0x02000000)

Bit 8

◆ USB_OTG_DTHRCTL_ARPEN

#define USB_OTG_DTHRCTL_ARPEN   ((uint32_t)0x08000000)

Arbiter parking enable

◆ USB_OTG_DIEPEMPMSK_INEPTXFEM

#define USB_OTG_DIEPEMPMSK_INEPTXFEM   ((uint32_t)0x0000FFFF)

IN EP Tx FIFO empty interrupt mask bits

◆ USB_OTG_DEACHINT_IEP1INT [1/2]

#define USB_OTG_DEACHINT_IEP1INT   ((uint32_t)0x00000002)

IN endpoint 1interrupt bit

◆ USB_OTG_DEACHINT_OEP1INT [1/2]

#define USB_OTG_DEACHINT_OEP1INT   ((uint32_t)0x00020000)

OUT endpoint 1 interrupt bit

◆ USB_OTG_DEACHINT_IEP1INT [2/2]

#define USB_OTG_DEACHINT_IEP1INT   ((uint32_t)0x00000002)

IN endpoint 1interrupt bit

◆ USB_OTG_DEACHINT_OEP1INT [2/2]

#define USB_OTG_DEACHINT_OEP1INT   ((uint32_t)0x00020000)

OUT endpoint 1 interrupt bit

◆ USB_OTG_DEACHINTMSK_IEP1INTM

#define USB_OTG_DEACHINTMSK_IEP1INTM   ((uint32_t)0x00000002)

IN Endpoint 1 interrupt mask bit

◆ USB_OTG_DEACHINTMSK_OEP1INTM

#define USB_OTG_DEACHINTMSK_OEP1INTM   ((uint32_t)0x00020000)

OUT Endpoint 1 interrupt mask bit

◆ USB_OTG_HCFG_FSLSPCS

#define USB_OTG_HCFG_FSLSPCS   ((uint32_t)0x00000003)

FS/LS PHY clock select

◆ USB_OTG_HCFG_FSLSPCS_0

#define USB_OTG_HCFG_FSLSPCS_0   ((uint32_t)0x00000001)

Bit 0

◆ USB_OTG_HCFG_FSLSPCS_1

#define USB_OTG_HCFG_FSLSPCS_1   ((uint32_t)0x00000002)

Bit 1

◆ USB_OTG_HCFG_FSLSS

#define USB_OTG_HCFG_FSLSS   ((uint32_t)0x00000004)

FS- and LS-only support

◆ USB_OTG_HFIR_FRIVL

#define USB_OTG_HFIR_FRIVL   ((uint32_t)0x0000FFFF)

Frame interval

◆ USB_OTG_HFNUM_FRNUM

#define USB_OTG_HFNUM_FRNUM   ((uint32_t)0x0000FFFF)

Frame number

◆ USB_OTG_HFNUM_FTREM

#define USB_OTG_HFNUM_FTREM   ((uint32_t)0xFFFF0000)

Frame time remaining

◆ USB_OTG_HPTXSTS_PTXFSAVL

#define USB_OTG_HPTXSTS_PTXFSAVL   ((uint32_t)0x0000FFFF)

Periodic transmit data FIFO space available

◆ USB_OTG_HPTXSTS_PTXQSAV

#define USB_OTG_HPTXSTS_PTXQSAV   ((uint32_t)0x00FF0000)

Periodic transmit request queue space available

◆ USB_OTG_HPTXSTS_PTXQSAV_0

#define USB_OTG_HPTXSTS_PTXQSAV_0   ((uint32_t)0x00010000)

Bit 0

◆ USB_OTG_HPTXSTS_PTXQSAV_1

#define USB_OTG_HPTXSTS_PTXQSAV_1   ((uint32_t)0x00020000)

Bit 1

◆ USB_OTG_HPTXSTS_PTXQSAV_2

#define USB_OTG_HPTXSTS_PTXQSAV_2   ((uint32_t)0x00040000)

Bit 2

◆ USB_OTG_HPTXSTS_PTXQSAV_3

#define USB_OTG_HPTXSTS_PTXQSAV_3   ((uint32_t)0x00080000)

Bit 3

◆ USB_OTG_HPTXSTS_PTXQSAV_4

#define USB_OTG_HPTXSTS_PTXQSAV_4   ((uint32_t)0x00100000)

Bit 4

◆ USB_OTG_HPTXSTS_PTXQSAV_5

#define USB_OTG_HPTXSTS_PTXQSAV_5   ((uint32_t)0x00200000)

Bit 5

◆ USB_OTG_HPTXSTS_PTXQSAV_6

#define USB_OTG_HPTXSTS_PTXQSAV_6   ((uint32_t)0x00400000)

Bit 6

◆ USB_OTG_HPTXSTS_PTXQSAV_7

#define USB_OTG_HPTXSTS_PTXQSAV_7   ((uint32_t)0x00800000)

Bit 7

◆ USB_OTG_HPTXSTS_PTXQTOP

#define USB_OTG_HPTXSTS_PTXQTOP   ((uint32_t)0xFF000000)

Top of the periodic transmit request queue

◆ USB_OTG_HPTXSTS_PTXQTOP_0

#define USB_OTG_HPTXSTS_PTXQTOP_0   ((uint32_t)0x01000000)

Bit 0

◆ USB_OTG_HPTXSTS_PTXQTOP_1

#define USB_OTG_HPTXSTS_PTXQTOP_1   ((uint32_t)0x02000000)

Bit 1

◆ USB_OTG_HPTXSTS_PTXQTOP_2

#define USB_OTG_HPTXSTS_PTXQTOP_2   ((uint32_t)0x04000000)

Bit 2

◆ USB_OTG_HPTXSTS_PTXQTOP_3

#define USB_OTG_HPTXSTS_PTXQTOP_3   ((uint32_t)0x08000000)

Bit 3

◆ USB_OTG_HPTXSTS_PTXQTOP_4

#define USB_OTG_HPTXSTS_PTXQTOP_4   ((uint32_t)0x10000000)

Bit 4

◆ USB_OTG_HPTXSTS_PTXQTOP_5

#define USB_OTG_HPTXSTS_PTXQTOP_5   ((uint32_t)0x20000000)

Bit 5

◆ USB_OTG_HPTXSTS_PTXQTOP_6

#define USB_OTG_HPTXSTS_PTXQTOP_6   ((uint32_t)0x40000000)

Bit 6

◆ USB_OTG_HPTXSTS_PTXQTOP_7

#define USB_OTG_HPTXSTS_PTXQTOP_7   ((uint32_t)0x80000000)

Bit 7

◆ USB_OTG_HAINT_HAINT

#define USB_OTG_HAINT_HAINT   ((uint32_t)0x0000FFFF)

Channel interrupts

◆ USB_OTG_HAINTMSK_HAINTM

#define USB_OTG_HAINTMSK_HAINTM   ((uint32_t)0x0000FFFF)

Channel interrupt mask

◆ USB_OTG_HPRT_PCSTS

#define USB_OTG_HPRT_PCSTS   ((uint32_t)0x00000001)

Host Port 0 Control and Status Register Port connect status

◆ USB_OTG_HPRT_PCDET

#define USB_OTG_HPRT_PCDET   ((uint32_t)0x00000002)

Port connect detected

◆ USB_OTG_HPRT_PENA

#define USB_OTG_HPRT_PENA   ((uint32_t)0x00000004)

Port enable

◆ USB_OTG_HPRT_PENCHNG

#define USB_OTG_HPRT_PENCHNG   ((uint32_t)0x00000008)

Port enable/disable change

◆ USB_OTG_HPRT_POCA

#define USB_OTG_HPRT_POCA   ((uint32_t)0x00000010)

Port overcurrent active

◆ USB_OTG_HPRT_POCCHNG

#define USB_OTG_HPRT_POCCHNG   ((uint32_t)0x00000020)

Port overcurrent change

◆ USB_OTG_HPRT_PRES

#define USB_OTG_HPRT_PRES   ((uint32_t)0x00000040)

Port resume

◆ USB_OTG_HPRT_PSUSP

#define USB_OTG_HPRT_PSUSP   ((uint32_t)0x00000080)

Port suspend

◆ USB_OTG_HPRT_PRST

#define USB_OTG_HPRT_PRST   ((uint32_t)0x00000100)

Port reset

◆ USB_OTG_HPRT_PLSTS

#define USB_OTG_HPRT_PLSTS   ((uint32_t)0x00000C00)

Port line status

◆ USB_OTG_HPRT_PLSTS_0

#define USB_OTG_HPRT_PLSTS_0   ((uint32_t)0x00000400)

Bit 0

◆ USB_OTG_HPRT_PLSTS_1

#define USB_OTG_HPRT_PLSTS_1   ((uint32_t)0x00000800)

Bit 1

◆ USB_OTG_HPRT_PPWR

#define USB_OTG_HPRT_PPWR   ((uint32_t)0x00001000)

Port power

◆ USB_OTG_HPRT_PTCTL

#define USB_OTG_HPRT_PTCTL   ((uint32_t)0x0001E000)

Port test control

◆ USB_OTG_HPRT_PTCTL_0

#define USB_OTG_HPRT_PTCTL_0   ((uint32_t)0x00002000)

Bit 0

◆ USB_OTG_HPRT_PTCTL_1

#define USB_OTG_HPRT_PTCTL_1   ((uint32_t)0x00004000)

Bit 1

◆ USB_OTG_HPRT_PTCTL_2

#define USB_OTG_HPRT_PTCTL_2   ((uint32_t)0x00008000)

Bit 2

◆ USB_OTG_HPRT_PTCTL_3

#define USB_OTG_HPRT_PTCTL_3   ((uint32_t)0x00010000)

Bit 3

◆ USB_OTG_HPRT_PSPD

#define USB_OTG_HPRT_PSPD   ((uint32_t)0x00060000)

Port speed

◆ USB_OTG_HPRT_PSPD_0

#define USB_OTG_HPRT_PSPD_0   ((uint32_t)0x00020000)

Bit 0

◆ USB_OTG_HPRT_PSPD_1

#define USB_OTG_HPRT_PSPD_1   ((uint32_t)0x00040000)

Bit 1

◆ USB_OTG_HCCHAR_MPSIZ

#define USB_OTG_HCCHAR_MPSIZ   ((uint32_t)0x000007FF)

Maximum packet size

◆ USB_OTG_HCCHAR_EPNUM

#define USB_OTG_HCCHAR_EPNUM   ((uint32_t)0x00007800)

Endpoint number

◆ USB_OTG_HCCHAR_EPNUM_0

#define USB_OTG_HCCHAR_EPNUM_0   ((uint32_t)0x00000800)

Bit 0

◆ USB_OTG_HCCHAR_EPNUM_1

#define USB_OTG_HCCHAR_EPNUM_1   ((uint32_t)0x00001000)

Bit 1

◆ USB_OTG_HCCHAR_EPNUM_2

#define USB_OTG_HCCHAR_EPNUM_2   ((uint32_t)0x00002000)

Bit 2

◆ USB_OTG_HCCHAR_EPNUM_3

#define USB_OTG_HCCHAR_EPNUM_3   ((uint32_t)0x00004000)

Bit 3

◆ USB_OTG_HCCHAR_EPDIR

#define USB_OTG_HCCHAR_EPDIR   ((uint32_t)0x00008000)

Endpoint direction

◆ USB_OTG_HCCHAR_LSDEV

#define USB_OTG_HCCHAR_LSDEV   ((uint32_t)0x00020000)

Low-speed device

◆ USB_OTG_HCCHAR_EPTYP

#define USB_OTG_HCCHAR_EPTYP   ((uint32_t)0x000C0000)

Endpoint type

◆ USB_OTG_HCCHAR_EPTYP_0

#define USB_OTG_HCCHAR_EPTYP_0   ((uint32_t)0x00040000)

Bit 0

◆ USB_OTG_HCCHAR_EPTYP_1

#define USB_OTG_HCCHAR_EPTYP_1   ((uint32_t)0x00080000)

Bit 1

◆ USB_OTG_HCCHAR_MC

#define USB_OTG_HCCHAR_MC   ((uint32_t)0x00300000)

Multi Count (MC) / Error Count (EC)

◆ USB_OTG_HCCHAR_MC_0

#define USB_OTG_HCCHAR_MC_0   ((uint32_t)0x00100000)

Bit 0

◆ USB_OTG_HCCHAR_MC_1

#define USB_OTG_HCCHAR_MC_1   ((uint32_t)0x00200000)

Bit 1

◆ USB_OTG_HCCHAR_DAD

#define USB_OTG_HCCHAR_DAD   ((uint32_t)0x1FC00000)

Device address

◆ USB_OTG_HCCHAR_DAD_0

#define USB_OTG_HCCHAR_DAD_0   ((uint32_t)0x00400000)

Bit 0

◆ USB_OTG_HCCHAR_DAD_1

#define USB_OTG_HCCHAR_DAD_1   ((uint32_t)0x00800000)

Bit 1

◆ USB_OTG_HCCHAR_DAD_2

#define USB_OTG_HCCHAR_DAD_2   ((uint32_t)0x01000000)

Bit 2

◆ USB_OTG_HCCHAR_DAD_3

#define USB_OTG_HCCHAR_DAD_3   ((uint32_t)0x02000000)

Bit 3

◆ USB_OTG_HCCHAR_DAD_4

#define USB_OTG_HCCHAR_DAD_4   ((uint32_t)0x04000000)

Bit 4

◆ USB_OTG_HCCHAR_DAD_5

#define USB_OTG_HCCHAR_DAD_5   ((uint32_t)0x08000000)

Bit 5

◆ USB_OTG_HCCHAR_DAD_6

#define USB_OTG_HCCHAR_DAD_6   ((uint32_t)0x10000000)

Bit 6

◆ USB_OTG_HCCHAR_ODDFRM

#define USB_OTG_HCCHAR_ODDFRM   ((uint32_t)0x20000000)

Odd frame

◆ USB_OTG_HCCHAR_CHDIS

#define USB_OTG_HCCHAR_CHDIS   ((uint32_t)0x40000000)

Channel disable

◆ USB_OTG_HCCHAR_CHENA

#define USB_OTG_HCCHAR_CHENA   ((uint32_t)0x80000000)

Channel enable

◆ USB_OTG_HCSPLT_PRTADDR

#define USB_OTG_HCSPLT_PRTADDR   ((uint32_t)0x0000007F)

Port address

◆ USB_OTG_HCSPLT_PRTADDR_0

#define USB_OTG_HCSPLT_PRTADDR_0   ((uint32_t)0x00000001)

Bit 0

◆ USB_OTG_HCSPLT_PRTADDR_1

#define USB_OTG_HCSPLT_PRTADDR_1   ((uint32_t)0x00000002)

Bit 1

◆ USB_OTG_HCSPLT_PRTADDR_2

#define USB_OTG_HCSPLT_PRTADDR_2   ((uint32_t)0x00000004)

Bit 2

◆ USB_OTG_HCSPLT_PRTADDR_3

#define USB_OTG_HCSPLT_PRTADDR_3   ((uint32_t)0x00000008)

Bit 3

◆ USB_OTG_HCSPLT_PRTADDR_4

#define USB_OTG_HCSPLT_PRTADDR_4   ((uint32_t)0x00000010)

Bit 4

◆ USB_OTG_HCSPLT_PRTADDR_5

#define USB_OTG_HCSPLT_PRTADDR_5   ((uint32_t)0x00000020)

Bit 5

◆ USB_OTG_HCSPLT_PRTADDR_6

#define USB_OTG_HCSPLT_PRTADDR_6   ((uint32_t)0x00000040)

Bit 6

◆ USB_OTG_HCSPLT_HUBADDR

#define USB_OTG_HCSPLT_HUBADDR   ((uint32_t)0x00003F80)

Hub address

◆ USB_OTG_HCSPLT_HUBADDR_0

#define USB_OTG_HCSPLT_HUBADDR_0   ((uint32_t)0x00000080)

Bit 0

◆ USB_OTG_HCSPLT_HUBADDR_1

#define USB_OTG_HCSPLT_HUBADDR_1   ((uint32_t)0x00000100)

Bit 1

◆ USB_OTG_HCSPLT_HUBADDR_2

#define USB_OTG_HCSPLT_HUBADDR_2   ((uint32_t)0x00000200)

Bit 2

◆ USB_OTG_HCSPLT_HUBADDR_3

#define USB_OTG_HCSPLT_HUBADDR_3   ((uint32_t)0x00000400)

Bit 3

◆ USB_OTG_HCSPLT_HUBADDR_4

#define USB_OTG_HCSPLT_HUBADDR_4   ((uint32_t)0x00000800)

Bit 4

◆ USB_OTG_HCSPLT_HUBADDR_5

#define USB_OTG_HCSPLT_HUBADDR_5   ((uint32_t)0x00001000)

Bit 5

◆ USB_OTG_HCSPLT_HUBADDR_6

#define USB_OTG_HCSPLT_HUBADDR_6   ((uint32_t)0x00002000)

Bit 6

◆ USB_OTG_HCSPLT_XACTPOS

#define USB_OTG_HCSPLT_XACTPOS   ((uint32_t)0x0000C000)

XACTPOS

◆ USB_OTG_HCSPLT_XACTPOS_0

#define USB_OTG_HCSPLT_XACTPOS_0   ((uint32_t)0x00004000)

Bit 0

◆ USB_OTG_HCSPLT_XACTPOS_1

#define USB_OTG_HCSPLT_XACTPOS_1   ((uint32_t)0x00008000)

Bit 1

◆ USB_OTG_HCSPLT_COMPLSPLT

#define USB_OTG_HCSPLT_COMPLSPLT   ((uint32_t)0x00010000)

Do complete split

◆ USB_OTG_HCSPLT_SPLITEN

#define USB_OTG_HCSPLT_SPLITEN   ((uint32_t)0x80000000)

Split enable

◆ USB_OTG_HCINT_XFRC

#define USB_OTG_HCINT_XFRC   ((uint32_t)0x00000001)

Transfer completed

◆ USB_OTG_HCINT_CHH

#define USB_OTG_HCINT_CHH   ((uint32_t)0x00000002)

Channel halted

◆ USB_OTG_HCINT_AHBERR

#define USB_OTG_HCINT_AHBERR   ((uint32_t)0x00000004)

AHB error

◆ USB_OTG_HCINT_STALL

#define USB_OTG_HCINT_STALL   ((uint32_t)0x00000008)

STALL response received interrupt

◆ USB_OTG_HCINT_NAK

#define USB_OTG_HCINT_NAK   ((uint32_t)0x00000010)

NAK response received interrupt

◆ USB_OTG_HCINT_ACK

#define USB_OTG_HCINT_ACK   ((uint32_t)0x00000020)

ACK response received/transmitted interrupt

◆ USB_OTG_HCINT_NYET

#define USB_OTG_HCINT_NYET   ((uint32_t)0x00000040)

Response received interrupt

◆ USB_OTG_HCINT_TXERR

#define USB_OTG_HCINT_TXERR   ((uint32_t)0x00000080)

Transaction error

◆ USB_OTG_HCINT_BBERR

#define USB_OTG_HCINT_BBERR   ((uint32_t)0x00000100)

Babble error

◆ USB_OTG_HCINT_FRMOR

#define USB_OTG_HCINT_FRMOR   ((uint32_t)0x00000200)

Frame overrun

◆ USB_OTG_HCINT_DTERR

#define USB_OTG_HCINT_DTERR   ((uint32_t)0x00000400)

Data toggle error

◆ USB_OTG_HCINTMSK_XFRCM

#define USB_OTG_HCINTMSK_XFRCM   ((uint32_t)0x00000001)

Transfer completed mask

◆ USB_OTG_HCINTMSK_CHHM

#define USB_OTG_HCINTMSK_CHHM   ((uint32_t)0x00000002)

Channel halted mask

◆ USB_OTG_HCINTMSK_AHBERR

#define USB_OTG_HCINTMSK_AHBERR   ((uint32_t)0x00000004)

AHB error

◆ USB_OTG_HCINTMSK_STALLM

#define USB_OTG_HCINTMSK_STALLM   ((uint32_t)0x00000008)

STALL response received interrupt mask

◆ USB_OTG_HCINTMSK_NAKM

#define USB_OTG_HCINTMSK_NAKM   ((uint32_t)0x00000010)

NAK response received interrupt mask

◆ USB_OTG_HCINTMSK_ACKM

#define USB_OTG_HCINTMSK_ACKM   ((uint32_t)0x00000020)

ACK response received/transmitted interrupt mask

◆ USB_OTG_HCINTMSK_NYET

#define USB_OTG_HCINTMSK_NYET   ((uint32_t)0x00000040)

response received interrupt mask

◆ USB_OTG_HCINTMSK_TXERRM

#define USB_OTG_HCINTMSK_TXERRM   ((uint32_t)0x00000080)

Transaction error mask

◆ USB_OTG_HCINTMSK_BBERRM

#define USB_OTG_HCINTMSK_BBERRM   ((uint32_t)0x00000100)

Babble error mask

◆ USB_OTG_HCINTMSK_FRMORM

#define USB_OTG_HCINTMSK_FRMORM   ((uint32_t)0x00000200)

Frame overrun mask

◆ USB_OTG_HCINTMSK_DTERRM

#define USB_OTG_HCINTMSK_DTERRM   ((uint32_t)0x00000400)

Data toggle error mask

◆ USB_OTG_HCTSIZ_XFRSIZ

#define USB_OTG_HCTSIZ_XFRSIZ   ((uint32_t)0x0007FFFF)

Transfer size

◆ USB_OTG_HCTSIZ_PKTCNT

#define USB_OTG_HCTSIZ_PKTCNT   ((uint32_t)0x1FF80000)

Packet count

◆ USB_OTG_HCTSIZ_DOPING

#define USB_OTG_HCTSIZ_DOPING   ((uint32_t)0x80000000)

Do PING

◆ USB_OTG_HCTSIZ_DPID

#define USB_OTG_HCTSIZ_DPID   ((uint32_t)0x60000000)

Data PID

◆ USB_OTG_HCTSIZ_DPID_0

#define USB_OTG_HCTSIZ_DPID_0   ((uint32_t)0x20000000)

Bit 0

◆ USB_OTG_HCTSIZ_DPID_1

#define USB_OTG_HCTSIZ_DPID_1   ((uint32_t)0x40000000)

Bit 1

◆ USB_OTG_HCDMA_DMAADDR

#define USB_OTG_HCDMA_DMAADDR   ((uint32_t)0xFFFFFFFF)

DMA address

◆ USB_OTG_DIEPCTL_MPSIZ

#define USB_OTG_DIEPCTL_MPSIZ   ((uint32_t)0x000007FF)

Maximum packet size

◆ USB_OTG_DIEPCTL_USBAEP

#define USB_OTG_DIEPCTL_USBAEP   ((uint32_t)0x00008000)

USB active endpoint

◆ USB_OTG_DIEPCTL_EONUM_DPID

#define USB_OTG_DIEPCTL_EONUM_DPID   ((uint32_t)0x00010000)

Even/odd frame

◆ USB_OTG_DIEPCTL_NAKSTS

#define USB_OTG_DIEPCTL_NAKSTS   ((uint32_t)0x00020000)

NAK status

◆ USB_OTG_DIEPCTL_EPTYP

#define USB_OTG_DIEPCTL_EPTYP   ((uint32_t)0x000C0000)

Endpoint type

◆ USB_OTG_DIEPCTL_EPTYP_0

#define USB_OTG_DIEPCTL_EPTYP_0   ((uint32_t)0x00040000)

Bit 0

◆ USB_OTG_DIEPCTL_EPTYP_1

#define USB_OTG_DIEPCTL_EPTYP_1   ((uint32_t)0x00080000)

Bit 1

◆ USB_OTG_DIEPCTL_STALL

#define USB_OTG_DIEPCTL_STALL   ((uint32_t)0x00200000)

STALL handshake

◆ USB_OTG_DIEPCTL_TXFNUM

#define USB_OTG_DIEPCTL_TXFNUM   ((uint32_t)0x03C00000)

TxFIFO number

◆ USB_OTG_DIEPCTL_TXFNUM_0

#define USB_OTG_DIEPCTL_TXFNUM_0   ((uint32_t)0x00400000)

Bit 0

◆ USB_OTG_DIEPCTL_TXFNUM_1

#define USB_OTG_DIEPCTL_TXFNUM_1   ((uint32_t)0x00800000)

Bit 1

◆ USB_OTG_DIEPCTL_TXFNUM_2

#define USB_OTG_DIEPCTL_TXFNUM_2   ((uint32_t)0x01000000)

Bit 2

◆ USB_OTG_DIEPCTL_TXFNUM_3

#define USB_OTG_DIEPCTL_TXFNUM_3   ((uint32_t)0x02000000)

Bit 3

◆ USB_OTG_DIEPCTL_CNAK

#define USB_OTG_DIEPCTL_CNAK   ((uint32_t)0x04000000)

Clear NAK

◆ USB_OTG_DIEPCTL_SNAK

#define USB_OTG_DIEPCTL_SNAK   ((uint32_t)0x08000000)

Set NAK

◆ USB_OTG_DIEPCTL_SD0PID_SEVNFRM

#define USB_OTG_DIEPCTL_SD0PID_SEVNFRM   ((uint32_t)0x10000000)

Set DATA0 PID

◆ USB_OTG_DIEPCTL_SODDFRM

#define USB_OTG_DIEPCTL_SODDFRM   ((uint32_t)0x20000000)

Set odd frame

◆ USB_OTG_DIEPCTL_EPDIS

#define USB_OTG_DIEPCTL_EPDIS   ((uint32_t)0x40000000)

Endpoint disable

◆ USB_OTG_DIEPCTL_EPENA

#define USB_OTG_DIEPCTL_EPENA   ((uint32_t)0x80000000)

Endpoint enable

◆ USB_OTG_DIEPINT_XFRC

#define USB_OTG_DIEPINT_XFRC   ((uint32_t)0x00000001)

Transfer completed interrupt

◆ USB_OTG_DIEPINT_EPDISD

#define USB_OTG_DIEPINT_EPDISD   ((uint32_t)0x00000002)

Endpoint disabled interrupt

◆ USB_OTG_DIEPINT_TOC

#define USB_OTG_DIEPINT_TOC   ((uint32_t)0x00000008)

Timeout condition

◆ USB_OTG_DIEPINT_ITTXFE

#define USB_OTG_DIEPINT_ITTXFE   ((uint32_t)0x00000010)

IN token received when TxFIFO is empty

◆ USB_OTG_DIEPINT_INEPNE

#define USB_OTG_DIEPINT_INEPNE   ((uint32_t)0x00000040)

IN endpoint NAK effective

◆ USB_OTG_DIEPINT_TXFE

#define USB_OTG_DIEPINT_TXFE   ((uint32_t)0x00000080)

Transmit FIFO empty

◆ USB_OTG_DIEPINT_TXFIFOUDRN

#define USB_OTG_DIEPINT_TXFIFOUDRN   ((uint32_t)0x00000100)

Transmit Fifo Underrun

◆ USB_OTG_DIEPINT_BNA

#define USB_OTG_DIEPINT_BNA   ((uint32_t)0x00000200)

Buffer not available interrupt

◆ USB_OTG_DIEPINT_PKTDRPSTS

#define USB_OTG_DIEPINT_PKTDRPSTS   ((uint32_t)0x00000800)

Packet dropped status

◆ USB_OTG_DIEPINT_BERR

#define USB_OTG_DIEPINT_BERR   ((uint32_t)0x00001000)

Babble error interrupt

◆ USB_OTG_DIEPINT_NAK

#define USB_OTG_DIEPINT_NAK   ((uint32_t)0x00002000)

NAK interrupt

◆ USB_OTG_DIEPTSIZ_XFRSIZ

#define USB_OTG_DIEPTSIZ_XFRSIZ   ((uint32_t)0x0007FFFF)

Transfer size

◆ USB_OTG_DIEPTSIZ_PKTCNT

#define USB_OTG_DIEPTSIZ_PKTCNT   ((uint32_t)0x1FF80000)

Packet count

◆ USB_OTG_DIEPTSIZ_MULCNT

#define USB_OTG_DIEPTSIZ_MULCNT   ((uint32_t)0x60000000)

Packet count

◆ USB_OTG_DTXFSTS_INEPTFSAV

#define USB_OTG_DTXFSTS_INEPTFSAV   ((uint32_t)0x0000FFFF)

IN endpoint TxFIFO space available

◆ USB_OTG_DOEPCTL_MPSIZ

#define USB_OTG_DOEPCTL_MPSIZ   ((uint32_t)0x000007FF) /*!< Maximum packet size */

Bit 1

◆ USB_OTG_DOEPCTL_USBAEP

#define USB_OTG_DOEPCTL_USBAEP   ((uint32_t)0x00008000)

USB active endpoint

◆ USB_OTG_DOEPCTL_NAKSTS

#define USB_OTG_DOEPCTL_NAKSTS   ((uint32_t)0x00020000)

NAK status

◆ USB_OTG_DOEPCTL_SD0PID_SEVNFRM

#define USB_OTG_DOEPCTL_SD0PID_SEVNFRM   ((uint32_t)0x10000000)

Set DATA0 PID

◆ USB_OTG_DOEPCTL_SODDFRM

#define USB_OTG_DOEPCTL_SODDFRM   ((uint32_t)0x20000000)

Set odd frame

◆ USB_OTG_DOEPCTL_EPTYP

#define USB_OTG_DOEPCTL_EPTYP   ((uint32_t)0x000C0000)

Endpoint type

◆ USB_OTG_DOEPCTL_EPTYP_0

#define USB_OTG_DOEPCTL_EPTYP_0   ((uint32_t)0x00040000)

Bit 0

◆ USB_OTG_DOEPCTL_EPTYP_1

#define USB_OTG_DOEPCTL_EPTYP_1   ((uint32_t)0x00080000)

Bit 1

◆ USB_OTG_DOEPCTL_SNPM

#define USB_OTG_DOEPCTL_SNPM   ((uint32_t)0x00100000)

Snoop mode

◆ USB_OTG_DOEPCTL_STALL

#define USB_OTG_DOEPCTL_STALL   ((uint32_t)0x00200000)

STALL handshake

◆ USB_OTG_DOEPCTL_CNAK

#define USB_OTG_DOEPCTL_CNAK   ((uint32_t)0x04000000)

Clear NAK

◆ USB_OTG_DOEPCTL_SNAK

#define USB_OTG_DOEPCTL_SNAK   ((uint32_t)0x08000000)

Set NAK

◆ USB_OTG_DOEPCTL_EPDIS

#define USB_OTG_DOEPCTL_EPDIS   ((uint32_t)0x40000000)

Endpoint disable

◆ USB_OTG_DOEPCTL_EPENA

#define USB_OTG_DOEPCTL_EPENA   ((uint32_t)0x80000000)

Endpoint enable

◆ USB_OTG_DOEPINT_XFRC

#define USB_OTG_DOEPINT_XFRC   ((uint32_t)0x00000001)

Transfer completed interrupt

◆ USB_OTG_DOEPINT_EPDISD

#define USB_OTG_DOEPINT_EPDISD   ((uint32_t)0x00000002)

Endpoint disabled interrupt

◆ USB_OTG_DOEPINT_STUP

#define USB_OTG_DOEPINT_STUP   ((uint32_t)0x00000008)

SETUP phase done

◆ USB_OTG_DOEPINT_OTEPDIS

#define USB_OTG_DOEPINT_OTEPDIS   ((uint32_t)0x00000010)

OUT token received when endpoint disabled

◆ USB_OTG_DOEPINT_STSPHSERCVD

#define USB_OTG_DOEPINT_STSPHSERCVD   ((uint32_t)0x00000020)

Status Phase Received For Control Write

◆ USB_OTG_DOEPINT_B2BSTUP

#define USB_OTG_DOEPINT_B2BSTUP   ((uint32_t)0x00000040)

Back-to-back SETUP packets received

◆ USB_OTG_DOEPINT_NYET

#define USB_OTG_DOEPINT_NYET   ((uint32_t)0x00004000)

NYET interrupt

◆ USB_OTG_DOEPTSIZ_XFRSIZ

#define USB_OTG_DOEPTSIZ_XFRSIZ   ((uint32_t)0x0007FFFF)

Transfer size

◆ USB_OTG_DOEPTSIZ_PKTCNT

#define USB_OTG_DOEPTSIZ_PKTCNT   ((uint32_t)0x1FF80000)

Packet count

◆ USB_OTG_DOEPTSIZ_STUPCNT

#define USB_OTG_DOEPTSIZ_STUPCNT   ((uint32_t)0x60000000)

SETUP packet count

◆ USB_OTG_DOEPTSIZ_STUPCNT_0

#define USB_OTG_DOEPTSIZ_STUPCNT_0   ((uint32_t)0x20000000)

Bit 0

◆ USB_OTG_DOEPTSIZ_STUPCNT_1

#define USB_OTG_DOEPTSIZ_STUPCNT_1   ((uint32_t)0x40000000)

Bit 1

◆ USB_OTG_PCGCCTL_STOPCLK

#define USB_OTG_PCGCCTL_STOPCLK   ((uint32_t)0x00000001)

OTG Power and Clock Gating Control Register SETUP packet count

◆ USB_OTG_PCGCCTL_GATECLK

#define USB_OTG_PCGCCTL_GATECLK   ((uint32_t)0x00000002)

Bit 0

◆ USB_OTG_PCGCCTL_PHYSUSP

#define USB_OTG_PCGCCTL_PHYSUSP   ((uint32_t)0x00000010)

Bit 1