<?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: LPCOPEN and PINCON in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675651#M27083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Chip_GPIO_SetPinState function, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Board_LED_Set(uint8_t LEDNumber, bool On)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (LEDNumber == 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_GPIO_SetPinState(LPC_GPIO_PORT, 1, 12, (bool) !On);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else if (LEDNumber == 1) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_GPIO_SetPinState(LPC_GPIO_PORT, 1, 11, (bool) !On);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following document:&lt;/P&gt;&lt;P&gt;&lt;A 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&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 18:56:09 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2017-06-06T18:56:09Z</dc:date>
    <item>
      <title>LPCOPEN and PINCON</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675650#M27082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an LPC1769 and been using LPCXpresso with cmsis and got used to using LPC_PINCON for (PINSEL and PINMODE) and LPC_GPIO0 and LPC_GPIO2 for port 0 and port 2 Fast input output. I need USB for a project I'm working on and the LPCOpen example works, but it doesn't have PINCON and GPIO functions that I had with CMSIS 1v30. If I try mixing the include statements many things get declared twice and there are lots of error while compiling. Is there a way to add this device specific functions to LPCOpen examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 20:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675650#M27082</guid>
      <dc:creator>agustinbanchio</dc:creator>
      <dc:date>2017-06-05T20:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOPEN and PINCON</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675651#M27083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Chip_GPIO_SetPinState function, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Board_LED_Set(uint8_t LEDNumber, bool On)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (LEDNumber == 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_GPIO_SetPinState(LPC_GPIO_PORT, 1, 12, (bool) !On);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else if (LEDNumber == 1) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_GPIO_SetPinState(LPC_GPIO_PORT, 1, 11, (bool) !On);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following document:&lt;/P&gt;&lt;P&gt;&lt;A 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&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 18:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675651#M27083</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2017-06-06T18:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOPEN and PINCON</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675652#M27084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you sole, I'll be reading about this functions, they seem pretty straight forward. Again thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 20:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-and-PINCON/m-p/675652#M27084</guid>
      <dc:creator>agustinbanchio</dc:creator>
      <dc:date>2017-06-06T20:06:21Z</dc:date>
    </item>
  </channel>
</rss>

