<?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>Disable the Gpiote interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76534/disable-the-gpiote-interrupt</link><description>I am using a nRF52840 with &amp;quot; SEGGER Embedded Studio for ARM 5.10a&amp;quot; and &amp;quot; nRF5_SDK_17.0.0_9d13099 &amp;quot; sdk. 
 I am enabling a interrupt on a GPIOTE pin using this code. 
 
 I want to disable this event inside the event handler as soon as it triggers. 
 I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jun 2021 11:51:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76534/disable-the-gpiote-interrupt" /><item><title>RE: Disable the Gpiote interrupt</title><link>https://devzone.nordicsemi.com/thread/316253?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 11:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65759a4a-e402-424b-9ba8-3f0bed160332</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason for why calling nrf_drv_gpiote_in_event_disable() from the event handler shouldn&amp;#39;t work. Have you tried to check the GPIOTE registers to see if the INTENSET bit and CONFIG[n].MODE bit is cleared as expected?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Segger embedded Studio Peripheral view in debug mode&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1624276304606v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>