Enum embassy_stm32::gpio::OutputType
source · 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 From<OutputType> for AFType
impl From<OutputType> for AFType
source§fn from(value: OutputType) -> Self
fn from(value: OutputType) -> Self
Converts to this type from the input type.
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