<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AVR Timers &#8211; An Introduction</title>
	<atom:link href="http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/feed/" rel="self" type="application/rss+xml" />
	<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 03:41:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-38222</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Wed, 08 Feb 2012 03:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-38222</guid>
		<description>&lt;strong&gt;@Ajit Kumar,



&lt;blockquote&gt;How can I contact you sir?&lt;/blockquote&gt;



so what you have done with the above comment? Funny.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Ajit Kumar,</p>
<blockquote><p>How can I contact you sir?</p></blockquote>
<p>so what you have done with the above comment? Funny.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajitkumar</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-38199</link>
		<dc:creator>Ajitkumar</dc:creator>
		<pubDate>Tue, 07 Feb 2012 13:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-38199</guid>
		<description>Really amazing sir,
I have some doubt about PWM
How can I contact you sir?

My mail-aji_maxim@yahoo.in</description>
		<content:encoded><![CDATA[<p>Really amazing sir,<br />
I have some doubt about PWM<br />
How can I contact you sir?</p>
<p>My <a href="mailto:mail-aji_maxim@yahoo.in">mail-aji_maxim@yahoo.in</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shekhar</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-38156</link>
		<dc:creator>shekhar</dc:creator>
		<pubDate>Mon, 06 Feb 2012 05:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-38156</guid>
		<description>sir,
   i want 2 control speed of bldc motor by pwm using atmega8.i want 2 vary speed from 1ms to 2ms.eg at 1ms,1.25ms,1.50,1.75ms,2ms at 50hz.will u plz tell me abt how 2 code in c.how prescaler should set or mail me code in c for 1ms at 50hz.
thank you</description>
		<content:encoded><![CDATA[<p>sir,<br />
   i want 2 control speed of bldc motor by pwm using atmega8.i want 2 vary speed from 1ms to 2ms.eg at 1ms,1.25ms,1.50,1.75ms,2ms at 50hz.will u plz tell me abt how 2 code in c.how prescaler should set or mail me code in c for 1ms at 50hz.<br />
thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [SOLVED] ATTiny13 get current time</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-37947</link>
		<dc:creator>[SOLVED] ATTiny13 get current time</dc:creator>
		<pubDate>Fri, 20 Jan 2012 22:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-37947</guid>
		<description>[...] ATTiny13 get current time     Ok, so like how its done on this page AVR Timers - An Introduction. &#124; eXtreme Electronics ?   Tx!                Reply With Quote              + Post New Thread     &#171; How to resume [...]</description>
		<content:encoded><![CDATA[<p>[...] ATTiny13 get current time     Ok, so like how its done on this page AVR Timers &#8211; An Introduction. | eXtreme Electronics ?   Tx!                Reply With Quote              + Post New Thread     &laquo; How to resume [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob McTei</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-34292</link>
		<dc:creator>Bob McTei</dc:creator>
		<pubDate>Fri, 02 Dec 2011 09:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-34292</guid>
		<description>With embedded programming the variables which are used/altered by the interrupt routines need to be declared as global volatiles. 

I usually stick them just after my #defines and before my functions. Because they are defined outside of any functions, even main(), enables the variable to be accessed by all the functions in the program.

The variable is declared as volatile to stop the complier assuming the variable is a constant.

This drove me nuts when I was just learning</description>
		<content:encoded><![CDATA[<p>With embedded programming the variables which are used/altered by the interrupt routines need to be declared as global volatiles. </p>
<p>I usually stick them just after my #defines and before my functions. Because they are defined outside of any functions, even main(), enables the variable to be accessed by all the functions in the program.</p>
<p>The variable is declared as volatile to stop the complier assuming the variable is a constant.</p>
<p>This drove me nuts when I was just learning</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-33890</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Tue, 29 Nov 2011 06:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-33890</guid>
		<description>No I will NOT because it is already explained in every book on C! And it is assumed that an embedded developer knows C well. Or atleast has 3 or 4 book on C on his/her book self.

Bye.</description>
		<content:encoded><![CDATA[<p>No I will NOT because it is already explained in every book on C! And it is assumed that an embedded developer knows C well. Or atleast has 3 or 4 book on C on his/her book self.</p>
<p>Bye.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishal</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-33887</link>
		<dc:creator>vishal</dc:creator>
		<pubDate>Tue, 29 Nov 2011 05:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-33887</guid>
		<description>wil u plz tell me what do u mean by volatile variable and when v declare it</description>
		<content:encoded><![CDATA[<p>wil u plz tell me what do u mean by volatile variable and when v declare it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atmega168 not working</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-33069</link>
		<dc:creator>atmega168 not working</dc:creator>
		<pubDate>Mon, 21 Nov 2011 14:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-33069</guid>
		<description>[...] mcu now pony prog cant detect my mcu. i was goind fine until programmed code on this page AVR Timers - An Introduction. &#124; eXtreme Electronics  thanks in advance and sorry for my english prabh             Reply With [...]</description>
		<content:encoded><![CDATA[<p>[...] mcu now pony prog cant detect my mcu. i was goind fine until programmed code on this page AVR Timers &#8211; An Introduction. | eXtreme Electronics  thanks in advance and sorry for my english prabh             Reply With [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahmoud Fayez</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-30638</link>
		<dc:creator>Mahmoud Fayez</dc:creator>
		<pubDate>Mon, 24 Oct 2011 17:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-30638</guid>
		<description>You do not need to mark a global variable volatile, am I wrong?

I liked the way you explained the timer so much.

Kind Regards,
Mahmoud</description>
		<content:encoded><![CDATA[<p>You do not need to mark a global variable volatile, am I wrong?</p>
<p>I liked the way you explained the timer so much.</p>
<p>Kind Regards,<br />
Mahmoud</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bagus</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-30517</link>
		<dc:creator>bagus</dc:creator>
		<pubDate>Sun, 23 Oct 2011 02:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-30517</guid>
		<description>wow nice explain, i can understand more than before. thank you very much..</description>
		<content:encoded><![CDATA[<p>wow nice explain, i can understand more than before. thank you very much..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shayan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-30502</link>
		<dc:creator>Shayan</dc:creator>
		<pubDate>Sat, 22 Oct 2011 21:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-30502</guid>
		<description>Hello ! I want to ask you that do we have to initialise the counter again in the ISR Routine for the timer to be reloaded or does it loads itself for the whole program when it is initialised in main program ?? 
For example, if i want to run a program in ISR every 100ms ..then what should i do?? Please guide me...
i want to do this
int main(){
...count initialise;
while(1);}
ISR(routine){
//repeat the below program after every 100ms
....}</description>
		<content:encoded><![CDATA[<p>Hello ! I want to ask you that do we have to initialise the counter again in the ISR Routine for the timer to be reloaded or does it loads itself for the whole program when it is initialised in main program ??<br />
For example, if i want to run a program in ISR every 100ms ..then what should i do?? Please guide me&#8230;<br />
i want to do this<br />
int main(){<br />
&#8230;count initialise;<br />
while(1);}<br />
ISR(routine){<br />
//repeat the below program after every 100ms<br />
&#8230;.}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AVR controller timer basics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-28262</link>
		<dc:creator>AVR controller timer basics</dc:creator>
		<pubDate>Fri, 09 Sep 2011 16:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-28262</guid>
		<description>[...] basics     Here are a few more tutorials with cover the basics and compare mode using AVR timers:  AVR Timers &#8211; An Introduction  Timers in Compare Mode &#8211; Part I  Timers in Compare Mode &#8211; Part II  BigDog              [...]</description>
		<content:encoded><![CDATA[<p>[...] basics     Here are a few more tutorials with cover the basics and compare mode using AVR timers:  AVR Timers &#8211; An Introduction  Timers in Compare Mode &#8211; Part I  Timers in Compare Mode &#8211; Part II  BigDog              [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-26709</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Thu, 28 Jul 2011 03:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-26709</guid>
		<description>&lt;strong&gt;@Shayan,

I am not harsh at newbies. I am harsh on those who don&#039;t have correct  &quot;approach to solve problems&quot; or those you cannot be helped.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Shayan,</p>
<p>I am not harsh at newbies. I am harsh on those who don&#8217;t have correct  &#8220;approach to solve problems&#8221; or those you cannot be helped.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shayan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-26699</link>
		<dc:creator>shayan</dc:creator>
		<pubDate>Wed, 27 Jul 2011 19:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-26699</guid>
		<description>@avinash : man nice job ...really really helpful tutorials. Try not to be harsh at newbies, this will flee them away !!</description>
		<content:encoded><![CDATA[<p>@avinash : man nice job &#8230;really really helpful tutorials. Try not to be harsh at newbies, this will flee them away !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Composición Algorítmica &#124; Palmera blog</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-26682</link>
		<dc:creator>Composición Algorítmica &#124; Palmera blog</dc:creator>
		<pubDate>Wed, 27 Jul 2011 09:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-26682</guid>
		<description>[...] tambíén una capa de bajo nivel, gobernada por una interrupción asociada con un timer, que gestiona la temporización necesaria para los solenoides y las luces. Los solenoides necesitan [...]</description>
		<content:encoded><![CDATA[<p>[...] tambíén una capa de bajo nivel, gobernada por una interrupción asociada con un timer, que gestiona la temporización necesaria para los solenoides y las luces. Los solenoides necesitan [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-24585</link>
		<dc:creator>john</dc:creator>
		<pubDate>Sat, 25 Jun 2011 12:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-24585</guid>
		<description>hmmmm ....
im a newbie tooo ..... i got the hang of the thing timers.....initially i was confused at TCCR0&#124;=(1&lt;&lt;CS02)&#124;(1&lt;&lt;CS00); ..... not because of the operator but the operands ... i assumed that the variables CS00, CS01 and CS02 are predefined in avr/io.h or avr/interrupt.h  .... one more thing..... u have used an or operator before the equal to symbol ... i understood that too but what i want to know is will it make a differnce if u didnt use the operatoer ...the operator there is just to ensure that the other bits are not altered right ?</description>
		<content:encoded><![CDATA[<p>hmmmm &#8230;.<br />
im a newbie tooo &#8230;.. i got the hang of the thing timers&#8230;..initially i was confused at TCCR0|=(1&lt;&lt;CS02)|(1&lt;&lt;CS00); &#8230;.. not because of the operator but the operands &#8230; i assumed that the variables CS00, CS01 and CS02 are predefined in avr/io.h or avr/interrupt.h  &#8230;. one more thing&#8230;.. u have used an or operator before the equal to symbol &#8230; i understood that too but what i want to know is will it make a differnce if u didnt use the operatoer &#8230;the operator there is just to ensure that the other bits are not altered right ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: op</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-24332</link>
		<dc:creator>op</dc:creator>
		<pubDate>Wed, 22 Jun 2011 15:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-24332</guid>
		<description>very good tutorial.
now iam able to understand the use of timer. i want to measure the duration between two pulse(0 to 4000 microsecond)i.e to measure the delay time to blast a fuse unit of missile. there is already a old delay timer machine to measure this but it is not working now.my plan is to trigger timer0 when first pulse come and to stop timer0 when second pulse come and thereafter to take readout tcnt0 plus no of overflow occur multiplied with 255. here my incriment is 1 micro second. pl suggest will it give accurate time.</description>
		<content:encoded><![CDATA[<p>very good tutorial.<br />
now iam able to understand the use of timer. i want to measure the duration between two pulse(0 to 4000 microsecond)i.e to measure the delay time to blast a fuse unit of missile. there is already a old delay timer machine to measure this but it is not working now.my plan is to trigger timer0 when first pulse come and to stop timer0 when second pulse come and thereafter to take readout tcnt0 plus no of overflow occur multiplied with 255. here my incriment is 1 micro second. pl suggest will it give accurate time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sagar</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-22862</link>
		<dc:creator>sagar</dc:creator>
		<pubDate>Tue, 07 Jun 2011 18:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-22862</guid>
		<description>fantastic tutorial ..i was confused bt after reading this i will be alble to use timer0
thanks</description>
		<content:encoded><![CDATA[<p>fantastic tutorial ..i was confused bt after reading this i will be alble to use timer0<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Multiplexed Seven Segment Displays. &#124; eXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-22164</link>
		<dc:creator>Multiplexed Seven Segment Displays. &#124; eXtreme Electronics</dc:creator>
		<pubDate>Mon, 30 May 2011 01:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-22164</guid>
		<description>[...] Introduction To AVR Timers [...]</description>
		<content:encoded><![CDATA[<p>[...] Introduction To AVR Timers [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/avr-timers-an-introduction/comment-page-2/#comment-21870</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Sat, 21 May 2011 07:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=18#comment-21870</guid>
		<description>@W Lewis

Thanks !!!

From
Av</description>
		<content:encoded><![CDATA[<p>@W Lewis</p>
<p>Thanks !!!</p>
<p>From<br />
Av</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 11/37 queries in 0.016 seconds using apc
Object Caching 548/556 objects using disk: basic

Served from: extremeelectronics.co.in @ 2012-02-08 10:42:41 -->
