Type Alias PC0

Source
pub type PC0<MODE = DefaultMode> = Pin<'C', 0, MODE>;
Expand description

PC0 pin

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<ADC1> for PC0<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<ADC2> for PC0<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<ADC3> for PC0<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<Sdnwe> for PC0<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: Sdnwe) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.