<?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 configure portE of LPC43xx for i/p or o/p for GPIO in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-portE-of-LPC43xx-for-i-p-or-o-p-for-GPIO/m-p/759642#M30631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1.- Please check carefully the pin descriptions&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;P0_0 corresponds to GPIO0[0]&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;P0_1 -&amp;gt; GPIO0[1]&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PA_1 -&amp;gt; GPIO4[8]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PA_2 -&amp;gt; GPIO4[9]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PB_6 -&amp;gt; GPIO5[26]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PF_2 -&amp;gt; GPIO7[17]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PF_11 -&amp;gt; GPIO7[25]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40119i10DCE502DE862C81/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;IMG alt="pastedImage_2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40281i3FA6DDA6ADA32FC6/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;According with the user manual page 471,&amp;nbsp; “Each GPIO port n (n = 0 to 7) has one direction register for configuring the port pins as inputs or outputs.”&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;IMG alt="pastedImage_3.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40069iFCF784A8A2C37BF5/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2.- Please check the user manual pages 425-429, you will find information about how to select analog/digital functions.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;IMG alt="pastedImage_4.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40111iFF0A0D149D6FA7AA/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_4.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; word-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;In the following codes, it illustrate how to toggle the P2_10.&lt;/P&gt;&lt;PRE class="" style="margin: 0.5em 0px; padding: 1em 1em 1em 3.8em; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: monospace; vertical-align: baseline; overflow-x: auto; color: #000000; text-shadow: #ffffff 0px 1px; direction: ltr; text-align: left; white-space: pre; word-spacing: 0px; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow-y: hidden; background: #f5f2f0; position: relative; counter-reset: linenumber 0; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: monospace; vertical-align: baseline; position: relative;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_SCU_PinMuxSet&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0x2&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;10&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;SCU_MODE_FUNC5&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;// P2.10: GPIO0[14]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_GPIO_SetPinDIROutput&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;LPC_GPIO_PORT&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;14&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;//Set pin direction&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_GPIO_SetPinState&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;LPC_GPIO_PORT&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;14&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; false&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;// Output low&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_GPIO_SetPinState&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;LPC_GPIO_PORT&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;14&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; true&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;// Output high&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&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>Mon, 02 Nov 2020 14:06:18 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2020-11-02T14:06:18Z</dc:date>
    <item>
      <title>How to configure portE of LPC43xx for i/p or o/p for GPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-portE-of-LPC43xx-for-i-p-or-o-p-for-GPIO/m-p/759641#M30630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using LPC4367JBD208 controller for my application. For one of my requirement i have interfaced portE to one of my peripheral (3x8 Keypad). So for this i need to configure few portpins as input and few as output. I know through DIR register we can configure portpins as input or output BUT it can configure only upto port8. What about PORTA to PORTF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me with this how to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 12:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-portE-of-LPC43xx-for-i-p-or-o-p-for-GPIO/m-p/759641#M30630</guid>
      <dc:creator>sauravsinha</dc:creator>
      <dc:date>2018-01-04T12:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure portE of LPC43xx for i/p or o/p for GPIO</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-portE-of-LPC43xx-for-i-p-or-o-p-for-GPIO/m-p/759642#M30631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;1.- Please check carefully the pin descriptions&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;P0_0 corresponds to GPIO0[0]&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;P0_1 -&amp;gt; GPIO0[1]&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PA_1 -&amp;gt; GPIO4[8]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PA_2 -&amp;gt; GPIO4[9]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PB_6 -&amp;gt; GPIO5[26]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PF_2 -&amp;gt; GPIO7[17]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;PF_11 -&amp;gt; GPIO7[25]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40119i10DCE502DE862C81/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;IMG alt="pastedImage_2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40281i3FA6DDA6ADA32FC6/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;According with the user manual page 471,&amp;nbsp; “Each GPIO port n (n = 0 to 7) has one direction register for configuring the port pins as inputs or outputs.”&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;IMG alt="pastedImage_3.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40069iFCF784A8A2C37BF5/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;2.- Please check the user manual pages 425-429, you will find information about how to select analog/digital functions.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;IMG alt="pastedImage_4.png" src="https://community.nxp.com/t5/image/serverpage/image-id/40111iFF0A0D149D6FA7AA/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_4.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; vertical-align: baseline; word-wrap: break-word; color: #51626f; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;In the following codes, it illustrate how to toggle the P2_10.&lt;/P&gt;&lt;PRE class="" style="margin: 0.5em 0px; padding: 1em 1em 1em 3.8em; border: 0px; font-weight: 400; font-style: normal; font-size: 15px; font-family: monospace; vertical-align: baseline; overflow-x: auto; color: #000000; text-shadow: #ffffff 0px 1px; direction: ltr; text-align: left; white-space: pre; word-spacing: 0px; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; overflow-y: hidden; background: #f5f2f0; position: relative; counter-reset: linenumber 0; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: monospace; vertical-align: baseline; position: relative;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_SCU_PinMuxSet&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0x2&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;10&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;SCU_MODE_FUNC5&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;// P2.10: GPIO0[14]&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_GPIO_SetPinDIROutput&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;LPC_GPIO_PORT&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;14&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;//Set pin direction&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_GPIO_SetPinState&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;LPC_GPIO_PORT&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;14&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; false&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;// Output low&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #d74444;"&gt;Chip_GPIO_SetPinState&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;(&lt;/SPAN&gt;LPC_GPIO_PORT&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #990000;"&gt;14&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;,&lt;/SPAN&gt; true&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: #999999;"&gt;;&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 15px; font-family: inherit; vertical-align: baseline; color: slategray;"&gt;// Output high&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&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>Mon, 02 Nov 2020 14:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-portE-of-LPC43xx-for-i-p-or-o-p-for-GPIO/m-p/759642#M30631</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2020-11-02T14:06:18Z</dc:date>
    </item>
  </channel>
</rss>

