<?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 pull down and pull up the GPIO and change the IO direction at run time in nrf 52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77409/how-to-pull-down-and-pull-up-the-gpio-and-change-the-io-direction-at-run-time-in-nrf-52840</link><description>Hello, 
 I am new on Nordic controller platform and i want to make the GPIO pull down and pull up at run time and also change the IO direction. 
 How i can do that please any suggestion. 
 
 
 Thanks 
 Nilesh</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jul 2021 11:47:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77409/how-to-pull-down-and-pull-up-the-gpio-and-change-the-io-direction-at-run-time-in-nrf-52840" /><item><title>RE: How to pull down and pull up the GPIO and change the IO direction at run time in nrf 52840</title><link>https://devzone.nordicsemi.com/thread/319775?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 11:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbcad349-9097-41b2-8dc5-a194b909b02c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have to use the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__gpio__hal.html"&gt;GPIO driver&lt;/a&gt;.&amp;nbsp;More specifically&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__gpio__hal.html#ga0705ce3a78d0397bbdaec05a7bce693e"&gt;nrf_gpio_cfg&lt;/a&gt;() to set the direction and pulll.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>