avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] avr/iousbxx6_7.h: INT0_vect versus SIG_INTERRUPT0


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] avr/iousbxx6_7.h: INT0_vect versus SIG_INTERRUPT0
Date: Fri, 7 Sep 2012 15:36:47 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

As Uwe Bonnes wrote:

> Should I provide a patch against avr-libc-1.8.0 or are the name differences
> SIG_SPM_READY vs SPM_READY_vect and ANA_COMP_vect vs ANALOG_COMP_vect
> intentional.

Yes, they are (unfortunately) intentional: the policy is to match the
datasheet, rather than inventing our own names (as we previously did
with the SIG_* names).

Thus, if the ATmega16 datasheet names that vector "SPM_RDY" (and, by
policy, the ATmega16A datahseet did not change this), but the
AT90CAN128 datasheet names it "SPM_READY", we follow that (by simply
appending "_vect").

-- 
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]