[][src]Trait pcf857x::OutputPin

pub trait OutputPin {
    type Error;
    fn set_low(&mut self) -> Result<(), Self::Error>;
fn set_high(&mut self) -> Result<(), Self::Error>; }

Single digital push-pull output pin

Associated Types

type Error

Error type

Loading content...

Required methods

fn set_low(&mut self) -> Result<(), Self::Error>

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) -> Result<(), Self::Error>

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...

Implementors

impl<'a, S, E> OutputPin for P0<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P1<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P10<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P11<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P12<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P13<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P14<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P15<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P16<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P17<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P2<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P3<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P4<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P5<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P6<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<'a, S, E> OutputPin for P7<'a, S, E> where
    S: SetPin<E>, 
[src]

type Error = Error<E>

impl<T> OutputPin for T where
    T: OutputPin
[src]

Implementation of fallible v2::OutputPin for v1::OutputPin traits

type Error = ()

Loading content...