<?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>GPIOTE priority</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73499/gpiote-priority</link><description>Hi, 
 
 I testing the GPIOTE using PPI. 
 
 I was assign GPIOTE to 0, 1, and 2 channel. 
 
 Can i priority set?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Apr 2021 12:10:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73499/gpiote-priority" /><item><title>RE: GPIOTE priority</title><link>https://devzone.nordicsemi.com/thread/303129?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 12:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66cfda41-71fd-44b0-a5f7-8cae78d11a95</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;I testing the GPIOTE using PPI.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was assign GPIOTE to 0, 1, and 2 channel.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can i priority set?&lt;/p&gt;[/quote]
&lt;p&gt;PPI is a hardware-wise direct connection between a EVENT and a TASK. This happens without involving the CPU.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to enable a interrupt on your event, then you can set the priority on that interrupt handler with NVIC_SetPriority():&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.keil.com/pack/doc/cmsis/Core/html/group__NVIC__gr.html#ga5bb7f43ad92937c039dee3d36c3c2798"&gt;https://www.keil.com/pack/doc/cmsis/Core/html/group__NVIC__gr.html#ga5bb7f43ad92937c039dee3d36c3c2798&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>