PB0

Type Alias PB0 

Source
pub type PB0<MODE = Input<Floating>> = Pin<'B', 0, MODE>;

Aliased Type§

pub struct PB0<MODE = Input<Floating>> { /* private fields */ }

Trait Implementations§

Source§

impl Channel<Periph<RegisterBlock, 1073816576>> for PB0<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, 1073817600>> for PB0<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<Ch2N> for PB0<MODE>
where MODE: PinMode, Alternate<PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Ch3In> for PB0<MODE>
where MODE: PinMode, Input<Floating>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Ch3Out> for PB0<MODE>
where MODE: PinMode, Alternate<PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> CPin<Tim3NoRemap, 2> for PB0<MODE>

Source§

impl<MODE> CPin<Tim3PartialRemap, 2> for PB0<MODE>