[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #18903] ATmega644 register definitions for SPI and P
From: |
anonymous |
Subject: |
[avr-libc-dev] [bug #18903] ATmega644 register definitions for SPI and PRR (datasheet vs. iom*.h) |
Date: |
Mon, 29 Jan 2007 16:20:27 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 |
URL:
<http://savannah.nongnu.org/bugs/?18903>
Summary: ATmega644 register definitions for SPI and PRR
(datasheet vs. iom*.h)
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Montag 29.01.2007 um 16:20 UTC
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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.
Martin Thomas
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?18903>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [bug #18903] ATmega644 register definitions for SPI and PRR (datasheet vs. iom*.h),
anonymous <=