Type Alias stm32f4xx_hal::gpio::gpioi::PI2

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

PI2 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch4<Otype>> for PI2<MODE>
where MODE: PinMode, Alternate<3, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<ExtSd> for PI2<MODE>
where MODE: PinMode, Alternate<6, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<G7> for PI2<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<Miso> for PI2<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: Miso) -> Result<Self, Self::Error>

Performs the conversion.