#[repr(C)]
pub struct RegisterBlock {
Show 19 fields pub fs_gotgctl: FS_GOTGCTL, pub fs_gotgint: FS_GOTGINT, pub fs_gahbcfg: FS_GAHBCFG, pub fs_gusbcfg: FS_GUSBCFG, pub fs_grstctl: FS_GRSTCTL, pub fs_gintsts: FS_GINTSTS, pub fs_gintmsk: FS_GINTMSK, pub fs_grxstsr_device: FS_GRXSTSR_DEVICE, pub fs_grxfsiz: FS_GRXFSIZ, pub fs_gnptxfsiz_device: FS_GNPTXFSIZ_DEVICE, pub fs_gnptxsts: FS_GNPTXSTS, pub fs_gccfg: FS_GCCFG, pub fs_cid: FS_CID, pub fs_hptxfsiz: FS_HPTXFSIZ, pub fs_dieptxf1: FS_DIEPTXF1, pub fs_dieptxf2: FS_DIEPTXF2, pub fs_dieptxf3: FS_DIEPTXF3, pub fs_dieptxf4: FS_DIEPTXF4, pub fs_dieptxf5: FS_DIEPTXF5, /* private fields */
}
Expand description

Register block

Fields§

§fs_gotgctl: FS_GOTGCTL

0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)

§fs_gotgint: FS_GOTGINT

0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)

§fs_gahbcfg: FS_GAHBCFG

0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)

§fs_gusbcfg: FS_GUSBCFG

0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)

§fs_grstctl: FS_GRSTCTL

0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)

§fs_gintsts: FS_GINTSTS

0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)

§fs_gintmsk: FS_GINTMSK

0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)

§fs_grxstsr_device: FS_GRXSTSR_DEVICE

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

§fs_grxfsiz: FS_GRXFSIZ

0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)

§fs_gnptxfsiz_device: FS_GNPTXFSIZ_DEVICE

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

§fs_gnptxsts: FS_GNPTXSTS

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

§fs_gccfg: FS_GCCFG

0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)

§fs_cid: FS_CID

0x3c - core ID register

§fs_hptxfsiz: FS_HPTXFSIZ

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

§fs_dieptxf1: FS_DIEPTXF1

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

§fs_dieptxf2: FS_DIEPTXF2

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

§fs_dieptxf3: FS_DIEPTXF3

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

§fs_dieptxf4: FS_DIEPTXF4

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

§fs_dieptxf5: FS_DIEPTXF5

0x114 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)

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.

Should always be Self
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.