Struct stm32f7xx_hal::pac::OTG_HS_DEVICE
source · pub struct OTG_HS_DEVICE { /* private fields */ }
Expand description
USB on the go high speed
Implementations§
source§impl OTG_HS_DEVICE
impl OTG_HS_DEVICE
sourcepub const PTR: *const RegisterBlock = {0x40040800 as *const stm32f7::stm32f7x6::otg_hs_device::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40040800 as *const stm32f7::stm32f7x6::otg_hs_device::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 otg_hs_dieptsiz6(&self) -> &Reg<OTG_HS_DIEPTSIZ6_SPEC>
pub fn otg_hs_dieptsiz6(&self) -> &Reg<OTG_HS_DIEPTSIZ6_SPEC>
0x1a0 - OTG_HS device endpoint transfer size register
sourcepub fn otg_hs_diepctl5(&self) -> &Reg<OTG_HS_DIEPCTL5_SPEC>
pub fn otg_hs_diepctl5(&self) -> &Reg<OTG_HS_DIEPCTL5_SPEC>
0x1a0 - OTG device endpoint-5 control register
sourcepub fn otg_hs_dieptsiz7(&self) -> &Reg<OTG_HS_DIEPTSIZ7_SPEC>
pub fn otg_hs_dieptsiz7(&self) -> &Reg<OTG_HS_DIEPTSIZ7_SPEC>
0x1a8 - OTG_HS device endpoint transfer size register
sourcepub fn otg_hs_diepint5(&self) -> &Reg<OTG_HS_DIEPINT5_SPEC>
pub fn otg_hs_diepint5(&self) -> &Reg<OTG_HS_DIEPINT5_SPEC>
0x1a8 - OTG device endpoint-5 interrupt register
Trait Implementations§
source§impl Debug for OTG_HS_DEVICE
impl Debug for OTG_HS_DEVICE
source§impl Deref for OTG_HS_DEVICE
impl Deref for OTG_HS_DEVICE
§type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for OTG_HS_DEVICE
Auto Trait Implementations§
impl Freeze for OTG_HS_DEVICE
impl RefUnwindSafe for OTG_HS_DEVICE
impl !Sync for OTG_HS_DEVICE
impl Unpin for OTG_HS_DEVICE
impl UnwindSafe for OTG_HS_DEVICE
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