embassy-rp

Crates

git

Versions

rp2040

Flavors

embassy_rp::clocks

Trait GpinPin

Source
pub trait GpinPin: Pin {
    const NR: usize;
}
Expand description

General purpose input clock pin.

Required Associated Constants§

Source

const NR: usize

Pin number.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl GpinPin for PIN_20

Source§

const NR: usize = 0usize

Source§

impl GpinPin for PIN_22

Source§

const NR: usize = 1usize