00001 /* 00002 * $Id: Interrupt.h,v 1 2005/06/06 17:44:00 BorisK Exp $ 00003 * 00004 * Copyright (C) 2005 ONTRACK s.r.o. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00019 * 02111-1307, USA. 00020 * 00021 * [1] ARM-based Microcontroller LPC2119/2129/2194/2292/9994, "Preliminary User Manual", February 03, 2004 00022 * 00023 * Written by Boris Kralik <kralikbo@yahoo.com>, 2005 00024 * 00025 */ 00026 #ifndef _INT 00027 #define _INTvoid __attribute__ ((interrupt("IRQ"))) TIMER1_interrupt(void); 00028 void __attribute__ ((interrupt("IRQ"))) TIMER0_interrupt(void); 00029 void __attribute__ ((interrupt("IRQ"))) _EINT1_interrupt(void); 00030 void __attribute__ ((interrupt("IRQ"))) WD_interrupt(void); 00031 void __attribute__ ((interrupt("IRQ"))) UART0_interrupt(void); 00032 void __attribute__ ((interrupt("IRQ"))) I2C_interrupt(void); 00033 void __attribute__ ((interrupt("IRQ"))) RTC_interrupt(void); 00034 void __attribute__ ((interrupt("IRQ"))) CAN1_TX_interrupt(void); 00035 void __attribute__ ((interrupt("IRQ"))) CAN1_RX_interrupt(void); 00036 void __attribute__ ((interrupt("IRQ"))) CAN_LUT_interrupt(void); 00037 void __attribute__ ((interrupt("IRQ"))) ADC_interrupt(void); 00038 00039 void SetEXT1(char , char); 00040 void INT_Initialize(void); 00041 00042 extern void TIMER_Int(); 00043 extern void CAN1_Rx_IntRoutine(); 00044 extern void CAN1_Tx_IntRoutine(); 00045 extern void CAN_LUT_interrupt(); 00046 extern void ADC_int(void); 00047 extern void TIMER0_Int(); 00048 // 00049 int iADchannel; 00050 #endif
1.4.7