Struct daisy::pac::OTG1_HS_DEVICE
pub struct OTG1_HS_DEVICE { /* private fields */ }
Expand description
USB 1 on the go high speed
Implementations§
§impl OTG1_HS_DEVICE
impl OTG1_HS_DEVICE
pub const PTR: *const RegisterBlock = {0x40040800 as *const stm32h7xx_hal::stm32::otg1_hs_device::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40040800 as *const stm32h7xx_hal::stm32::otg1_hs_device::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 dieptsiz6(&self) -> &Reg<DIEPTSIZ6_SPEC>
pub fn dieptsiz6(&self) -> &Reg<DIEPTSIZ6_SPEC>
0x1a0 - OTG_HS device endpoint transfer size register
pub fn diepctl5(&self) -> &Reg<DIEPCTL5_SPEC>
pub fn diepctl5(&self) -> &Reg<DIEPCTL5_SPEC>
0x1a0 - OTG device endpoint-5 control register
pub fn dieptsiz7(&self) -> &Reg<DIEPTSIZ7_SPEC>
pub fn dieptsiz7(&self) -> &Reg<DIEPTSIZ7_SPEC>
0x1a8 - OTG_HS device endpoint transfer size register
pub fn diepint5(&self) -> &Reg<DIEPINT5_SPEC>
pub fn diepint5(&self) -> &Reg<DIEPINT5_SPEC>
0x1a8 - OTG device endpoint-5 interrupt register
Trait Implementations§
§impl Debug for OTG1_HS_DEVICE
impl Debug for OTG1_HS_DEVICE
§impl Deref for OTG1_HS_DEVICE
impl Deref for OTG1_HS_DEVICE
§type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
§fn deref(&self) -> &<OTG1_HS_DEVICE as Deref>::Target
fn deref(&self) -> &<OTG1_HS_DEVICE as Deref>::Target
Dereferences the value.
impl Send for OTG1_HS_DEVICE
Auto Trait Implementations§
impl Freeze for OTG1_HS_DEVICE
impl RefUnwindSafe for OTG1_HS_DEVICE
impl !Sync for OTG1_HS_DEVICE
impl Unpin for OTG1_HS_DEVICE
impl UnwindSafe for OTG1_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