<?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 ? : Button Press Event Register &amp;amp; Enable a selected button to wake up the NRF52 DK from Deep Sleep</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52484/how-to-button-press-event-register-enable-a-selected-button-to-wake-up-the-nrf52-dk-from-deep-sleep</link><description>I am new to NRF (The usual song ) 
 Here&amp;#39;s what I am trying to do : 
 Connect my button on P0.16 or P0.17 of my NRF52 DK Board , and when I press the button connected to P0.17 a function be called to wake up the chip from DEEP Sleep , and when I press</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Sep 2019 06:04:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52484/how-to-button-press-event-register-enable-a-selected-button-to-wake-up-the-nrf52-dk-from-deep-sleep" /><item><title>RE: How to ? : Button Press Event Register &amp; Enable a selected button to wake up the NRF52 DK from Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/211416?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 06:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55e94787-ee4f-4e86-9984-5e1abbfab9f6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Both app_gpiote and bsp provide a higher layer level of abstraction than using nrf_drv_gpiote directly. You can find various topics on both, but in specific for board support package (bsp) you can find this tutorial useful:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/board-support-package-bsp"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/board-support-package-bsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to ? : Button Press Event Register &amp; Enable a selected button to wake up the NRF52 DK from Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/211309?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 13:52:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed04028a-27eb-47b8-8c68-9d9bfb644e08</guid><dc:creator>german_wings</dc:creator><description>&lt;p&gt;Why do we have BSP and app_gpiote , do they have overlapping functionalities , if yes which one to be used ? , do we have brief examples on either of them (Like Examples and not API documentation) , looking at the api docs , I don&amp;#39;t understand what to start or initialize with to use the other functions in the API, I tried to use app_gpiote lib which has some functions to register a callback on button events , then along the docs I found even BSP Lib has few to register callbacks ? , Am I wrong to interpret the functionality of those APIs ,&lt;/p&gt;
&lt;p&gt;An example of each lib just to get the basic functionality would act as a building block to further use the API for me and other users here , if any like me&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f607.svg" title="Innocent"&gt;&amp;#x1f607;&lt;/span&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Thank You , for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to ? : Button Press Event Register &amp; Enable a selected button to wake up the NRF52 DK from Deep Sleep</title><link>https://devzone.nordicsemi.com/thread/211250?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 12:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b356c4-427f-46c0-bca7-e2791e8ef6e6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Did you take a look at the documentation:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_gpiote.html?cp=5_1_3_19"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_gpiote.html?cp=5_1_3_19&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MAX_USERS simply specify how many callback handlers you want to be called.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just make sure you understand&amp;nbsp;that wakeup from deep sleep will cause chip reset, while app_gpiote is typically used in system ON idle when you want action to occur when the chip for instance is in &amp;quot;normal&amp;quot; sleep, e.g. wait for event (maintaining connection and should take appropriate action based on user input).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>