embassy-nrf

Crates

git

Versions

nrf5340-net

Flavors

embassy_nrf::ppi

Trait Group

Source
pub trait Group:
    SealedGroup
    + Peripheral<P = Self>
    + Into<AnyGroup>
    + Sized
    + 'static {
    // Required method
    fn number(&self) -> usize;

    // Provided method
    fn degrade(self) -> AnyGroup { ... }
}
Expand description

Interface for a group of PPI channels.

Required Methods§

Source

fn number(&self) -> usize

Returns the number of the group.

Provided Methods§

Source

fn degrade(self) -> AnyGroup

Convert into a type erased group.

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§