Trait atmega32u4_hal::prelude::_atmega_embedded_hal_digital_StatefulOutputPin[][src]

pub trait _atmega_embedded_hal_digital_StatefulOutputPin {
    fn is_set_high(&self) -> bool;
fn is_set_low(&self) -> bool; }

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

Is the pin in drive high mode?

NOTE this does not read the electrical state of the pin

Is the pin in drive low mode?

NOTE this does not read the electrical state of the pin

Implementors