Struct stm32f1xx_hal::pac::OTG_FS_GLOBAL
source · pub struct OTG_FS_GLOBAL { /* private fields */ }
Expand description
USB on the go full speed
Implementations§
source§impl OTG_FS_GLOBAL
impl OTG_FS_GLOBAL
sourcepub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f1::stm32f103::otg_fs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f1::stm32f103::otg_fs_global::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = 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)
Trait Implementations§
source§impl Debug for OTG_FS_GLOBAL
impl Debug for OTG_FS_GLOBAL
source§impl Deref for OTG_FS_GLOBAL
impl Deref for OTG_FS_GLOBAL
§type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.