Struct stm32_hal2::pac::OTG1_HS_GLOBAL
source · [−]pub struct OTG1_HS_GLOBAL { /* private fields */ }
Expand description
USB 1 on the go high speed
Implementations
sourceimpl OTG1_HS_GLOBAL
impl OTG1_HS_GLOBAL
sourcepub const PTR: *const RegisterBlock = {0x40040000 as *const stm32h7::stm32h735::otg1_hs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40040000 as *const stm32h7::stm32h735::otg1_hs_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_device(&self) -> &Reg<GRXSTSR_DEVICE_SPEC>
pub fn grxstsr_device(&self) -> &Reg<GRXSTSR_DEVICE_SPEC>
0x1c - OTG_HS Receive status debug read register (peripheral mode mode)
sourcepub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
pub fn grxstsr_host(&self) -> &Reg<GRXSTSR_HOST_SPEC>
0x1c - OTG_HS Receive status debug read register (host mode)
sourcepub fn grxstsp_device(&self) -> &Reg<GRXSTSP_DEVICE_SPEC>
pub fn grxstsp_device(&self) -> &Reg<GRXSTSP_DEVICE_SPEC>
0x20 - OTG_HS status read and pop register (peripheral mode)
sourcepub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
pub fn grxstsp_host(&self) -> &Reg<GRXSTSP_HOST_SPEC>
0x20 - OTG_HS status read and pop register (host mode)
sourcepub fn dieptxf0_device(&self) -> &Reg<DIEPTXF0_DEVICE_SPEC>
pub fn dieptxf0_device(&self) -> &Reg<DIEPTXF0_DEVICE_SPEC>
0x28 - Endpoint 0 transmit FIFO size (peripheral mode)
sourcepub fn hnptxfsiz_host(&self) -> &Reg<HNPTXFSIZ_HOST_SPEC>
pub fn hnptxfsiz_host(&self) -> &Reg<HNPTXFSIZ_HOST_SPEC>
0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)
Trait Implementations
sourceimpl Debug for OTG1_HS_GLOBAL
impl Debug for OTG1_HS_GLOBAL
sourceimpl Deref for OTG1_HS_GLOBAL
impl Deref for OTG1_HS_GLOBAL
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
sourcefn deref(&self) -> &<OTG1_HS_GLOBAL as Deref>::Target
fn deref(&self) -> &<OTG1_HS_GLOBAL as Deref>::Target
Dereferences the value.
impl Send for OTG1_HS_GLOBAL
Auto Trait Implementations
impl RefUnwindSafe for OTG1_HS_GLOBAL
impl !Sync for OTG1_HS_GLOBAL
impl Unpin for OTG1_HS_GLOBAL
impl UnwindSafe for OTG1_HS_GLOBAL
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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