- Interconnect is now PPI again

- Scary pointer math is now contained in the tasks and events
- ppi now sets the tasks and events immediately and the struct is now zero-sized
- StaticToOne is renamed to ZeroToOne
- Used DPPI tasks and events now panic when enabled twice
This commit is contained in:
Dion Dokter
2021-10-19 10:13:08 +02:00
committed by Dario Nieuwenhuis
parent 531dfcffb3
commit a6c84cb915
10 changed files with 209 additions and 176 deletions

View File

@ -11,8 +11,8 @@ use embassy_hal_common::drop::OnDrop;
use embassy_hal_common::unborrow;
use futures::future::poll_fn;
use crate::interconnect::{Event, Task};
use crate::pac;
use crate::ppi::{Event, Task};
pub(crate) mod sealed {