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.