[][src]Trait nucleo_f042k6::_embedded_hal_digital_OutputPin

pub trait _embedded_hal_digital_OutputPin {
    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.

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

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

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

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

impl<MODE> OutputPin for PA0<Output<MODE>>[src]

impl<MODE> OutputPin for PA1<Output<MODE>>[src]

impl<MODE> OutputPin for PA10<Output<MODE>>[src]

impl<MODE> OutputPin for PA11<Output<MODE>>[src]

impl<MODE> OutputPin for PA12<Output<MODE>>[src]

impl<MODE> OutputPin for PA13<Output<MODE>>[src]

impl<MODE> OutputPin for PA14<Output<MODE>>[src]

impl<MODE> OutputPin for PA15<Output<MODE>>[src]

impl<MODE> OutputPin for PA2<Output<MODE>>[src]

impl<MODE> OutputPin for PA3<Output<MODE>>[src]

impl<MODE> OutputPin for PA4<Output<MODE>>[src]

impl<MODE> OutputPin for PA5<Output<MODE>>[src]

impl<MODE> OutputPin for PA6<Output<MODE>>[src]

impl<MODE> OutputPin for PA7<Output<MODE>>[src]

impl<MODE> OutputPin for PA8<Output<MODE>>[src]

impl<MODE> OutputPin for PA9<Output<MODE>>[src]

impl<MODE> OutputPin for PB0<Output<MODE>>[src]

impl<MODE> OutputPin for PB1<Output<MODE>>[src]

impl<MODE> OutputPin for PB10<Output<MODE>>[src]

impl<MODE> OutputPin for PB11<Output<MODE>>[src]

impl<MODE> OutputPin for PB12<Output<MODE>>[src]

impl<MODE> OutputPin for PB13<Output<MODE>>[src]

impl<MODE> OutputPin for PB14<Output<MODE>>[src]

impl<MODE> OutputPin for PB15<Output<MODE>>[src]

impl<MODE> OutputPin for PB2<Output<MODE>>[src]

impl<MODE> OutputPin for PB3<Output<MODE>>[src]

impl<MODE> OutputPin for PB4<Output<MODE>>[src]

impl<MODE> OutputPin for PB5<Output<MODE>>[src]

impl<MODE> OutputPin for PB6<Output<MODE>>[src]

impl<MODE> OutputPin for PB7<Output<MODE>>[src]

impl<MODE> OutputPin for PB8<Output<MODE>>[src]

impl<MODE> OutputPin for PB9<Output<MODE>>[src]

impl<MODE> OutputPin for PC13<Output<MODE>>[src]

impl<MODE> OutputPin for PC14<Output<MODE>>[src]

impl<MODE> OutputPin for PC15<Output<MODE>>[src]

impl<MODE> OutputPin for PF0<Output<MODE>>[src]

impl<MODE> OutputPin for PF1<Output<MODE>>[src]

impl<MODE> OutputPin for PF11<Output<MODE>>[src]

impl<MODE> OutputPin for Pin<Output<MODE>>[src]

Loading content...