<?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>Processor Expert SoftwareのトピックRe: Toggle LED on TEA128 using P&amp;E generated code.</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352653#M2698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I followed this tutorial and get my working!&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/12/tutorial-bits-and-pins-with-kinetis/" title="http://mcuoneclipse.com/2012/11/12/tutorial-bits-and-pins-with-kinetis/"&gt;Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2015 15:24:25 GMT</pubDate>
    <dc:creator>saya</dc:creator>
    <dc:date>2015-02-09T15:24:25Z</dc:date>
    <item>
      <title>Toggle LED on TEA128 using P&amp;E generated code.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352652#M2697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was following the P&amp;amp;E example for GPIO LED. I am still a bit uncertain and need a bit more view/explanation about the library generated by P&amp;amp;E for GPIO_LLD.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;once you generated the code for GPIO_LLD, I have those functions:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#define GPIO_LED_Init_METHOD_ENABLED&amp;nbsp;&amp;nbsp; /*!&amp;lt; Init method of the component GPIO_LED is enabled (generated) */&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#define GPIO_LED_SetFieldValue_METHOD_ENABLED /*!&amp;lt; SetFieldValue method of the component GPIO_LED is enabled (generated) */&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#define GPIO_LED_GetFieldValue_METHOD_ENABLED /*!&amp;lt; GetFieldValue method of the component GPIO_LED is enabled (generated) */&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#define GPIO_LED_ClearFieldBits_METHOD_ENABLED /*!&amp;lt; ClearFieldBits method of the component GPIO_LED is enabled (generated) */&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#define GPIO_LED_SetFieldBits_METHOD_ENABLED /*!&amp;lt; SetFieldBits method of the component GPIO_LED is enabled (generated) */&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#define GPIO_LED_ToggleFieldBits_METHOD_ENABLED /*!&amp;lt; ToggleFieldBits method of the component GPIO_LED is enabled (generated) */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GPIO_LED is the name for my GPIO component.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after GPIO_Init, I am not sure how to turn on the LED and off it because I am not sure what is the field parameter and so is mask.&lt;/P&gt;&lt;P&gt;Could someone give me a simple hint/example of how to use these function? Such as, turn on LEDs.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the generated code from P&amp;amp;E for GPIO.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338587"&gt;GPIO_LED.h.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338587"&gt;GPIO_LED.c.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 16:10:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352652#M2697</guid>
      <dc:creator>saya</dc:creator>
      <dc:date>2015-02-05T16:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle LED on TEA128 using P&amp;E generated code.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352653#M2698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I followed this tutorial and get my working!&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/12/tutorial-bits-and-pins-with-kinetis/" title="http://mcuoneclipse.com/2012/11/12/tutorial-bits-and-pins-with-kinetis/"&gt;Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 15:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352653#M2698</guid>
      <dc:creator>saya</dc:creator>
      <dc:date>2015-02-09T15:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle LED on TEA128 using P&amp;E generated code.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352654#M2699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alan Tian:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad you found Erich Styger's tutorial. That tutorial is for using BitIO_LDD component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you are still interested in the GPIO_LDD component I attached an example with this one for TRK-KEA128, which simply turns on the 4 blue leds sequencially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, when in doubt how to use the generated APIs, you can refer to the "Typical Usage". For this right click on the component -&amp;gt; Help on Component, then select "Component xxx Typical Usage"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Help_on_component.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50437i6A671D9DE36CFE63/image-size/large?v=v2&amp;amp;px=999" role="button" title="Help_on_component.png" alt="Help_on_component.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 02:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Toggle-LED-on-TEA128-using-P-amp-E-generated-code/m-p/352654#M2699</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-02-11T02:46:53Z</dc:date>
    </item>
  </channel>
</rss>

