Trait embedded_hal::digital::ToggleableOutputPin
[−]
[src]
pub trait ToggleableOutputPin { fn toggle(&mut self); }
Output pin that can be toggled
This trait is available if embedded-hal is built with the "unproven"
feature.
See toggleable to use a software implementation if both OutputPin and StatefulOutputPin are implemented. Otherwise, implement this using hardware mechanisms.
Required Methods
fn toggle(&mut self)
Toggle pin output.
Implementors
impl<P> ToggleableOutputPin for P where
P: Default,