<?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: Is it possible to reset Timer Capture value? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524994#M7630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Wed Feb 05 16:07:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That is odd!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't use the timer's ISR for exactly the same purpose as the external pin interrupt!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's so wrong with looking into the timer's IR register to see if a capture happened (and then clear it)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not have another interrupt because of the capture besides the interrupt because of the match?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:54:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:54:47Z</dc:date>
    <item>
      <title>Is it possible to reset Timer Capture value?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524990#M7626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by loukys on Tue Jan 07 08:53:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to reset Timer Capture value (TMR32B1CR0 precisely)? It is marked as read-only and there is no control bits to reset the value. I do not want to have interrupt and as a result can't use the interrupt flag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My "desired" code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.....................&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cr0store=TMR32B1CR0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TMR32B1CR0=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;............................&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to read the register at regular intervals and check if it was updated or not and read the captured value. It is possible that two consequative values are the same and I am not able to use compare to find out if the new capture happened.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas are welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524990#M7626</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reset Timer Capture value?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524991#M7627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by loukys on Fri Jan 10 02:27:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions at all? If anybody thinks that it is not possible - please say so - I will count votes :) &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524991#M7627</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reset Timer Capture value?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524992#M7628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Fri Jan 10 04:12:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: loukys&lt;/STRONG&gt;&lt;BR /&gt;Any suggestions at all?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could try using the interrupt logic without enabling the interrupt in the NVIC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524992#M7628</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reset Timer Capture value?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524993#M7629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by loukys on Fri Jan 10 05:15:26 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for reply - have to enable match on the same timer, so masking in NVIC is not possible. So far I wired Capture input to another pin as well and am looking for external pin interrupt to happen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524993#M7629</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to reset Timer Capture value?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524994#M7630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Wed Feb 05 16:07:17 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That is odd!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't use the timer's ISR for exactly the same purpose as the external pin interrupt!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's so wrong with looking into the timer's IR register to see if a capture happened (and then clear it)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not have another interrupt because of the capture besides the interrupt because of the match?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:54:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-it-possible-to-reset-Timer-Capture-value/m-p/524994#M7630</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:54:47Z</dc:date>
    </item>
  </channel>
</rss>

