Type Alias stm32f4xx_hal::gpio::PC12

source ·
pub type PC12<MODE = DefaultMode> = Pin<'C', 12, MODE>;
Expand description

PC12 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Tx<Otype>> for PC12<MODE>
where MODE: PinMode, Alternate<8, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.