avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Timer Interrupt Problem on ATmega 103L


From: Matthew Arcus
Subject: Re: [avr-gcc-list] Timer Interrupt Problem on ATmega 103L
Date: Fri, 28 May 2004 09:05:07 +0100

----- Original Message ----- 
From: "'Andrew McNabb'" <address@hidden>
To: "Rune Christensen" <address@hidden>
Cc: <address@hidden>
Sent: Thursday, May 27, 2004 10:55 PM
Subject: Re: [avr-gcc-list] Timer Interrupt Problem on ATmega 103L


> However when I add something to my while loop that polls TCNT0 to check
> "manually" whether there's been an overflow, the behavior depends on
> whether or not I've set TOIE0 in TIMSK.

A bit of a long shot - are you definitely compiling for ATmega 103L so you
are getting the right value for TOIE0 (it's bit 0 on the mega103L, but is
bit 1 on some (earlier?) processors (the 2313 for example).

Matthew.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]