<?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 timer or freecounter in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/timer-or-freecounter/m-p/199271#M5287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to set a 5 sec delay for my hc12 MCU. This is to stop a DC motor for 5 sec. Now I am trying to use a freecounter to run the TTicks and use that value that is close to 5 sec. But I have no idea how to get the value for TTicks in my code. I tried setting a variable equal to TTicks but it gave me an error. Also i tried using FreeCntr321_GetValMS( ): which i am having trouble setting the proper format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 08:03:34 GMT</pubDate>
    <dc:creator>HKS</dc:creator>
    <dc:date>2008-03-04T08:03:34Z</dc:date>
    <item>
      <title>timer or freecounter</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/timer-or-freecounter/m-p/199271#M5287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to set a 5 sec delay for my hc12 MCU. This is to stop a DC motor for 5 sec. Now I am trying to use a freecounter to run the TTicks and use that value that is close to 5 sec. But I have no idea how to get the value for TTicks in my code. I tried setting a variable equal to TTicks but it gave me an error. Also i tried using FreeCntr321_GetValMS( ): which i am having trouble setting the proper format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 08:03:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/timer-or-freecounter/m-p/199271#M5287</guid>
      <dc:creator>HKS</dc:creator>
      <dc:date>2008-03-04T08:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: timer or freecounter</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/timer-or-freecounter/m-p/199272#M5288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here I would create a project for the appropriate CPU with ProcessorExpert support.&lt;/DIV&gt;&lt;DIV&gt;Add a FreeCntr or a TimerInt Bean to your project, adjust the property of the bean to whatever configuration you are looking for and build the project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can then check the generated code to detect how you need to configure your timer.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 14:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/timer-or-freecounter/m-p/199272#M5288</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-03-04T14:22:23Z</dc:date>
    </item>
  </channel>
</rss>

