#include typedef struct { uint32_t srqscs : 1; // 0 SRQSCS uint32_t srq : 1; // 1 SRQ uint32_t vbvaloen : 1; // 2 VBVALOEN uint32_t vbvaloval : 1; // 3 VBVALOVAL uint32_t avaloen : 1; // 4 AVALOEN uint32_t avaloval : 1; // 5 AVALOVAL uint32_t bvaloen : 1; // 6 BVALOEN uint32_t bvaloval : 1; // 7 BVALOVAL uint32_t hngscs : 1; // 8 HNGSCS uint32_t hnprq : 1; // 9 HNPRQ uint32_t hshnpen : 1; // 10 HSHNPEN uint32_t dhnpen : 1; // 11 DHNPEN uint32_t ehen : 1; // 12 EHEN uint32_t reserve0 : 3; // 13 Reserve uint32_t cidsts : 1; // 16 CIDSTS uint32_t dbct : 1; // 17 DBCT uint32_t asvld : 1; // 18 ASVLD uint32_t bsvld : 1; // 19 BSVLD uint32_t otgver : 1; // 20 OTGVER uint32_t curmod : 1; // 21 CURMOD uint32_t reserve1 : 10; // 22 Reserve } reg_sec_otg_fs_gotgctl_t; typedef struct { uint32_t reserve0 : 2; // 0 Reserve uint32_t sedet : 1; // 2 SEDET uint32_t reserve1 : 5; // 3 Reserve uint32_t srsschg : 1; // 8 SRSSCHG uint32_t hnsschg : 1; // 9 HNSSCHG uint32_t reserve2 : 7; // 10 Reserve uint32_t hngdet : 1; // 17 HNGDET uint32_t adtochg : 1; // 18 ADTOCHG uint32_t dbcdne : 1; // 19 DBCDNE uint32_t reserve3 : 12; // 20 Reserve } reg_sec_otg_fs_gotgint_t; typedef struct { uint32_t gintmsk : 1; // 0 GINTMSK uint32_t reserve0 : 6; // 1 Reserve uint32_t txfelvl : 1; // 7 TXFELVL uint32_t ptxfelvl : 1; // 8 PTXFELVL uint32_t reserve1 : 23; // 9 Reserve } reg_sec_otg_fs_gahbcfg_t; typedef struct { uint32_t tocal : 3; // 0 TOCAL uint32_t reserve0 : 3; // 3 Reserve uint32_t physel : 1; // 6 PHYSEL uint32_t reserve1 : 1; // 7 Reserve uint32_t srpcap : 1; // 8 SRPCAP uint32_t hnpcap : 1; // 9 HNPCAP uint32_t trdt : 4; // 10 TRDT uint32_t reserve2 : 15; // 14 Reserve uint32_t fhmod : 1; // 29 FHMOD uint32_t fdmod : 1; // 30 FDMOD uint32_t reserve3 : 1; // 31 Reserve } reg_sec_otg_fs_gusbcfg_t; typedef struct { uint32_t csrst : 1; // 0 CSRST uint32_t psrst : 1; // 1 PSRST uint32_t fsrst : 1; // 2 FSRST uint32_t reserve0 : 1; // 3 Reserve uint32_t rxfflsh : 1; // 4 RXFFLSH uint32_t txfflsh : 1; // 5 TXFFLSH uint32_t txfnum : 5; // 6 TXFNUM uint32_t reserve1 : 20; // 11 Reserve uint32_t ahbidl : 1; // 31 AHBIDL } reg_sec_otg_fs_grstctl_t; typedef struct { uint32_t cmod : 1; // 0 CMOD uint32_t mmis : 1; // 1 MMIS uint32_t otgint : 1; // 2 OTGINT uint32_t sof : 1; // 3 SOF uint32_t rxflvl : 1; // 4 RXFLVL uint32_t nptxfe : 1; // 5 NPTXFE uint32_t ginakeff : 1; // 6 GINAKEFF uint32_t gonakeff : 1; // 7 GONAKEFF uint32_t reserve0 : 2; // 8 Reserve uint32_t esusp : 1; // 10 ESUSP uint32_t usbsusp : 1; // 11 USBSUSP uint32_t usbrst : 1; // 12 USBRST uint32_t enumdne : 1; // 13 ENUMDNE uint32_t isoodrp : 1; // 14 ISOODRP uint32_t eopf : 1; // 15 EOPF uint32_t reserve1 : 2; // 16 Reserve uint32_t iepint : 1; // 18 IEPINT uint32_t oepint : 1; // 19 OEPINT uint32_t iisoixfr : 1; // 20 IISOIXFR uint32_t ipxfr : 1; // 21 IPXFR uint32_t reserve2 : 1; // 22 Reserve uint32_t rstdet : 1; // 23 RSTDET uint32_t hprtint : 1; // 24 HPRTINT uint32_t hcint : 1; // 25 HCINT uint32_t ptxfe : 1; // 26 PTXFE uint32_t lpmint : 1; // 27 LPMINT uint32_t cidschg : 1; // 28 CIDSCHG uint32_t discint : 1; // 29 DISCINT uint32_t srqint : 1; // 30 SRQINT uint32_t wkupint : 1; // 31 WKUPINT } reg_sec_otg_fs_gintsts_t; typedef struct { uint32_t reserve0 : 1; // 0 Reserve uint32_t mmism : 1; // 1 MMISM uint32_t otgint : 1; // 2 OTGINT uint32_t sofm : 1; // 3 SOFM uint32_t rxflvlm : 1; // 4 RXFLVLM uint32_t nptxfem : 1; // 5 NPTXFEM uint32_t ginakeffm : 1; // 6 GINAKEFFM uint32_t gonakeffm : 1; // 7 GONAKEFFM uint32_t reserve1 : 2; // 8 Reserve uint32_t esuspm : 1; // 10 ESUSPM uint32_t usbsuspm : 1; // 11 USBSUSPM uint32_t usbrst : 1; // 12 USBRST uint32_t enumdnem : 1; // 13 ENUMDNEM uint32_t isoodrpm : 1; // 14 ISOODRPM uint32_t eopfm : 1; // 15 EOPFM uint32_t reserve2 : 2; // 16 Reserve uint32_t iepint : 1; // 18 IEPINT uint32_t oepint : 1; // 19 OEPINT uint32_t iisoixfrm : 1; // 20 IISOIXFRM uint32_t ipxfrm : 1; // 21 IPXFRM uint32_t reserve3 : 1; // 22 Reserve uint32_t rstdetm : 1; // 23 RSTDETM uint32_t prtim : 1; // 24 PRTIM uint32_t hcim : 1; // 25 HCIM uint32_t ptxfem : 1; // 26 PTXFEM uint32_t lpmintm : 1; // 27 LPMINTM uint32_t cidschgm : 1; // 28 CIDSCHGM uint32_t discint : 1; // 29 DISCINT uint32_t srqim : 1; // 30 SRQIM uint32_t wuim : 1; // 31 WUIM } reg_sec_otg_fs_gintmsk_t; typedef struct { uint32_t epnum : 4; // 0 EPNUM uint32_t bcnt : 11; // 4 BCNT uint32_t dpid : 2; // 15 DPID uint32_t pktsts : 4; // 17 PKTSTS uint32_t frmnum : 4; // 21 FRMNUM uint32_t reserve0 : 2; // 25 Reserve uint32_t stsphst : 1; // 27 STSPHST uint32_t reserve1 : 4; // 28 Reserve } reg_sec_otg_fs_grxstsr_device_t; typedef struct { uint32_t chnum : 4; // 0 CHNUM uint32_t bcnt : 11; // 4 BCNT uint32_t dpid : 2; // 15 DPID uint32_t pktsts : 4; // 17 PKTSTS uint32_t reserve0 : 11; // 21 Reserve } reg_sec_otg_fs_grxstsr_host_t; typedef struct { uint32_t epnum : 4; // 0 EPNUM uint32_t bcnt : 11; // 4 BCNT uint32_t dpid : 2; // 15 DPID uint32_t pktsts : 4; // 17 PKTSTS uint32_t frmnum : 4; // 21 FRMNUM uint32_t reserve0 : 2; // 25 Reserve uint32_t stsphst : 1; // 27 STSPHST uint32_t reserve1 : 4; // 28 Reserve } reg_sec_otg_fs_grxstsp_device_t; typedef struct { uint32_t chnum : 4; // 0 CHNUM uint32_t bcnt : 11; // 4 BCNT uint32_t dpid : 2; // 15 DPID uint32_t pktsts : 4; // 17 PKTSTS uint32_t reserve0 : 11; // 21 Reserve } reg_sec_otg_fs_grxstsp_host_t; typedef struct { uint32_t rxfd : 16; // 0 RXFD uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_grxfsiz_t; typedef struct { uint32_t nptxfsa : 16; // 0 NPTXFSA uint32_t nptxfd : 16; // 16 NPTXFD } reg_sec_otg_fs_hnptxfsiz_t; typedef struct { uint32_t nptxfsav : 16; // 0 NPTXFSAV uint32_t nptqxsav : 8; // 16 NPTQXSAV uint32_t nptxqtop : 7; // 24 NPTXQTOP uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_hnptxsts_t; typedef struct { uint32_t dcdet : 1; // 0 DCDET uint32_t pdet : 1; // 1 PDET uint32_t sdet : 1; // 2 SDET uint32_t ps2det : 1; // 3 PS2DET uint32_t reserve0 : 12; // 4 Reserve uint32_t pwrdwn : 1; // 16 PWRDWN uint32_t bcden : 1; // 17 BCDEN uint32_t dcden : 1; // 18 DCDEN uint32_t pden : 1; // 19 PDEN uint32_t sden : 1; // 20 SDEN uint32_t vbden : 1; // 21 VBDEN uint32_t reserve1 : 10; // 22 Reserve } reg_sec_otg_fs_gccfg_t; typedef struct { uint32_t product_id: 32; // 0 PRODUCT_ID } reg_sec_otg_fs_cid_t; typedef struct { uint32_t lpmen : 1; // 0 LPMEN uint32_t lpmack : 1; // 1 LPMACK uint32_t besl : 4; // 2 BESL uint32_t remwake : 1; // 6 REMWAKE uint32_t l1ssen : 1; // 7 L1SSEN uint32_t beslthrs : 4; // 8 BESLTHRS uint32_t l1dsen : 1; // 12 L1DSEN uint32_t lpmrsp : 2; // 13 LPMRSP uint32_t slpsts : 1; // 15 SLPSTS uint32_t l1rsmok : 1; // 16 L1RSMOK uint32_t lpmchidx : 4; // 17 LPMCHIDX uint32_t lpmrcnt : 3; // 21 LPMRCNT uint32_t sndlpm : 1; // 24 SNDLPM uint32_t lpmrcntsts: 3; // 25 LPMRCNTSTS uint32_t enbesl : 1; // 28 ENBESL uint32_t reserve0 : 3; // 29 Reserve } reg_sec_otg_fs_glpmcfg_t; typedef struct { uint32_t ptxsa : 16; // 0 PTXSA uint32_t ptxfsiz : 16; // 16 PTXFSIZ } reg_sec_otg_fs_hptxfsiz_t; typedef struct { uint32_t ineptxsa : 16; // 0 INEPTXSA uint32_t ineptxfd : 16; // 16 INEPTXFD } reg_sec_otg_fs_dieptxf1_t; typedef struct { uint32_t ineptxsa : 16; // 0 INEPTXSA uint32_t ineptxfd : 16; // 16 INEPTXFD } reg_sec_otg_fs_dieptxf2_t; typedef struct { uint32_t ineptxsa : 16; // 0 INEPTXSA uint32_t ineptxfd : 16; // 16 INEPTXFD } reg_sec_otg_fs_dieptxf3_t; typedef struct { uint32_t ineptxsa : 16; // 0 INEPTXSA uint32_t ineptxfd : 16; // 16 INEPTXFD } reg_sec_otg_fs_dieptxf4_t; typedef struct { uint32_t ineptxsa : 16; // 0 INEPTXSA uint32_t ineptxfd : 16; // 16 INEPTXFD } reg_sec_otg_fs_dieptxf5_t; typedef struct { uint32_t fslspcs : 2; // 0 FSLSPCS uint32_t fslss : 1; // 2 FSLSS uint32_t reserve0 : 29; // 3 Reserve } reg_sec_otg_fs_hcfg_t; typedef struct { uint32_t frivl : 16; // 0 FRIVL uint32_t rldctrl : 1; // 16 RLDCTRL uint32_t reserve0 : 15; // 17 Reserve } reg_sec_otg_fs_hfir_t; typedef struct { uint32_t frnum : 16; // 0 FRNUM uint32_t ftrem : 16; // 16 FTREM } reg_sec_otg_fs_hfnum_t; typedef struct { uint32_t ptxfsavl : 16; // 0 PTXFSAVL uint32_t ptxqsav : 8; // 16 PTXQSAV uint32_t ptxqtop : 8; // 24 PTXQTOP } reg_sec_otg_fs_hptxsts_t; typedef struct { uint32_t haint : 16; // 0 HAINT uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_haint_t; typedef struct { uint32_t haintm : 16; // 0 HAINTM uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_haintmsk_t; typedef struct { uint32_t pcsts : 1; // 0 PCSTS uint32_t pcdet : 1; // 1 PCDET uint32_t pena : 1; // 2 PENA uint32_t penchng : 1; // 3 PENCHNG uint32_t poca : 1; // 4 POCA uint32_t pocchng : 1; // 5 POCCHNG uint32_t pres : 1; // 6 PRES uint32_t psusp : 1; // 7 PSUSP uint32_t prst : 1; // 8 PRST uint32_t reserve0 : 1; // 9 Reserve uint32_t plsts : 2; // 10 PLSTS uint32_t ppwr : 1; // 12 PPWR uint32_t ptctl : 4; // 13 PTCTL uint32_t pspd : 2; // 17 PSPD uint32_t reserve1 : 13; // 19 Reserve } reg_sec_otg_fs_hprt_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar0_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint0_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk0_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz0_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar1_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint1_device_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk1_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz1_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar2_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint2_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk2_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz2_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar3_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint3_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk3_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz3_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar4_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint4_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk4_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz4_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar5_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint5_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk5_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz5_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar6_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint6_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk6_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz6_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar7_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint7_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk7_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz7_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar8_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint8_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk8_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz8_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar9_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint9_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk9_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz9_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar10_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint10_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk10_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz10_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t epnum : 4; // 11 EPNUM uint32_t epdir : 1; // 15 EPDIR uint32_t reserve0 : 1; // 16 Reserve uint32_t lsdev : 1; // 17 LSDEV uint32_t eptyp : 2; // 18 EPTYP uint32_t mcnt : 2; // 20 MCNT uint32_t dad : 7; // 22 DAD uint32_t oddfrm : 1; // 29 ODDFRM uint32_t chdis : 1; // 30 CHDIS uint32_t chena : 1; // 31 CHENA } reg_sec_otg_fs_hcchar11_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t chh : 1; // 1 CHH uint32_t reserve0 : 1; // 2 Reserve uint32_t stall : 1; // 3 STALL uint32_t nak : 1; // 4 NAK uint32_t ack : 1; // 5 ACK uint32_t reserve1 : 1; // 6 Reserve uint32_t txerr : 1; // 7 TXERR uint32_t bberr : 1; // 8 BBERR uint32_t frmor : 1; // 9 FRMOR uint32_t dterr : 1; // 10 DTERR uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcint11_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t chhm : 1; // 1 CHHM uint32_t reserve0 : 1; // 2 Reserve uint32_t stallm : 1; // 3 STALLM uint32_t nakm : 1; // 4 NAKM uint32_t ackm : 1; // 5 ACKM uint32_t reserve1 : 1; // 6 Reserve uint32_t txerrm : 1; // 7 TXERRM uint32_t bberrm : 1; // 8 BBERRM uint32_t frmorm : 1; // 9 FRMORM uint32_t dterrm : 1; // 10 DTERRM uint32_t reserve2 : 21; // 11 Reserve } reg_sec_otg_fs_hcintmsk11_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t dpid : 2; // 29 DPID uint32_t dopng : 1; // 31 DOPNG } reg_sec_otg_fs_hctsiz11_t; typedef struct { uint32_t dspd : 2; // 0 DSPD uint32_t nzlsohsk : 1; // 2 NZLSOHSK uint32_t reserve0 : 1; // 3 Reserve uint32_t dad : 7; // 4 DAD uint32_t pfivl : 2; // 11 PFIVL uint32_t reserve1 : 2; // 13 Reserve uint32_t erratim : 1; // 15 ERRATIM uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_dcfg_t; typedef struct { uint32_t rwusig : 1; // 0 RWUSIG uint32_t sdis : 1; // 1 SDIS uint32_t ginsts : 1; // 2 GINSTS uint32_t gonsts : 1; // 3 GONSTS uint32_t tctl : 3; // 4 TCTL uint32_t sginak : 1; // 7 SGINAK uint32_t cginak : 1; // 8 CGINAK uint32_t sgonak : 1; // 9 SGONAK uint32_t cgonak : 1; // 10 CGONAK uint32_t poprgdne : 1; // 11 POPRGDNE uint32_t reserve0 : 6; // 12 Reserve uint32_t dsbeslrjct: 1; // 18 DSBESLRJCT uint32_t reserve1 : 13; // 19 Reserve } reg_sec_otg_fs_dctl_t; typedef struct { uint32_t suspsts : 1; // 0 SUSPSTS uint32_t enumspd : 2; // 1 ENUMSPD uint32_t eerr : 1; // 3 EERR uint32_t reserve0 : 4; // 4 Reserve uint32_t fnsof : 14; // 8 FNSOF uint32_t devlnsts : 2; // 22 DEVLNSTS uint32_t reserve1 : 8; // 24 Reserve } reg_sec_otg_fs_dsts_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t epdm : 1; // 1 EPDM uint32_t reserve0 : 1; // 2 Reserve uint32_t tom : 1; // 3 TOM uint32_t ittxfemsk : 1; // 4 ITTXFEMSK uint32_t inepnmm : 1; // 5 INEPNMM uint32_t inepnem : 1; // 6 INEPNEM uint32_t reserve1 : 6; // 7 Reserve uint32_t nakm : 1; // 13 NAKM uint32_t reserve2 : 18; // 14 Reserve } reg_sec_otg_fs_diepmsk_t; typedef struct { uint32_t xfrcm : 1; // 0 XFRCM uint32_t epdm : 1; // 1 EPDM uint32_t reserve0 : 1; // 2 Reserve uint32_t stupm : 1; // 3 STUPM uint32_t otepdm : 1; // 4 OTEPDM uint32_t stsphsrxm : 1; // 5 STSPHSRXM uint32_t reserve1 : 2; // 6 Reserve uint32_t outpkterrm: 1; // 8 OUTPKTERRM uint32_t reserve2 : 3; // 9 Reserve uint32_t berrm : 1; // 12 BERRM uint32_t nakmsk : 1; // 13 NAKMSK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_doepmsk_t; typedef struct { uint32_t iepint : 16; // 0 IEPINT uint32_t oepint : 16; // 16 OEPINT } reg_sec_otg_fs_daint_t; typedef struct { uint32_t iepm : 16; // 0 IEPM uint32_t oepm : 16; // 16 OEPM } reg_sec_otg_fs_daintmsk_t; typedef struct { uint32_t vbusdt : 16; // 0 VBUSDT uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dvbusdis_t; typedef struct { uint32_t dvbusp : 16; // 0 DVBUSP uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dvbuspulse_t; typedef struct { uint32_t ineptxfem : 16; // 0 INEPTXFEM uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_diepempmsk_t; typedef struct { uint32_t mpsiz : 2; // 0 MPSIZ uint32_t reserve0 : 13; // 2 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t reserve1 : 1; // 16 Reserve uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t reserve2 : 1; // 20 Reserve uint32_t stall : 1; // 21 STALL uint32_t txfnum : 4; // 22 TXFNUM uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t reserve3 : 2; // 28 Reserve uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_diepctl0_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t reserve0 : 1; // 2 Reserve uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t reserve1 : 3; // 8 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve2 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_diepint0_t; typedef struct { uint32_t xfrsiz : 7; // 0 XFRSIZ uint32_t reserve0 : 12; // 7 Reserve uint32_t pktcnt : 2; // 19 PKTCNT uint32_t reserve1 : 11; // 21 Reserve } reg_sec_otg_fs_dieptsiz0_t; typedef struct { uint32_t ineptfsav : 16; // 0 INEPTFSAV uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dtxfsts0_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t reserve1 : 1; // 20 Reserve uint32_t stall : 1; // 21 STALL uint32_t txfnum : 4; // 22 TXFNUM uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t soddfrm : 1; // 29 SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_diepctl1_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t reserve0 : 1; // 2 Reserve uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t reserve1 : 3; // 8 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve2 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_diepint1_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz1_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma1_t; typedef struct { uint32_t ineptfsav : 16; // 0 INEPTFSAV uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dtxfsts1_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t reserve1 : 1; // 20 Reserve uint32_t stall : 1; // 21 STALL uint32_t txfnum : 4; // 22 TXFNUM uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t soddfrm : 1; // 29 SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_diepctl2_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t reserve0 : 1; // 2 Reserve uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t reserve1 : 3; // 8 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve2 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_diepint2_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz2_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma2_t; typedef struct { uint32_t ineptfsav : 16; // 0 INEPTFSAV uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dtxfsts2_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t reserve1 : 1; // 20 Reserve uint32_t stall : 1; // 21 STALL uint32_t txfnum : 4; // 22 TXFNUM uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t soddfrm : 1; // 29 SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_diepctl3_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t reserve0 : 1; // 2 Reserve uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t reserve1 : 3; // 8 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve2 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_diepint3_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz3_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma3_t; typedef struct { uint32_t ineptfsav : 16; // 0 INEPTFSAV uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dtxfsts3_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t reserve1 : 1; // 20 Reserve uint32_t stall : 1; // 21 STALL uint32_t txfnum : 4; // 22 TXFNUM uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t soddfrm : 1; // 29 SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_diepctl4_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t reserve0 : 1; // 2 Reserve uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t reserve1 : 3; // 8 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve2 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_diepint4_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz4_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma4_t; typedef struct { uint32_t ineptfsav : 16; // 0 INEPTFSAV uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dtxfsts4_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t reserve1 : 1; // 20 Reserve uint32_t stall : 1; // 21 STALL uint32_t txfnum : 4; // 22 TXFNUM uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t soddfrm : 1; // 29 SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_diepctl5_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t reserve0 : 1; // 2 Reserve uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t reserve1 : 3; // 8 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve2 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve3 : 18; // 14 Reserve } reg_sec_otg_fs_diepint5_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz5_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma5_t; typedef struct { uint32_t ineptfsav : 16; // 0 INEPTFSAV uint32_t reserve0 : 16; // 16 Reserve } reg_sec_otg_fs_dtxfsts5_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t txfifoudrn: 1; // 8 TXFIFOUDRN uint32_t bna : 1; // 9 BNA uint32_t reserve0 : 1; // 10 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve1 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve2 : 18; // 14 Reserve } reg_sec_otg_fs_diepint6_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz6_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma6_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t txfifoudrn: 1; // 8 TXFIFOUDRN uint32_t bna : 1; // 9 BNA uint32_t reserve0 : 1; // 10 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve1 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve2 : 18; // 14 Reserve } reg_sec_otg_fs_diepint7_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz7_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma7_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t toc : 1; // 3 TOC uint32_t ittxfe : 1; // 4 ITTXFE uint32_t inepnm : 1; // 5 INEPNM uint32_t inepne : 1; // 6 INEPNE uint32_t txfe : 1; // 7 TXFE uint32_t txfifoudrn: 1; // 8 TXFIFOUDRN uint32_t bna : 1; // 9 BNA uint32_t reserve0 : 1; // 10 Reserve uint32_t pktdrpsts : 1; // 11 PKTDRPSTS uint32_t reserve1 : 1; // 12 Reserve uint32_t nak : 1; // 13 NAK uint32_t reserve2 : 18; // 14 Reserve } reg_sec_otg_fs_diepint8_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t mcnt : 2; // 29 MCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_dieptsiz8_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_diepdma8_t; typedef struct { uint32_t mpsiz : 2; // 0 MPSIZ uint32_t reserve0 : 13; // 2 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t reserve1 : 1; // 16 Reserve uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve2 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t reserve3 : 2; // 28 Reserve uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl0_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint0_t; typedef struct { uint32_t xfrsiz : 7; // 0 XFRSIZ uint32_t reserve0 : 12; // 7 Reserve uint32_t pktcnt : 1; // 19 PKTCNT uint32_t reserve1 : 9; // 20 Reserve uint32_t stupcnt : 2; // 29 STUPCNT uint32_t reserve2 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz0_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma0_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl1_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint1_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz1_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma1_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl2_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint2_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz2_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma2_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl3_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint3_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz3_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma3_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl4_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint4_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz4_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma4_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl5_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint5_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz5_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma5_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl6_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint6_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz6_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma6_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl7_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint7_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz7_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma7_t; typedef struct { uint32_t mpsiz : 11; // 0 MPSIZ uint32_t reserve0 : 4; // 11 Reserve uint32_t usbaep : 1; // 15 USBAEP uint32_t eonum_dpip: 1; // 16 EONUM_DPIP uint32_t naksts : 1; // 17 NAKSTS uint32_t eptyp : 2; // 18 EPTYP uint32_t snpm : 1; // 20 SNPM uint32_t stall : 1; // 21 STALL uint32_t reserve1 : 4; // 22 Reserve uint32_t cnak : 1; // 26 CNAK uint32_t snak : 1; // 27 SNAK uint32_t sd0pid_sevnfrm: 1; // 28 SD0PID_SEVNFRM uint32_t sd1pid_soddfrm: 1; // 29 SD1PID_SODDFRM uint32_t epdis : 1; // 30 EPDIS uint32_t epena : 1; // 31 EPENA } reg_sec_otg_fs_doepctl8_t; typedef struct { uint32_t xfrc : 1; // 0 XFRC uint32_t epdisd : 1; // 1 EPDISD uint32_t ahberr : 1; // 2 AHBERR uint32_t stup : 1; // 3 STUP uint32_t otepdis : 1; // 4 OTEPDIS uint32_t stsphsrx : 1; // 5 STSPHSRX uint32_t b2bstup : 1; // 6 B2BSTUP uint32_t reserve0 : 1; // 7 Reserve uint32_t outpkterr : 1; // 8 OUTPKTERR uint32_t bna : 1; // 9 BNA uint32_t reserve1 : 2; // 10 Reserve uint32_t berr : 1; // 12 BERR uint32_t nak : 1; // 13 NAK uint32_t nyet : 1; // 14 NYET uint32_t stpktrx : 1; // 15 STPKTRX uint32_t reserve2 : 16; // 16 Reserve } reg_sec_otg_fs_doepint8_t; typedef struct { uint32_t xfrsiz : 19; // 0 XFRSIZ uint32_t pktcnt : 10; // 19 PKTCNT uint32_t rxdpid_stupcnt: 2; // 29 RXDPID_STUPCNT uint32_t reserve0 : 1; // 31 Reserve } reg_sec_otg_fs_doeptsiz8_t; typedef struct { uint32_t dmaaddr : 32; // 0 DMAADDR } reg_sec_otg_fs_doepdma8_t; typedef struct { uint32_t stppclk : 1; // 0 STPPCLK uint32_t gatehclk : 1; // 1 GATEHCLK uint32_t reserve0 : 2; // 2 Reserve uint32_t physusp : 1; // 4 PHYSUSP uint32_t enl1gtg : 1; // 5 ENL1GTG uint32_t physleep : 1; // 6 PHYSLEEP uint32_t susp : 1; // 7 SUSP uint32_t reserve1 : 24; // 8 Reserve } reg_sec_otg_fs_pcgcctl_t; typedef struct { volatile reg_sec_otg_fs_gotgctl_t gotgctl; volatile reg_sec_otg_fs_gotgint_t gotgint; volatile reg_sec_otg_fs_gahbcfg_t gahbcfg; volatile reg_sec_otg_fs_gusbcfg_t gusbcfg; volatile reg_sec_otg_fs_grstctl_t grstctl; volatile reg_sec_otg_fs_gintsts_t gintsts; volatile reg_sec_otg_fs_gintmsk_t gintmsk; volatile reg_sec_otg_fs_grxstsr_device_t grxstsr_device; volatile uint32_t reserve0[-1]; volatile reg_sec_otg_fs_grxstsr_host_t grxstsr_host; volatile reg_sec_otg_fs_grxstsp_device_t grxstsp_device; volatile uint32_t reserve1[-1]; volatile reg_sec_otg_fs_grxstsp_host_t grxstsp_host; volatile reg_sec_otg_fs_grxfsiz_t grxfsiz; volatile reg_sec_otg_fs_hnptxfsiz_t hnptxfsiz; volatile reg_sec_otg_fs_hnptxsts_t hnptxsts; volatile uint32_t reserve2[2]; volatile reg_sec_otg_fs_gccfg_t gccfg; volatile reg_sec_otg_fs_cid_t cid; volatile uint32_t reserve3[5]; volatile reg_sec_otg_fs_glpmcfg_t glpmcfg; volatile uint32_t reserve4[42]; volatile reg_sec_otg_fs_hptxfsiz_t hptxfsiz; volatile reg_sec_otg_fs_dieptxf1_t dieptxf1; volatile reg_sec_otg_fs_dieptxf2_t dieptxf2; volatile reg_sec_otg_fs_dieptxf3_t dieptxf3; volatile reg_sec_otg_fs_dieptxf4_t dieptxf4; volatile reg_sec_otg_fs_dieptxf5_t dieptxf5; volatile uint32_t reserve5[186]; volatile reg_sec_otg_fs_hcfg_t hcfg; volatile reg_sec_otg_fs_hfir_t hfir; volatile reg_sec_otg_fs_hfnum_t hfnum; volatile uint32_t reserve6[1]; volatile reg_sec_otg_fs_hptxsts_t hptxsts; volatile reg_sec_otg_fs_haint_t haint; volatile reg_sec_otg_fs_haintmsk_t haintmsk; volatile uint32_t reserve7[9]; volatile reg_sec_otg_fs_hprt_t hprt; volatile uint32_t reserve8[47]; volatile reg_sec_otg_fs_hcchar0_t hcchar0; volatile uint32_t reserve9[1]; volatile reg_sec_otg_fs_hcint0_t hcint0; volatile reg_sec_otg_fs_hcintmsk0_t hcintmsk0; volatile reg_sec_otg_fs_hctsiz0_t hctsiz0; volatile uint32_t reserve10[3]; volatile reg_sec_otg_fs_hcchar1_t hcchar1; volatile uint32_t reserve11[1]; volatile reg_sec_otg_fs_hcint1_device_t hcint1_device; volatile reg_sec_otg_fs_hcintmsk1_t hcintmsk1; volatile reg_sec_otg_fs_hctsiz1_t hctsiz1; volatile uint32_t reserve12[3]; volatile reg_sec_otg_fs_hcchar2_t hcchar2; volatile uint32_t reserve13[1]; volatile reg_sec_otg_fs_hcint2_t hcint2; volatile reg_sec_otg_fs_hcintmsk2_t hcintmsk2; volatile reg_sec_otg_fs_hctsiz2_t hctsiz2; volatile uint32_t reserve14[3]; volatile reg_sec_otg_fs_hcchar3_t hcchar3; volatile uint32_t reserve15[1]; volatile reg_sec_otg_fs_hcint3_t hcint3; volatile reg_sec_otg_fs_hcintmsk3_t hcintmsk3; volatile reg_sec_otg_fs_hctsiz3_t hctsiz3; volatile uint32_t reserve16[3]; volatile reg_sec_otg_fs_hcchar4_t hcchar4; volatile uint32_t reserve17[1]; volatile reg_sec_otg_fs_hcint4_t hcint4; volatile reg_sec_otg_fs_hcintmsk4_t hcintmsk4; volatile reg_sec_otg_fs_hctsiz4_t hctsiz4; volatile uint32_t reserve18[3]; volatile reg_sec_otg_fs_hcchar5_t hcchar5; volatile uint32_t reserve19[1]; volatile reg_sec_otg_fs_hcint5_t hcint5; volatile reg_sec_otg_fs_hcintmsk5_t hcintmsk5; volatile reg_sec_otg_fs_hctsiz5_t hctsiz5; volatile uint32_t reserve20[3]; volatile reg_sec_otg_fs_hcchar6_t hcchar6; volatile uint32_t reserve21[1]; volatile reg_sec_otg_fs_hcint6_t hcint6; volatile reg_sec_otg_fs_hcintmsk6_t hcintmsk6; volatile reg_sec_otg_fs_hctsiz6_t hctsiz6; volatile uint32_t reserve22[3]; volatile reg_sec_otg_fs_hcchar7_t hcchar7; volatile uint32_t reserve23[1]; volatile reg_sec_otg_fs_hcint7_t hcint7; volatile reg_sec_otg_fs_hcintmsk7_t hcintmsk7; volatile reg_sec_otg_fs_hctsiz7_t hctsiz7; volatile uint32_t reserve24[3]; volatile reg_sec_otg_fs_hcchar8_t hcchar8; volatile uint32_t reserve25[1]; volatile reg_sec_otg_fs_hcint8_t hcint8; volatile reg_sec_otg_fs_hcintmsk8_t hcintmsk8; volatile reg_sec_otg_fs_hctsiz8_t hctsiz8; volatile uint32_t reserve26[3]; volatile reg_sec_otg_fs_hcchar9_t hcchar9; volatile uint32_t reserve27[1]; volatile reg_sec_otg_fs_hcint9_t hcint9; volatile reg_sec_otg_fs_hcintmsk9_t hcintmsk9; volatile reg_sec_otg_fs_hctsiz9_t hctsiz9; volatile uint32_t reserve28[3]; volatile reg_sec_otg_fs_hcchar10_t hcchar10; volatile uint32_t reserve29[1]; volatile reg_sec_otg_fs_hcint10_t hcint10; volatile reg_sec_otg_fs_hcintmsk10_t hcintmsk10; volatile reg_sec_otg_fs_hctsiz10_t hctsiz10; volatile uint32_t reserve30[3]; volatile reg_sec_otg_fs_hcchar11_t hcchar11; volatile uint32_t reserve31[1]; volatile reg_sec_otg_fs_hcint11_t hcint11; volatile reg_sec_otg_fs_hcintmsk11_t hcintmsk11; volatile reg_sec_otg_fs_hctsiz11_t hctsiz11; volatile uint32_t reserve32[99]; volatile reg_sec_otg_fs_dcfg_t dcfg; volatile reg_sec_otg_fs_dctl_t dctl; volatile reg_sec_otg_fs_dsts_t dsts; volatile uint32_t reserve33[1]; volatile reg_sec_otg_fs_diepmsk_t diepmsk; volatile reg_sec_otg_fs_doepmsk_t doepmsk; volatile reg_sec_otg_fs_daint_t daint; volatile reg_sec_otg_fs_daintmsk_t daintmsk; volatile uint32_t reserve34[2]; volatile reg_sec_otg_fs_dvbusdis_t dvbusdis; volatile reg_sec_otg_fs_dvbuspulse_t dvbuspulse; volatile uint32_t reserve35[1]; volatile reg_sec_otg_fs_diepempmsk_t diepempmsk; volatile uint32_t reserve36[50]; volatile reg_sec_otg_fs_diepctl0_t diepctl0; volatile uint32_t reserve37[1]; volatile reg_sec_otg_fs_diepint0_t diepint0; volatile uint32_t reserve38[1]; volatile reg_sec_otg_fs_dieptsiz0_t dieptsiz0; volatile uint32_t reserve39[1]; volatile reg_sec_otg_fs_dtxfsts0_t dtxfsts0; volatile uint32_t reserve40[1]; volatile reg_sec_otg_fs_diepctl1_t diepctl1; volatile uint32_t reserve41[1]; volatile reg_sec_otg_fs_diepint1_t diepint1; volatile uint32_t reserve42[1]; volatile reg_sec_otg_fs_dieptsiz1_t dieptsiz1; volatile reg_sec_otg_fs_diepdma1_t diepdma1; volatile reg_sec_otg_fs_dtxfsts1_t dtxfsts1; volatile uint32_t reserve43[1]; volatile reg_sec_otg_fs_diepctl2_t diepctl2; volatile uint32_t reserve44[1]; volatile reg_sec_otg_fs_diepint2_t diepint2; volatile uint32_t reserve45[1]; volatile reg_sec_otg_fs_dieptsiz2_t dieptsiz2; volatile reg_sec_otg_fs_diepdma2_t diepdma2; volatile reg_sec_otg_fs_dtxfsts2_t dtxfsts2; volatile uint32_t reserve46[1]; volatile reg_sec_otg_fs_diepctl3_t diepctl3; volatile uint32_t reserve47[1]; volatile reg_sec_otg_fs_diepint3_t diepint3; volatile uint32_t reserve48[1]; volatile reg_sec_otg_fs_dieptsiz3_t dieptsiz3; volatile reg_sec_otg_fs_diepdma3_t diepdma3; volatile reg_sec_otg_fs_dtxfsts3_t dtxfsts3; volatile uint32_t reserve49[1]; volatile reg_sec_otg_fs_diepctl4_t diepctl4; volatile uint32_t reserve50[1]; volatile reg_sec_otg_fs_diepint4_t diepint4; volatile uint32_t reserve51[1]; volatile reg_sec_otg_fs_dieptsiz4_t dieptsiz4; volatile reg_sec_otg_fs_diepdma4_t diepdma4; volatile reg_sec_otg_fs_dtxfsts4_t dtxfsts4; volatile uint32_t reserve52[1]; volatile reg_sec_otg_fs_diepctl5_t diepctl5; volatile uint32_t reserve53[1]; volatile reg_sec_otg_fs_diepint5_t diepint5; volatile uint32_t reserve54[1]; volatile reg_sec_otg_fs_dieptsiz5_t dieptsiz5; volatile reg_sec_otg_fs_diepdma5_t diepdma5; volatile reg_sec_otg_fs_dtxfsts5_t dtxfsts5; volatile uint32_t reserve55[3]; volatile reg_sec_otg_fs_diepint6_t diepint6; volatile uint32_t reserve56[1]; volatile reg_sec_otg_fs_dieptsiz6_t dieptsiz6; volatile reg_sec_otg_fs_diepdma6_t diepdma6; volatile uint32_t reserve57[4]; volatile reg_sec_otg_fs_diepint7_t diepint7; volatile uint32_t reserve58[1]; volatile reg_sec_otg_fs_dieptsiz7_t dieptsiz7; volatile reg_sec_otg_fs_diepdma7_t diepdma7; volatile uint32_t reserve59[4]; volatile reg_sec_otg_fs_diepint8_t diepint8; volatile uint32_t reserve60[1]; volatile reg_sec_otg_fs_dieptsiz8_t dieptsiz8; volatile reg_sec_otg_fs_diepdma8_t diepdma8; volatile uint32_t reserve61[58]; volatile reg_sec_otg_fs_doepctl0_t doepctl0; volatile uint32_t reserve62[1]; volatile reg_sec_otg_fs_doepint0_t doepint0; volatile uint32_t reserve63[1]; volatile reg_sec_otg_fs_doeptsiz0_t doeptsiz0; volatile reg_sec_otg_fs_doepdma0_t doepdma0; volatile uint32_t reserve64[2]; volatile reg_sec_otg_fs_doepctl1_t doepctl1; volatile uint32_t reserve65[1]; volatile reg_sec_otg_fs_doepint1_t doepint1; volatile uint32_t reserve66[1]; volatile reg_sec_otg_fs_doeptsiz1_t doeptsiz1; volatile reg_sec_otg_fs_doepdma1_t doepdma1; volatile uint32_t reserve67[2]; volatile reg_sec_otg_fs_doepctl2_t doepctl2; volatile uint32_t reserve68[1]; volatile reg_sec_otg_fs_doepint2_t doepint2; volatile uint32_t reserve69[1]; volatile reg_sec_otg_fs_doeptsiz2_t doeptsiz2; volatile reg_sec_otg_fs_doepdma2_t doepdma2; volatile uint32_t reserve70[2]; volatile reg_sec_otg_fs_doepctl3_t doepctl3; volatile uint32_t reserve71[1]; volatile reg_sec_otg_fs_doepint3_t doepint3; volatile uint32_t reserve72[1]; volatile reg_sec_otg_fs_doeptsiz3_t doeptsiz3; volatile reg_sec_otg_fs_doepdma3_t doepdma3; volatile uint32_t reserve73[2]; volatile reg_sec_otg_fs_doepctl4_t doepctl4; volatile uint32_t reserve74[1]; volatile reg_sec_otg_fs_doepint4_t doepint4; volatile uint32_t reserve75[1]; volatile reg_sec_otg_fs_doeptsiz4_t doeptsiz4; volatile reg_sec_otg_fs_doepdma4_t doepdma4; volatile uint32_t reserve76[2]; volatile reg_sec_otg_fs_doepctl5_t doepctl5; volatile uint32_t reserve77[1]; volatile reg_sec_otg_fs_doepint5_t doepint5; volatile uint32_t reserve78[1]; volatile reg_sec_otg_fs_doeptsiz5_t doeptsiz5; volatile reg_sec_otg_fs_doepdma5_t doepdma5; volatile uint32_t reserve79[2]; volatile reg_sec_otg_fs_doepctl6_t doepctl6; volatile uint32_t reserve80[1]; volatile reg_sec_otg_fs_doepint6_t doepint6; volatile uint32_t reserve81[1]; volatile reg_sec_otg_fs_doeptsiz6_t doeptsiz6; volatile reg_sec_otg_fs_doepdma6_t doepdma6; volatile uint32_t reserve82[2]; volatile reg_sec_otg_fs_doepctl7_t doepctl7; volatile uint32_t reserve83[1]; volatile reg_sec_otg_fs_doepint7_t doepint7; volatile uint32_t reserve84[1]; volatile reg_sec_otg_fs_doeptsiz7_t doeptsiz7; volatile reg_sec_otg_fs_doepdma7_t doepdma7; volatile uint32_t reserve85[2]; volatile reg_sec_otg_fs_doepctl8_t doepctl8; volatile uint32_t reserve86[1]; volatile reg_sec_otg_fs_doepint8_t doepint8; volatile uint32_t reserve87[1]; volatile reg_sec_otg_fs_doeptsiz8_t doeptsiz8; volatile reg_sec_otg_fs_doepdma8_t doepdma8; volatile uint32_t reserve88[122]; volatile reg_sec_otg_fs_pcgcctl_t pcgcctl; } reg_sec_otg_fs_t;