Struct xmc4500::usb0::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub gotgctl: GOTGCTL, pub gotgint: GOTGINT, pub gahbcfg: GAHBCFG, pub gusbcfg: GUSBCFG, pub grstctl: GRSTCTL, pub gintsts_hostmode: GINTSTS_HOSTMODE, pub gintmsk_hostmode: GINTMSK_HOSTMODE, pub grxstsr_hostmode: GRXSTSR_HOSTMODE, pub grxstsp_hostmode: GRXSTSP_HOSTMODE, pub grxfsiz: GRXFSIZ, pub gnptxfsiz_hostmode: GNPTXFSIZ_HOSTMODE, pub gnptxsts: GNPTXSTS, pub guid: GUID, pub gdfifocfg: GDFIFOCFG, pub hptxfsiz: HPTXFSIZ, pub dieptxf1: DIEPTXF1, pub dieptxf2: DIEPTXF2, pub dieptxf3: DIEPTXF3, pub dieptxf4: DIEPTXF4, pub dieptxf5: DIEPTXF5, pub dieptxf6: DIEPTXF6, pub hcfg: HCFG, pub hfir: HFIR, pub hfnum: HFNUM, pub hptxsts: HPTXSTS, pub haint: HAINT, pub haintmsk: HAINTMSK, pub hflbaddr: HFLBADDR, pub hprt: HPRT, pub dcfg: DCFG, pub dctl: DCTL, pub dsts: DSTS, pub diepmsk: DIEPMSK, pub doepmsk: DOEPMSK, pub daint: DAINT, pub daintmsk: DAINTMSK, pub dvbusdis: DVBUSDIS, pub dvbuspulse: DVBUSPULSE, pub diepempmsk: DIEPEMPMSK, pub pcgcctl: PCGCCTL, // some fields omitted }

Register block

Fields

0x00 - Control and Status Register

0x04 - OTG Interrupt Register

0x08 - AHB Configuration Register

0x0c - USB Configuration Register

0x10 - Reset Register

0x14 - Interrupt Register [HOSTMODE]

0x18 - Interrupt Mask Register [HOSTMODE]

0x1c - Receive Status Debug Read Register [HOSTMODE]

0x20 - Receive Status Read and Pop Register [HOSTMODE]

0x24 - Receive FIFO Size Register

0x28 - Non-Periodic Transmit FIFO Size Register [HOSTMODE]

0x2c - Non-Periodic Transmit FIFO/Queue Status Register

0x3c - USB Module Identification Register

0x5c - Global DFIFO Software Config Register

0x100 - Host Periodic Transmit FIFO Size Register

0x104 - Device IN Endpoint 1 Transmit FIFO Size Register

0x108 - Device IN Endpoint 2 Transmit FIFO Size Register

0x10c - Device IN Endpoint 3 Transmit FIFO Size Register

0x110 - Device IN Endpoint 4 Transmit FIFO Size Register

0x114 - Device IN Endpoint 5 Transmit FIFO Size Register

0x118 - Device IN Endpoint 6 Transmit FIFO Size Register

0x400 - Host Configuration Register

0x404 - Host Frame Interval Register

0x408 - Host Frame Number/Frame Time Remaining Register

0x410 - Host Periodic Transmit FIFO/ Queue Status Register

0x414 - Host All Channels Interrupt Register

0x418 - Host All Channels Interrupt Mask Register

0x41c - Host Frame List Base Address Register

0x440 - Host Port Control and Status Register

0x800 - Device Configuration Register

0x804 - Device Control Register

0x808 - Device Status Register

0x810 - Device IN Endpoint Common Interrupt Mask Register

0x814 - Device OUT Endpoint Common Interrupt Mask Register

0x818 - Device All Endpoints Interrupt Register

0x81c - Device All Endpoints Interrupt Mask Register

0x828 - Device VBUS Discharge Time Register

0x82c - Device VBUS Pulsing Time Register

0x834 - Device IN Endpoint FIFO Empty Interrupt Mask Register

0xe00 - Power and Clock Gating Control Register