<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LPC1769 Read in GPIO pins in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579451#M24111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Mon Jun 11 21:16:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's see if you can answer this yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would reading the pin involve writing or reading from the FIOPIN register ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and why would you keep setting the pin as an input pin in the while loop ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the LPC1769 user manual, there is a GPIO section describing the registers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:32:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:32:54Z</dc:date>
    <item>
      <title>LPC1769 Read in GPIO pins</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579450#M24110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Blogs on Mon Jun 11 18:39:32 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know how to read in pin when they are set as GPIO inputs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set the internal resistor as pull down. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to input a voltage at a certain pin (eg. P0.11) and when trying to read the pin, it should say high at pin P0.11. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand that you use FIOPIN to read in values? Is that correct, and how do you use it? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So this is all I've done so far: &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;while(1){
LPC_GPIO0-&amp;gt;FIODIR = (0 &amp;lt;&amp;lt; 11);
LPC_GPIO0-&amp;gt;FIOPIN = (0 &amp;lt;&amp;lt; 11);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579450#M24110</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Read in GPIO pins</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579451#M24111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Mon Jun 11 21:16:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's see if you can answer this yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would reading the pin involve writing or reading from the FIOPIN register ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and why would you keep setting the pin as an input pin in the while loop ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the LPC1769 user manual, there is a GPIO section describing the registers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579451#M24111</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Read in GPIO pins</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579452#M24112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Superfred on Tue Jun 12 00:01:49 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Blogs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can hav a look to my code here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=3060&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579452#M24112</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 Read in GPIO pins</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579453#M24113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by irven on Fri Jul 06 00:34:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hi blogs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have you solved the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have exactly the same problem i´m not sure how to read a port.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1769-Read-in-GPIO-pins/m-p/579453#M24113</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:32:55Z</dc:date>
    </item>
  </channel>
</rss>

