<?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>what is usage of sensing a gpio pin?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21581/what-is-usage-of-sensing-a-gpio-pin</link><description>hi,
i am newer here. 
 i am confused in nrf_gpio_pin_sense_t i.e. NOSENSE, HIGH_SENSE, LOW_SENSE.
where is use of this feature ?
why it is required instead gpio_input function. 
 thanks in advance.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2017 12:30:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21581/what-is-usage-of-sensing-a-gpio-pin" /><item><title>RE: what is usage of sensing a gpio pin?</title><link>https://devzone.nordicsemi.com/thread/84745?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:30:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16156baf-29cd-48df-9cb2-55e0af7c95e1</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Jørgen beat me to it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what is usage of sensing a gpio pin?</title><link>https://devzone.nordicsemi.com/thread/84744?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bb712d8-2654-411d-a19a-6c13abe927f3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Looking at &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fgpio.html"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt; shows that this will trigger an &lt;strong&gt;Event&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There is also a &lt;strong&gt;Latch&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what is usage of sensing a gpio pin?</title><link>https://devzone.nordicsemi.com/thread/84743?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68fb73de-d343-4804-9e92-76783606c430</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The sense-functionality is used to generate interrupt on a pin change. This can be used if you want to perform an action if the pin change, but do not want to check the level of the pin regularly. Check out the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/group__nrf__drv__gpiote.html?cp=4_0_0_6_8_3_0"&gt;GPIOTE driver&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/pin_change_int_example.html?cp=4_0_0_4_4_15"&gt;Pin Change Interrupt Example&lt;/a&gt; in the SDK for details on how this can be used.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>