bugAVR C Runtime Library - Bugs: bug #20682, Bad bit name in avr/io2313.h -...

 
 

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

bug #20682: Bad bit name in avr/io2313.h - Sugestion

Submitter:  None
Submitted:  Sat 04 Aug 2007 09:08:25 AM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  Header files
Status:  Fixed Assigned to:  None
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Thu 25 Oct 2007 02:50:43 PM UTC, comment #1: 

Fixed in avr-libc 1.4.7 branch and HEAD.

Anatoly Sokolov <aesok>
Group administrator
Sat 04 Aug 2007 09:08:25 AM UTC, original submission:  

Latest datasheet of AT90s2313 says that TIMSK have an "Input capture interrupt enable" bit called TICIE1. But in header file "io2313.h" the bit was called TICIE.

(...)
203  /* Timer/Counter Interrupt MaSK register */                
204  #define    TOIE1   7
205  #define    OCIE1A  6
206  #define    TICIE   3
207  #define    TOIE0   1
(...)

I suggest to leave old name and add a new one for backward compatibility.

(...)
203  /* Timer/Counter Interrupt MaSK register */                
204  #define    TOIE1   7
205  #define    OCIE1A  6
206  #define    TICIE   3   /* old name */
207  #define    TICIE1  3
208  #define    TOIE0   1
(...)



Anonymous

 

(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 aesok (Posted a comment)
  • -email is unavailable- added by arcanum (Updated the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-25 aesok StatusNone Fixed
        Open/ClosedOpen Closed
    2007-09-12 arcanum Priority5 - Normal 9 - Immediate

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code