[][src]Trait bl602_hal::prelude::_embedded_hal_digital_InputPin

pub trait _embedded_hal_digital_InputPin {
    type Error;
    fn try_is_high(&self) -> Result<bool, Self::Error>;
fn try_is_low(&self) -> Result<bool, Self::Error>; }

Single digital input pin

Associated Types

type Error

Error type

Loading content...

Required methods

fn try_is_high(&self) -> Result<bool, Self::Error>

Is the input pin high?

fn try_is_low(&self) -> Result<bool, Self::Error>

Is the input pin low?

Loading content...

Implementors

impl<MODE> InputPin for Pin0<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin1<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin10<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin11<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin12<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin13<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin14<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin15<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin16<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin17<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin18<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin19<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin2<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin20<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin21<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin22<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin3<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin4<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin5<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin6<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin7<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin8<Input<MODE>>[src]

type Error = Infallible

impl<MODE> InputPin for Pin9<Input<MODE>>[src]

type Error = Infallible

Loading content...