<?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>Pulse width measurement</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/22250/pulse-width-measurement</link><description> 
I downloaded the demo program from the website to measure the
pulsewidth using TIMER0. 

 
ET0 =1;
EA =1;
TMOD = (TMOD&amp;amp;0xF)| 0x09; //Set GATE0 bit
while(1)
{
T0_ISR_count=0;
TH0=0;
TL=0;

TR0=1; //start TIMER0

tdelay(200); //Test#1
//tdealay(500);</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Pulse width measurement</title><link>https://community.arm.com/thread/75527?ContentTypeID=1</link><pubDate>Sat, 22 Sep 2007 06:10:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c0b77eaa-a4b3-4526-9d4e-1205114aeeb0</guid><dc:creator>Jimmy   S</dc:creator><description>&lt;p&gt;&lt;p&gt;
Here the example program I downloaded.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/download/docs/189.asp"&gt;http://www.keil.com/download/docs/189.asp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Thanks,&lt;/p&gt;

&lt;p&gt;
JIMMY&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pulse width measurement</title><link>https://community.arm.com/thread/48644?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2007 23:41:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:506f1809-76e7-4803-be80-c645f80255ea</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;I downloaded the demo program&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
What demo program?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;from the website&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
What website?&lt;/p&gt;

&lt;p&gt;
Provide a link, so that we can see the complete, unaltered
example...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>