PG5

Type Alias PG5 

Source
pub type PG5<MODE = DefaultMode> = Pin<'G', 5, MODE>;
Expand description

PG5 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.