Struct xmc4200::usb0::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub gahbcfg: GAHBCFG, pub gusbcfg: GUSBCFG, pub grstctl: GRSTCTL, pub gintsts: GINTSTS, pub gintmsk: GINTMSK, pub grxstsr: GRXSTSR, pub grxstsp: GRXSTSP, pub grxfsiz: GRXFSIZ, pub gnptxfsiz: GNPTXFSIZ, pub guid: GUID, pub gdfifocfg: GDFIFOCFG, pub dieptxf1: DIEPTXF1, pub dieptxf2: DIEPTXF2, pub dieptxf3: DIEPTXF3, pub dieptxf4: DIEPTXF4, pub dieptxf5: DIEPTXF5, pub dieptxf6: DIEPTXF6, 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
gahbcfg: GAHBCFG
0x08 - AHB Configuration Register
gusbcfg: GUSBCFG
0x0c - USB Configuration Register
grstctl: GRSTCTL
0x10 - Reset Register
gintsts: GINTSTS
0x14 - Interrupt Register
gintmsk: GINTMSK
0x18 - Interrupt Mask Register
grxstsr: GRXSTSR
0x1c - Receive Status Debug Read Register
grxstsp: GRXSTSP
0x20 - Receive Status Read and Pop Register
grxfsiz: GRXFSIZ
0x24 - Receive FIFO Size Register
gnptxfsiz: GNPTXFSIZ
0x28 - Non-Periodic Transmit FIFO Size Register
guid: GUID
0x3c - USB Module Identification Register
gdfifocfg: GDFIFOCFG
0x5c - Global DFIFO Software Config Register
dieptxf1: DIEPTXF1
0x104 - Device IN Endpoint 1 Transmit FIFO Size Register
dieptxf2: DIEPTXF2
0x108 - Device IN Endpoint 2 Transmit FIFO Size Register
dieptxf3: DIEPTXF3
0x10c - Device IN Endpoint 3 Transmit FIFO Size Register
dieptxf4: DIEPTXF4
0x110 - Device IN Endpoint 4 Transmit FIFO Size Register
dieptxf5: DIEPTXF5
0x114 - Device IN Endpoint 5 Transmit FIFO Size Register
dieptxf6: DIEPTXF6
0x118 - Device IN Endpoint 6 Transmit FIFO Size Register
dcfg: DCFG
0x800 - Device Configuration Register
dctl: DCTL
0x804 - Device Control Register
dsts: DSTS
0x808 - Device Status Register
diepmsk: DIEPMSK
0x810 - Device IN Endpoint Common Interrupt Mask Register
doepmsk: DOEPMSK
0x814 - Device OUT Endpoint Common Interrupt Mask Register
daint: DAINT
0x818 - Device All Endpoints Interrupt Register
daintmsk: DAINTMSK
0x81c - Device All Endpoints Interrupt Mask Register
dvbusdis: DVBUSDIS
0x828 - Device VBUS Discharge Time Register
dvbuspulse: DVBUSPULSE
0x82c - Device VBUS Pulsing Time Register
diepempmsk: DIEPEMPMSK
0x834 - Device IN Endpoint FIFO Empty Interrupt Mask Register
pcgcctl: PCGCCTL
0xe00 - Power and Clock Gating Control Register