pub trait GpioExt {
    type Parts;

    // Required method
    fn split(self) -> Self::Parts;
}
👎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.
Expand description

The GpioExt trait allows splitting the PORT hardware into its constituent pin parts.

Required Associated Types§

source

type Parts

👎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.

Required Methods§

source

fn split(self) -> Self::Parts

👎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.

Consume and split the device into its constitent parts

Implementations on Foreign Types§

source§

impl GpioExt for PORT

source§

fn split(self) -> Parts

👎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.

Split the PORT peripheral into discrete pins

§

type Parts = Parts

👎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.

Implementors§