[][src]Trait embedded_platform::gpio::IntoOpenDrainOutputPin

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

A pin that can be turned into an OutputPin that is in open drain mode.

Associated Types

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

The type of an OutputPin that is in open drain mode.

Loading content...

Required methods

fn into_open_drain_output_pin(
    self,
    initial_high: bool
) -> Result<Self::OpenDrainOutputPin, Self::Error>

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

Loading content...

Implementors

impl IntoOpenDrainOutputPin for NoConnect[src]

type OpenDrainOutputPin = Self

Loading content...