PD2

Type Alias PD2 

Source
pub type PD2<MODE = Input<Floating>> = Pin<'D', 2, MODE>;

Aliased Type§

pub struct PD2<MODE = Input<Floating>> { /* private fields */ }

Trait Implementations§

Source§

impl<MODE> TryFrom<Etr> for PD2<MODE>
where MODE: PinMode, Input<Floating>: PinMode,

Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(a: Etr) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<OUTMODE> TryFrom<Rx> for PD2<OUTMODE>
where OUTMODE: 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.