Trait IntoFloatingInputPin

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

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

A pin that can be turned into an InputPin that does not employ any pull-up or pull-down resistors.

Required Associated Types§

Source

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

The type of an InputPin that does not employ any pull-up or pull-down resistors.

Required Methods§

Source

fn into_floating_input_pin(self) -> Result<Self::FloatingInputPin, Self::Error>

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

Implementors§