Trait embedded_hal::digital::blocking::ToggleableOutputPin[][src]

pub trait ToggleableOutputPin {
    type Error: Debug;
    fn toggle(&mut self) -> Result<(), Self::Error>;
}
Expand description

Output pin that can be toggled

See toggleable to use a software implementation if both OutputPin and StatefulOutputPin are implemented. Otherwise, implement this using hardware mechanisms.

Associated Types

Error type

Required methods

Toggle pin output.

Implementors