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