Type Alias PB9

Source
pub type PB9<MODE = DefaultMode> = Pin<'B', 9, MODE>;
Expand description

PB9 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE> TryFrom<B7> for PB9<MODE>
where MODE: PinMode, Alternate<14, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PB9<MODE>
where MODE: PinMode, Alternate<3, Otype>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Ch4<Otype>> for PB9<MODE>
where MODE: PinMode, Alternate<2, Otype>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<D7> for PB9<MODE>
where MODE: PinMode, Alternate<13, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Nss> for PB9<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 PB9<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<Tx> for PB9<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: Tx) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.