Type Alias stm32f4xx_hal::gpio::gpioa::PA8

source ·
pub type PA8<MODE = DefaultMode> = Pin<'A', 8, MODE>;
Expand description

PA8 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PA8<MODE>
where MODE: PinMode, Alternate<1, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Mco1> for PA8<MODE>
where MODE: PinMode, Alternate<0, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sof> for PA8<MODE>
where MODE: PinMode, Alternate<10, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.