Type Alias stm32f4xx_hal::gpio::gpiod::PD3

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

PD3 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE> TryFrom<Ck> for PD3<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<D5> for PD3<MODE>
where MODE: PinMode, Alternate<13, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<G7> for PD3<MODE>
where MODE: PinMode, Alternate<14, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sck> for PD3<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.