[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] __vector_N off-by-one?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] __vector_N off-by-one? |
Date: |
Mon, 17 Nov 2003 21:23:06 +0100 |
User-agent: |
Mutt/1.2.5i |
As Bernd Trog wrote:
> Could some please explain rational behind __vector_5 and SIG_OVERFLOW1?
>
> According to the 90s2313 data sheet it should be __vector_6.
The base for the counter differs by 1 between both: avr-libc counts
starting at 1 for the first interrupt vector, the AVR datasheets start
counting at 1 for the reset vector.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/