Struct stm32f1::stm32f107::otg_fs_global::RegisterBlock
source · [−]#[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
sourceimpl RegisterBlock
impl RegisterBlock
sourcepub fn fs_grxstsr_host(&self) -> &Reg<FS_GRXSTSR_HOST_SPEC>
pub fn fs_grxstsr_host(&self) -> &Reg<FS_GRXSTSR_HOST_SPEC>
0x1c - OTG_FS Receive status debug read(Host mode)
sourcepub fn fs_grxstsr_device(&self) -> &Reg<FS_GRXSTSR_DEVICE_SPEC>
pub fn fs_grxstsr_device(&self) -> &Reg<FS_GRXSTSR_DEVICE_SPEC>
0x1c - OTG_FS Receive status debug read(Device mode)
sourcepub fn fs_gnptxfsiz_host(&self) -> &Reg<FS_GNPTXFSIZ_HOST_SPEC>
pub fn fs_gnptxfsiz_host(&self) -> &Reg<FS_GNPTXFSIZ_HOST_SPEC>
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
sourcepub fn fs_gnptxfsiz_device(&self) -> &Reg<FS_GNPTXFSIZ_DEVICE_SPEC>
pub fn fs_gnptxfsiz_device(&self) -> &Reg<FS_GNPTXFSIZ_DEVICE_SPEC>
0x28 - OTG_FS non-periodic transmit FIFO size register (Device mode)
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more