Type Alias stm32f4xx_hal::gpio::gpiod::PD12

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

PD12 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PD12<MODE>
where MODE: PinMode, Alternate<2, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<Rts> for PD12<MODE>
where MODE: PinMode, Alternate<7, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.