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

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

[avr-libc-dev] [bug #30552] Missing definition ADCW


From: Frédéric Nadeau
Subject: [avr-libc-dev] [bug #30552] Missing definition ADCW
Date: Mon, 26 Jul 2010 15:55:53 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

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

                 Summary: Missing definition ADCW
                 Project: AVR C Runtime Library
            Submitted by: fnadeau
            Submitted on: Mon 26 Jul 2010 03:55:52 PM 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.0
           Fixed Release: None

    _______________________________________________________

Details:

Found in SVN revision 2179

Most device that have ADCL and ADCH registers also have this
#ifndef __ASSEMBLER__
#define ADC _SFR_MEM16(0x??)
#endif
#define ADCW _SFR_MEM16(0x??)

whereas the following only define this:
#define ADC _SFR_MEM16(0x??)

Affected header are:
iom32u4.h
iotn43u.h

I came across this issue because ADCW is in iom16u4.h but not iom32u4.h
although they both use the same PDF datasheet.

I know headers are generated from Atmel AVR Studio XML, is this something
related to a bug in the XML?






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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