PH5

Type Alias PH5 

Source
pub type PH5<MODE = DefaultMode> = Pin<'H', 5, MODE>;
Expand description

PH5 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE> TryFrom<Nss> for PH5<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Sda> for PH5<MODE>
where MODE: PinMode, Alternate<4, OpenDrain>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

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

Performs the conversion.