<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Problem with reseting timer counter TC</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/38634/problem-with-reseting-timer-counter-tc</link><description> 
Hi! 

 
I have strange problem with LPC21xx. For example, we using timer0,
match0. Let&amp;#39;s set reset &amp;amp; stop on MR0. If we will set PR=0, then
timer will stop and reset after TC reach MR0 value. But if we will
use PR!=0, then timer will stop, but won&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Problem with reseting timer counter TC</title><link>https://community.arm.com/thread/57418?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2009 02:11:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8a10e704-12fb-4972-9a03-5d389d6a0b31</guid><dc:creator>Kirill Novoskoltsev</dc:creator><description>&lt;p&gt;&lt;pre&gt;
int main() {
   T0MCR = 6; //stop &amp;amp; reset
   T0MR0=10;
   T0PR=1; //!!!
   T0TCR=1;
    while(1);
}
&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>