Struct atsamd_hal::gpio::v1::Pin [−][src]
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
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
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a floating input
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a pulled down input pin
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a pulled up input pin
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a floating interrupt
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a pulled down interrupt pin
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a pulled up interrupt pin
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as an open drain output
pub fn into_readable_open_drain_output(
self,
port: &mut Port
) -> Pin<I, Output<ReadableOpenDrain>>
👎 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<ReadableOpenDrain>>
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as an open drain output which can be read
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate as a push-pull output
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
Configures the pin to operate with a peripheral
👎 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.
The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.
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
Convert from a v2::Pin
to a v1::Pin
Convert from a v1::Pin
to a v2::Pin