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

                 Summary: Bug in iom16a.h
                 Project: AVR C Runtime Library
            Submitted by: burli
            Submitted on: Di 19 Jul 2011 09:16:27 GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.*
           Fixed Release: None

    _______________________________________________________

Details:

The Naming of USART Interrupt Vectors is missing the underscore between USART
and the ISR Name.

for example

USARTRXC_vect instead of USART_RXC_vect

Also the naming of bits is inconsistent. Some bits are named with an
underscore like OCR0_0, OCR0_1, TCNT0_0, TCNT0_1 and so on, others are named
without underscore like OCDR0, CAL0 or UDR0

Especially UDR0 is a problem because it collides with the UDR0 Register of
other AVR devices.

Naming convention for all bit names shoud be with underscore before bit number




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to