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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to