Hi
New to using EGU, trying to use it to implement software interrupts. How do I capture an Event?
I can see how to trigger and clear an event using -
nrf_egu_task_trigger(NRF_EGU0, NRF_EGU_TASK_TRIGGER0)
Hi
New to using EGU, trying to use it to implement software interrupts. How do I capture an Event?
I can see how to trigger and clear an event using -
nrf_egu_task_trigger(NRF_EGU0, NRF_EGU_TASK_TRIGGER0)
Hi,
You can refer to this post to see how you can use the EGU as a form of a software interrupt source. This is not really software interrupt (SWI) though, since the EGU is an actual HW peripheral, and it excelled when you want to trigger interrupts via PPI.
If you want to use normal SWI in a user-friendly way, then you could look at the SWI driver.
Hi Einar
Thanks, could re repost the SWI link as the above does not work.
Hi,
Sorry about that. This is the correct link (I also fixed the link in my original reply).
Thanks Einar, looks pretty simple to SWI. I'll go down that path instead of EGU.