#[repr(C)]
pub struct RegisterBlock {
Show 20 fields pub gotgctl: Reg<GOTGCTL_SPEC>, pub gotgint: Reg<GOTGINT_SPEC>, pub gahbcfg: Reg<GAHBCFG_SPEC>, pub gusbcfg: Reg<GUSBCFG_SPEC>, pub grstctl: Reg<GRSTCTL_SPEC>, pub gintsts: Reg<GINTSTS_SPEC>, pub gintmsk: Reg<GINTMSK_SPEC>, pub grxfsiz: Reg<GRXFSIZ_SPEC>, pub gnptxsts: Reg<GNPTXSTS_SPEC>, pub gccfg: Reg<GCCFG_SPEC>, pub cid: Reg<CID_SPEC>, pub glpmcfg: Reg<GLPMCFG_SPEC>, pub hptxfsiz: Reg<HPTXFSIZ_SPEC>, pub dieptxf1: Reg<DIEPTXF1_SPEC>, pub dieptxf2: Reg<DIEPTXF2_SPEC>, pub dieptxf3: Reg<DIEPTXF3_SPEC>, pub dieptxf4: Reg<DIEPTXF4_SPEC>, pub dieptxf5: Reg<DIEPTXF5_SPEC>, pub dieptxf6: Reg<DIEPTXF6_SPEC>, pub dieptxf7: Reg<DIEPTXF7_SPEC>, /* private fields */
}
Expand description

Register block

Fields

gotgctl: Reg<GOTGCTL_SPEC>

0x00 - OTG_HS control and status register

gotgint: Reg<GOTGINT_SPEC>

0x04 - OTG_HS interrupt register

gahbcfg: Reg<GAHBCFG_SPEC>

0x08 - OTG_HS AHB configuration register

gusbcfg: Reg<GUSBCFG_SPEC>

0x0c - OTG_HS USB configuration register

grstctl: Reg<GRSTCTL_SPEC>

0x10 - OTG_HS reset register

gintsts: Reg<GINTSTS_SPEC>

0x14 - OTG_HS core interrupt register

gintmsk: Reg<GINTMSK_SPEC>

0x18 - OTG_HS interrupt mask register

grxfsiz: Reg<GRXFSIZ_SPEC>

0x24 - OTG_HS Receive FIFO size register

gnptxsts: Reg<GNPTXSTS_SPEC>

0x2c - OTG_HS nonperiodic transmit FIFO/queue status register

gccfg: Reg<GCCFG_SPEC>

0x38 - OTG_HS general core configuration register

cid: Reg<CID_SPEC>

0x3c - OTG_HS core ID register

glpmcfg: Reg<GLPMCFG_SPEC>

0x54 - OTG core LPM configuration register

hptxfsiz: Reg<HPTXFSIZ_SPEC>

0x100 - OTG_HS Host periodic transmit FIFO size register

dieptxf1: Reg<DIEPTXF1_SPEC>

0x104 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf2: Reg<DIEPTXF2_SPEC>

0x108 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf3: Reg<DIEPTXF3_SPEC>

0x11c - OTG_HS device IN endpoint transmit FIFO size register

dieptxf4: Reg<DIEPTXF4_SPEC>

0x120 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf5: Reg<DIEPTXF5_SPEC>

0x124 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf6: Reg<DIEPTXF6_SPEC>

0x128 - OTG_HS device IN endpoint transmit FIFO size register

dieptxf7: Reg<DIEPTXF7_SPEC>

0x12c - OTG_HS device IN endpoint transmit FIFO size register

Implementations

0x1c - OTG_HS Receive status debug read register (peripheral mode mode)

0x1c - OTG_HS Receive status debug read register (host mode)

0x20 - OTG_HS status read and pop register (peripheral mode)

0x20 - OTG_HS status read and pop register (host mode)

0x28 - Endpoint 0 transmit FIFO size (peripheral mode)

0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.