<?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 generate 2 evensts on single gpio interrupts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/634/how-to-generate-2-evensts-on-single-gpio-interrupts</link><description>Hi in my case, 
 i pressed gpio button for one time it will do one event. 
 and for double press it will do another event . how can i do this one, 
 Regards
Balaji</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2013 13:32:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/634/how-to-generate-2-evensts-on-single-gpio-interrupts" /><item><title>RE: How to generate 2 evensts on single gpio interrupts</title><link>https://devzone.nordicsemi.com/thread/3250?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2013 13:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:598a0b70-f806-4704-80b2-90d059bd6a15</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, I still haven&amp;#39;t quite understood what exactly you&amp;#39;re looking for, but anyway I can&amp;#39;t make a more detailed example right now. However, as I said, this shouldn&amp;#39;t be too difficult to do by using app_timer and friends.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate 2 evensts on single gpio interrupts</title><link>https://devzone.nordicsemi.com/thread/3249?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2013 04:37:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa5186d-dcd1-4f1c-96a4-9133f4deeac2</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Ole ,&lt;/p&gt;
&lt;p&gt;yes i have to do in same way, can you kindly explain how can i do it.&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 generate 2 evensts on single gpio interrupts</title><link>https://devzone.nordicsemi.com/thread/3248?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2013 09:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:721a5d3a-57dd-4c32-a113-836e9df0a715</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;m not quite sure I understand what you mean, but if what you need is to differentiate between different types of press on a single button (for example do something if the button is pressed shortly, but something else if the button is pressed for &amp;gt; 2 s or on double presses), this is something you have to do in your application. Exactly how will be dependent on the exact behavior you need, but some sort of timing and counting will most likely be needed, which can be done using app_timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>