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