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.
Trait Implementations§
source§impl Peripheral for &mut USB_WRAP
impl Peripheral for &mut USB_WRAP
source§unsafe fn clone_unchecked(&mut self) -> <&mut USB_WRAP as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <&mut USB_WRAP as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more