Type Alias PD5

Source
pub type PD5<MODE = DefaultMode> = Pin<'D', 5, MODE>;
Expand description

PD5 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Tx<Otype>> for PD5<MODE>
where MODE: PinMode, Alternate<7, Otype>: PinMode,

Source§

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.