Module embassy_nrf::ppi
source · Expand description
Programmable Peripheral Interconnect (PPI/DPPI) driver.
The (Distributed) Programmable Peripheral Interconnect interface allows for an autonomous interoperability between peripherals through their events and tasks. There are fixed PPI channels and fully configurable ones. Fixed channels can only connect specific events to specific tasks. For fully configurable channels, it is possible to choose, via software, the event and the task that it will triggered by the event.
On nRF52 devices, there is also a fork task endpoint, where the user can configure one more task to be triggered by the same event, even fixed PPI channels have a configurable fork task.
The DPPI for nRF53 and nRF91 devices works in a different way. Every channel can support infinitely many tasks and events, but any single task or event can only be coupled with one channel.