Type Alias PB8

Source
pub type PB8<MODE = DefaultMode> = Pin<'B', 8, MODE>;
Expand description

PB8 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PB8<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<Ch3<Otype>> for PB8<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: Ch3<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Rx> for PB8<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.
Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Sd> for PB8<MODE>
where MODE: PinMode, Alternate<6, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Txd3> for PB8<MODE>
where MODE: PinMode, Alternate<11, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.