avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #20682] Bad bit name in avr/io2313.h - Sugestion


From: anonymous
Subject: [avr-libc-dev] [bug #20682] Bad bit name in avr/io2313.h - Sugestion
Date: Sat, 04 Aug 2007 09:08:26 +0000
User-agent: Opera/9.22 (Windows NT 5.1; U; pl)

URL:
  <http://savannah.nongnu.org/bugs/?20682>

                 Summary: Bad bit name in avr/io2313.h - Sugestion
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Saturday 08/04/2007 at 09:08 UTC
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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
(...)







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20682>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]