Trait nrf52832_hal::prelude::StatefulOutputPin [−][src]
pub trait StatefulOutputPin: OutputPin { fn is_set_high(&self) -> Result<bool, Self::Error>; fn is_set_low(&self) -> Result<bool, Self::Error>; }
Expand description
Push-pull output pin that can read its output state
This trait is available if embedded-hal is built with the "unproven"
feature.
Required methods
fn is_set_high(&self) -> Result<bool, Self::Error>
[src]
fn is_set_high(&self) -> Result<bool, Self::Error>
[src]Is the pin in drive high mode?
NOTE this does not read the electrical state of the pin
fn is_set_low(&self) -> Result<bool, Self::Error>
[src]
fn is_set_low(&self) -> Result<bool, Self::Error>
[src]Is the pin in drive low mode?
NOTE this does not read the electrical state of the pin
Implementors
impl<MODE> StatefulOutputPin for P0_00<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_00<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_01<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_01<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_02<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_02<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_03<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_03<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_04<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_04<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_05<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_05<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_06<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_06<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_07<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_07<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_08<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_08<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_09<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_09<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_10<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_10<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_11<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_11<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_12<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_12<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_13<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_13<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_14<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_14<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_15<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_15<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_16<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_16<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_17<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_17<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_18<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_18<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_19<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_19<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_20<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_20<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_21<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_21<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_22<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_22<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_23<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_23<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_24<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_24<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_25<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_25<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_26<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_26<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_27<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_27<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_28<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_28<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_29<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_29<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_30<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_30<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for P0_31<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for P0_31<Output<MODE>>
[src]impl<MODE> StatefulOutputPin for Pin<Output<MODE>>
[src]
impl<MODE> StatefulOutputPin for Pin<Output<MODE>>
[src]impl<T> StatefulOutputPin for T where
T: StatefulOutputPin + OutputPin,
[src]
impl<T> StatefulOutputPin for T where
T: StatefulOutputPin + OutputPin,
[src]Implementation of fallible v2::StatefulOutputPin
for v1::StatefulOutputPin
digital traits