pub struct OTG_HS_GLOBAL { /* private fields */ }Expand description
USB on the go high speed
Implementations§
Source§impl OTG_HS_GLOBAL
impl OTG_HS_GLOBAL
Sourcepub const PTR: *const RegisterBlock = {0x40040000 as *const stm32f7::stm32f7x6::otg_hs_global::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40040000 as *const stm32f7::stm32f7x6::otg_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 otg_hs_grxstsr_device(&self) -> &Reg<OTG_HS_GRXSTSR_DEVICE_SPEC>
pub fn otg_hs_grxstsr_device(&self) -> &Reg<OTG_HS_GRXSTSR_DEVICE_SPEC>
0x1c - OTG_HS Receive status debug read register (peripheral mode mode)
Sourcepub fn otg_hs_grxstsr_host(&self) -> &Reg<OTG_HS_GRXSTSR_HOST_SPEC>
pub fn otg_hs_grxstsr_host(&self) -> &Reg<OTG_HS_GRXSTSR_HOST_SPEC>
0x1c - OTG_HS Receive status debug read register (host mode)
Sourcepub fn otg_hs_grxstsp_device(&self) -> &Reg<OTG_HS_GRXSTSP_DEVICE_SPEC>
pub fn otg_hs_grxstsp_device(&self) -> &Reg<OTG_HS_GRXSTSP_DEVICE_SPEC>
0x20 - OTG_HS status read and pop register (peripheral mode)
Sourcepub fn otg_hs_grxstsp_host(&self) -> &Reg<OTG_HS_GRXSTSP_HOST_SPEC>
pub fn otg_hs_grxstsp_host(&self) -> &Reg<OTG_HS_GRXSTSP_HOST_SPEC>
0x20 - OTG_HS status read and pop register (host mode)
Sourcepub fn otg_hs_dieptxf0_device(&self) -> &Reg<OTG_HS_DIEPTXF0_DEVICE_SPEC>
pub fn otg_hs_dieptxf0_device(&self) -> &Reg<OTG_HS_DIEPTXF0_DEVICE_SPEC>
0x28 - Endpoint 0 transmit FIFO size (peripheral mode)
Sourcepub fn otg_hs_hnptxfsiz_host(&self) -> &Reg<OTG_HS_HNPTXFSIZ_HOST_SPEC>
pub fn otg_hs_hnptxfsiz_host(&self) -> &Reg<OTG_HS_HNPTXFSIZ_HOST_SPEC>
0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)
Trait Implementations§
Source§impl Debug for OTG_HS_GLOBAL
impl Debug for OTG_HS_GLOBAL
Source§impl Deref for OTG_HS_GLOBAL
impl Deref for OTG_HS_GLOBAL
Source§type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
Source§impl Enable for OTG_HS_GLOBAL
impl Enable for OTG_HS_GLOBAL
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl LPEnable for OTG_HS_GLOBAL
impl LPEnable for OTG_HS_GLOBAL
Source§fn low_power_enable(bus: &mut Self::Bus)
fn low_power_enable(bus: &mut Self::Bus)
Enables peripheral
Source§fn low_power_disable(bus: &mut Self::Bus)
fn low_power_disable(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_low_power_enabled() -> bool
fn is_low_power_enabled() -> bool
Check if peripheral enabled
Source§fn is_low_power_disabled() -> bool
fn is_low_power_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn low_power_enable_unchecked()
unsafe fn low_power_enable_unchecked()
Safety Read more
Source§unsafe fn low_power_disable_unchecked()
unsafe fn low_power_disable_unchecked()
Safety Read more
Source§impl Reset for OTG_HS_GLOBAL
impl Reset for OTG_HS_GLOBAL
impl Send for OTG_HS_GLOBAL
Auto Trait Implementations§
impl Freeze for OTG_HS_GLOBAL
impl RefUnwindSafe for OTG_HS_GLOBAL
impl !Sync for OTG_HS_GLOBAL
impl Unpin for OTG_HS_GLOBAL
impl UnwindSafe for OTG_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