Type Alias stm32f4xx_hal::gpio::PD0

source ·
pub type PD0<MODE = DefaultMode> = Pin<'D', 0, MODE>;
Expand description

PD0 pin

Aliased Type§

struct PD0<MODE = DefaultMode> { /* private fields */ }

Trait Implementations§

source§

impl<MODE> TryFrom<D2> for PD0<MODE>
where MODE: PinMode, Alternate<12, PushPull>: PinMode,

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(a: D2) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<MODE> TryFrom<Da2> for PD0<MODE>
where MODE: PinMode, Alternate<12, PushPull>: PinMode,

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(a: Da2) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<MODE> TryFrom<Rx> for PD0<MODE>
where MODE: PinMode, Alternate<9, PushPull>: PinMode,

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(a: Rx) -> Result<Self, Self::Error>

Performs the conversion.