pub trait _embedded_hal_digital_v2_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
Required Associated Types§
type Error
type Error
Error type