PB5

Type Alias PB5 

Source
pub type PB5<MODE = Input<Floating>> = Pin<'B', 5, MODE>;

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Ch2Out> for PB5<MODE>
where MODE: PinMode, Alternate<PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Mo> for PB5<MODE>
where MODE: PinMode, Alternate<PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Mo> for PB5<MODE>
where MODE: PinMode, Alternate<PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<OUTMODE> TryFrom<Si> for PB5<OUTMODE>
where OUTMODE: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<OUTMODE> TryFrom<Si> for PB5<OUTMODE>
where OUTMODE: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Smba> for PB5<MODE>
where MODE: PinMode, Alternate<OpenDrain>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> CPin<Tim3PartialRemap, 1> for PB5<MODE>