Struct atsamd_hal::gpio::pin::Pin

source ·
pub struct Pin<I, M>where
    I: PinId,
    M: PinMode,{ /* private fields */ }
Expand description

A type-level GPIO pin, parameterized by PinId and PinMode types

Implementations§

source§

impl<I, M> Pin<I, M>where I: PinId, M: PinMode,

source

pub fn into_mode<N: PinMode>(self) -> Pin<I, N>

Convert the pin to the requested PinMode

source

pub fn into_floating_disabled(self) -> Pin<I, FloatingDisabled>

Disable the pin and set it to float

source

pub fn into_pull_down_disabled(self) -> Pin<I, PullDownDisabled>

Disable the pin and set it to pull down

source

pub fn into_pull_up_disabled(self) -> Pin<I, PullUpDisabled>

Disable the pin and set it to pull up

source

pub fn into_floating_input(self) -> Pin<I, FloatingInput>

Configure the pin to operate as a floating input

source

pub fn into_pull_down_input(self) -> Pin<I, PullDownInput>

Configure the pin to operate as a pulled down input

source

pub fn into_pull_up_input(self) -> Pin<I, PullUpInput>

Configure the pin to operate as a pulled up input

source

pub fn into_floating_interrupt(self) -> Pin<I, FloatingInterrupt>

Configure the pin to operate as a floating interrupt

source

pub fn into_pull_down_interrupt(self) -> Pin<I, PullDownInterrupt>

Configure the pin to operate as a pulled down interrupt

source

pub fn into_pull_up_interrupt(self) -> Pin<I, PullUpInterrupt>

Configure the pin to operate as a pulled up interrupt

source

pub fn into_push_pull_output(self) -> Pin<I, PushPullOutput>

Configure the pin to operate as a push-pull output

source

pub fn into_readable_output(self) -> Pin<I, ReadableOutput>

Configure the pin to operate as a readable push pull output

source

pub fn into_alternate<C: AlternateConfig>(self) -> Pin<I, Alternate<C>>

Configure the pin to operate as the corresponding peripheral function.

The type C indicates the desired peripheral function.

source

pub fn get_drive_strength(&self) -> bool

Read the current drive strength of the pin.

The drive strength is reset to normal on every change in pin mode.

source

pub fn set_drive_strength(&mut self, stronger: bool)

Set the drive strength for the pin.

The drive strength is reset to normal on every change in pin mode.

Trait Implementations§

source§

impl<I, M> AnyPin for Pin<I, M>where I: PinId, M: PinMode,

§

type Id = I

PinId of the corresponding Pin
§

type Mode = M

PinMode of the corresponding Pin
source§

impl Channel<ADC> for Pin<PA02, AlternateB>

§

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<ADC> for Pin<PA03, AlternateB>

§

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<ADC> for Pin<PA04, AlternateB>

§

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<ADC> for Pin<PA05, AlternateB>

§

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<ADC> for Pin<PA06, AlternateB>

§

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<ADC> for Pin<PA07, AlternateB>

§

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<ADC> for Pin<PA08, AlternateB>

§

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<ADC> for Pin<PA09, AlternateB>

§

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<ADC> for Pin<PA10, AlternateB>

§

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<ADC> for Pin<PA11, AlternateB>

§

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<ADC> for Pin<PB02, AlternateB>

§

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<ADC> for Pin<PB03, AlternateB>

§

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<ADC> for Pin<PB08, AlternateB>

§

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<ADC> for Pin<PB09, AlternateB>

§

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<M: PinMode> EicPin for Pin<PA00, M>

§

type Floating = ExtInt0<Pin<PA00, Interrupt<Floating>>>

§

type PullUp = ExtInt0<Pin<PA00, Interrupt<PullUp>>>

§

type PullDown = ExtInt0<Pin<PA00, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA01, M>

§

type Floating = ExtInt1<Pin<PA01, Interrupt<Floating>>>

§

type PullUp = ExtInt1<Pin<PA01, Interrupt<PullUp>>>

§

