<?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のトピックDefault (initial) output value on GPIO2</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524805#M7441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by satyendra_sss on Thu Mar 03 00:28:58 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if there is a way to set the initial value of a GPIO pin to be configured as output pin to high(or low).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using GPIO2.0 of lpc1769 for switching a relay using a PNP switch. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever I configure the pin as output, the switch gets turned on immediately. I am assuming this happens since the GPIO pin goes low the moment I configure it as an output pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SSS &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:09:08 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:09:08Z</dc:date>
    <item>
      <title>Default (initial) output value on GPIO2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524805#M7441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by satyendra_sss on Thu Mar 03 00:28:58 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if there is a way to set the initial value of a GPIO pin to be configured as output pin to high(or low).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using GPIO2.0 of lpc1769 for switching a relay using a PNP switch. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever I configure the pin as output, the switch gets turned on immediately. I am assuming this happens since the GPIO pin goes low the moment I configure it as an output pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SSS &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524805#M7441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Default (initial) output value on GPIO2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524806#M7442</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 Mar 03 01:07:15 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: satyendra_sss&lt;/STRONG&gt;&lt;BR /&gt;I am assuming this happens since the GPIO pin goes low the moment I configure it as an output pin.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then debug your code to see which value this pin has before you change it to output...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Default is HIGH&amp;nbsp; :O &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524806#M7442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Default (initial) output value on GPIO2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524807#M7443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Thu Mar 03 01:59:59 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You are allowed to set the value of a GPIO _before_ you switch the direction to Output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524807#M7443</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Default (initial) output value on GPIO2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524808#M7444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Default-initial-output-value-on-GPIO2/m-p/524808#M7444</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:03:44Z</dc:date>
    </item>
  </channel>
</rss>

