<?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>why does SDK not have the API to use GPIO latch, LDETECT mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26657/why-does-sdk-not-have-the-api-to-use-gpio-latch-ldetect-mode</link><description>Hi, 
 I&amp;#39;m using nRF52832 and LDETECT mode for GPIOTE PORT event to detect multiple interruption. 
 Even though LDETECT mode is described in the product sheet page 112 and GPIO register has DETECTMODE register, why SDK of any version doesn&amp;#39;t have the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Nov 2017 04:43:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26657/why-does-sdk-not-have-the-api-to-use-gpio-latch-ldetect-mode" /><item><title>RE: why does SDK not have the API to use GPIO latch, LDETECT mode</title><link>https://devzone.nordicsemi.com/thread/104876?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 04:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ec585e5-e557-4e95-98d8-c66f8d40710b</guid><dc:creator>Haruki Kawakami</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I got it. Maybe it should be updated using #ifdef NRF52.&lt;/p&gt;
&lt;p&gt;My all pins for GPIOTE have handler, so it is not problem. But I will move out of if().&lt;/p&gt;
&lt;p&gt;Yes, I use LDETECT mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why does SDK not have the API to use GPIO latch, LDETECT mode</title><link>https://devzone.nordicsemi.com/thread/104875?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 16:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:544815ea-8b3f-4baa-a240-25e346f9f630</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Haruki,&lt;/p&gt;
&lt;p&gt;Most likely it was previously we make the nrf_drv_gpiote library compatible with nRF51 and latch and LDETECT was not included in the library. We haven&amp;#39;t updated the library since then.&lt;/p&gt;
&lt;p&gt;I would assume you should clear LATCH  even for those pin doesn&amp;#39;t has a handler, so nrf_gpio_pin_latch_clear() should be moved out of that. I assume you use LDETECT mode ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>