type PullDown = ExtInt1<Pin<PA01, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA02, M>

§

type Floating = ExtInt2<Pin<PA02, Interrupt<Floating>>>

§

type PullUp = ExtInt2<Pin<PA02, Interrupt<PullUp>>>

§

type PullDown = ExtInt2<Pin<PA02, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA03, M>

§

type Floating = ExtInt3<Pin<PA03, Interrupt<Floating>>>

§

type PullUp = ExtInt3<Pin<PA03, Interrupt<PullUp>>>

§

type PullDown = ExtInt3<Pin<PA03, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA04, M>

§

type Floating = ExtInt4<Pin<PA04, Interrupt<Floating>>>

§

type PullUp = ExtInt4<Pin<PA04, Interrupt<PullUp>>>

§

type PullDown = ExtInt4<Pin<PA04, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA05, M>

§

type Floating = ExtInt5<Pin<PA05, Interrupt<Floating>>>

§

type PullUp = ExtInt5<Pin<PA05, Interrupt<PullUp>>>

§

type PullDown = ExtInt5<Pin<PA05, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA06, M>

§

type Floating = ExtInt6<Pin<PA06, Interrupt<Floating>>>

§

type PullUp = ExtInt6<Pin<PA06, Interrupt<PullUp>>>

§

type PullDown = ExtInt6<Pin<PA06, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA07, M>

§

type Floating = ExtInt7<Pin<PA07, Interrupt<Floating>>>

§

type PullUp = ExtInt7<Pin<PA07, Interrupt<PullUp>>>

§

type PullDown = ExtInt7<Pin<PA07, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA09, M>

§

type Floating = ExtInt9<Pin<PA09, Interrupt<Floating>>>

§

type PullUp = ExtInt9<Pin<PA09, Interrupt<PullUp>>>

§

type PullDown = ExtInt9<Pin<PA09, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA10, M>

§

type Floating = ExtInt10<Pin<PA10, Interrupt<Floating>>>

§

type PullUp = ExtInt10<Pin<PA10, Interrupt<PullUp>>>

§

type PullDown = ExtInt10<Pin<PA10, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA11, M>

§

type Floating = ExtInt11<Pin<PA11, Interrupt<Floating>>>

§

type PullUp = ExtInt11<Pin<PA11, Interrupt<PullUp>>>

§

type PullDown = ExtInt11<Pin<PA11, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA12, M>

§

type Floating = ExtInt12<Pin<PA12, Interrupt<Floating>>>

§

type PullUp = ExtInt12<Pin<PA12, Interrupt<PullUp>>>

§

type PullDown = ExtInt12<Pin<PA12, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA13, M>

§

type Floating = ExtInt13<Pin<PA13, Interrupt<Floating>>>

§

type PullUp = ExtInt13<Pin<PA13, Interrupt<PullUp>>>

§

type PullDown = ExtInt13<Pin<PA13, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA14, M>

§

type Floating = ExtInt14<Pin<PA14, Interrupt<Floating>>>

§

type PullUp = ExtInt14<Pin<PA14, Interrupt<PullUp>>>

§

type PullDown = ExtInt14<Pin<PA14, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA15, M>

§

type Floating = ExtInt15<Pin<PA15, Interrupt<Floating>>>

§

type PullUp = ExtInt15<Pin<PA15, Interrupt<PullUp>>>

§

type PullDown = ExtInt15<Pin<PA15, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA16, M>

§

type Floating = ExtInt0<Pin<PA16, Interrupt<Floating>>>

§

type PullUp = ExtInt0<Pin<PA16, Interrupt<PullUp>>>

§

type PullDown = ExtInt0<Pin<PA16, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA17, M>

§

type Floating = ExtInt1<Pin<PA17, Interrupt<Floating>>>

§

type PullUp = ExtInt1<Pin<PA17, Interrupt<PullUp>>>

§

type PullDown = ExtInt1<Pin<PA17, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA18, M>

§

type Floating = ExtInt2<Pin<PA18, Interrupt<Floating>>>

§

type PullUp = ExtInt2<Pin<PA18, Interrupt<PullUp>>>

