Trait IntoPullDownInputPin

Source
pub trait IntoPullDownInputPin: Pin {
    type PullDownInputPin: InputPin<Error = Self::Error> + Unpin;

    // Required method
    fn into_pull_down_input_pin(
        self,
    ) -> Result<Self::PullDownInputPin, Self::Error>;
}
Expand description

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

Required Associated Types§

Source

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

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

Required Methods§

Source

fn into_pull_down_input_pin(self) -> Result<Self::PullDownInputPin, Self::Error>

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

Implementors§