Struct esp32s2_hal::peripherals::INTERRUPT
source · pub struct INTERRUPT { /* private fields */ }
Implementations§
source§impl INTERRUPT
impl INTERRUPT
sourcepub unsafe fn steal() -> INTERRUPT
pub unsafe fn steal() -> INTERRUPT
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 INTERRUPT
impl Peripheral for &mut INTERRUPT
source§unsafe fn clone_unchecked(&mut self) -> <&mut INTERRUPT as Peripheral>::P
unsafe fn clone_unchecked(&mut self) -> <&mut INTERRUPT as Peripheral>::P
Unsafely clone (duplicate) a peripheral singleton. Read more