[−][src]Trait embedded_hal::digital::v2::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<T> InputPin for T where
T: InputPin,
[src]
T: InputPin,
Implementation of fallible v2::InputPin
for v1::InputPin
digital traits