<?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>LPC MicrocontrollersのトピックGPIO vs IOCON</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-vs-IOCON/m-p/523880#M6516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 82santrino on Thu Nov 07 10:18:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Excuse me for my question, that will seem so silly to most of you, but I entered in NXP world form one week (and I come from AVR-BASCOM)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I studied system and clock control for my lpc1788, and now I want understand this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in lpc177x_8x.h file, there is the memory map for the device, and there are declared LPC_IOCON and LPC_GPIO structs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone explain me, the difference between the two structure? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want understand, if for example, I want drive one led, one output pin...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can change the state of this pin so "LPC_IOCON-&amp;gt;P1_18=1" or "LPC_IOCON-&amp;gt;P1_18=0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I can also "LPC_GPIO1-&amp;gt;SET=(mask for 18)" or "LPC_GPIO1-&amp;gt;CLR=(mask for 18)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ale&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:04:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:04:20Z</dc:date>
    <item>
      <title>GPIO vs IOCON</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-vs-IOCON/m-p/523880#M6516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 82santrino on Thu Nov 07 10:18:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Excuse me for my question, that will seem so silly to most of you, but I entered in NXP world form one week (and I come from AVR-BASCOM)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I studied system and clock control for my lpc1788, and now I want understand this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in lpc177x_8x.h file, there is the memory map for the device, and there are declared LPC_IOCON and LPC_GPIO structs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone explain me, the difference between the two structure? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want understand, if for example, I want drive one led, one output pin...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can change the state of this pin so "LPC_IOCON-&amp;gt;P1_18=1" or "LPC_IOCON-&amp;gt;P1_18=0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I can also "LPC_GPIO1-&amp;gt;SET=(mask for 18)" or "LPC_GPIO1-&amp;gt;CLR=(mask for 18)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ale&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:04:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-vs-IOCON/m-p/523880#M6516</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO vs IOCON</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-vs-IOCON/m-p/523881#M6517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Thu Nov 07 10:58:28 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;UM10470 &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fuser_manual%2FUM10470.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/user_manual/UM10470.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is describing that in&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chapter 8: LPC178x/7x I/O configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chapter 9: LPC178x/7x GPIO&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IOCON is the configuration structure for this pin, GPIO is just the GPIO structure (which is only relevant if your IOCON has set this pin to GPIO) :) &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-vs-IOCON/m-p/523881#M6517</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:04:21Z</dc:date>
    </item>
  </channel>
</rss>

