[−][src]Trait e310x_hal::prelude::_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<MODE> InputPin for Pin0<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin1<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin10<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin11<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin12<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin13<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin14<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin15<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin16<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin17<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin18<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin19<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin2<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin20<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin21<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin22<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin23<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin24<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin25<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin26<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin27<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin28<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin29<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin3<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin30<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin31<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin4<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin5<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin6<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin7<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin8<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> InputPin for Pin9<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Infallible>
[src]
fn is_low(&self) -> Result<bool, Infallible>
[src]
impl<T> InputPin for T where
T: InputPin,
[src]
T: InputPin,
Implementation of fallible v2::InputPin
for v1::InputPin
digital traits