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