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