Trait _embedded_hal_digital_OutputPin

Source
pub trait _embedded_hal_digital_OutputPin {
    // Required methods
    fn set_low(&mut self);
    fn set_high(&mut self);
}
๐Ÿ‘ŽDeprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Expand description

Single digital push-pull output pin

This version of the trait is now deprecated. Please use the new OutputPin trait in digital::v2::OutputPin.

Required Methodsยง

Source

fn set_low(&mut self)

๐Ÿ‘ŽDeprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Drives the pin low

NOTE the actual electrical state of the pin may not actually be low, e.g. due to external electrical sources

Source

fn set_high(&mut self)

๐Ÿ‘ŽDeprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Drives the pin high

NOTE the actual electrical state of the pin may not actually be high, e.g. due to external electrical sources

Implementorsยง

Sourceยง

impl<MODE> OutputPin for PA0<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA1<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA2<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA3<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA4<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA5<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA6<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA7<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA8<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA9<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA10<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA11<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA12<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA13<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA14<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA15<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PA<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB0<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB1<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB2<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB3<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB4<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB5<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB6<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB7<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB8<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB9<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB10<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB11<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB12<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB13<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB14<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB15<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PB<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PC13<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PC14<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PC15<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PC<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PF0<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PF1<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PF11<Output<MODE>>

Sourceยง

impl<MODE> OutputPin for PF<Output<MODE>>

Sourceยง

impl<T, E> OutputPin for OldOutputPin<T>
where T: OutputPin<Error = E>, E: Debug,

Implementation of v1::OutputPin trait for fallible v2::OutputPin output pins where errors will panic.