Type Alias stm32f4xx_hal::gpio::gpioc::PC5

source ·
pub type PC5<MODE = DefaultMode> = Pin<'C', 5, MODE>;
Expand description

PC5 pin

Aliased Type§

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

Trait Implementations§

source§

impl Channel<ADC1> for PC5<Analog>

§

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<ADC2> for PC5<Analog>

§

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<Rxd1> for PC5<MODE>
where MODE: PinMode, Alternate<11, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.