Type Alias PF5

Source
pub type PF5<MODE = DefaultMode> = Pin<'F', 5, MODE>;
Expand description

PF5 pin

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<ADC3> for PF5<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> TryFrom<A5> for PF5<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: A5) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.