<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Capture EGU Event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62315/capture-egu-event</link><description>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) 
 
 nrf_egu_event_clear (NRF_EGU0, NRF_EGU_EVENT_TRIGGERED0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2020 10:35:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62315/capture-egu-event" /><item><title>RE: Capture EGU Event</title><link>https://devzone.nordicsemi.com/thread/254215?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 10:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b94f040-f3ea-4457-bc05-cb651587d818</guid><dc:creator>aplatts</dc:creator><description>&lt;p&gt;Thanks Einar, looks pretty simple to SWI. I&amp;#39;ll go down that path instead of EGU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture EGU Event</title><link>https://devzone.nordicsemi.com/thread/254169?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 08:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40e93892-88f5-439b-b29a-0de381a23e53</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry about that. &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/hardware_driver_swi.html"&gt;This is the correct link&lt;/a&gt; (I also fixed the link in my original reply).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture EGU Event</title><link>https://devzone.nordicsemi.com/thread/254161?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 07:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d85691-e770-43be-b8df-8321015cbe55</guid><dc:creator>aplatts</dc:creator><description>&lt;p&gt;Hi Einar&lt;/p&gt;
&lt;p&gt;Thanks, could re repost the SWI link as the above does not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Capture EGU Event</title><link>https://devzone.nordicsemi.com/thread/254047?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 12:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3561acaf-68fb-4a0f-9552-f715dad0e499</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can refer to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57022/software-interrupt-handler-nrf52832/231105#231105"&gt;this post&lt;/a&gt; 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.&lt;/p&gt;
&lt;p&gt;If you want to use normal SWI in a user-friendly way, then you could look at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/hardware_driver_swi.html"&gt;SWI driver&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>