§

type PullDown = ExtInt2<Pin<PA18, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA19, M>

§

type Floating = ExtInt3<Pin<PA19, Interrupt<Floating>>>

§

type PullUp = ExtInt3<Pin<PA19, Interrupt<PullUp>>>

§

type PullDown = ExtInt3<Pin<PA19, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA20, M>

§

type Floating = ExtInt4<Pin<PA20, Interrupt<Floating>>>

§

type PullUp = ExtInt4<Pin<PA20, Interrupt<PullUp>>>

§

type PullDown = ExtInt4<Pin<PA20, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA21, M>

§

type Floating = ExtInt5<Pin<PA21, Interrupt<Floating>>>

§

type PullUp = ExtInt5<Pin<PA21, Interrupt<PullUp>>>

§

type PullDown = ExtInt5<Pin<PA21, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA22, M>

§

type Floating = ExtInt6<Pin<PA22, Interrupt<Floating>>>

§

type PullUp = ExtInt6<Pin<PA22, Interrupt<PullUp>>>

§

type PullDown = ExtInt6<Pin<PA22, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA23, M>

§

type Floating = ExtInt7<Pin<PA23, Interrupt<Floating>>>

§

type PullUp = ExtInt7<Pin<PA23, Interrupt<PullUp>>>

§

type PullDown = ExtInt7<Pin<PA23, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA24, M>

§

type Floating = ExtInt12<Pin<PA24, Interrupt<Floating>>>

§

type PullUp = ExtInt12<Pin<PA24, Interrupt<PullUp>>>

§

type PullDown = ExtInt12<Pin<PA24, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA25, M>

§

type Floating = ExtInt13<Pin<PA25, Interrupt<Floating>>>

§

type PullUp = ExtInt13<Pin<PA25, Interrupt<PullUp>>>

§

type PullDown = ExtInt13<Pin<PA25, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA27, M>

§

type Floating = ExtInt15<Pin<PA27, Interrupt<Floating>>>

§

type PullUp = ExtInt15<Pin<PA27, Interrupt<PullUp>>>

§

type PullDown = ExtInt15<Pin<PA27, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA28, M>

§

type Floating = ExtInt8<Pin<PA28, Interrupt<Floating>>>

§

type PullUp = ExtInt8<Pin<PA28, Interrupt<PullUp>>>

§

type PullDown = ExtInt8<Pin<PA28, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA30, M>

§

type Floating = ExtInt10<Pin<PA30, Interrupt<Floating>>>

§

type PullUp = ExtInt10<Pin<PA30, Interrupt<PullUp>>>

§

type PullDown = ExtInt10<Pin<PA30, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PA31, M>

§

type Floating = ExtInt11<Pin<PA31, Interrupt<Floating>>>

§

type PullUp = ExtInt11<Pin<PA31, Interrupt<PullUp>>>

§

type PullDown = ExtInt11<Pin<PA31, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB02, M>

§

type Floating = ExtInt2<Pin<PB02, Interrupt<Floating>>>

§

type PullUp = ExtInt2<Pin<PB02, Interrupt<PullUp>>>

§

type PullDown = ExtInt2<Pin<PB02, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB03, M>

§

type Floating = ExtInt3<Pin<PB03, Interrupt<Floating>>>

§

type PullUp = ExtInt3<Pin<PB03, Interrupt<PullUp>>>

§

type PullDown = ExtInt3<Pin<PB03, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB08, M>

§

type Floating = ExtInt8<Pin<PB08, Interrupt<Floating>>>

§

type PullUp = ExtInt8<Pin<PB08, Interrupt<PullUp>>>

§

type PullDown = ExtInt8<Pin<PB08, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB09, M>

§

type Floating = ExtInt9<Pin<PB09, Interrupt<Floating>>>

§

type PullUp = ExtInt9<Pin<PB09, Interrupt<PullUp>>>

§

type PullDown = ExtInt9<Pin<PB09, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB10, M>

§

type Floating = ExtInt10<Pin<PB10, Interrupt<Floating>>>

