<?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 can use Gpiote Interrupt with s110?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5609/how-can-use-gpiote-interrupt-with-s110</link><description>If the softdevice is not used, As follows: 
 static void gpio_init(void)
{ 
 nrf_gpio_cfg_input(Record, NRF_GPIO_PIN_PULLUP);
 nrf_gpio_cfg_input(Play, NRF_GPIO_PIN_PULLUP);
 nrf_gpio_cfg_input(Menu_Dw, NRF_GPIO_PIN_PULLUP);

 NVIC_DisableIRQ(GPIOTE_IRQn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Feb 2015 04:13:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5609/how-can-use-gpiote-interrupt-with-s110" /><item><title>RE: How can use Gpiote Interrupt with s110?</title><link>https://devzone.nordicsemi.com/thread/19664?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 04:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8959f43-0a03-4287-933b-285c9052a932</guid><dc:creator>GunMin</dc:creator><description>&lt;p&gt;Thank you for your advice.
I used the &amp;quot;app_button_enable ()&amp;quot; function.
Um..
If the setting two buttons, Works well.
But When the set of four buttons, Does not operate. I need four button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can use Gpiote Interrupt with s110?</title><link>https://devzone.nordicsemi.com/thread/19663?ContentTypeID=1</link><pubDate>Tue, 17 Feb 2015 13:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d1884ec-c61b-45f4-8bfd-25f3a2f8fa49</guid><dc:creator>Vyacheslav Lebets</dc:creator><description>&lt;p&gt;Hi, GunMin!&lt;/p&gt;
&lt;p&gt;When we call APP_GPIOTE_INIT(APP_GPIOTE_MAX_USERS), the SDK call function: app_gpiote_init in app_gpiote.c and in this function the SDK initialise interrupt for GPIOTE_IRQn.&lt;/p&gt;
&lt;p&gt;The interrupt handler &amp;quot;GPIOTE_IRQHandler&amp;quot;, defined in same src file (app_gpiote.c), where there is a call the callback-function, defined in struct app_button_cfg_t.&lt;/p&gt;
&lt;p&gt;if in app_button_cfg_t you do not define callback (4 parameter for each button), interrupt will not occur.&lt;/p&gt;
&lt;p&gt;In example &amp;quot;ble_app_bps&amp;quot; calback is null for button BOND_DELETE_ALL_BUTTON_ID because pressing for this button checked &amp;quot;manualy&amp;quot;, through  func. &amp;quot;nrf_gpio_pin_read&amp;quot; like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_gpio_pin_read(BOND_DELETE_ALL_BUTTON_ID) == 0.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>