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
fs_gotgctl: FsGotgctl
0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)
fs_gotgint: FsGotgint
0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)
fs_gahbcfg: FsGahbcfg
0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)
fs_gusbcfg: FsGusbcfg
0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)
fs_grstctl: FsGrstctl
0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)
fs_gintsts: FsGintsts
0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)
fs_gintmsk: FsGintmsk
0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)
fs_grxstsr_device: FsGrxstsrDevice
0x1c - OTG_FS Receive status debug read(Device mode)
fs_grxfsiz: FsGrxfsiz
0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)
fs_gnptxfsiz_device: FsGnptxfsizDevice
0x28 - OTG_FS non-periodic transmit FIFO size register (Device mode)
fs_gnptxsts: FsGnptxsts
0x2c - OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)
fs_gccfg: FsGccfg
0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)
fs_cid: FsCid
0x3c - core ID register
fs_hptxfsiz: FsHptxfsiz
0x100 - OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)
fs_dieptxf1: FsDieptxf1
0x104 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
fs_dieptxf2: FsDieptxf2
0x108 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)
fs_dieptxf3: FsDieptxf3
0x10c - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)