Struct stm32f1::stm32f102::OTG_FS_GLOBAL
source · [−]pub struct OTG_FS_GLOBAL { /* private fields */ }
Expand description
USB on the go full speed
Implementations
sourceimpl OTG_FS_GLOBAL
impl OTG_FS_GLOBAL
sourcepub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f102::otg_fs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f102::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
sourceimpl Debug for OTG_FS_GLOBAL
impl Debug for OTG_FS_GLOBAL
sourceimpl Deref for OTG_FS_GLOBAL
impl Deref for OTG_FS_GLOBAL
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for OTG_FS_GLOBAL
Auto Trait Implementations
impl RefUnwindSafe for OTG_FS_GLOBAL
impl !Sync for OTG_FS_GLOBAL
impl Unpin for OTG_FS_GLOBAL
impl UnwindSafe for OTG_FS_GLOBAL
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