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