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

 
 

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

Submitted by:  None
Submitted on:  Sat 04 Aug 2007 09:08:25 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed in avr-libc 1.4.7 branch and HEAD.

Anatoly Sokolov <aesok>
Project 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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by aesok (Posted a comment)
  • -unavailable- added by arcanum (Updated the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Oct 2007 02:50:43 PM UTCaesokStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 12 Sep 2007 08:43:20 PM UTCarcanumPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup1