<?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>Creative ways to generate external pin change interrupts, maximum pin interrupts we can have from nRF51</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1472/creative-ways-to-generate-external-pin-change-interrupts-maximum-pin-interrupts-we-can-have-from-nrf51</link><description>GPIOTE gives us 4.
LPCOMP gives us 1. 
 What else? 
 I am working on something related with external interrupts.
Doesn&amp;#39;t have problem in my project, but I just always see people have creative ways to get more pin change interrupts.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Jan 2014 10:20:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1472/creative-ways-to-generate-external-pin-change-interrupts-maximum-pin-interrupts-we-can-have-from-nrf51" /><item><title>RE: Creative ways to generate external pin change interrupts, maximum pin interrupts we can have from nRF51</title><link>https://devzone.nordicsemi.com/thread/6576?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2014 10:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c73b587b-a32e-4169-bc5f-e6c85d25ac25</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;You can get pin wakeup on any number of pins, using the PORT event and the SENSE field in PIN_CNF. This is the low-power way to get pin wakeup, since using GPIOTE channels or the LPCOMP will cause additional current consumption.&lt;/p&gt;
&lt;p&gt;The way this works is that a change on any pin to the level defined as its SENSE leve in PIN_CNF will cause a wakeup from system off. If you want an interrupt while in system on, you can enable the PORT event in GPIOTE. Be aware that this method doesn&amp;#39;t tell you exactly which pin woke you up, so this is something you&amp;#39;ll have to check in code as soon as you wake up. If there is only a very short pulse, you may not be able to check which pin woke you up fast enough, and for such use cases, you&amp;#39;ll have to use a GPIOTE channel.&lt;/p&gt;
&lt;p&gt;You can refer to &lt;a href="https://devzone.nordicsemi.com/index.php/gpio-wakeup-low-power-workarounds"&gt;this question&lt;/a&gt; for a further discussion on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>