Type Alias stm32f4xx_hal::gpio::PD13

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

PD13 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.