Type Alias stm32f4xx_hal::gpio::gpiod::PD5

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

PD5 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE> TryFrom<Nwe> for PD5<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: Nwe) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Tx<Otype>> for PD5<MODE>
where MODE: PinMode, Alternate<7, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.