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

Convert the pin to the requested PinMode

Disable the pin and set it to float

Disable the pin and set it to pull down

Disable the pin and set it to pull up

Configure the pin to operate as a floating input

Configure the pin to operate as a pulled down input

Configure the pin to operate as a pulled up input

Configure the pin to operate as a floating interrupt

Configure the pin to operate as a pulled down interrupt

Configure the pin to operate as a pulled up interrupt

Configure the pin to operate as a push-pull output

Configure the pin to operate as a readable push pull output

Configure the pin to operate as the corresponding peripheral function.

The type C indicates the desired peripheral function.

Read the current drive strength of the pin.

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

Set the drive strength for the pin.

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

Trait Implementations

PinId of the corresponding Pin
PinMode of the corresponding Pin
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Channel ID type Read more
Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt
Configure a pin as a floating external interrupt
Configure a pin as pulled-up external interrupt
Configure a pin as pulled-down external interrupt

Convert from AlternateB to AlternateC

Convert from AlternateB to AlternateD

Convert from AlternateB to AlternateE

Convert from AlternateB to AlternateF

Convert from AlternateB to AlternateG

Convert from AlternateB to AlternateH

Convert from AlternateB to AlternateI

Convert from AlternateB to AlternateJ

Convert from AlternateB to AlternateK

Convert from AlternateB to AlternateL

Convert from AlternateB to AlternateM

Convert from AlternateB to AlternateN

Convert from AlternateB to FloatingDisabled

Convert from AlternateB to FloatingInput

Convert from AlternateB to FloatingInterrupt

Convert from AlternateB to PullDownDisabled

Convert from AlternateB to PullDownInput

Convert from AlternateB to PullDownInterrupt

Convert from AlternateB to PullUpDisabled

Convert from AlternateB to PullUpInput

Convert from AlternateB to PullUpInterrupt

Convert from AlternateB to PushPullOutput

Convert from AlternateB to ReadableOutput

Convert from AlternateC to AlternateB

Convert from AlternateC to AlternateD

Convert from AlternateC to AlternateE

Convert from AlternateC to AlternateF

Convert from AlternateC to AlternateG

Convert from AlternateC to AlternateH

Convert from AlternateC to AlternateI

Convert from AlternateC to AlternateJ

Convert from AlternateC to AlternateK

Convert from AlternateC to AlternateL

Convert from AlternateC to AlternateM

Convert from AlternateC to AlternateN

Convert from AlternateC to FloatingDisabled

Convert from AlternateC to FloatingInput

Convert from AlternateC to FloatingInterrupt

Convert from AlternateC to PullDownDisabled

Convert from AlternateC to PullDownInput

Convert from AlternateC to PullDownInterrupt

Convert from AlternateC to PullUpDisabled

Convert from AlternateC to PullUpInput

Convert from AlternateC to PullUpInterrupt

Convert from AlternateC to PushPullOutput

Convert from AlternateC to ReadableOutput

Convert from AlternateD to AlternateB

Convert from AlternateD to AlternateC

Convert from AlternateD to AlternateE

Convert from AlternateD to AlternateF

Convert from AlternateD to AlternateG

Convert from AlternateD to AlternateH

Convert from AlternateD to AlternateI

Convert from AlternateD to AlternateJ

Convert from AlternateD to AlternateK

Convert from AlternateD to AlternateL

Convert from AlternateD to AlternateM

Convert from AlternateD to AlternateN

Convert from AlternateD to FloatingDisabled

Convert from AlternateD to FloatingInput

Convert from AlternateD to FloatingInterrupt

Convert from AlternateD to PullDownDisabled

Convert from AlternateD to PullDownInput

Convert from AlternateD to PullDownInterrupt

Convert from AlternateD to PullUpDisabled

Convert from AlternateD to PullUpInput

Convert from AlternateD to PullUpInterrupt

Convert from AlternateD to PushPullOutput

Convert from AlternateD to ReadableOutput

Convert from AlternateE to AlternateB

Convert from AlternateE to AlternateC

Convert from AlternateE to AlternateD

Convert from AlternateE to AlternateF

Convert from AlternateE to AlternateG

Convert from AlternateE to AlternateH

Convert from AlternateE to AlternateI

Convert from AlternateE to AlternateJ

Convert from AlternateE to AlternateK

Convert from AlternateE to AlternateL

Convert from AlternateE to AlternateM

Convert from AlternateE to AlternateN

Convert from AlternateE to FloatingDisabled

Convert from AlternateE to FloatingInput

Convert from AlternateE to FloatingInterrupt

