Struct sodaq_sara_aff::gpio::Pin
source · pub struct Pin<I, M>where
I: PinId,
M: PinMode,{ /* private fields */ }
Expand description
Represents a GPIO pin with a corresponding PinId
and PinMode
The v2::Pin
type provides many of the same inherent functions, but it
does so without requiring the PORT
as an argument, breaking backwards
compatibility.
v1
Pin
type is a newtype wrapper for v2::Pin
s. To aid in
compatibility, the v1
Pin
types also implement AnyPin
. From
&
Into
conversions are provided between the two pin types.
Implementations§
source§impl<I, M> Pin<I, M>where
I: PinId,
M: PinMode,
impl<I, M> Pin<I, M>where I: PinId, M: PinMode,
pub fn into_mode<N>(self) -> Pin<I, N>where N: PinMode,
sourcepub fn into_floating_input(self, port: &mut Port) -> Pin<I, Input<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_floating_input(self, port: &mut Port) -> Pin<I, Input<Floating>>
Configures the pin to operate as a floating input
sourcepub fn into_pull_down_input(self, port: &mut Port) -> Pin<I, Input<PullDown>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_pull_down_input(self, port: &mut Port) -> Pin<I, Input<PullDown>>
Configures the pin to operate as a pulled down input pin
sourcepub fn into_pull_up_input(self, port: &mut Port) -> Pin<I, Input<PullUp>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_pull_up_input(self, port: &mut Port) -> Pin<I, Input<PullUp>>
Configures the pin to operate as a pulled up input pin
sourcepub fn into_floating_interrupt(
self,
port: &mut Port
) -> Pin<I, Interrupt<Floating>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_floating_interrupt( self, port: &mut Port ) -> Pin<I, Interrupt<Floating>>
Configures the pin to operate as a floating interrupt
sourcepub fn into_pull_down_interrupt(
self,
port: &mut Port
) -> Pin<I, Interrupt<PullDown>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_pull_down_interrupt( self, port: &mut Port ) -> Pin<I, Interrupt<PullDown>>
Configures the pin to operate as a pulled down interrupt pin
sourcepub fn into_pull_up_interrupt(
self,
port: &mut Port
) -> Pin<I, Interrupt<PullUp>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_pull_up_interrupt( self, port: &mut Port ) -> Pin<I, Interrupt<PullUp>>
Configures the pin to operate as a pulled up interrupt pin
sourcepub fn into_open_drain_output(self, port: &mut Port) -> Pin<I, Output<PushPull>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_open_drain_output(self, port: &mut Port) -> Pin<I, Output<PushPull>>
Configures the pin to operate as an open drain output
sourcepub fn into_readable_open_drain_output(
self,
port: &mut Port
) -> Pin<I, Output<Readable>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_readable_open_drain_output( self, port: &mut Port ) -> Pin<I, Output<Readable>>
Configures the pin to operate as an open drain output which can be read
sourcepub fn into_push_pull_output(self, port: &mut Port) -> Pin<I, Output<PushPull>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_push_pull_output(self, port: &mut Port) -> Pin<I, Output<PushPull>>
Configures the pin to operate as a push-pull output
sourcepub fn into_function_b(self, port: &mut Port) -> Pin<I, Alternate<B>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_function_b(self, port: &mut Port) -> Pin<I, Alternate<B>>
Configures the pin to operate with a peripheral
sourcepub fn into_function_c(self, port: &mut Port) -> Pin<I, Alternate<C>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_function_c(self, port: &mut Port) -> Pin<I, Alternate<C>>
Configures the pin to operate with a peripheral
sourcepub fn into_function_d(self, port: &mut Port) -> Pin<I, Alternate<D>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_function_d(self, port: &mut Port) -> Pin<I, Alternate<D>>
Configures the pin to operate with a peripheral
sourcepub fn into_function_e(self, port: &mut Port) -> Pin<I, Alternate<E>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_function_e(self, port: &mut Port) -> Pin<I, Alternate<E>>
Configures the pin to operate with a peripheral
sourcepub fn into_function_f(self, port: &mut Port) -> Pin<I, Alternate<F>>
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn into_function_f(self, port: &mut Port) -> Pin<I, Alternate<F>>
Configures the pin to operate with a peripheral
source§impl<I> Pin<I, Output<PushPull>>where
I: PinId,
impl<I> Pin<I, Output<PushPull>>where I: PinId,
sourcepub fn internal_pull_up(&mut self, port: &mut Port, on: bool)
👎Deprecated since 0.13.0: The gpio::v1 module is deprecated, and will be removed in a subsequent release.
Please use the gpio::v2 module instead.
pub fn internal_pull_up(&mut self, port: &mut Port, on: bool)
Control state of the internal pull up
This function shouldn’t exist. It is not possible to enable a pull-up resistor in an output mode.
Trait Implementations§
source§impl<MODE> EicPin for Pin<PA00, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA00, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA00, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA00, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA01, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA01, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA01, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA01, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA02, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA02, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA02, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA02, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA03, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA03, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA03, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA03, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA04, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA04, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA04, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA04, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA05, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA05, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA05, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA05, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA06, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA06, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA06, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA06, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA07, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA07, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA07, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA07, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA09, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA09, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA09, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA09, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA10, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA10, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA10, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA10, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA11, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA11, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA11, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA11, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA12, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA12, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA12, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA12, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA13, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA13, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA13, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA13, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA14, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA14, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA14, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA14, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA15, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA15, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA15, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA15, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA16, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA16, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA16, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA16, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA17, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA17, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA17, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA17, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA18, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA18, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA18, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA18, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA19, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA19, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA19, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA19, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA20, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA20, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA20, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA20, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA21, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA21, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA21, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA21, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA22, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA22, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA22, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA22, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA23, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA23, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA23, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA23, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA24, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA24, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA24, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA24, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA25, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA25, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA25, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA25, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA27, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA27, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA27, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA27, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA28, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA28, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA28, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA28, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA30, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA30, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA30, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA30, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PA31, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PA31, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PA31, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PA31, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB00, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB00, MODE>where MODE: PinMode,
type Floating = ExtInt0<Pin<PB00, Interrupt<Floating>>>
type PullUp = ExtInt0<Pin<PB00, Interrupt<PullUp>>>
type PullDown = ExtInt0<Pin<PB00, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB00, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB00, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB01, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB01, MODE>where MODE: PinMode,
type Floating = ExtInt1<Pin<PB01, Interrupt<Floating>>>
type PullUp = ExtInt1<Pin<PB01, Interrupt<PullUp>>>
type PullDown = ExtInt1<Pin<PB01, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB01, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB01, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB02, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB02, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB02, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB02, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB03, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB03, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB03, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB03, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB04, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB04, MODE>where MODE: PinMode,
type Floating = ExtInt4<Pin<PB04, Interrupt<Floating>>>
type PullUp = ExtInt4<Pin<PB04, Interrupt<PullUp>>>
type PullDown = ExtInt4<Pin<PB04, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB04, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB04, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB05, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB05, MODE>where MODE: PinMode,
type Floating = ExtInt5<Pin<PB05, Interrupt<Floating>>>
type PullUp = ExtInt5<Pin<PB05, Interrupt<PullUp>>>
type PullDown = ExtInt5<Pin<PB05, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB05, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB05, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB06, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB06, MODE>where MODE: PinMode,
type Floating = ExtInt6<Pin<PB06, Interrupt<Floating>>>
type PullUp = ExtInt6<Pin<PB06, Interrupt<PullUp>>>
type PullDown = ExtInt6<Pin<PB06, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB06, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB06, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB07, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB07, MODE>where MODE: PinMode,
type Floating = ExtInt7<Pin<PB07, Interrupt<Floating>>>
type PullUp = ExtInt7<Pin<PB07, Interrupt<PullUp>>>
type PullDown = ExtInt7<Pin<PB07, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB07, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB07, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB08, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB08, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB08, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB08, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB09, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB09, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB09, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB09, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB10, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB10, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB10, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB10, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB11, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB11, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB11, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB11, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB12, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB12, MODE>where MODE: PinMode,
type Floating = ExtInt12<Pin<PB12, Interrupt<Floating>>>
type PullUp = ExtInt12<Pin<PB12, Interrupt<PullUp>>>
type PullDown = ExtInt12<Pin<PB12, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB12, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB12, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB13, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB13, MODE>where MODE: PinMode,
type Floating = ExtInt13<Pin<PB13, Interrupt<Floating>>>
type PullUp = ExtInt13<Pin<PB13, Interrupt<PullUp>>>
type PullDown = ExtInt13<Pin<PB13, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB13, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB13, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB14, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB14, MODE>where MODE: PinMode,
type Floating = ExtInt14<Pin<PB14, Interrupt<Floating>>>
type PullUp = ExtInt14<Pin<PB14, Interrupt<PullUp>>>
type PullDown = ExtInt14<Pin<PB14, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB14, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB14, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB15, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB15, MODE>where MODE: PinMode,
type Floating = ExtInt15<Pin<PB15, Interrupt<Floating>>>
type PullUp = ExtInt15<Pin<PB15, Interrupt<PullUp>>>
type PullDown = ExtInt15<Pin<PB15, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB15, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB15, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB16, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB16, MODE>where MODE: PinMode,
type Floating = ExtInt0<Pin<PB16, Interrupt<Floating>>>
type PullUp = ExtInt0<Pin<PB16, Interrupt<PullUp>>>
type PullDown = ExtInt0<Pin<PB16, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB16, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB16, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB17, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB17, MODE>where MODE: PinMode,
type Floating = ExtInt1<Pin<PB17, Interrupt<Floating>>>
type PullUp = ExtInt1<Pin<PB17, Interrupt<PullUp>>>
type PullDown = ExtInt1<Pin<PB17, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB17, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB17, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB22, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB22, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB22, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB22, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB23, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB23, MODE>where MODE: PinMode,
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,
port: &mut Port
) -> <Pin<PB23, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB23, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB30, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB30, MODE>where MODE: PinMode,
type Floating = ExtInt14<Pin<PB30, Interrupt<Floating>>>
type PullUp = ExtInt14<Pin<PB30, Interrupt<PullUp>>>
type PullDown = ExtInt14<Pin<PB30, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB30, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB30, MODE> as EicPin>::Floating
source§impl<MODE> EicPin for Pin<PB31, MODE>where
MODE: PinMode,
impl<MODE> EicPin for Pin<PB31, MODE>where MODE: PinMode,
type Floating = ExtInt15<Pin<PB31, Interrupt<Floating>>>
type PullUp = ExtInt15<Pin<PB31, Interrupt<PullUp>>>
type PullDown = ExtInt15<Pin<PB31, Interrupt<PullDown>>>
source§fn into_floating_ei(
self,
port: &mut Port
) -> <Pin<PB31, MODE> as EicPin>::Floating
fn into_floating_ei( self, port: &mut Port ) -> <Pin<PB31, MODE> as EicPin>::Floating
source§impl<I, M> From<Pin<I, M>> for Pin<I, M>where
I: PinId,
M: PinMode,
impl<I, M> From<Pin<I, M>> for Pin<I, M>where I: PinId, M: PinMode,
Convert from a v1::Pin
to a v2::Pin
source§impl<I, M> From<Pin<I, M>> for Pin<I, M>where
I: PinId,
M: PinMode,
impl<I, M> From<Pin<I, M>> for Pin<I, M>where I: PinId, M: PinMode,
Convert from a v2::Pin
to a v1::Pin