[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #21521] incorrect bit definitions in iotnx61.h
From: |
Yury Shevchuk |
Subject: |
[avr-libc-dev] [bug #21521] incorrect bit definitions in iotnx61.h |
Date: |
Tue, 06 Nov 2007 08:46:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1) |
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: address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [bug #21521] incorrect bit definitions in iotnx61.h,
Yury Shevchuk <=