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: [EMAIL PROTECTED]
             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/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to