URL:
<http://savannah.nongnu.org/bugs/?35948>
Summary: iom32u4.h for ATmega32U4 incorrectly defines Timer 2
Project: AVR C Runtime Library
Submitted by: pgf
Submitted on: Thu 22 Mar 2012 11:44:05 AM EDT
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.6.8
Fixed Release: None
_______________________________________________________
Details:
it's my understanding from the datasheet that the atmega32u4 doesn't have a
Timer 2, so it seems like the definitions for TCCR2A, TIFR2, TCNT2, etc,
should be missing from the header file.
all of those are, indeed, missing from iom32u2.h, so i think their presence in
iom32u4.h must be just an oversight.
apparently timer 2 isn't mentioned in the ATmega32U4.xml part description file
provided with AVR Studio, either, though i was told this at the avrfreaks
forum, and don't know it firsthand.
(my version is 1.6.8-2, from ubuntu natty.)
paul
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?35948>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev