embassy-nrf

Crates

git

Versions

nrf9120-s

Flavors

Skip to main content

Channel

Trait Channel 

Source
pub trait Channel:
    SealedChannel
    + PeripheralType
    + 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".

Implementors§