embassy-nrf

Crates

git

Versions

nrf52810

Flavors

📣 We want to hear from you! Fill the Rust Embedded 2024 micro-survey.

Trait embassy_nrf::ppi::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.

Object Safety§

This trait is not object safe.

Implementors§