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

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
[src][]

fn toggle(&mut self)[src][]

Toggle pin output