Enum endbasic_std::gpio::PinMode [−][src]
pub enum PinMode {
In,
InPullDown,
InPullUp,
Out,
}Expand description
Pin configuration, which includes mode and bias.
Variants
Pin that can be read from with no bias.
Pin that can be read from with its built-in pull-down resistor (if present) enabled.
Pin that can be read from with its built-in pull-up resistor (if present) enabled.
Pin that can be written to.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PinMode
impl UnwindSafe for PinMode
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more