[][src]Trait nucleo_f042k6::_embedded_hal_digital_ToggleableOutputPin

pub trait _embedded_hal_digital_ToggleableOutputPin {
    fn toggle(&mut self);
}
Deprecated since 0.2.2:

Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Output pin that can be toggled

This trait is available if embedded-hal is built with the "unproven" feature.

This version of the trait is now deprecated. Please use the new ToggleableOutputPin trait in digital::v2::ToggleableOutputPin.

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)

Deprecated since 0.2.2:

Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Toggle pin output.

Loading content...

Implementors

impl<P> ToggleableOutputPin for P where
    P: Default
[src]

fn toggle(&mut self)[src]

Deprecated since 0.2.2:

Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.

Toggle pin output

Loading content...