Trait stm32f7xx_hal::prelude::OutputPin
source · [−]pub trait OutputPin {
type Error;
fn set_low(&mut self) -> Result<(), Self::Error>;
fn set_high(&mut self) -> Result<(), Self::Error>;
fn set_state(&mut self, state: PinState) -> Result<(), Self::Error> { ... }
}
Expand description
Single digital push-pull output pin
Required Associated Types
Required Methods
Drives the pin low
NOTE the actual electrical state of the pin may not actually be low, e.g. due to external electrical sources
Provided Methods
Implementors
sourceimpl<T> OutputPin for T where
T: OutputPin,
impl<T> OutputPin for T where
T: OutputPin,
Implementation of fallible v2::OutputPin
for v1::OutputPin
traits