[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] ioat94k.h: interrupt vector table off-by-one

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] ioat94k.h: interrupt vector table off-by-one
Date: Fri, 2 Sep 2005 10:25:16 +0200
User-agent: Mutt/

As Adam Megacz wrote:

> It appears that all of the SIG_* symbols defined in ioat94k.h should
> be decremented by 1 -- for example:

>   #define SIG_FPGA_INTERRUPT0     _VECTOR(0)   /* FPGA_INT0  */
>   #define SIG_INTERRUPT0          _VECTOR(1)   /* EXT_INT0   */
>   #define SIG_FPGA_INTERRUPT1     _VECTOR(2)   /* FPGA_INT1  */

Nope, vector 0 is the reset vector (named vector 1 in the
datasheet).  I just verified that AT94k datasheet, it appears
to be that way there, too.

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]