<?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 Programmation des Timers en c pour le HCS12 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583445#M12918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour à vous tous,&lt;/P&gt;&lt;P&gt;Je me demande si c'est possible de me fournir le code en C, qui permet de manipuler les "Timers" pour le microcontrôleur HCS12P, ce dernier à pour but&amp;nbsp;de créer une fonction "tâche" &amp;nbsp;qui s’exécute régulièrement durant un temps bien déterminé et indépendamment du temps d’exécution du programme principal. .&lt;/P&gt;&lt;P&gt;Je vous remercie d'avance.&lt;/P&gt;&lt;P&gt;Bien cordialement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2016 18:12:52 GMT</pubDate>
    <dc:creator>karimaaissaoui</dc:creator>
    <dc:date>2016-09-01T18:12:52Z</dc:date>
    <item>
      <title>Programmation des Timers en c pour le HCS12</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583445#M12918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour à vous tous,&lt;/P&gt;&lt;P&gt;Je me demande si c'est possible de me fournir le code en C, qui permet de manipuler les "Timers" pour le microcontrôleur HCS12P, ce dernier à pour but&amp;nbsp;de créer une fonction "tâche" &amp;nbsp;qui s’exécute régulièrement durant un temps bien déterminé et indépendamment du temps d’exécution du programme principal. .&lt;/P&gt;&lt;P&gt;Je vous remercie d'avance.&lt;/P&gt;&lt;P&gt;Bien cordialement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 18:12:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583445#M12918</guid>
      <dc:creator>karimaaissaoui</dc:creator>
      <dc:date>2016-09-01T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Programmation des Timers en c pour le HCS12</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583446#M12919</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;i've bben able to understand the subject using a web translator (hopefully it's correct):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;I&lt;/SPAN&gt; &lt;SPAN&gt;wonder if it&lt;/SPAN&gt; &lt;SPAN&gt;is possible to provide&lt;/SPAN&gt; &lt;SPAN&gt;me the code&lt;/SPAN&gt; &lt;SPAN&gt;in C,&lt;/SPAN&gt; &lt;SPAN&gt;to manipulate&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Timers&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt; &lt;SPAN&gt;for&lt;/SPAN&gt; &lt;SPAN&gt;HCS12P&lt;/SPAN&gt; &lt;SPAN&gt;microcontroller&lt;/SPAN&gt;&lt;SPAN&gt;, it&lt;/SPAN&gt; &lt;SPAN&gt;aims&lt;/SPAN&gt; &lt;SPAN&gt;to&lt;/SPAN&gt; &lt;SPAN&gt;create a&lt;/SPAN&gt; &lt;SPAN class=""&gt;"task"&lt;/SPAN&gt; &lt;SPAN&gt;function that&lt;/SPAN&gt; &lt;SPAN&gt;runs regularly&lt;/SPAN&gt; &lt;SPAN class=""&gt;during a time&lt;/SPAN&gt; &lt;SPAN&gt;well&lt;/SPAN&gt; &lt;SPAN&gt;determined&lt;/SPAN&gt; &lt;SPAN class=""&gt;and&lt;/SPAN&gt; &lt;SPAN class=""&gt;independent of the&lt;/SPAN&gt; &lt;SPAN&gt;runtime of the&lt;/SPAN&gt; &lt;SPAN class=""&gt;main program."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Here you can download MC9S12P Family Demo Lab Software with PDF guide:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN3937.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;AN3937 -- MC9S12P-Family Demonstration Lab Training&lt;BR /&gt;&lt;/A&gt;&lt;A class="link-titled" href="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN3937SW.zip" title="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN3937SW.zip"&gt;AN3937SW.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;The SW pack contains a CodeWarrior project demonstrating Timer functionality.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Some more SW example that are written for other S12(X) families which you can re-use take as a reference (or re-use):&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-93792"&gt;S12G Examples Pack&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.nxp.com/docs/DOC-95116"&gt;S12X Examples Pack&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Hope it helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;iggi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 08:22:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583446#M12919</guid>
      <dc:creator>iggi</dc:creator>
      <dc:date>2016-09-02T08:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Programmation des Timers en c pour le HCS12</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583447#M12920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Iggi,&lt;BR /&gt;Thank you very much for your reply.&lt;BR /&gt;I view the source code of timers that you have provided me in the demo Lab Software, and yet I could not locate where I can integrate the function that will be called periodically: a function that can for example&amp;nbsp;light a LED periodically after every two seconds " an interruption", independently of the normal execution of the main code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 09:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Programmation-des-Timers-en-c-pour-le-HCS12/m-p/583447#M12920</guid>
      <dc:creator>karimaaissaoui</dc:creator>
      <dc:date>2016-09-02T09:42:04Z</dc:date>
    </item>
  </channel>
</rss>

