<?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>Whats the alternative to GPIOTE In Event ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18934/whats-the-alternative-to-gpiote-in-event</link><description>Hi, 
 I&amp;#39;ve written code to use the &amp;quot;gpiote in event&amp;quot; to sense an interrupt from a peripheral (acceleromenter), but as soon as I enable the in event, I notice the current consumption is a lot higher. 
 if (!nrf_drv_gpiote_is_init())
{
 error_code </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jan 2017 09:22:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18934/whats-the-alternative-to-gpiote-in-event" /><item><title>RE: Whats the alternative to GPIOTE In Event ?</title><link>https://devzone.nordicsemi.com/thread/73189?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2017 09:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da5c610f-3134-4014-949e-76cc63a807b7</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Setting the argument to false solved the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Whats the alternative to GPIOTE In Event ?</title><link>https://devzone.nordicsemi.com/thread/73188?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2017 07:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:168274fe-cfed-4a3d-bf50-c049976c9019</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The button module used in our Bluetooth examples uses PORT events to detect button press. The implementation is quite abstracted, and I think it is easier to follow the instructions given in the driver documentation to enable it. Just make sure to set .hi_accuracy to false in the nrf_drv_gpiote_in_config_t structure used for initialization:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_gpiote_in_config_t config = GPIOTE_CONFIG_IN_SENSE_LOTOHI(false);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Whats the alternative to GPIOTE In Event ?</title><link>https://devzone.nordicsemi.com/thread/73187?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2017 07:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb21949-67fd-4207-99d7-f60ee3f773a7</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Thanks Vidar&lt;/p&gt;
&lt;p&gt;Are there any official examples of how to use the PORT method?&lt;/p&gt;
&lt;p&gt;As far as I could see the documentation only has code for the &amp;quot;IN event&amp;quot;.&lt;/p&gt;
&lt;p&gt;I think someone posted a question about the PORT method which included their own code, but I hoped these would be official documentation / example code for how to use the PORT method, as I think its completely different from the IN event method (isnt it ?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Whats the alternative to GPIOTE In Event ?</title><link>https://devzone.nordicsemi.com/thread/73186?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2017 07:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f167484-00f5-4cc2-be31-7365d6db31af</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;IN events requires the HF clock to be held active, hence the higher current consumption. The difference between PORT and IN events are explained  in the driver documentation &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/hardware_driver_gpiote.html?cp=4_0_1_2_5_4#gpiote_in"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>