irqreg_m68k.h

Go to the documentation of this file.
00001 #ifndef _DEV_IRQREG_M68K_H_
00002 #define _DEV_IRQREG_M68K_H_
00003 
00004 /*
00005  * Copyright (C) 2001-2004 by egnite Software GmbH. All rights reserved.
00006  *
00007  * Redistribution and use in source and binary forms, with or without
00008  * modification, are permitted provided that the following conditions
00009  * are met:
00010  *
00011  * 1. Redistributions of source code must retain the above copyright
00012  *    notice, this list of conditions and the following disclaimer.
00013  * 2. Redistributions in binary form must reproduce the above copyright
00014  *    notice, this list of conditions and the following disclaimer in the
00015  *    documentation and/or other materials provided with the distribution.
00016  * 3. Neither the name of the copyright holders nor the names of
00017  *    contributors may be used to endorse or promote products derived
00018  *    from this software without specific prior written permission.
00019  *
00020  * THIS SOFTWARE IS PROVIDED BY EGNITE SOFTWARE GMBH AND CONTRIBUTORS
00021  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00022  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00023  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL EGNITE
00024  * SOFTWARE GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00025  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00026  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
00027  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
00028  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00029  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
00030  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00031  * SUCH DAMAGE.
00032  *
00033  * For additional information see http://www.ethernut.de/
00034  */
00035 
00036 /*
00037  * $Log: irqreg_m68k.h,v $
00038  * Revision 1.1  2004/03/16 16:48:28  haraldkipp
00039  * Added Jan Dubiec's H8/300 port.
00040  *
00041  *
00042  */
00043 
00044 enum {
00045     IRQ_INT0,
00046     IRQ_INT1,
00047     IRQ_INT2,
00048     IRQ_INT3,
00049     IRQ_INT4,
00050     IRQ_INT5,
00051     IRQ_INT6,
00052     IRQ_INT7,
00053     IRQ_TIMER2_COMP,
00054     IRQ_TIMER2_OVF,
00055     IRQ_TIMER1_CAPT,
00056     IRQ_TIMER1_COMPA,
00057     IRQ_TIMER1_COMPB,
00058     IRQ_TIMER1_OVF,
00059     IRQ_TIMER0_COMP,
00060     IRQ_TIMER0_OVF,
00061     IRQ_SPI_STC,
00062     IRQ_UART_RX,
00063     IRQ_UART_UDRE,
00064     IRQ_UART_TX,
00065     IRQ_ADC,
00066     IRQ_EE_RDY,
00067     IRQ_ANA_COMP,
00068 #ifdef __AVR_ATmega128__
00069     IRQ_TIMER1_COMPC,
00070     IRQ_TIMER3_CAP,
00071     IRQ_TIMER3_COMPA,
00072     IRQ_TIMER3_COMPB,
00073     IRQ_TIMER3_COMPC,
00074     IRQ_TIMER3_OVF,
00075     IRQ_UART1_RX,
00076     IRQ_UART1_UDRE,
00077     IRQ_UART1_TX,
00078     IRQ_I2C,
00079     IRQ_SPM_RDY,
00080 #endif
00081     IRQ_MAX
00082 };
00083 
00084 extern IRQ_HANDLER sig_INTERRUPT0;
00085 extern IRQ_HANDLER sig_INTERRUPT1;
00086 extern IRQ_HANDLER sig_INTERRUPT2;
00087 extern IRQ_HANDLER sig_INTERRUPT3;
00088 extern IRQ_HANDLER sig_INTERRUPT4;
00089 extern IRQ_HANDLER sig_INTERRUPT5;
00090 extern IRQ_HANDLER sig_INTERRUPT6;
00091 extern IRQ_HANDLER sig_INTERRUPT7;
00092 extern IRQ_HANDLER sig_OUTPUT_COMPARE2;
00093 extern IRQ_HANDLER sig_OVERFLOW2;
00094 extern IRQ_HANDLER sig_INPUT_CAPTURE1;
00095 extern IRQ_HANDLER sig_OUTPUT_COMPARE1A;
00096 extern IRQ_HANDLER sig_OUTPUT_COMPARE1B;
00097 extern IRQ_HANDLER sig_OVERFLOW1;
00098 extern IRQ_HANDLER sig_OUTPUT_COMPARE0;
00099 extern IRQ_HANDLER sig_OVERFLOW0;
00100 extern IRQ_HANDLER sig_SPI;
00101 extern IRQ_HANDLER sig_UART0_TRANS;
00102 extern IRQ_HANDLER sig_UART0_DATA;
00103 extern IRQ_HANDLER sig_UART0_RECV;
00104 extern IRQ_HANDLER sig_ADC;
00105 extern IRQ_HANDLER sig_EEPROM_READY;
00106 extern IRQ_HANDLER sig_COMPARATOR;
00107 #ifdef __AVR_ATmega128__
00108 extern IRQ_HANDLER sig_OUTPUT_COMPARE1C;
00109 extern IRQ_HANDLER sig_INPUT_CAPTURE3;
00110 extern IRQ_HANDLER sig_OUTPUT_COMPARE3A;
00111 extern IRQ_HANDLER sig_OUTPUT_COMPARE3B;
00112 extern IRQ_HANDLER sig_OUTPUT_COMPARE3C;
00113 extern IRQ_HANDLER sig_OVERFLOW3;
00114 extern IRQ_HANDLER sig_UART1_RECV;
00115 extern IRQ_HANDLER sig_UART1_DATA;
00116 extern IRQ_HANDLER sig_UART1_TRANS;
00117 extern IRQ_HANDLER sig_2WIRE_SERIAL;
00118 extern IRQ_HANDLER sig_SPM_READY;
00119 #endif
00120 
00121 #endif

© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/