<?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 Read from nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74857/gpio-read-from-nrf5340</link><description>HI 
 
 I am trying to interface ads1231 with nrf5340. Regards I need to know about Gpio read. Because ADS1231 gives digital output. I don&amp;#39;t know how to read actually. Kindly help me regards 
 Thanks &amp;amp; Regards 
 Navin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 May 2021 03:13:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74857/gpio-read-from-nrf5340" /><item><title>RE: GPIO Read from nrf5340</title><link>https://devzone.nordicsemi.com/thread/311288?ContentTypeID=1</link><pubDate>Tue, 25 May 2021 03:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e125e1ad-35ea-4514-b4ab-bf8f783e7b7e</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Thank you, Carl,&lt;/p&gt;
[quote userid="68044" url="~/f/nordic-q-a/74857/gpio-read-from-nrf5340/309791#309791"]GPIO A[/quote]
&lt;p&gt;This link is very informative&lt;/p&gt;
&lt;p&gt;Thanks and regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Read from nrf5340</title><link>https://devzone.nordicsemi.com/thread/309791?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 13:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85ef4f23-2d06-409a-a0cf-5c0c000aa52d</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again!&lt;br /&gt;&lt;br /&gt;In order to configure GPIO as input you should only have to do something like this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;ret = gpio_pin_configure(gpio, pin, GPIO_INPUT | flags);
if (ret &amp;lt; 0) {
	LOG_ERR(&amp;quot;Failed to configure pin %u, error: %d&amp;quot;,
		pin, ret);
	return ret;
}&lt;/pre&gt;&lt;br /&gt;Other available flags and other relevant information can be found in the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/peripherals/gpio.html"&gt;GPIO API reference&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Read from nrf5340</title><link>https://devzone.nordicsemi.com/thread/308819?ContentTypeID=1</link><pubDate>Sat, 08 May 2021 03:38:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41cde14c-3eba-44a4-a823-64ee4978e119</guid><dc:creator>Mr.NCK</dc:creator><description>&lt;p&gt;Hi Carl,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you, for your response. I need to configure the GPIO as input and I&amp;nbsp; need to read the digital signal via GPIO&lt;/p&gt;
&lt;p&gt;. In the given samples GPIo as config as Output but I didn&amp;#39;t see any Input Configuration.&amp;nbsp;For this, Kindly tell me the procedure&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Read from nrf5340</title><link>https://devzone.nordicsemi.com/thread/308744?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 12:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cf6ebf5-0c65-48f2-95b8-7b4ae71f89c8</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, Mr, NCK!&lt;br /&gt;&lt;br /&gt;Could you have a look at &lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt; answer in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44889/toggle-gpio-certain-number-of-times-with-ppi/178778#178778"&gt;this case&lt;/a&gt;&amp;nbsp;for a suggestion on how you can interface with the device? For suggestions on how to use GPIO with Zephyr I suggest that you check out one of the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/basic.html"&gt;basic samples&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>