Type Alias PG12

Source
pub type PG12<MODE = DefaultMode> = Pin<'G', 12, MODE>;
Expand description

PG12 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE> TryFrom<B1> for PG12<MODE>
where MODE: PinMode, Alternate<14, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<B4> for PG12<MODE>
where MODE: PinMode, Alternate<9, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Miso> for PG12<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

Source§

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.
Source§

impl<MODE> TryFrom<Ne4> for PG12<MODE>
where MODE: PinMode, Alternate<12, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Rts> for PG12<MODE>
where MODE: PinMode, Alternate<8, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.