Skip to content

[bug #47937] Incorrect "0" suffix in names of SPI registers and bits for ATmega324PA and ATmega164PA #633

Open
@avrs-admin

Description

@avrs-admin

Mon 16 May 2016 11:59:03 PM CEST

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 #37181: spi_fix_m164pa_m324pa.patch

This issue was migrated from https://savannah.nongnu.org/bugs/?47937

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions