Struct esp32s3_hal::peripherals::USB_WRAP
source · pub struct USB_WRAP { /* private fields */ }
Implementations§
source§impl USB_WRAP
impl USB_WRAP
sourcepub unsafe fn steal() -> USB_WRAP
pub unsafe fn steal() -> USB_WRAP
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
pub fn otg_conf(&self) -> &Reg<OTG_CONF_SPEC>
pub fn otg_conf(&self) -> &Reg<OTG_CONF_SPEC>
0x00 - USB OTG Wrapper Configure Register
pub fn test_conf(&self) -> &Reg<TEST_CONF_SPEC>
pub fn test_conf(&self) -> &Reg<TEST_CONF_SPEC>
0x04 - USB Internal PHY Testing Register
pub fn date(&self) -> &Reg<DATE_SPEC>
pub fn date(&self) -> &Reg<DATE_SPEC>
0x3fc - Version Control Register
Trait Implementations§
source§impl Peripheral for USB_WRAP
impl Peripheral for USB_WRAP
Auto Trait Implementations§
impl RefUnwindSafe for USB_WRAP
impl Send for USB_WRAP
impl Sync for USB_WRAP
impl Unpin for USB_WRAP
impl UnwindSafe for USB_WRAP
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