[][src]Trait embedded_platform::gpio::IntoPullUpInputPin

pub trait IntoPullUpInputPin: Pin {
    type PullUpInputPin: InputPin<Error = Self::Error> + Unpin;
    fn into_pull_up_input_pin(self) -> Result<Self::PullUpInputPin, Self::Error>;
}

A pin that can be turned into an InputPin that has a pull-up resistor attached.

Associated Types

type PullUpInputPin: InputPin<Error = Self::Error> + Unpin

The type of an InputPin that has a pull-up resistor attached.

Loading content...

Required methods

fn into_pull_up_input_pin(self) -> Result<Self::PullUpInputPin, Self::Error>

Attempts to re-configure this pin into the new mode.

Loading content...

Implementors

impl IntoPullUpInputPin for NoConnect[src]

Loading content...