<?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: MK60F12.h in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315321#M13792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the file where you can find the macro GPIO_PIN(10)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I told you can wirte:&lt;/P&gt;&lt;P&gt;GPIO_PIN(10) --&amp;gt; BLUE LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(29) --&amp;gt; GREEN LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(28) --&amp;gt; YELLOW LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(11) --&amp;gt; ORANGE LED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2014 23:46:39 GMT</pubDate>
    <dc:creator>adriancano</dc:creator>
    <dc:date>2014-07-02T23:46:39Z</dc:date>
    <item>
      <title>MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315318#M13789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to program a TWR-K60F120M using CodeWarrior. The file MK60F12.h is included in the sample main.c program. Is anywhere description of the file? It seems that the macro GPIO_PIN(10) refers to the blue LED. How will the argument&amp;nbsp; of the GPIO_PIN need to change in order to refer to the green, yellow and red lights?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 21:23:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315318#M13789</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-02T21:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315319#M13790</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;It seems that you are running the gpio example, is that right? If it is like that then you can find in the gpio_k60.c file the next macros:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define GPIO_PIN_MASK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1Fu&lt;/P&gt;&lt;P&gt;#define GPIO_PIN(x)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (((1)&amp;lt;&amp;lt;(x &amp;amp; GPIO_PIN_MASK)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the code you find the line:&lt;/P&gt;&lt;P&gt;GPIOA_PTOR&amp;amp;=~GPIO_PDOR_PDO(GPIO_PIN(10));&lt;/P&gt;&lt;P&gt;And this one turns the BLUE led&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the value of the x in the macro GPIO_PIN(x) to change the value pin of each led. According to the schematic (&lt;A href="http://www.freescale.com/files/32bit/hardware_tools/schematics/TWR-K60F120M-SCH_C.pdf?WT_TYPE=Schematics&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Downloads&amp;amp;Parent_nodeId=1322580939986714855381&amp;amp;Parent_pageType=product" title="http://www.freescale.com/files/32bit/hardware_tools/schematics/TWR-K60F120M-SCH_C.pdf?WT_TYPE=Schematics&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Downloads&amp;amp;Parent_nodeId=1322580939986714855381&amp;amp;Parent_pageType=product"&gt;TWR-K60 SCH&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="k60 leds.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44732i73B76EF54DF6AEF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="k60 leds.png" alt="k60 leds.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can wirte:&lt;/P&gt;&lt;P&gt;GPIO_PIN(10) --&amp;gt; BLUE LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(29) --&amp;gt; GREEN LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(28) --&amp;gt; YELLOW LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(11) --&amp;gt; ORANGE LED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 23:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315319#M13790</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-02T23:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315320#M13791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Adrian. Thank you so much for your answer.&amp;nbsp; Where can I find the gpio_k60.c file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 23:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315320#M13791</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-02T23:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315321#M13792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the file where you can find the macro GPIO_PIN(10)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as I told you can wirte:&lt;/P&gt;&lt;P&gt;GPIO_PIN(10) --&amp;gt; BLUE LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(29) --&amp;gt; GREEN LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(28) --&amp;gt; YELLOW LED&lt;/P&gt;&lt;P&gt;GPIO_PIN(11) --&amp;gt; ORANGE LED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 23:46:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315321#M13792</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-02T23:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315322#M13793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the macro in the file that a friend of mine sent. I have hard time to call the several i/o from my c or assembly (preferable) file. Can you throw some light?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 23:51:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315322#M13793</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-02T23:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315323#M13794</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;If you have CodeWarrior installed you can find an example project which demonstrates the use of the SW buttons in the Tower board using interrupts and toggling the leds. Go to this path in the installation folder: &amp;lt;install folder&amp;gt;\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Kinetis_Examples\k60\gpio In that example you can find the gpio_k60.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 23:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315323#M13794</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-02T23:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315324#M13795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Adrian. Thank you for your reply. Are there any samples in assembly or in c with inline assembly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 02:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315324#M13795</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-03T02:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315325#M13796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All the sample codes are in C language but you can check select the disassemble option to see the assembler code of that file, check the image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="disassemble.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44762i247537441738476D/image-size/large?v=v2&amp;amp;px=999" role="button" title="disassemble.png" alt="disassemble.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315325#M13796</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-03T15:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315326#M13797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Adrian. You are super. Kassiani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 16:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315326#M13797</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-03T16:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315327#M13798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome, if you questions are now answered please feel free to mark one of this answers as Correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 16:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315327#M13798</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-03T16:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315328#M13799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I mark an answer as correct? I do not see this option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 18:54:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315328#M13799</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-03T18:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315329#M13800</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;Just below each answer you can see this two buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="correct.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44767i7FEE08ADBC67D5F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="correct.png" alt="correct.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can click on them to select correct answer or helpful answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 21:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315329#M13800</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-07-03T21:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: MK60F12.h</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315330#M13801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Adrian. I do not have the buttons you are refering to. Attached is how my inbox looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="my freescale inbox.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44791iAE008EAF228C12D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="my freescale inbox.jpg" alt="my freescale inbox.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 21:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60F12-h/m-p/315330#M13801</guid>
      <dc:creator>kassianikotsido</dc:creator>
      <dc:date>2014-07-04T21:01:24Z</dc:date>
    </item>
  </channel>
</rss>

