[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] name of the second interrupt for ATtiny26
From: |
E. Weddington |
Subject: |
Re: [avr-libc-dev] name of the second interrupt for ATtiny26 |
Date: |
Mon, 12 May 2003 11:02:40 -0600 |
On 10 Apr 2003 at 10:29, Artur Lipowski wrote:
> Hi,
>
> There is small mistake in iotn26.h
> The second interrupt is a pin change interrupt and shoud have name
> SIG_PIN (_not_ SIG_INTERRUPT1).
>
> Regards,
> --
> Artur Lipowski
He is correct, there is no External Interrupt Request 1 for this
device. The data sheet on page 20, lists a "Pin Change" interrupt for
this location.
I would suggest that this:
#define SIG_INTERRUPT1 _VECTOR(2)
be changed to this:
#define SIG_PIN_CHANGE _VECTOR(2)
Question: In a case like this, should the correction *replace* the
line, or should it be *added* to the file, so the old definition is
still there but deprecated for the new usage?
Eric
- Re: [avr-libc-dev] name of the second interrupt for ATtiny26,
E. Weddington <=