pub struct InputPin { /* private fields */ }Expand description
Fixed-mode input GPIO pin.
Pre-configures the underlying pin as a digital input at construction
time. Provides is_high() / is_low() access plus the
embedded_hal::digital::InputPin trait impl (behind the
embedded-hal feature).
Implementations§
Trait Implementations§
impl Copy for InputPin
Auto Trait Implementations§
impl Freeze for InputPin
impl RefUnwindSafe for InputPin
impl Send for InputPin
impl Sync for InputPin
impl Unpin for InputPin
impl UnsafeUnpin for InputPin
impl UnwindSafe for InputPin
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