[−][src]Trait pcf857x::OutputPin
Single digital push-pull output pin
Associated Types
type Error
Error type
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
Implementors
impl<'a, S, E> OutputPin for P0<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P1<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P10<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P11<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P12<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P13<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P14<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P15<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P16<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P17<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P2<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P3<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P4<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P5<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P6<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<'a, S, E> OutputPin for P7<'a, S, E> where
S: SetPin<E>,
[src]
S: SetPin<E>,
type Error = Error<E>
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
impl<T> OutputPin for T where
T: OutputPin,
[src]
T: OutputPin,
Implementation of fallible v2::OutputPin
for v1::OutputPin
traits