Trait dwm1001::prelude::ConfigurablePpi[][src]

pub trait ConfigurablePpi: Ppi {
    fn set_task_endpoint<T>(&mut self, task: &T)
    where
        T: Task
;
fn set_event_endpoint<E>(&mut self, event: &E)
    where
        E: Event
; }
Expand description

Traits that extends the Ppi trait, marking a channel as fully configurable.

Required methods

Sets the task that must be triggered when the configured event occurs. The user must provide a reference to the task.

Sets the event that will trigger the chosen task(s). The user must provide a reference to the event.

Implementors