§

type PullUp = ExtInt10<Pin<PB10, Interrupt<PullUp>>>

§

type PullDown = ExtInt10<Pin<PB10, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB11, M>

§

type Floating = ExtInt11<Pin<PB11, Interrupt<Floating>>>

§

type PullUp = ExtInt11<Pin<PB11, Interrupt<PullUp>>>

§

type PullDown = ExtInt11<Pin<PB11, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB22, M>

§

type Floating = ExtInt6<Pin<PB22, Interrupt<Floating>>>

§

type PullUp = ExtInt6<Pin<PB22, Interrupt<PullUp>>>

§

type PullDown = ExtInt6<Pin<PB22, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> EicPin for Pin<PB23, M>

§

type Floating = ExtInt7<Pin<PB23, Interrupt<Floating>>>

§

type PullUp = ExtInt7<Pin<PB23, Interrupt<PullUp>>>

§

type PullDown = ExtInt7<Pin<PB23, Interrupt<PullDown>>>

source§

fn into_floating_ei(self) -> Self::Floating

Configure a pin as a floating external interrupt
source§

fn into_pull_up_ei(self) -> Self::PullUp

Configure a pin as pulled-up external interrupt
source§

fn into_pull_down_ei(self) -> Self::PullDown

Configure a pin as pulled-down external interrupt
source§

impl<M: PinMode> ExternalInterrupt for Pin<PA00, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA01, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA02, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA03, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA04, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA05, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA06, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA07, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA09, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA10, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA11, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA12, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA13, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA14, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA15, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA16, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA17, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA18, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA19, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA20, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA21, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA22, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA23, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA24, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA25, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA27, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA28, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA30, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PA31, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB02, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB03, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB08, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB09, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB10, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB11, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB22, M>

source§

impl<M: PinMode> ExternalInterrupt for Pin<PB23, M>

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to AlternateC

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to AlternateD

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to AlternateE

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to AlternateF

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to AlternateG

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to AlternateH

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to FloatingInput

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PullDownInput

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PullUpInput

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<B>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateB>) -> Self

Convert from AlternateB to ReadableOutput

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to AlternateB

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to AlternateD

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to AlternateE

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to AlternateF

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to AlternateG

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to AlternateH

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to FloatingInput

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PullDownInput

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PullUpInput

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<C>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateC>) -> Self

Convert from AlternateC to ReadableOutput

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to AlternateB

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to AlternateC

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to AlternateE

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to AlternateF

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to AlternateG

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to AlternateH

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to FloatingInput

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PullDownInput

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PullUpInput

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<D>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateD>) -> Self

Convert from AlternateD to ReadableOutput

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to AlternateB

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to AlternateC

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to AlternateD

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to AlternateF

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to AlternateG

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to AlternateH

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to FloatingInput

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PullDownInput

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PullUpInput

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<E>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateE>) -> Self

Convert from AlternateE to ReadableOutput

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to AlternateB

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to AlternateC

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to AlternateD

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to AlternateE

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to AlternateG

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to AlternateH

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to FloatingInput

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PullDownInput

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PullUpInput

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<F>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateF>) -> Self

Convert from AlternateF to ReadableOutput

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to AlternateB

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to AlternateC

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to AlternateD

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to AlternateE

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to AlternateF

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to AlternateH

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to FloatingInput

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PullDownInput

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PullUpInput

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<G>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateG>) -> Self

Convert from AlternateG to ReadableOutput

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to AlternateB

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to AlternateC

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to AlternateD

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to AlternateE

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to AlternateF

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to AlternateG

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to FloatingDisabled

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to FloatingInput

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to FloatingInterrupt

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PullDownDisabled

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PullDownInput

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PullDownInterrupt

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PullUpDisabled

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PullUpInput

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PullUpInterrupt

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to PushPullOutput

source§

impl<I> From<Pin<I, Alternate<H>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, AlternateH>) -> Self

Convert from AlternateH to ReadableOutput

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateB

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateC

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateD

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateE

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateF

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateG

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to AlternateH

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

