Hi,
thanx for the repport. I've forwarded it upstream as  bug #19060:

 http://savannah.nongnu.org/bugs/index.php?19060

On 2/13/07, Terran Melconian <[EMAIL PROTECTED]> wrote:
Package: avr-libc
Version: 1.4.5-2
Severity: important

In avr/iotnx61.h, the PCMSK registers are defined as follows:

#define PCMSK0  _SFR_IO8(0x22)
#define PCMSK1  _SFR_IO8(0x23)

These are swapped with each other.  The correct definition is:

#define PCMSK0  _SFR_IO8(0x23)
#define PCMSK1  _SFR_IO8(0x22)

Source: Atmel Attiny261/461/861 datasheet, revision 11/06, page 218.
Personally confirmed with production parts with date code 0635.

This is presumably a problem to forward upstream.  Thanks.



--
Håkan Ardö

Reply via email to