Type Alias stm32f4xx_hal::gpio::gpioh::PH5

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

PH5 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sda> for PH5<MODE>
where MODE: PinMode, Alternate<4, OpenDrain>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.