Convert from FloatingDisabled to PullUpInput

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<Floating>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateB

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateC

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateD

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateE

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateF

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateG

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to AlternateH

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

Convert from PullDownDisabled to PullUpInput

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullDown>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateB

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateC

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateD

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateE

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateF

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateG

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to AlternateH

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to FloatingInput

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to PullDownInput

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

Convert from PullUpDisabled to PullUpInput

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Disabled<PullUp>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpDisabled>) -> Self

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateB

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateC

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateD

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateE

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateF

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateG

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to AlternateH

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to PullDownInput

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to PullUpDisabled

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to PullUpInput

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to PushPullOutput

source§

impl<I> From<Pin<I, Input<Floating>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInput>) -> Self

Convert from FloatingInput to ReadableOutput

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateB

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateC

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateD

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateE

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateF

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateG

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to AlternateH

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to FloatingInput

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to PullUpDisabled

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to PullUpInput

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to PushPullOutput

source§

impl<I> From<Pin<I, Input<PullDown>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInput>) -> Self

Convert from PullDownInput to ReadableOutput

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateB

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateC

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateD

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateE

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateF

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateG

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to AlternateH

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to FloatingDisabled

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to FloatingInput

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to PullDownDisabled

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to PullDownInput

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to PullUpDisabled

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to PullUpInterrupt

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to PushPullOutput

source§

impl<I> From<Pin<I, Input<PullUp>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInput>) -> Self

Convert from PullUpInput to ReadableOutput

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateB

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateC

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateD

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateE

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateF

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateG

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

Convert from FloatingInterrupt to AlternateH

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, FloatingInput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PullDownInput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, FloatingInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, PushPullOutput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<Floating>>> for Pin<I, ReadableOutput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateB

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateC

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateD

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateE

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateF

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateG

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

Convert from PullDownInterrupt to AlternateH

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, FloatingInput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, PullDownInput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, PullDownInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, PushPullOutput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullDown>>> for Pin<I, ReadableOutput>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateB

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateC

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateD

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateE

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateF

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateG

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to AlternateH

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

Convert from PullUpInterrupt to PullUpInput

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I> From<Pin<I, Interrupt<PullUp>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, PullUpInterrupt>) -> Self

source§

impl<I, M> From<Pin<I, M>> for DynPinwhere I: PinId, M: PinMode,

source§

fn from(_pin: Pin<I, M>) -> Self

Erase the type-level information in a Pin and return a value-level DynPin

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateB

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateC

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateD

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateE

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateF

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateG

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to AlternateH

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to FloatingInput

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to PullDownInput

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

Convert from PushPullOutput to PullUpInput

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<PushPull>>> for Pin<I, ReadableOutput>where I: PinId,

source§

