[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] avr/iousbxx6_7.h: INT0_vect versus SIG_INTERRUPT0
From: |
Uwe Bonnes |
Subject: |
[avr-libc-dev] avr/iousbxx6_7.h: INT0_vect versus SIG_INTERRUPT0 |
Date: |
Fri, 7 Sep 2012 11:14:32 +0200 |
Hello,
for most parts, all Interrupts have two defines, one as XXX_vect and the
another as SIG_XXXY, like for /iom128.h
/* External Interrupt Request 0 */
#define INT0_vect_num 1
#define INT0_vect _VECTOR(1)
#define SIG_INTERRUPT0 _VECTOR(1)
But even in avr-libc-1.8.0, for all parts including
iousbxx6_7.h like the at90usb1287, only XXX_vect is defined:
/* External Interrupt Request 0 */
#define INT0_vect_num 1
#define INT0_vect _VECTOR(1)
Is this intentional? Or would a patch defining all those SIG_XXXY be
accepted?
E.g. the Ethernut sources reference only SIG_XXXY and so for support of
at90usb1287 either iousbxx6_7.h needs changes or the etehrnut sources.
Thanks
--
Uwe Bonnes address@hidden
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
- [avr-libc-dev] avr/iousbxx6_7.h: INT0_vect versus SIG_INTERRUPT0,
Uwe Bonnes <=