[−][src]Trait lpc55s6x_hal::prelude::_embedded_hal_digital_v2_OutputPin
Single digital push-pull output pin
Associated Types
type Error
Error type
Required methods
fn set_low(&mut self) -> Result<(), Self::Error>
Drives the pin low
NOTE the actual electrical state of the pin may not actually be low, e.g. due to external electrical sources
fn set_high(&mut self) -> Result<(), Self::Error>
Drives the pin high
NOTE the actual electrical state of the pin may not actually be high, e.g. due to external electrical sources
Implementors
impl<T> OutputPin for Pin<T, Gpio<Output>> where
T: PinId,
[src]
T: PinId,
type Error = Void
fn set_high(&mut self) -> Result<(), Self::Error>
[src]
Set the pin output to HIGH
fn set_low(&mut self) -> Result<(), Self::Error>
[src]
Set the pin output to LOW
impl<T> OutputPin for T where
T: OutputPin,
[src]
T: OutputPin,
Implementation of fallible v2::OutputPin
for v1::OutputPin
traits