URL:
<http://savannah.nongnu.org/bugs/?21986>
Summary: Typo in iotn13.h
Project: AVR C Runtime Library
Submitted by: dicks
Submitted on: Wednesday 01/09/2008 at 14:35
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
According to the ATtiny13 datasheet, the external interrupt flag is called
INTF0, and not INF0. Here is a fix:
--- avr-libc-1.6.1/include/avr/iotn13.h.orig 2007-12-12 05:36:56.000000000
+0100
+++ avr-libc-1.6.1/include/avr/iotn13.h 2008-01-09 15:23:41.000000000 +0100
@@ -259,7 +259,7 @@
/* General Interrupt Flag Register */
#define GIFR _SFR_IO8(0x3a)
-# define INF0 6
+# define INTF0 6
# define PCIF 5
/* General Interrupt MaSK register */
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21986>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev