<?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 How can I re assign my timer  configured using rtc_timeout_expired(to). I want to re assign the to value before expiring the timer in  code warrior  MC9S08QE micro in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-re-assign-my-timer-configured-using-rtc-timeout/m-p/775350#M22576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to read the value of a pin 17,&amp;nbsp; the value is "one" then I want to set pin number 17.&lt;/P&gt;&lt;P&gt;a = gpio_get(XPIN_24); /*&amp;nbsp;reading value from&amp;nbsp; GPIO 12 */&lt;BR /&gt; if (a == 1)&lt;/P&gt;&lt;P&gt;gpio_set(XPIN_17,a);&amp;nbsp; &amp;nbsp; &amp;nbsp;/* a is one then turn on pin 17 */&lt;/P&gt;&lt;P&gt;rtc_set_timeout(to) ;&amp;nbsp; /* set the timer with to = 30 seconds&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am continuously checking&amp;nbsp; pin number 24 (XPIN_24) , if it is "one"&amp;nbsp; then I have to extend my time out time for example rtc_set_timeout() will decrease by one in system tick , before reaching zero I want to reassign to new "to" value . When I am re assigning&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;rtc_set_timeout(to) ; I am getting wearied output .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is : How can I reinitialize&amp;nbsp; &amp;nbsp;timer before reaching zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 20:41:41 GMT</pubDate>
    <dc:creator>arunsoman</dc:creator>
    <dc:date>2018-01-31T20:41:41Z</dc:date>
    <item>
      <title>How can I re assign my timer  configured using rtc_timeout_expired(to). I want to re assign the to value before expiring the timer in  code warrior  MC9S08QE micro</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-re-assign-my-timer-configured-using-rtc-timeout/m-p/775350#M22576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to read the value of a pin 17,&amp;nbsp; the value is "one" then I want to set pin number 17.&lt;/P&gt;&lt;P&gt;a = gpio_get(XPIN_24); /*&amp;nbsp;reading value from&amp;nbsp; GPIO 12 */&lt;BR /&gt; if (a == 1)&lt;/P&gt;&lt;P&gt;gpio_set(XPIN_17,a);&amp;nbsp; &amp;nbsp; &amp;nbsp;/* a is one then turn on pin 17 */&lt;/P&gt;&lt;P&gt;rtc_set_timeout(to) ;&amp;nbsp; /* set the timer with to = 30 seconds&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am continuously checking&amp;nbsp; pin number 24 (XPIN_24) , if it is "one"&amp;nbsp; then I have to extend my time out time for example rtc_set_timeout() will decrease by one in system tick , before reaching zero I want to reassign to new "to" value . When I am re assigning&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;rtc_set_timeout(to) ; I am getting wearied output .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is : How can I reinitialize&amp;nbsp; &amp;nbsp;timer before reaching zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 20:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-re-assign-my-timer-configured-using-rtc-timeout/m-p/775350#M22576</guid>
      <dc:creator>arunsoman</dc:creator>
      <dc:date>2018-01-31T20:41:41Z</dc:date>
    </item>
  </channel>
</rss>

