<?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>nRF51822 pin configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25480/nrf51822-pin-configuration</link><description>Hello all, 
 I am using nRF51822 BLE SDK 9.00 PCA10028. I want to configure the gpio pins as input to sense the voltage as high or low. how to configure it please suggest me. 
 Best Regards,
Rawootray Patil.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Sep 2017 09:23:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25480/nrf51822-pin-configuration" /><item><title>RE: nRF51822 pin configuration</title><link>https://devzone.nordicsemi.com/thread/100418?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 09:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38303412-366c-42ce-9c01-3a9a9b28a1b3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Rawootray,&lt;/p&gt;
&lt;p&gt;You can use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/group__nrf__gpio.html?cp=4_0_8_6_6_7"&gt;GPIO abstraction API&lt;/a&gt; to configure the GPIO to sense level changes. If you want to generate interrupt on level changes, you need to look into the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/group__nrf__gpiote.html?cp=4_0_8_6_6_13"&gt;GPIOTE peripheral&lt;/a&gt;. The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/pin_change_int_example.html?cp=4_0_8_4_6_10"&gt;pin change interrupt example&lt;/a&gt; is a great place to start.&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>