<?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>How to read a GPIO status without an event?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20343/how-to-read-a-gpio-status-without-an-event</link><description>I&amp;#39;m reading the SDK 10&amp;#39;s GPIOTE doc and I&amp;#39;m wondering if there is a way to read a GPIO state without generating an event, ie, something like foo = PORTx.pin10 or alike. 
 Am I missing something? Perhaps some ARM basic doc? I would think no softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Mar 2017 18:13:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20343/how-to-read-a-gpio-status-without-an-event" /><item><title>RE: How to read a GPIO status without an event?</title><link>https://devzone.nordicsemi.com/thread/79274?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2017 18:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a599c3-4242-440d-9cc3-9756eeedd5a4</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Take a look at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/group__nrf__gpio.html?cp=4_0_4_6_6_4"&gt;GPIO abstraction&lt;/a&gt; instead.&lt;/p&gt;
&lt;p&gt;Configure the pin as a input pin with &lt;code&gt;nrf_gpio_cfg_input()&lt;/code&gt; and read the input state with &lt;code&gt;nrf_gpio_pin_read()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>