Type Alias PD0

Source
pub type PD0<MODE = DefaultMode> = Pin<'D', 0, MODE>;
Expand description

PD0 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.