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/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev