embassy-nrf

Crates

git

Versions

nrf52820

Flavors

embassy_nrf::ppi

Trait Channel

Source
pub trait Channel:
    SealedChannel
    + Peripheral<P = Self>
    + Sized
    + 'static {
    // Required method
    fn number(&self) -> usize;
}
Expand description

Interface for PPI channels.

Required Methods§

Source

fn number(&self) -> usize

Returns the number of the channel

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§