Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: What happens to timer counter after output compare?

2005-04-17 by arhodes19044

Got it.  The Atmel docs are very good IF you already understand what 
you need to do.  Otherwise it is not too easy to figure it all out.  A 
set of well commented examples would do wonders.  Comments of ehst is 
being set and WHY.

I have asked a new question on this board.  I have the millisecond 
interrupt working well, I now want to get a 1 second interrupt without 
dedicating another timer for that function.  I suspect I will have to 
use a separate timer, though

-Tony

--- In AVR-Chat@yahoogroups.com, "Mark Jordan" <mark@c...> wrote:
> On 15 Apr 2005 at 11:27, arhodes19044 wrote:
> 
> > I get the interrupt triggered, and I am able to increment the 
> > millisecond counter. Does the timer's counter get reset to zero 
> > automatically and immediately? 
> 
> 	The timer resets IF it is in CTC mode.
> 
>> 	Look for the CTC mode.
> 
> 	Mark Jordan

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.