<?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 use the Common App Libraries ---&amp;gt;  GPIOTE Handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2098/how-to-use-the-common-app-libraries-----gpiote-handler</link><description>HI,
I want use some GPIO to detect &amp;quot;pin_high_to_low&amp;quot; or &amp;quot; pin_low_to_high&amp;quot;.
and I think the &amp;quot;app_gpiote.c&amp;quot; might be helpful.
but I have been confused by function &amp;quot; sense_level_toggle(*p_user, pins) &amp;quot; , What&amp;#39;s the purpose of toggling sense level for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Apr 2014 09:48:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2098/how-to-use-the-common-app-libraries-----gpiote-handler" /><item><title>RE: How to use the Common App Libraries ---&gt;  GPIOTE Handler</title><link>https://devzone.nordicsemi.com/thread/8966?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2014 09:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96e9361-ddea-48ff-b4d2-820fa62f4f25</guid><dc:creator>Peeter Vois</dc:creator><description>&lt;p&gt;The input pin interrupt will be generated on specific change, from 0-1 or from 1-0 but not 0-1 and 1-0. The toggle mechanism is used to get both interrupts on the same pin. If the current state of pin is 0 then interrupt on 0-1 transition is configured. If the current state is 1 then interrupt on 1-0 is configured.&lt;/p&gt;
&lt;p&gt;Yes you get 2 calls this way, one call when you press the button and another call when you release the button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>