[−][src]Trait stm32f0xx_hal::prelude::_embedded_hal_gpio_InputPin
Single digital input pin
This trait is available if embedded-hal is built with the "unproven"
feature.
Associated Types
type Error
Error type
Required methods
fn is_high(&self) -> Result<bool, Self::Error>
Is the input pin high?
fn is_low(&self) -> Result<bool, Self::Error>
Is the input pin low?
Implementors
impl InputPin for PA0<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA1<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA10<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA11<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA12<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA13<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA14<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA15<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA2<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA3<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA4<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA5<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA6<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA7<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA8<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PA9<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB0<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB1<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB10<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB11<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB12<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB13<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB14<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB15<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB2<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB3<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB4<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB5<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB6<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB7<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB8<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PB9<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PC13<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PC14<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PC15<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PF0<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PF1<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for PF11<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Pin<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA0<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA1<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA10<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA11<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA12<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA13<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA14<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA15<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA2<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA3<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA4<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA5<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA6<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA7<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA8<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PA9<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB0<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB1<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB10<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB11<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB12<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB13<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB14<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB15<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB2<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB3<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB4<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB5<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB6<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB7<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB8<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PB9<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PC13<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PC14<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PC15<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PF0<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PF1<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for PF11<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Pin<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<T> InputPin for T where
T: InputPin,
[src]
T: InputPin,
Implementation of fallible v2::InputPin
for v1::InputPin
digital traits