Trait nrf52832_hal::ppi::Ppi [−][src]
pub trait Ppi: PpiSealed { fn enable(&mut self); fn disable(&mut self); fn set_fork_task_endpoint<T>(&mut self, task: &T)
where
T: Task; fn clear_fork_task_endpoint(&mut self); }
Expand description
Trait to represent a Programmable Peripheral Interconnect channel.
Required methods
fn set_fork_task_endpoint<T>(&mut self, task: &T) where
T: Task,
[src]
fn set_fork_task_endpoint<T>(&mut self, task: &T) where
T: Task,
[src]Sets the fork task that must be triggered when the configured event occurs. The user must provide a reference to the task.
fn clear_fork_task_endpoint(&mut self)
[src]
fn clear_fork_task_endpoint(&mut self)
[src]Clear the fork task endpoint. Previously set task will no longer be triggered.
Implementors
impl<P> Ppi for P where
P: Channel,
[src]
impl<P> Ppi for P where
P: Channel,
[src]pub fn enable(&mut self)
[src]
pub fn disable(&mut self)
[src]
pub fn set_fork_task_endpoint<T>(&mut self, task: &T) where
T: Task,
[src]
T: Task,