[−][src]Trait esp8266_hal::prelude::_
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 InputPin for Gpio0<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio1<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio2<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio3<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio4<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio5<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio6<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio7<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio8<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio9<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio10<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio11<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio12<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio13<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio14<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl InputPin for Gpio15<Output<OpenDrain>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio0<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio1<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio2<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio3<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio4<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio5<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio6<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio7<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio8<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio9<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio10<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio11<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio12<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio13<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio14<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio15<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<MODE> InputPin for Gpio16<Input<MODE>>
[src]
type Error = Infallible
fn is_high(&self) -> Result<bool, Self::Error>
[src]
fn is_low(&self) -> Result<bool, Self::Error>
[src]
impl<T> InputPin for T where
T: InputPin,
[src]
T: InputPin,
Implementation of fallible v2::InputPin
for v1::InputPin
digital traits