[Top][All Lists]

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

Re: [avr-libc-dev] WINAVR compatabiliity with Atmega48

From: E. Weddington
Subject: Re: [avr-libc-dev] WINAVR compatabiliity with Atmega48
Date: Thu, 13 Jan 2005 09:55:57 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Johan Erasmus wrote:


I found a discrepency in the /avr/iomx8.h file compared to page 100 of the
atmega48_88_168 datasheet.

The timer o interrupt definition should read

#define TIMSK0  _SFR_MEM8 (0x6E)
/* TIMSK0 */
#define OCIE0B  2
#define OCIE0A  1
#define TOIE0   0

and not
#define TIMSK0  _SFR_MEM8 (0x6E)
/* TIMSK0 */
#define OCIE0B  3
#define OCIE0A  2
#define TOIE0   0

This has been fixed in the avr-libc CVS.

reply via email to

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