Type Alias PD4

Source
pub type PD4<MODE = DefaultMode> = Pin<'D', 4, MODE>;
Expand description

PD4 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Rts> for PD4<MODE>
where MODE: PinMode, Alternate<7, 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.