pub trait PinWrapper {
// Required method
fn is_high(&mut self) -> bool;
// Provided method
fn is_low(&mut self) -> bool { ... }
}Expand description
An abstraction over different switching APIs.
Required Methods§
Provided Methods§
Implementors§
impl<P> PinWrapper for Pwhere
Self: InputPin,
Available on crate feature
embedded_hal only.