[][src]Trait tm4c129x_hal::prelude::_embedded_hal_digital_InputPin

pub trait _embedded_hal_digital_InputPin {
    fn is_high(&self) -> bool;
fn is_low(&self) -> bool; }
👎 Deprecated since 0.2.2:

Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Single digital input pin

This trait is available if embedded-hal is built with the "unproven" feature.

This version of the trait is now deprecated. Please use the new InputPin trait in digital::v2::InputPin.

Required methods

fn is_high(&self) -> bool

👎 Deprecated since 0.2.2:

Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Is the input pin high?

fn is_low(&self) -> bool

👎 Deprecated since 0.2.2:

Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Is the input pin low?

Loading content...

Implementations on Foreign Types

impl<T, E> InputPin for OldInputPin<T> where
    E: Debug,
    T: InputPin<Error = E>, 
[src]

Implementation of v1::InputPin trait for v2::InputPin fallible pins where errors will panic.

Loading content...

Implementors

impl<MODE> InputPin for PA0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PA7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PAx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PBx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PC7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PCx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PD7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PDx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PEx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PF0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PF1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PF2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PF3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PF4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PFx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PG0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PG1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PGx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PH0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PH1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PH2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PH3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PHx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PJ0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PJ1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PJx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PK7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PKx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PL7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PNL<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PM7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PMx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PN7<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PNx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PP0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PP1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PP2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PP3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PP4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PP5<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PPx<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PQ0<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PQ1<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PQ2<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PQ3<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PQ4<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PQx<Input<MODE>> where
    MODE: InputMode
[src]

Loading content...