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: [EMAIL PROTECTED]
             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/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to