PB1

Type Alias PB1 

Source
pub type PB1<MODE = Input<Floating>> = Pin<'B', 1, MODE>;

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<Periph<RegisterBlock, 1073816576>> for PB1<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 PB1<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<Ch3N> for PB1<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: Ch3N) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE> CPin<Tim3NoRemap, 3> for PB1<MODE>

Source§

impl<MODE> CPin<Tim3PartialRemap, 3> for PB1<MODE>