Type Alias PG0

Source
pub type PG0<MODE = DefaultMode> = Pin<'G', 0, MODE>;
Expand description

PG0 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Address> for PG0<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.