Yahoo Groups archive

AVR-Chat

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

Message

Re: documentation of timer interrupts vs bugs

2005-04-22 by arhodes19044

What happens when you write a 1 to a bit in TIFR that is already 
zero.  I suppose it stays zero....

-Tony

P.S.  That means that one can not manually set the interrupt flag to 
create a software controlled interrupt?

-T

--- In AVR-Chat@yahoogroups.com, Dave Hylands <dhylands@g...> wrote:
>By making it so that the software can only clear interrupts by writing
>a 1, and using
>
>TIFR = ( 1 << TOV1 );
>
>you don't disturb any other flag bits.
> -- 
> Dave Hylands
> Vancouver, BC, Canada
> http://www.DaveHylands.com/

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.