Type Alias stm32f4xx_hal::gpio::gpiod::PD1

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

PD1 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.