[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] WINAVR compatabiliity with Atmega48
From: |
Johan Erasmus |
Subject: |
[avr-libc-dev] WINAVR compatabiliity with Atmega48 |
Date: |
Thu, 13 Jan 2005 15:01:17 +0200 |
Madam/Sir
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
Regards
Johan
________________________________________
Johan Erasmus
Sun Space & Information Systems (Pty) Ltd.
Stellenbosch, South Africa
www.sunspace.co.za
+27 21 880 8119 (tel)
+27 21 880 1703 (fax)
- [avr-libc-dev] WINAVR compatabiliity with Atmega48,
Johan Erasmus <=