Type Alias stm32f4xx_hal::gpio::gpioh::PH2

source ·
pub type PH2<MODE = DefaultMode> = Pin<'H', 2, MODE>;
Expand description

PH2 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE> TryFrom<Crs> for PH2<MODE>
where MODE: PinMode, Alternate<11, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.