pub enum ErasedPin<MODE> {
PAx(PartiallyErasedPin<'A', MODE>),
PBx(PartiallyErasedPin<'B', MODE>),
PCx(PartiallyErasedPin<'C', MODE>),
PDx(PartiallyErasedPin<'D', MODE>),
PEx(PartiallyErasedPin<'E', MODE>),
PFx(PartiallyErasedPin<'F', MODE>),
PGx(PartiallyErasedPin<'G', MODE>),
}
Expand description
Erased pin
MODE
is one of the pin modes (see Modes section).
Variants§
PAx(PartiallyErasedPin<'A', MODE>)
PBx(PartiallyErasedPin<'B', MODE>)
PCx(PartiallyErasedPin<'C', MODE>)
PDx(PartiallyErasedPin<'D', MODE>)
PEx(PartiallyErasedPin<'E', MODE>)
PFx(PartiallyErasedPin<'F', MODE>)
PGx(PartiallyErasedPin<'G', MODE>)
Implementations§
Source§impl<MODE> ErasedPin<Output<MODE>>
impl<MODE> ErasedPin<Output<MODE>>
pub fn set_high(&mut self)
pub fn set_low(&mut self)
pub fn is_set_high(&self) -> bool
pub fn is_set_low(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<MODE> Freeze for ErasedPin<MODE>
impl<MODE> RefUnwindSafe for ErasedPin<MODE>where
MODE: RefUnwindSafe,
impl<MODE> Send for ErasedPin<MODE>where
MODE: Send,
impl<MODE> Sync for ErasedPin<MODE>where
MODE: Sync,
impl<MODE> Unpin for ErasedPin<MODE>where
MODE: Unpin,
impl<MODE> UnwindSafe for ErasedPin<MODE>where
MODE: UnwindSafe,
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