#[repr(C)]
pub struct RegisterBlock {
Show 15 fields pub fs_gotgctl: Reg<FS_GOTGCTL_SPEC>, pub fs_gotgint: Reg<FS_GOTGINT_SPEC>, pub fs_gahbcfg: Reg<FS_GAHBCFG_SPEC>, pub fs_gusbcfg: Reg<FS_GUSBCFG_SPEC>, pub fs_grstctl: Reg<FS_GRSTCTL_SPEC>, pub fs_gintsts: Reg<FS_GINTSTS_SPEC>, pub fs_gintmsk: Reg<FS_GINTMSK_SPEC>, pub fs_grxfsiz: Reg<FS_GRXFSIZ_SPEC>, pub fs_gnptxsts: Reg<FS_GNPTXSTS_SPEC>, pub fs_gccfg: Reg<FS_GCCFG_SPEC>, pub fs_cid: Reg<FS_CID_SPEC>, pub fs_hptxfsiz: Reg<FS_HPTXFSIZ_SPEC>, pub fs_dieptxf1: Reg<FS_DIEPTXF1_SPEC>, pub fs_dieptxf2: Reg<FS_DIEPTXF2_SPEC>, pub fs_dieptxf3: Reg<FS_DIEPTXF3_SPEC>, /* private fields */
}
Expand description

Register block

Fields

fs_gotgctl: Reg<FS_GOTGCTL_SPEC>

0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)

fs_gotgint: Reg<FS_GOTGINT_SPEC>

0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)

fs_gahbcfg: Reg<FS_GAHBCFG_SPEC>

0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)

fs_gusbcfg: Reg<FS_GUSBCFG_SPEC>

0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)

fs_grstctl: Reg<FS_GRSTCTL_SPEC>

0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)

fs_gintsts: Reg<FS_GINTSTS_SPEC>

0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)

fs_gintmsk: Reg<FS_GINTMSK_SPEC>

0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)

fs_grxfsiz: Reg<FS_GRXFSIZ_SPEC>

0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)

fs_gnptxsts: Reg<FS_GNPTXSTS_SPEC>

0x2c - OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)

fs_gccfg: Reg<FS_GCCFG_SPEC>

0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)

fs_cid: Reg<FS_CID_SPEC>

0x3c - core ID register

fs_hptxfsiz: Reg<FS_HPTXFSIZ_SPEC>

0x100 - OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)

fs_dieptxf1: Reg<FS_DIEPTXF1_SPEC>

0x104 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)

fs_dieptxf2: Reg<FS_DIEPTXF2_SPEC>

0x108 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)

fs_dieptxf3: Reg<FS_DIEPTXF3_SPEC>

0x10c - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)

Implementations

0x1c - OTG_FS Receive status debug read(Host mode)

0x1c - OTG_FS Receive status debug read(Device mode)

0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)

0x28 - OTG_FS non-periodic transmit FIFO size register (Device 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.