bugAVR C Runtime Library - Bugs: bug #21521, incorrect bit definitions in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21521: incorrect bit definitions in iotnx61.h

Submitter:  Yury Shevchuk <sizif>
Submitted:  Tue 06 Nov 2007 08:46:41 AM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Tue 06 Nov 2007 08:46:41 AM UTC, original submission:  

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

Yury Shevchuk <sizif>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by sizif (Submitted the item)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-12 arcanum StatusNone Fixed
        Percent Complete90% 100%
        Open/ClosedOpen Closed
    2007-12-12 arcanum Percent Complete0% 90%
        Assigned toNone arcanum

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code