[][src]Trait embedded_platform::gpio::IntoPullDownInputPin

pub trait IntoPullDownInputPin: Pin {
    type PullDownInputPin: InputPin<Error = Self::Error> + Unpin;
    fn into_pull_down_input_pin(
        self
    ) -> Result<Self::PullDownInputPin, Self::Error>; }

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

Associated Types

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

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

Loading content...

Required methods

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

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

Loading content...

Implementors

impl IntoPullDownInputPin for NoConnect[src]

Loading content...