<?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中的主题 Using TimerUnit_LDD in polling mode with MKE02</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-TimerUnit-LDD-in-polling-mode-with-MKE02/m-p/464988#M3733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am new at using Kinetis and a microprocessor.&lt;/P&gt;&lt;P&gt;I am using MKE02 and I need to configure a timer in order to obtain a simple WAIT function for my code.&lt;/P&gt;&lt;P&gt;I am thinking about using the component TimerUnit_LDD but I'm not able to make it work in polling mode (without interrupt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 08:54:30 GMT</pubDate>
    <dc:creator>alessandrofabbr</dc:creator>
    <dc:date>2016-01-26T08:54:30Z</dc:date>
    <item>
      <title>Using TimerUnit_LDD in polling mode with MKE02</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-TimerUnit-LDD-in-polling-mode-with-MKE02/m-p/464988#M3733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am new at using Kinetis and a microprocessor.&lt;/P&gt;&lt;P&gt;I am using MKE02 and I need to configure a timer in order to obtain a simple WAIT function for my code.&lt;/P&gt;&lt;P&gt;I am thinking about using the component TimerUnit_LDD but I'm not able to make it work in polling mode (without interrupt).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 08:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-TimerUnit-LDD-in-polling-mode-with-MKE02/m-p/464988#M3733</guid>
      <dc:creator>alessandrofabbr</dc:creator>
      <dc:date>2016-01-26T08:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using TimerUnit_LDD in polling mode with MKE02</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Using-TimerUnit-LDD-in-polling-mode-with-MKE02/m-p/464989#M3734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can use the component of Timer_LDD , and if you do not want use the interrupt ,&lt;/P&gt;&lt;P&gt;you can disable it on the configuration of the Timer_LDD component view :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28230iE96AC47B26BE07D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you can configure the Period of timer to 1ms, then write a WAIT function to check the flag of timer,&lt;/P&gt;&lt;P&gt;when the flag set to 1, it meaning delay 1ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And there is a WAIT function use this component of Timer_LDD , it use the interrupt , while the principle is the same , i think you can refer to .&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/383015"&gt;Dear Sir/Mam,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you write your function , if it still have any question about this, please contact me !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&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>Thu, 28 Jan 2016 06:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Using-TimerUnit-LDD-in-polling-mode-with-MKE02/m-p/464989#M3734</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-01-28T06:31:05Z</dc:date>
    </item>
  </channel>
</rss>

