Type Alias stm32f4xx_hal::gpio::gpioc::PC7

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

PC7 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch2<Otype>> for PC7<MODE>
where MODE: PinMode, Alternate<2, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Ch2<Otype>> for PC7<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: Ch2<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Rx<Otype>> for PC7<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: Rx<Otype>) -> Result<Self, Self::Error>

Performs the conversion.