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/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev