Trait grand_central_m4::prelude::_atsamd_hal_embedded_hal_digital_v2_InputPin[][src]

pub trait _atsamd_hal_embedded_hal_digital_v2_InputPin {
    type Error;
    fn is_high(&self) -> Result<bool, Self::Error>;
fn is_low(&self) -> Result<bool, Self::Error>; }
Expand description

Single digital input pin

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

Associated Types

Error type

Required methods

Is the input pin high?

Is the input pin low?

Implementors

Implementation of fallible v2::InputPin for v1::InputPin digital traits