Struct esp32c2_hal::peripherals::GPIO
source · pub struct GPIO { /* private fields */ }
Implementations§
source§impl GPIO
impl GPIO
sourcepub unsafe fn steal() -> GPIO
pub unsafe fn steal() -> GPIO
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 GPIO
impl Peripheral for GPIO
Auto Trait Implementations§
impl RefUnwindSafe for GPIO
impl Send for GPIO
impl Sync for GPIO
impl Unpin for GPIO
impl UnwindSafe for GPIO
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more