<?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>how to priority of interrupts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/628/how-to-priority-of-interrupts</link><description>Hi 
 In my case i have both 3 gpio interrupts and 4 rtc1 interrupts and have some timer 0 and 1 interrupts 
 also. how to set priority for all these interrupts in both while soft device enabled and disabled. 
 i want to make gpio interrupts as highest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2013 13:18:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/628/how-to-priority-of-interrupts" /><item><title>RE: how to priority of interrupts</title><link>https://devzone.nordicsemi.com/thread/3232?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 13:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b00216-5969-4654-af1a-3888d5c19bf4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;m not quite sure I understand what you mean. If you have two interrupts that both will cause GPIOTE_IRQHandler to run, one will not interrupt the other, and as far as I&amp;#39;ve seen, GPIOTE_IRQHandler will be called until all events are cleared.&lt;/p&gt;
&lt;p&gt;You can not explicitly set the priority of individual events handled in the same IRQ handler. If your interrupt handler checks all events, it may clear all events on the first run, and if so, the sequence will be determined by the sequence in which you check the events in your IRQ handler.&lt;/p&gt;
&lt;p&gt;If I don&amp;#39;t understand you correctly, could you please edit your question and supply a code example showing the problem you&amp;#39;re having?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to priority of interrupts</title><link>https://devzone.nordicsemi.com/thread/3231?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2013 12:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb2cb5b7-50fb-4dc8-bfb4-63fef203cc0e</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Ole,
If there are 2 gpio interrupt, if they comes at same time&lt;/p&gt;
&lt;p&gt;which will execute first.&lt;/p&gt;
&lt;p&gt;Regards
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to priority of interrupts</title><link>https://devzone.nordicsemi.com/thread/3230?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2013 11:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdc33647-7503-44ef-ab49-85e6ec679f36</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Ole,
in my case i have 2 interrupts at 15 and 60 minits (repeatedly).&lt;/p&gt;
&lt;p&gt;for 4th 15 minits which one will execute first.&lt;/p&gt;
&lt;p&gt;i want all interrupts to execute.&lt;/p&gt;
&lt;p&gt;Regards
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to priority of interrupts</title><link>https://devzone.nordicsemi.com/thread/3229?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2013 09:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8086a69-a0dc-4232-b0cb-c4c064d8a3af</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You can set the priority for any interrupt using NVIC_SetPriority()/sd_nvic_SetPriority().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>