[−][src]Trait e310x_hal::prelude::_embedded_hal_digital_v2_StatefulOutputPin
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>
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>
Is the pin in drive low mode?
NOTE this does not read the electrical state of the pin
Implementors
impl<MODE> StatefulOutputPin for Pin0<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin1<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin10<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin11<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin12<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin13<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin14<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin15<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin16<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin17<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin18<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin19<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin2<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin20<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin21<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin22<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin23<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin24<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin25<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin26<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin27<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin28<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin29<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin3<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin30<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin31<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin4<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin5<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin6<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin7<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin8<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<MODE> StatefulOutputPin for Pin9<Output<MODE>>
[src]
fn is_set_high(&self) -> Result<bool, Infallible>
[src]
fn is_set_low(&self) -> Result<bool, Infallible>
[src]
impl<T> StatefulOutputPin for T where
T: StatefulOutputPin + OutputPin,
[src]
T: StatefulOutputPin + OutputPin,
Implementation of fallible v2::StatefulOutputPin
for v1::StatefulOutputPin
digital traits