Convert from AlternateE to PullDownDisabled

Convert from AlternateE to PullDownInput

Convert from AlternateE to PullDownInterrupt

Convert from AlternateE to PullUpDisabled

Convert from AlternateE to PullUpInput

Convert from AlternateE to PullUpInterrupt

Convert from AlternateE to PushPullOutput

Convert from AlternateE to ReadableOutput

Convert from AlternateF to AlternateB

Convert from AlternateF to AlternateC

Convert from AlternateF to AlternateD

Convert from AlternateF to AlternateE

Convert from AlternateF to AlternateG

Convert from AlternateF to AlternateH

Convert from AlternateF to AlternateI

Convert from AlternateF to AlternateJ

Convert from AlternateF to AlternateK

Convert from AlternateF to AlternateL

Convert from AlternateF to AlternateM

Convert from AlternateF to AlternateN

Convert from AlternateF to FloatingDisabled

Convert from AlternateF to FloatingInput

Convert from AlternateF to FloatingInterrupt

Convert from AlternateF to PullDownDisabled

Convert from AlternateF to PullDownInput

Convert from AlternateF to PullDownInterrupt

Convert from AlternateF to PullUpDisabled

Convert from AlternateF to PullUpInput

Convert from AlternateF to PullUpInterrupt

Convert from AlternateF to PushPullOutput

Convert from AlternateF to ReadableOutput

Convert from AlternateG to AlternateB

Convert from AlternateG to AlternateC

Convert from AlternateG to AlternateD

Convert from AlternateG to AlternateE

Convert from AlternateG to AlternateF

Convert from AlternateG to AlternateH

Convert from AlternateG to AlternateI

Convert from AlternateG to AlternateJ

Convert from AlternateG to AlternateK

Convert from AlternateG to AlternateL

Convert from AlternateG to AlternateM

Convert from AlternateG to AlternateN

Convert from AlternateG to FloatingDisabled

Convert from AlternateG to FloatingInput

Convert from AlternateG to FloatingInterrupt

Convert from AlternateG to PullDownDisabled

Convert from AlternateG to PullDownInput

Convert from AlternateG to PullDownInterrupt

Convert from AlternateG to PullUpDisabled

Convert from AlternateG to PullUpInput

Convert from AlternateG to PullUpInterrupt

Convert from AlternateG to PushPullOutput

Convert from AlternateG to ReadableOutput

Convert from AlternateH to AlternateB

Convert from AlternateH to AlternateC

Convert from AlternateH to AlternateD

Convert from AlternateH to AlternateE

Convert from AlternateH to AlternateF

Convert from AlternateH to AlternateG

Convert from AlternateH to AlternateI

Convert from AlternateH to AlternateJ

Convert from AlternateH to AlternateK

Convert from AlternateH to AlternateL

Convert from AlternateH to AlternateM

Convert from AlternateH to AlternateN

Convert from AlternateH to FloatingDisabled

Convert from AlternateH to FloatingInput

Convert from AlternateH to FloatingInterrupt

Convert from AlternateH to PullDownDisabled

Convert from AlternateH to PullDownInput

Convert from AlternateH to PullDownInterrupt

Convert from AlternateH to PullUpDisabled

Convert from AlternateH to PullUpInput

Convert from AlternateH to PullUpInterrupt

Convert from AlternateH to PushPullOutput

Convert from AlternateH to ReadableOutput

Convert from AlternateI to AlternateB

Convert from AlternateI to AlternateC

Convert from AlternateI to AlternateD

Convert from AlternateI to AlternateE

Convert from AlternateI to AlternateF

Convert from AlternateI to AlternateG

Convert from AlternateI to AlternateH

Convert from AlternateI to AlternateJ

Convert from AlternateI to AlternateK

Convert from AlternateI to AlternateL

Convert from AlternateI to AlternateM

Convert from AlternateI to AlternateN

Convert from AlternateI to FloatingDisabled

Convert from AlternateI to FloatingInput

Convert from AlternateI to FloatingInterrupt

Convert from AlternateI to PullDownDisabled

Convert from AlternateI to PullDownInput

Convert from AlternateI to PullDownInterrupt

Convert from AlternateI to PullUpDisabled

Convert from AlternateI to PullUpInput

Convert from AlternateI to PullUpInterrupt

Convert from AlternateI to PushPullOutput

Convert from AlternateI to ReadableOutput

Convert from AlternateJ to AlternateB

Convert from AlternateJ to AlternateC

Convert from AlternateJ to AlternateD

