[][src]Trait tm4c123x_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 PB6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PB7<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 PE6<Input<MODE>> where
    MODE: InputMode
[src]

impl<MODE> InputPin for PE7<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 PF5<Input<MODE>> where
    MODE: InputMode
[src]

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

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

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

Loading content...