<?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 with Proximitty example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19804/gpio-interrupt-with-proximitty-example</link><description>Dear Nordic Team, 
 Thanks for supporting. 
 currently i am try to interface MMA8453 accelerator with ble proximitty example .Already i have interfaced peripheral example code its working good. But in ble proximitty example code not work because i want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Feb 2017 08:23:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19804/gpio-interrupt-with-proximitty-example" /><item><title>RE: GPIO interrupt with Proximitty example</title><link>https://devzone.nordicsemi.com/thread/77016?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 08:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4751f35b-a209-4f84-9b1f-37bba97a5c78</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Thanks for support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO interrupt with Proximitty example</title><link>https://devzone.nordicsemi.com/thread/77015?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 09:56:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8392b199-4b92-4fb8-b7eb-b738a2743ece</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can see in the infocenter page &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/group__nrf__drv__gpiote.html?cp=4_0_3_6_7_3_0_17#ga944d7d4e16e25fcbb6731d460ed07fdf"&gt;here&lt;/a&gt;, that when the &lt;code&gt;nrf_drv_gpiote_init()&lt;/code&gt; function returns &lt;code&gt;NRF_ERROR_INVALID_STATE&lt;/code&gt;, that means that  the GPIOTE module was already initialized. This previously initialization of the module was done by the function &lt;code&gt;buttons_leds_init()&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I recommend using the function &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/group__nrf__drv__gpiote.html#gab19765f4e933a6715cba962e1f2518be"&gt;nrf_drv_gpiote_is_init()&lt;/a&gt; to make sure that you don&amp;#39;t try to initialize the module if it’s already initialized:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (!nrf_drv_gpiote_is_init())
{
    err_code = nrf_drv_gpiote_init();
    APP_ERROR_CHECK(err_code);
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>