URL:
<http://savannah.nongnu.org/bugs/?21521>
Summary: incorrect bit definitions in iotnx61.h
Project: AVR C Runtime Library
Submitted by: sizif
Submitted on: Tuesday 11/06/2007 at 08:46
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi!
Some bits in include/avr/iotnx61.h are defined incorrectly WRT
http://www.atmel.com/dyn/resources/prod_documents/doc2588.pdf.
The problem exists up to avr-libc-1.5.1.20071029.
Thank you!
--- iotnx61.h 2007/11/06 08:16:35 1.1
+++ iotnx61.h 2007/11/06 08:30:21
@@ -387,19 +387,19 @@
#define PUD 6
#define PRR _SFR_IO8(0x36)
#define PRADC 0
#define PRUSI 1
-#define PRTIM0 3
-#define PRTIM1 4
+#define PRTIM0 2
+#define PRTIM1 3
#define SPMCSR _SFR_IO8(0x37)
#define SPMEN 0
#define PGERS 1
-#define RGWRT 3
-#define RFLB 4
-#define CTPB 5
+#define PGWRT 2
+#define RFLB 3
+#define CTPB 4
#define TIFR _SFR_IO8(0x38)
#define ICF0 0
#define TOV0 1
#define TOV1 2
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21521>
_______________________________________________
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