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§
Auto Trait Implementations§
impl Forget for OutputType
impl Freeze for OutputType
impl Move for OutputType
impl RefUnwindSafe for OutputType
impl Send for OutputType
impl Sync for OutputType
impl Unpin for OutputType
impl UnsafeUnpin for OutputType
impl UnwindSafe for OutputType
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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