Convert from AlternateJ to AlternateE

Convert from AlternateJ to AlternateF

Convert from AlternateJ to AlternateG

Convert from AlternateJ to AlternateH

Convert from AlternateJ to AlternateI

Convert from AlternateJ to AlternateK

Convert from AlternateJ to AlternateL

Convert from AlternateJ to AlternateM

Convert from AlternateJ to AlternateN

Convert from AlternateJ to FloatingDisabled

Convert from AlternateJ to FloatingInput

Convert from AlternateJ to FloatingInterrupt

Convert from AlternateJ to PullDownDisabled

Convert from AlternateJ to PullDownInput

Convert from AlternateJ to PullDownInterrupt

Convert from AlternateJ to PullUpDisabled

Convert from AlternateJ to PullUpInput

Convert from AlternateJ to PullUpInterrupt

Convert from AlternateJ to PushPullOutput

Convert from AlternateJ to ReadableOutput

Convert from AlternateK to AlternateB

Convert from AlternateK to AlternateC

Convert from AlternateK to AlternateD

Convert from AlternateK to AlternateE

Convert from AlternateK to AlternateF

Convert from AlternateK to AlternateG

Convert from AlternateK to AlternateH

Convert from AlternateK to AlternateI

Convert from AlternateK to AlternateJ

Convert from AlternateK to AlternateL

Convert from AlternateK to AlternateM

Convert from AlternateK to AlternateN

Convert from AlternateK to FloatingDisabled

Convert from AlternateK to FloatingInput

Convert from AlternateK to FloatingInterrupt

Convert from AlternateK to PullDownDisabled

Convert from AlternateK to PullDownInput

Convert from AlternateK to PullDownInterrupt

Convert from AlternateK to PullUpDisabled

Convert from AlternateK to PullUpInput

Convert from AlternateK to PullUpInterrupt

Convert from AlternateK to PushPullOutput

Convert from AlternateK to ReadableOutput

Convert from AlternateL to AlternateB

Convert from AlternateL to AlternateC

Convert from AlternateL to AlternateD

Convert from AlternateL to AlternateE

Convert from AlternateL to AlternateF

Convert from AlternateL to AlternateG

Convert from AlternateL to AlternateH

Convert from AlternateL to AlternateI

Convert from AlternateL to AlternateJ

Convert from AlternateL to AlternateK

Convert from AlternateL to AlternateM

Convert from AlternateL to AlternateN

Convert from AlternateL to FloatingDisabled

Convert from AlternateL to FloatingInput

Convert from AlternateL to FloatingInterrupt

Convert from AlternateL to PullDownDisabled

Convert from AlternateL to PullDownInput

Convert from AlternateL to PullDownInterrupt

Convert from AlternateL to PullUpDisabled

Convert from AlternateL to PullUpInput

Convert from AlternateL to PullUpInterrupt

Convert from AlternateL to PushPullOutput

Convert from AlternateL to ReadableOutput

Convert from AlternateM to AlternateB

Convert from AlternateM to AlternateC

Convert from AlternateM to AlternateD

Convert from AlternateM to AlternateE

Convert from AlternateM to AlternateF

Convert from AlternateM to AlternateG

Convert from AlternateM to AlternateH

Convert from AlternateM to AlternateI

Convert from AlternateM to AlternateJ

Convert from AlternateM to AlternateK

Convert from AlternateM to AlternateL

Convert from AlternateM to AlternateN

Convert from AlternateM to FloatingDisabled

Convert from AlternateM to FloatingInput

Convert from AlternateM to FloatingInterrupt

Convert from AlternateM to PullDownDisabled

Convert from AlternateM to PullDownInput

Convert from AlternateM to PullDownInterrupt

Convert from AlternateM to PullUpDisabled

Convert from AlternateM to PullUpInput

Convert from AlternateM to PullUpInterrupt

Convert from AlternateM to PushPullOutput

Convert from AlternateM to ReadableOutput

Convert from AlternateN to AlternateB

Convert from AlternateN to AlternateC

Convert from AlternateN to AlternateD

Convert from AlternateN to AlternateE

Convert from AlternateN to AlternateF

Convert from AlternateN to AlternateG

Convert from AlternateN to AlternateH

Convert from AlternateN to AlternateI

Convert from AlternateN to AlternateJ

Convert from AlternateN to AlternateK

Convert from AlternateN to AlternateL

Convert from AlternateN to AlternateM

Convert from AlternateN to FloatingDisabled

Convert from AlternateN to FloatingInput

Convert from AlternateN to FloatingInterrupt

