<?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 CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 , in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406632#M22787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Earl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you probably think this article. There is difference for KE family. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/350739"&gt;KEA128 BIT access&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can also find it useful the thread about blinking LED for K40&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-1023"&gt;K40: Blink LED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&lt;STRONG&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sreenathreddy"&gt;sreenathreddy&lt;/A&gt;&lt;/STRONG&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt; does not tell us what MCU is using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2015 12:26:05 GMT</pubDate>
    <dc:creator>ivadorazinova</dc:creator>
    <dc:date>2015-04-17T12:26:05Z</dc:date>
    <item>
      <title>HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406624#M22779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#define data gpio_pdor&amp;lt;&amp;lt;17 is not working ,can any body know other method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 13:07:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406624#M22779</guid>
      <dc:creator>sreenathreddy</dc:creator>
      <dc:date>2015-04-14T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406625#M22780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;sreenath,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;please, what do you want to exactly do with the macro? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Access to read, write, toggle??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Iva&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 14:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406625#M22780</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-04-14T14:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406626#M22781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to read and write to the port pin .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 04:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406626#M22781</guid>
      <dc:creator>sreenathreddy</dc:creator>
      <dc:date>2015-04-15T04:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406627#M22782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't mention what part you're using so I don't know which physical pin you're trying to control, but as an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GPIOA_PDDR |= (1 &amp;lt;&amp;lt; 17) //makes the pin an output by setting bit 17 of the data direction register&lt;/P&gt;&lt;P&gt;GPIOA_PDOR |= (1 &amp;lt;&amp;lt; 17) //drives bit 17 high&lt;/P&gt;&lt;P&gt;GPIOA_PDOR &amp;amp;= ~(1 &amp;lt;&amp;lt; 17) drives bit 17 low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using it as an input:&lt;/P&gt;&lt;P&gt;GPIOA_PIDR &amp;amp;= ~(1 &amp;lt;&amp;lt; 17) //enables input&lt;/P&gt;&lt;P&gt;if(GPIOA_PDIR &amp;amp; (1 &amp;lt;&amp;lt; 17))&lt;/P&gt;&lt;P&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*do something if bit 17 is high&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 12:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406627#M22782</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-04-16T12:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406628#M22783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, definitely correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 13:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406628#M22783</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-04-16T13:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406629#M22784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is PortE within GPIOA on the processor in question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 19:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406629#M22784</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-04-16T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406630#M22785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Earl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;small error. Just replace port A to port E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;GPIO&lt;STRONG style=": ; color: #000000;"&gt;E&lt;/STRONG&gt;_PDDR |= (1 &amp;lt;&amp;lt; 17) //makes the pin an output by setting bit 17 of the data direction register&lt;/P&gt;&lt;P&gt;GPIO&lt;STRONG style="color: #000000;"&gt;E&lt;/STRONG&gt;_PDOR |= (1 &amp;lt;&amp;lt; 17) //drives bit 17 high&lt;/P&gt;&lt;P&gt;GPIO&lt;STRONG style="color: #000000;"&gt;E&lt;/STRONG&gt;_PDOR &amp;amp;= ~(1 &amp;lt;&amp;lt; 17) drives bit 17 low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using it as an input:&lt;/P&gt;&lt;P&gt;GPIO&lt;STRONG style="color: #000000;"&gt;E&lt;/STRONG&gt;_PIDR &amp;amp;= ~(1 &amp;lt;&amp;lt; 17) //enables input&lt;/P&gt;&lt;P&gt;if(GPIO&lt;STRONG style="color: #000000;"&gt;E&lt;/STRONG&gt;_PDIR &amp;amp; (1 &amp;lt;&amp;lt; 17))&lt;/P&gt;&lt;P&gt;{&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*do something if bit 17 is high&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 10:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406630#M22785</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-04-17T10:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406631#M22786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only asked because I found out in the last question(!) that some Kinetis parts renamed port access so that 8-bit-ports DBCA are in GPIOA, HGFE in GPIOB (etc.).&amp;nbsp; The original request actually mentions PIN 17 (on some unspecified package), and maybe that is what they meant, not Bit 17 (although the &amp;lt;&amp;lt;17 led us all to that belief!).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 11:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406631#M22786</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-04-17T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: HOW CAN I ACCESS PORT PIN IN FREESCALE,in my code i need to access porte pin17 ,</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406632#M22787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Earl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you probably think this article. There is difference for KE family. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/350739"&gt;KEA128 BIT access&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can also find it useful the thread about blinking LED for K40&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-1023"&gt;K40: Blink LED&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&lt;STRONG&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sreenathreddy"&gt;sreenathreddy&lt;/A&gt;&lt;/STRONG&gt;&lt;STRONG class="font-color-meta"&gt;&lt;SPAN class="replyToName"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt; does not tell us what MCU is using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 12:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HOW-CAN-I-ACCESS-PORT-PIN-IN-FREESCALE-in-my-code-i-need-to/m-p/406632#M22787</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2015-04-17T12:26:05Z</dc:date>
    </item>
  </channel>
</rss>

