<?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: MKW30Z TimersManager stop (pause) timer in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/MKW30Z-TimersManager-stop-pause-timer/m-p/659928#M2676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain what your issue is? if you set a single shot timer like: TMR_StartSingleShotTimer(id, &lt;STRONG&gt;0&lt;/STRONG&gt;, pCall, pArg); it will actually just call your callback pCall and as long as it is just a single shot timer, it will not count anymore, so yes, this is a expected behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Apr 2017 22:37:16 GMT</pubDate>
    <dc:creator>jorge_a_vazquez</dc:creator>
    <dc:date>2017-04-05T22:37:16Z</dc:date>
    <item>
      <title>MKW30Z TimersManager stop (pause) timer</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30Z-TimersManager-stop-pause-timer/m-p/659927#M2675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KW40Z_Connectivity_Software_1.0.1 (KSDK_1.3.0); IAR 7.50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;framework/TimersManager/Interface/TimersManager.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First case:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;TMR_StartSingleShotTimer(id, timeInMilliseconds, pCall, pArg);&lt;BR /&gt;a = TMR_GetRemainingTime(id);&lt;BR /&gt;TMR_StopTimer(id);&lt;BR /&gt;&lt;STRONG&gt;b&lt;/STRONG&gt; = TMR_GetRemainingTime(id);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I would expect that the result &lt;STRONG&gt;b&lt;/STRONG&gt; is 0 but it's not the case.&lt;/P&gt;&lt;P&gt;(like ~ pause timer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to stop a timer starting it with 0 (zero) milliseconds:&lt;/P&gt;&lt;P&gt;TMR_StartSingleShotTimer(id, timeInMilliseconds, pCall, pArg);&lt;/P&gt;&lt;P&gt;TMR_StartSingleShotTimer(id, &lt;STRONG&gt;0&lt;/STRONG&gt;, pCall, pArg);&lt;/P&gt;&lt;P&gt;setting to zero act as calling pCall once and stop the timer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:55:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30Z-TimersManager-stop-pause-timer/m-p/659927#M2675</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2017-03-16T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30Z TimersManager stop (pause) timer</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/MKW30Z-TimersManager-stop-pause-timer/m-p/659928#M2676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain what your issue is? if you set a single shot timer like: TMR_StartSingleShotTimer(id, &lt;STRONG&gt;0&lt;/STRONG&gt;, pCall, pArg); it will actually just call your callback pCall and as long as it is just a single shot timer, it will not count anymore, so yes, this is a expected behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 22:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/MKW30Z-TimersManager-stop-pause-timer/m-p/659928#M2676</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-04-05T22:37:16Z</dc:date>
    </item>
  </channel>
</rss>

