AVR C Runtime Library - Bugs: bug #18903, ATmega644 register definitions for...
You are not allowed to post comments on this tracker with your current authentication level.
bug #18903: ATmega644 register definitions for SPI and PRR (datasheet vs. iom*.h)
Submitter: | None | ||
Submitted: | Mon 29 Jan 2007 04:20:26 PM UTC | ||
Category: | Header | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Header files |
Status: | Fixed | Assigned to: | None |
Percent Complete: | 0% | Originator Email: | -email is unavailable- |
Open/Closed: | Closed | Release: | None |
Fixed Release: | None |
Sat 24 Feb 2007 02:04:43 PM UTC, comment #1: |
Anatoly Sokolov <aesok> |
Mon 29 Jan 2007 04:20:26 PM UTC, original submission:
The ATmega644 datasheet (2593K–AVR–01/07) lists the SPI registers as SPCR, SPSR and SPDR. The io-"header" iomxx4.h included by iom644.h uses the the datasheet-names with an additional 0 (null) (also for the bit-labels). Same for the Power-Reduction-Register: Datasheet: PRR but ioxx4.h: PRR0. Not a big problem for those who know the backgroud but might a problem for beginners and in code which should be portable between different avr-"Toolchains". Seems to be the same mismatch between datasheet for ATmega164p/324p/644p (10/06) and iomxx4.h.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-02-24 | aesok | Status | None | Fixed | |
Assigned to | aesok | None | |||
Open/Closed | Open | Closed | |||
2007-02-20 | aesok | Assigned to | None | aesok |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed in avr-libc 1.4.6 and HEAD.