<?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>GPIO Pin Status</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14479/gpio-pin-status</link><description>Hi, 
 It&amp;#39;s a very simple question, is there a simple way to check GPIO pin status. I just want to know at a given time if the Pin is High/Low. I don&amp;#39;t think I need an ISR for doing this. 
 I am doing as followings, 
 nrf_drv_gpiote_in_config_t in_config1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jun 2016 14:36:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14479/gpio-pin-status" /><item><title>RE: GPIO Pin Status</title><link>https://devzone.nordicsemi.com/thread/55285?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 14:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10cdec7c-94de-452b-bfb3-baf283a6876f</guid><dc:creator>Siva</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Regards
Siva&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Pin Status</title><link>https://devzone.nordicsemi.com/thread/55284?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 13:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c796d36-1dac-4449-b670-3b575171bba1</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;state = nrf_gpio_pin_read(PIN_YOU_WANT_TO_READ);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Make sure that it is configured correctly. You can read more about the GPIO pin abstractions &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/group__nrf__gpio.html?resultof=%22%6e%72%66%5f%67%70%69%6f%5f%70%69%6e%5f%72%65%61%64%22%20"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>