<?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>GPIO interrupt example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22628/gpio-interrupt-example</link><description>I&amp;#39;m using the nRF51822 Beacon with S110 and the example ble_app_beacon as basic programm.
I&amp;#39;m a newbie with the beacon, so maybe I have problem with the basics in programming it. 
 I configures pin 0 as input.
Now I want to read this input and with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jan 2019 08:50:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22628/gpio-interrupt-example" /><item><title>RE: GPIO interrupt example</title><link>https://devzone.nordicsemi.com/thread/168625?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 08:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00bc8f03-8a51-4964-a869-c07af4138763</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The latest SDK can be downloaded from &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/nRF5-SDK/Download#infotabs"&gt;this page&lt;/a&gt;. If you are using nRF51822, the latest supported release is SDK v12.3.0. Most examples in the SDK use &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/power?146#unique_163993221"&gt;system ON idle mode&lt;/a&gt; when there is no work to be done by the CPU. You can also use GPIO for wakeup from &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/power?144#unique_2076021874"&gt;system OFF sleep mode&lt;/a&gt;, but this is not implemented in the Pin Change Interrupt example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt example</title><link>https://devzone.nordicsemi.com/thread/168615?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 08:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:403dade2-5a0e-40af-a8db-0cb6cf8d9e1d</guid><dc:creator>sachin.singh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am working on the same and I need to developing code using &amp;quot;pin_change_int&amp;quot; as reference to develop the interrupt based event and calling the function assign to it.&lt;/p&gt;
&lt;p&gt;Can please me sample code to get the better clarification.&lt;/p&gt;
&lt;p&gt;And one more thing that I am concern about that does it support sleep mode or not, because I am looking for the sleep after works get completed.&lt;/p&gt;
&lt;p&gt;Looking for the kind support and help ...&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt example</title><link>https://devzone.nordicsemi.com/thread/166746?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 09:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bd287e4-1066-435d-99a5-74c1cbe445fb</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, unless you configure the pin in a way that it will constantly generate interrupts, the chip can enter sleep mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt example</title><link>https://devzone.nordicsemi.com/thread/166622?ContentTypeID=1</link><pubDate>Sat, 19 Jan 2019 05:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c54f867a-84aa-48d5-88e1-b41bfc73f43b</guid><dc:creator>sachin.singh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I use this Pin Change Interrupt Example with &amp;quot;ble_app_uart&amp;quot; example, then code will be able to enter into the &amp;quot;SLEEP MODE&amp;quot; or not ....??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt example</title><link>https://devzone.nordicsemi.com/thread/89009?ContentTypeID=1</link><pubDate>Thu, 08 Jun 2017 20:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b6c22d6-4b42-4936-85ab-088c8393a821</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;There is a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/pin_change_int_example.html?cp=4_0_1_4_5_16"&gt;Pin Change Interrupt example&lt;/a&gt; in the SDK. This use the GPIOTE driver, but it is also possible to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/group__nrf__gpio.html#ga91f72be8204a892956fa5d5dd59c32b2"&gt;GPIO sensing&lt;/a&gt; to wake up from sleep. It should not be too hard to change this example to start a timer on the toggle of the input and increment your variable in the timer callback handler.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>