Struct stm32l4x6::otg_fs_global::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub fs_gotgctl: FsGotgctl, pub fs_gotgint: FsGotgint, pub fs_gahbcfg: FsGahbcfg, pub fs_gusbcfg: FsGusbcfg, pub fs_grstctl: FsGrstctl, pub fs_gintsts: FsGintsts, pub fs_gintmsk: FsGintmsk, pub fs_grxstsr_device: FsGrxstsrDevice, pub fs_grxfsiz: FsGrxfsiz, pub fs_gnptxfsiz_device: FsGnptxfsizDevice, pub fs_gnptxsts: FsGnptxsts, pub fs_gccfg: FsGccfg, pub fs_cid: FsCid, pub fs_hptxfsiz: FsHptxfsiz, pub fs_dieptxf1: FsDieptxf1, pub fs_dieptxf2: FsDieptxf2, pub fs_dieptxf3: FsDieptxf3, // some fields omitted }

Register block

Fields

0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)

0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)

0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)

0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)

0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)

0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)

0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)

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

0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)

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

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

0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)

0x3c - core ID register

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

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

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

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