Trait embedded_hal::digital::v2::OutputPin
source · pub trait OutputPin {
type Error;
// Required methods
fn set_low(&mut self) -> Result<(), Self::Error>;
fn set_high(&mut self) -> Result<(), Self::Error>;
// Provided method
fn set_state(&mut self, state: PinState) -> Result<(), Self::Error> { ... }
}
Expand description
Single digital push-pull output pin