avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #47937] Incorrect "0" suffix in names of SPI registe


From: David Grayson
Subject: [avr-libc-dev] [bug #47937] Incorrect "0" suffix in names of SPI registers and bits for ATmega324PA and ATmega164PA
Date: Mon, 16 May 2016 21:59:06 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?47937>

                 Summary: Incorrect "0" suffix in names of SPI registers and
bits for ATmega324PA and ATmega164PA
                 Project: AVR C Runtime Library
            Submitted by: davidegrayson
            Submitted on: Mon 16 May 2016 09:59:03 PM GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.0.0
           Fixed Release: None

    _______________________________________________________

Details:

The attached patch fixes the names that avr-libc defines for several
SPI-related registers in iom324pa.h and iom164pa.h.  The datasheets call the
registers SPCR, SPSR, and SPDR, but avr-libcs's definitions had "0" at the end
of the name: SPCR0, SPSR0, and SPDR0.  The names of bits defined in these
registers were wrong in the same way.  This patch adds new definitions with
the correct names, while leaving the old definitions around for backwards
compatibility.

Please apply the patch.  Thanks!



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 16 May 2016 09:59:03 PM GMT  Name: spi_fix_m164pa_m324pa.patch 
Size: 1kB   By: davidegrayson

<http://savannah.nongnu.org/bugs/download.php?file_id=37181>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?47937>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]