Type Alias PF7

Source
pub type PF7<MODE = DefaultMode> = Pin<'F', 7, MODE>;
Expand description

PF7 pin

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<ADC3> for PF7<Analog>

Source§

type ID = u8

Channel ID type Read more
Source§

fn channel() -> u8

Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Tx<Otype>> for PF7<MODE>
where MODE: PinMode, Alternate<8, Otype>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.