<?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 check the initial configuration of pin used as GPIO/GPIOTE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37114/how-to-check-the-initial-configuration-of-pin-used-as-gpio-gpiote</link><description>Hi, is it possible to check the current configuration of a GPIO pin? I mean if the pin is currently configured as input or output. Next I need to uninitialize it and reinitialize in the opposite configuration. Can someone help me?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Aug 2018 07:57:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37114/how-to-check-the-initial-configuration-of-pin-used-as-gpio-gpiote" /><item><title>RE: How to check the initial configuration of pin used as GPIO/GPIOTE?</title><link>https://devzone.nordicsemi.com/thread/142745?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 07:57:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a09973e-7a1e-4d6b-b2d1-88b3e79443b0</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You can use&amp;nbsp;&lt;a title="nrf_bitmask_bit_is_set" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__nrf__bitmask.html?cp=4_0_0_6_9_1_1_1#gab2578f85296848667fb73137b83c6e9d"&gt;nrf_bitmask_bit_is_set&lt;/a&gt;&amp;nbsp;on the GPIOs&amp;nbsp;&lt;a title="  DIR  " href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpio.html?cp=2_1_0_19_2_4#register.DIR"&gt;DIR&lt;/a&gt;&amp;nbsp;register.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>