[][src]Trait embedded_platform::gpio::IntoPushPullOutputPin

pub trait IntoPushPullOutputPin: Pin {
    type PushPullOutputPin: OutputPin<Error = Self::Error> + Unpin;
    fn into_push_pull_output_pin(
        self,
        initial_high: bool
    ) -> Result<Self::PushPullOutputPin, Self::Error>; }

A pin that can be turned into an OutputPin that is in push-pull mode.

Associated Types

type PushPullOutputPin: OutputPin<Error = Self::Error> + Unpin

The type of an OutputPin that is in push-pull mode.

Loading content...

Required methods

fn into_push_pull_output_pin(
    self,
    initial_high: bool
) -> Result<Self::PushPullOutputPin, Self::Error>

Attempts to re-configure this pin into the new mode.

Loading content...

Implementors

impl IntoPushPullOutputPin for NoConnect[src]

type PushPullOutputPin = Self

Loading content...