AVR C Runtime Library - Bugs: bug #30569, ATmega16U4/32U4 wrong bit...
You are not allowed to post comments on this tracker with your current authentication level.
bug #30569: ATmega16U4/32U4 wrong bit definition
Submitter: | Frédéric Nadeau <fnadeau> | ||
Submitted: | Tue 27 Jul 2010 11:15:08 PM UTC | ||
Category: | Header | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Header files |
Status: | Fixed | Assigned to: | aboyapati |
Percent Complete: | 100% | Open/Closed: | Closed |
Release: | 1.7.0 | Fixed Release: | 1.6.1 |
Attached Files
file #21514: avr-libc_1.7.0.patch added by fnadeau (1KiB - text/x-patch - This is a patch for the ADTS3 bit definition. As a bonus, it also adds the ADC register definition. I hope this help accelerate the bug resolution.)
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-09-22 | aboyapati | Status | None | Fixed | |
Percent Complete | 0% | 100% | |||
Assigned to | None | aboyapati | |||
Open/Closed | Open | Closed | |||
Fixed Release | None | 1.6.1 | |||
2010-09-21 | fnadeau | Attached File | - | Added avr-libc_1.7.0.patch, #21514 |
Powered by Savane 3.13-4448.
Corresponding source code
From AVR Studio 4.18 SP2, both devices' XML are as follow:
<ADTS3_MASK>0x10</ADTS3MASK>
whereas the datasheet read as follow:
ADCSRB
Bit 7 6 5 4 3 2 1 0
ADHSM ACME MUX5 - ADTS3 ADTS2 ADTS1 ADTS0
The header of in avr-libc head(2179) for
iom16u4.h
iom32u4.h
are as follow:
iom16u4.h:#define ADTS3 4
iom32u4.h:#define ADTS3 4
whereas they should be 3
A request has also been made to support.atmel.no