fn from(pin: Pin<I, PushPullOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateB>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateB

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateC>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateC

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateD>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateD

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateE>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateE

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateF>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateF

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateG>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateG

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, AlternateH>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to AlternateH

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, FloatingDisabled>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, FloatingInput>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to FloatingInput

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, FloatingInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PullDownDisabled>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PullDownInput>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to PullDownInput

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PullDownInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PullUpDisabled>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PullUpInput>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

Convert from ReadableOutput to PullUpInput

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PullUpInterrupt>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I> From<Pin<I, Output<Readable>>> for Pin<I, PushPullOutput>where I: PinId,

source§

fn from(pin: Pin<I, ReadableOutput>) -> Self

source§

impl<I, C> InputPin for Pin<I, Input<C>>where I: PinId, C: InputConfig,

§

type Error = Infallible

Error type
source§

fn is_high(&self) -> Result<bool, Self::Error>

Is the input pin high?
source§

fn is_low(&self) -> Result<bool, Self::Error>

Is the input pin low?
source§

impl<I, C> InputPin for Pin<I, Interrupt<C>>where I: PinId, C: InterruptConfig,

§

type Error = Infallible

Error type
source§

fn is_high(&self) -> Result<bool, Self::Error>

Is the input pin high?
source§

fn is_low(&self) -> Result<bool, Self::Error>

Is the input pin low?
source§

impl<I> InputPin for Pin<I, ReadableOutput>where I: PinId,

§

type Error = Infallible

Error type
source§

fn is_high(&self) -> Result<bool, Self::Error>

Is the input pin high?
source§

fn is_low(&self) -> Result<bool, Self::Error>

Is the input pin low?
source§

impl IsPad for Pin<PA00, Alternate<D>>

source§

impl IsPad for Pin<PA01, Alternate<D>>

source§

impl IsPad for Pin<PA04, Alternate<D>>

source§

impl IsPad for Pin<PA05, Alternate<D>>

source§

impl IsPad for Pin<PA06, Alternate<D>>

source§

impl IsPad for Pin<PA07, Alternate<D>>

source§

impl IsPad for Pin<PA08, Alternate<C>>

source§

impl IsPad for Pin<PA08, Alternate<D>>

source§

impl IsPad for Pin<PA09, Alternate<C>>

source§

impl IsPad for Pin<PA09, Alternate<D>>

source§

impl IsPad for Pin<PA10, Alternate<C>>

source§

impl IsPad for Pin<PA10, Alternate<D>>

source§

impl IsPad for Pin<PA11, Alternate<C>>

source§

impl IsPad for Pin<PA11, Alternate<D>>

source§

impl IsPad for Pin<PA12, Alternate<C>>

source§

impl IsPad for Pin<PA12, Alternate<D>>

source§

impl IsPad for Pin<PA13, Alternate<C>>

source§

impl IsPad for Pin<PA13, Alternate<D>>

source§

impl IsPad for Pin<PA14, Alternate<C>>

source§

impl IsPad for Pin<PA14, Alternate<D>>

source§

impl IsPad for Pin<PA15, Alternate<C>>

source§

impl IsPad for Pin<PA15, Alternate<D>>

source§

impl IsPad for Pin<PA16, Alternate<C>>

source§

impl IsPad for Pin<PA16, Alternate<D>>

source§

impl IsPad for Pin<PA17, Alternate<C>>

source§

impl IsPad for Pin<PA17, Alternate<D>>

source§

impl IsPad for Pin<PA18, Alternate<C>>

source§

impl IsPad for Pin<PA18, Alternate<D>>

source§

impl IsPad for Pin<PA19, Alternate<C>>

source§

impl IsPad for Pin<PA19, Alternate<D>>

source§

impl IsPad for Pin<PA20, Alternate<C>>

source§

impl IsPad for Pin<PA20, Alternate<D>>

source§

impl IsPad for Pin<PA21, Alternate<C>>

source§

impl IsPad for Pin<PA21, Alternate<D>>

source§

impl IsPad for Pin<PA22, Alternate<C>>

source§

impl IsPad for Pin<PA22, Alternate<D>>

source§

impl IsPad for Pin<PA23, Alternate<C>>

source§

impl IsPad for Pin<PA23, Alternate<D>>

source§

impl IsPad for Pin<PA24, Alternate<C>>

source§

impl IsPad for Pin<PA24, Alternate<D>>

source§

impl IsPad for Pin<PA25, Alternate<C>>

source§

impl IsPad for Pin<PA25, Alternate<D>>

source§

impl IsPad for Pin<PA30, Alternate<D>>

source§

impl IsPad for Pin<PA31, Alternate<D>>

source§

impl IsPad for Pin<PB02, Alternate<D>>

source§

impl IsPad for Pin<PB03, Alternate<D>>

source§

impl IsPad for Pin<PB08, Alternate<D>>

source§

impl IsPad for Pin<PB09, Alternate<D>>

source§

impl IsPad for Pin<PB10, Alternate<D>>

source§

impl IsPad for Pin<PB11, Alternate<D>>

source§

impl IsPad for Pin<PB22, Alternate<D>>

source§

impl IsPad for Pin<PB23, Alternate<D>>

source§

impl<I, C> OutputPin for Pin<I, Output<C>>where I: PinId, C: OutputConfig,

§

type Error = Infallible

Error type
source§

fn set_high(&mut self) -> Result<(), Self::Error>

Drives the pin high Read more
source§

fn set_low(&mut self) -> Result<(), Self::Error>

Drives the pin low Read more
source§

fn set_state(&mut self, state: PinState) -> Result<(), Self::Error>

Drives the pin high or low depending on the provided value Read more
source§

impl<I, C> StatefulOutputPin for Pin<I, Output<C>>where I: PinId, C: OutputConfig,

source§

fn is_set_high(&self) -> Result<bool, Self::Error>

Is the pin in drive high mode? Read more
source§

fn is_set_low(&self) -> Result<bool, Self::Error>

Is the pin in drive low mode? Read more
source§

impl<I, C> ToggleableOutputPin for Pin<I, Output<C>>where I: PinId, C: OutputConfig,

§

type Error = Infallible

Error type
source§

fn toggle(&mut self) -> Result<(), Self::Error>

Toggle pin output.
source§

impl<I, M> TryFrom<DynPin> for Pin<I, M>where I: PinId, M: PinMode,

source§

fn try_from(pin: DynPin) -> Result<Self, Error>

Try to recreate a type-level Pin from a value-level DynPin

There is no way for the compiler to know if the conversion will be successful at compile-time. We must verify the conversion at run-time or refuse to perform it.

§

type Error = Error

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

impl IsI2cPad for Pin<PA08, Alternate<C>>

source§

impl IsI2cPad for Pin<PA08, Alternate<D>>

source§

impl IsI2cPad for Pin<PA09, Alternate<C>>

source§

impl IsI2cPad for Pin<PA09, Alternate<D>>

source§

impl IsI2cPad for Pin<PA12, Alternate<C>>

source§

impl IsI2cPad for Pin<PA12, Alternate<D>>

source§

impl IsI2cPad for Pin<PA13, Alternate<C>>

source§

impl IsI2cPad for Pin<PA13, Alternate<D>>

source§

impl IsI2cPad for Pin<PA16, Alternate<C>>

source§

impl IsI2cPad for Pin<PA16, Alternate<D>>

source§

impl IsI2cPad for Pin<PA17, Alternate<C>>

source§

impl IsI2cPad for Pin<PA17, Alternate<D>>

source§

impl IsI2cPad for Pin<PA22, Alternate<C>>

source§

impl IsI2cPad for Pin<PA22, Alternate<D>>

source§

impl IsI2cPad for Pin<PA23, Alternate<C>>

source§

impl IsI2cPad for Pin<PA23, Alternate<D>>

Auto Trait Implementations§

§

impl<I, M> RefUnwindSafe for Pin<I, M>where I: RefUnwindSafe, M: RefUnwindSafe,

§

impl<I, M> Send for Pin<I, M>where I: Send, M: Send,

§

impl<I, M> Sync for Pin<I, M>where I: Sync, M: Sync,

§

impl<I, M> Unpin for Pin<I, M>where I: Unpin, M: Unpin,

§

impl<I, M> UnwindSafe for Pin<I, M>where I: UnwindSafe, M: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<P> ControlSS for Pwhere P: SomePin + OutputPin<Error = Infallible>,

source§

fn assert(&mut self)

If an SS pin is present, assert it by bringing it low
source§

fn deassert(&mut self)

If an SS pin is present, deassert it by bringing it high
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Is for Twhere T: Sealed + AsRef<T> + AsMut<T>,

§

type Type = T

source§

impl<P> OptionalPad for Pwhere P: IsPad,

§

type PadNum = <P as IsPad>::PadNum

source§

impl<P> OptionalPin for Pwhere P: AnyPin,

§

type Id = <P as AnyPin>::Id

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<P> SomePad for Pwhere P: IsPad,

source§

impl<P> SomePin for Pwhere P: AnyPin,