Struct embedded_hal::digital::v1_compat::OldOutputPin [−][src]
pub struct OldOutputPin<T> { /* fields omitted */ }
Expand description
Wrapper to allow fallible v2::OutputPin
traits to be converted to v1::OutputPin
traits
Implementations
Trait Implementations
Implementation of v1::OutputPin
trait for fallible v2::OutputPin
output pins
where errors will panic.
👎 Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Drives the pin low Read more
impl<T, E> StatefulOutputPin for OldOutputPin<T> where
T: StatefulOutputPin<Error = E>,
E: Debug,
impl<T, E> StatefulOutputPin for OldOutputPin<T> where
T: StatefulOutputPin<Error = E>,
E: Debug,
Implementation of v1::StatefulOutputPin
trait for v2::StatefulOutputPin
fallible pins
where errors will panic.
👎 Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Is the pin in drive low mode? Read more
👎 Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Is the pin in drive high mode? Read more