aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-10-26 15:00:46 +0000
committerGitHub <[email protected]>2021-10-26 15:00:46 +0000
commit7cb34760c4bd4d98f38437c36769c54c56047a10 (patch)
tree97b3b63bb6fd5d487ff14d47b2a986b836b9624a /.github/workflows
parent01e5376b2531ccd97ee760ef1dd7c3ec5d82ccfb (diff)
parent36d3eda2f9d24be5a581e95badd74bce7060572e (diff)
Merge #427
427: New nrf PPI api (with DPPI support for nRF91 & nRF53) r=Dirbaio a=diondokter - Added _ppi and _dppi features to distinguish between the new and the old peripheral. - Removed ConfigurableChannel and added capacity numbers to the channels - Replaced the PPI api with a new one using the DPPI terminology (publish & subscribe) - Updated all tasks and event registers for DPPI My proposal for the new API. Tested on my nRF52840 and nRF9160. Biggest changes for nRF52 is that there's no longer a distinction made between fork task and normal task. You now subscribe tasks to a channel and at runtime it is checked whether or not there's still room for another subscription. Same for events. There are differences between the PPI and DPPI though: - With the PPI you have a limited amount of tasks and events per channel, but a task or event can be used on multiple channels at the same time. - With the DPPI you have an unlimited amount of tasks and events per channel, but every task or event can only be used on 1 channel. This is all checked at runtime. Currently you need to track which tasks and events are assigned to a channel in order to unassign them. For the PPI this data is stored centrally in the registers, so it would be easy to create e.g. `clear_all` and `get_subscribed_tasks` functions. But for the DPPI that data is stored decentrally and so would need some manual tracking. If there are requests for tracking functionality, then it should be able to be made relatively easy. But for now this API is fine I think. Co-authored-by: Dion Dokter <[email protected]> Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions