Struct daisy::pac::OTG2_HS_GLOBAL
pub struct OTG2_HS_GLOBAL { /* private fields */ }
Expand description
USB 1 on the go high speed
Implementations§
§impl OTG2_HS_GLOBAL
impl OTG2_HS_GLOBAL
pub const PTR: *const RegisterBlock = {0x40080000 as *const stm32h7xx_hal::stm32::otg1_hs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40080000 as *const stm32h7xx_hal::stm32::otg1_hs_global::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>§
pub 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)
pub 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)
pub 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)
pub 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)
pub 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)
pub 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§
§impl Debug for OTG2_HS_GLOBAL
impl Debug for OTG2_HS_GLOBAL
§impl Deref for OTG2_HS_GLOBAL
impl Deref for OTG2_HS_GLOBAL
§type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
§fn deref(&self) -> &<OTG2_HS_GLOBAL as Deref>::Target
fn deref(&self) -> &<OTG2_HS_GLOBAL as Deref>::Target
Dereferences the value.
impl Send for OTG2_HS_GLOBAL
Auto Trait Implementations§
impl Freeze for OTG2_HS_GLOBAL
impl RefUnwindSafe for OTG2_HS_GLOBAL
impl !Sync for OTG2_HS_GLOBAL
impl Unpin for OTG2_HS_GLOBAL
impl UnwindSafe for OTG2_HS_GLOBAL
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more