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§
Required Methods§
Sourcefn into_floating_input_pin(self) -> Result<Self::FloatingInputPin, Self::Error>
fn into_floating_input_pin(self) -> Result<Self::FloatingInputPin, Self::Error>
Attempts to re-configure this pin into the new mode.