PA5

Type Alias PA5 

Source
pub type PA5<MODE = DefaultMode> = Pin<'A', 5, MODE>;
Expand description

PA5 pin

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<Periph<RegisterBlock, 1073815552>> for PA5<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 Channel<Periph<RegisterBlock, 1073815808>> for PA5<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 Pins<Periph<RegisterBlock, 1073771520>> for PA5<Analog>

Source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PA5<MODE>
where MODE: PinMode, Alternate<1, 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<Ch1N<Otype>> for PA5<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: Ch1N<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<MODE> TryFrom<Etr> for PA5<MODE>
where MODE: PinMode, Alternate<1, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Sck> for PA5<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> TryFrom<UlpiCk> for PA5<MODE>
where MODE: PinMode, Alternate<10, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.