[][src]Trait bl602_hal::prelude::_embedded_hal_digital_StatefulOutputPin

pub trait _embedded_hal_digital_StatefulOutputPin: OutputPin {
    fn try_is_set_high(&self) -> Result<bool, Self::Error>;
fn try_is_set_low(&self) -> Result<bool, Self::Error>; }

Push-pull output pin that can read its output state

Required methods

fn try_is_set_high(&self) -> Result<bool, Self::Error>

Is the pin in drive high mode?

NOTE this does not read the electrical state of the pin

fn try_is_set_low(&self) -> Result<bool, Self::Error>

Is the pin in drive low mode?

NOTE this does not read the electrical state of the pin

Loading content...

Implementors

impl<MODE> StatefulOutputPin for Pin0<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin1<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin10<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin11<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin12<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin13<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin14<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin15<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin16<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin17<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin18<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin19<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin2<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin20<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin21<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin22<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin3<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin4<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin5<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin6<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin7<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin8<Output<MODE>>[src]

impl<MODE> StatefulOutputPin for Pin9<Output<MODE>>[src]

Loading content...