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