Type Alias PB7

Source
pub type PB7<MODE = DefaultMode> = Pin<'B', 7, MODE>;
Expand description

PB7 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE, Otype> TryFrom<Ch2<Otype>> for PB7<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: Ch2<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Rx<Otype>> for PB7<MODE>
where MODE: PinMode, Alternate<7, Otype>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Sda> for PB7<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<Vsync> for PB7<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: Vsync) -> Result<Self, Self::Error>

Performs the conversion.