<?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: How to write to and read from GPIO registers in LPC1347 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676625#M27157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I discovered the problem. I need to put "void" in front of the asterisk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 12:10:33 GMT</pubDate>
    <dc:creator>injunear</dc:creator>
    <dc:date>2017-06-08T12:10:33Z</dc:date>
    <item>
      <title>How to write to and read from GPIO registers in LPC1347</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676622#M27154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have spent the last four days searching for info on how to use the GPIOs in a LPC1347. What little I have found assumes an understanding far beyond mine. I want to write a simple program that reads inputs, writes outputs and delays a little at times. After four days of searching I have yet to find even the simple commands that let me read from and write to the GPIO registers. The LPCOpen programs were of little help. Where might I find this information, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:37:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676622#M27154</guid>
      <dc:creator>injunear</dc:creator>
      <dc:date>2017-06-06T11:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to write to and read from GPIO registers in LPC1347</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676623#M27155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the following document, this is for LPC11u24 however the process is the same for the LPC1347 device.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" data-containerid="11497" data-containertype="14" data-content-finding="Community" data-objectid="333169" data-objecttype="102" href="https://community.nxp.com/docs/DOC-333169"&gt;How to create a new LPC project using LPCOpen and LPCXpresso&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helps!!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 19:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676623#M27155</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2017-06-06T19:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to write to and read from GPIO registers in LPC1347</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676624#M27156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response. Using your recommendation I was able to turn on and off the LED. However I am still unable to read from or write to the GPIO registers. I get errors for what "I think" are legitimate commands. The following is part of my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_Init(0x50000000);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Gives error: passing argument 1 of 'Chip_GPIO_Init' makes pointer from integer without a cast [-Wint-conversion]]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinDIROutput((*)0x50000000, 0, 7);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Gives error: Syntax error]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Chip_GPIO_SetPinState((*)0x50000000, 0, 7, 1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Gives error: Syntax error]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinToggle((*)0x50000000, 0, 7, 1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Gives error: Syntax error]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = Chip_GPIO_GetPinState((*)0x50000000, 0, 1);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Gives error: Syntax error]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct way to access the GPIO registers? If not, what is the correct way. If so, where are these errors coming from, please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 13:00:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676624#M27156</guid>
      <dc:creator>hillbillyinjune</dc:creator>
      <dc:date>2017-06-07T13:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to write to and read from GPIO registers in LPC1347</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676625#M27157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I discovered the problem. I need to put "void" in front of the asterisk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 12:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-to-and-read-from-GPIO-registers-in-LPC1347/m-p/676625#M27157</guid>
      <dc:creator>injunear</dc:creator>
      <dc:date>2017-06-08T12:10:33Z</dc:date>
    </item>
  </channel>
</rss>

