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