Struct stm32f4xx_hal::pac::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 stm32f4::stm32f429::otg_fs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x50000000 as *const stm32f4::stm32f429::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 grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
pub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
0x1c - OTG_FS Receive status debug read(Hostmode)
sourcepub fn grxstsr_device(&self) -> &Reg<GRXSTSR_DEVICE_SPEC>
pub fn grxstsr_device(&self) -> &Reg<GRXSTSR_DEVICE_SPEC>
0x1c - OTG_FS Receive status debug read(Device mode)
sourcepub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
pub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
0x20 - OTG status read and pop (host mode)
sourcepub fn grxstsp_device(&self) -> &Reg<GRXSTSP_DEVICE_SPEC>
pub fn grxstsp_device(&self) -> &Reg<GRXSTSP_DEVICE_SPEC>
0x20 - OTG status read and pop (device mode)
sourcepub fn hnptxfsiz(&self) -> &Reg<HNPTXFSIZ_SPEC>
pub fn hnptxfsiz(&self) -> &Reg<HNPTXFSIZ_SPEC>
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
sourcepub fn dieptxf0(&self) -> &Reg<DIEPTXF0_SPEC>
pub fn dieptxf0(&self) -> &Reg<DIEPTXF0_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.
sourcefn deref(&self) -> &<OTG_FS_GLOBAL as Deref>::Target
fn deref(&self) -> &<OTG_FS_GLOBAL as Deref>::Target
Dereferences the value.
sourceimpl LPEnable for OTG_FS_GLOBAL
impl LPEnable for OTG_FS_GLOBAL
fn low_power_enable(rcc: &RccRB)
fn low_power_disable(rcc: &RccRB)
sourceimpl RccBus for OTG_FS_GLOBAL
impl RccBus for OTG_FS_GLOBAL
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