pub enum OutputType {
PushPull,
OpenDrain,
}
Expand description
GPIO output type
Variants§
PushPull
Drive the pin both high or low.
OpenDrain
Drive the pin low, or don’t drive it at all if the output level is high.
Trait Implementations§
Source§impl Clone for OutputType
impl Clone for OutputType
Source§fn clone(&self) -> OutputType
fn clone(&self) -> OutputType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OutputType
impl Debug for OutputType
Source§impl Format for OutputType
impl Format for OutputType
impl Copy for OutputType
Auto Trait Implementations§
impl Freeze for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnwindSafe for OutputType
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