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