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

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

[avr-libc-dev] [bug #33799] Bug in iom16a.h


From: MB
Subject: [avr-libc-dev] [bug #33799] Bug in iom16a.h
Date: Tue, 19 Jul 2011 09:16:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30

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/




reply via email to

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