Convert from AlternateN to PullDownDisabled

Convert from AlternateN to PullDownInput

Convert from AlternateN to PullDownInterrupt

Convert from AlternateN to PullUpDisabled

Convert from AlternateN to PullUpInput

Convert from AlternateN to PullUpInterrupt

Convert from AlternateN to PushPullOutput

Convert from AlternateN to ReadableOutput

Convert from FloatingDisabled to AlternateB

Convert from FloatingDisabled to AlternateC

Convert from FloatingDisabled to AlternateD

Convert from FloatingDisabled to AlternateE

Convert from FloatingDisabled to AlternateF

Convert from FloatingDisabled to AlternateG

Convert from FloatingDisabled to AlternateH

Convert from FloatingDisabled to AlternateI

Convert from FloatingDisabled to AlternateJ

Convert from FloatingDisabled to AlternateK

Convert from FloatingDisabled to AlternateL

Convert from FloatingDisabled to AlternateM

Convert from FloatingDisabled to AlternateN

Convert from FloatingDisabled to PullUpInput

Convert from PullDownDisabled to AlternateB

Convert from PullDownDisabled to AlternateC

Convert from PullDownDisabled to AlternateD

Convert from PullDownDisabled to AlternateE

Convert from PullDownDisabled to AlternateF

Convert from PullDownDisabled to AlternateG

Convert from PullDownDisabled to AlternateH

Convert from PullDownDisabled to AlternateI

Convert from PullDownDisabled to AlternateJ

Convert from PullDownDisabled to AlternateK

Convert from PullDownDisabled to AlternateL

Convert from PullDownDisabled to AlternateM

Convert from PullDownDisabled to AlternateN

Convert from PullDownDisabled to PullUpInput

Convert from PullUpDisabled to AlternateB

Convert from PullUpDisabled to AlternateC

Convert from PullUpDisabled to AlternateD

Convert from PullUpDisabled to AlternateE

Convert from PullUpDisabled to AlternateF

Convert from PullUpDisabled to AlternateG

Convert from PullUpDisabled to AlternateH

Convert from PullUpDisabled to AlternateI

Convert from PullUpDisabled to AlternateJ

Convert from PullUpDisabled to AlternateK

Convert from PullUpDisabled to AlternateL

Convert from PullUpDisabled to AlternateM

Convert from PullUpDisabled to AlternateN

Convert from PullUpDisabled to FloatingInput

Convert from PullUpDisabled to PullDownInput

Convert from PullUpDisabled to PullUpInput

Convert from FloatingInput to AlternateB

Convert from FloatingInput to AlternateC

Convert from FloatingInput to AlternateD

Convert from FloatingInput to AlternateE

Convert from FloatingInput to AlternateF

Convert from FloatingInput to AlternateG

Convert from FloatingInput to AlternateH

Convert from FloatingInput to AlternateI

Convert from FloatingInput to AlternateJ

Convert from FloatingInput to AlternateK

Convert from FloatingInput to AlternateL

Convert from FloatingInput to AlternateM

Convert from FloatingInput to AlternateN

Convert from FloatingInput to PullDownInput

Convert from FloatingInput to PullUpDisabled

Convert from FloatingInput to PullUpInput

Convert from FloatingInput to PushPullOutput

Convert from FloatingInput to ReadableOutput

Convert from PullDownInput to AlternateB

Convert from PullDownInput to AlternateC

Convert from PullDownInput to AlternateD

Convert from PullDownInput to AlternateE

Convert from PullDownInput to AlternateF

Convert from PullDownInput to AlternateG

Convert from PullDownInput to AlternateH

Convert from PullDownInput to AlternateI

Convert from PullDownInput to AlternateJ

Convert from PullDownInput to AlternateK

Convert from PullDownInput to AlternateL

Convert from PullDownInput to AlternateM

Convert from PullDownInput to AlternateN

Convert from PullDownInput to FloatingInput

Convert from PullDownInput to PullUpDisabled

Convert from PullDownInput to PullUpInput

Convert from PullDownInput to PushPullOutput

Convert from PullDownInput to ReadableOutput

Convert from PullUpInput to AlternateB

Convert from PullUpInput to AlternateC

Convert from PullUpInput to AlternateD

Convert from PullUpInput to AlternateE

Convert from PullUpInput to AlternateF

Convert from PullUpInput to AlternateG

Convert from PullUpInput to AlternateH

Convert from PullUpInput to AlternateI

Convert from PullUpInput to AlternateJ

Convert from PullUpInput to AlternateK

