[][src]Trait particle_xenon::prelude::_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.

impl<MODE> OutputPin for P0_27<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_31<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_05<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_10<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_06<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_14<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_15<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_13<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_00<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_20<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_15<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_19<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_04<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for Pin<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_04<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_25<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_11<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_06<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_18<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_30<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_01<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_10<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_11<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_02<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_07<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_08<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_05<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_08<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_00<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_12<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_13<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_14<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_26<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_07<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_02<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_12<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_16<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_03<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_29<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_01<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_23<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_03<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_28<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_17<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_21<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_09<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_24<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P0_22<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

impl<MODE> OutputPin for P1_09<Output<MODE>>

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.

Set the output as high

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.

Set the output as low

Loading content...

Implementors

Loading content...