Convert from PullUpInput to AlternateL

Convert from PullUpInput to AlternateM

Convert from PullUpInput to AlternateN

Convert from PullUpInput to FloatingDisabled

Convert from PullUpInput to FloatingInput

Convert from PullUpInput to PullDownDisabled

Convert from PullUpInput to PullDownInput

Convert from PullUpInput to PullUpDisabled

Convert from PullUpInput to PullUpInterrupt

Convert from PullUpInput to PushPullOutput

Convert from PullUpInput to ReadableOutput

Convert from FloatingInterrupt to AlternateB

Convert from FloatingInterrupt to AlternateC

Convert from FloatingInterrupt to AlternateD

Convert from FloatingInterrupt to AlternateE

Convert from FloatingInterrupt to AlternateF

Convert from FloatingInterrupt to AlternateG

Convert from FloatingInterrupt to AlternateH

Convert from FloatingInterrupt to AlternateI

Convert from FloatingInterrupt to AlternateJ

Convert from FloatingInterrupt to AlternateK

Convert from FloatingInterrupt to AlternateL

Convert from FloatingInterrupt to AlternateM

Convert from FloatingInterrupt to AlternateN

Convert from PullDownInterrupt to AlternateB

Convert from PullDownInterrupt to AlternateC

Convert from PullDownInterrupt to AlternateD

Convert from PullDownInterrupt to AlternateE

Convert from PullDownInterrupt to AlternateF

Convert from PullDownInterrupt to AlternateG

Convert from PullDownInterrupt to AlternateH

Convert from PullDownInterrupt to AlternateI

Convert from PullDownInterrupt to AlternateJ

Convert from PullDownInterrupt to AlternateK

Convert from PullDownInterrupt to AlternateL

Convert from PullDownInterrupt to AlternateM

Convert from PullDownInterrupt to AlternateN

Convert from PullUpInterrupt to AlternateB

Convert from PullUpInterrupt to AlternateC

Convert from PullUpInterrupt to AlternateD

Convert from PullUpInterrupt to AlternateE

Convert from PullUpInterrupt to AlternateF

Convert from PullUpInterrupt to AlternateG

Convert from PullUpInterrupt to AlternateH

Convert from PullUpInterrupt to AlternateI

Convert from PullUpInterrupt to AlternateJ

Convert from PullUpInterrupt to AlternateK

Convert from PullUpInterrupt to AlternateL

Convert from PullUpInterrupt to AlternateM

Convert from PullUpInterrupt to AlternateN

Convert from PullUpInterrupt to PullUpInput

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

Convert from PushPullOutput to AlternateB

Convert from PushPullOutput to AlternateC

Convert from PushPullOutput to AlternateD

Convert from PushPullOutput to AlternateE

Convert from PushPullOutput to AlternateF

Convert from PushPullOutput to AlternateG

Convert from PushPullOutput to AlternateH

Convert from PushPullOutput to AlternateI

Convert from PushPullOutput to AlternateJ

Convert from PushPullOutput to AlternateK

Convert from PushPullOutput to AlternateL

Convert from PushPullOutput to AlternateM

Convert from PushPullOutput to AlternateN

Convert from PushPullOutput to FloatingInput

Convert from PushPullOutput to PullDownInput

Convert from PushPullOutput to PullUpInput

Convert from ReadableOutput to AlternateB

Convert from ReadableOutput to AlternateC

Convert from ReadableOutput to AlternateD

Convert from ReadableOutput to AlternateE

Convert from ReadableOutput to AlternateF

Convert from ReadableOutput to AlternateG

Convert from ReadableOutput to AlternateH

Convert from ReadableOutput to AlternateI

Convert from ReadableOutput to AlternateJ

Convert from ReadableOutput to AlternateK

Convert from ReadableOutput to AlternateL

Convert from ReadableOutput to AlternateM

Convert from ReadableOutput to AlternateN

Convert from ReadableOutput to FloatingInput

Convert from ReadableOutput to PullDownInput

Convert from ReadableOutput to PullUpInput

Error type
Is the input pin high?
Is the input pin low?
Error type
Is the input pin high?
Is the input pin low?
Error type
Is the input pin high?
Is the input pin low?
Error type
Drives the pin high Read more
Drives the pin low Read more
Drives the pin high or low depending on the provided value Read more
Is the pin in drive high mode? Read more
Is the pin in drive low mode? Read more
Error type
Toggle pin output.

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.

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
If an SS pin is present, assert it by bringing it low
If an SS pin is present, deassert it by bringing it high

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.