Main Page   Compound List   File List   Compound Members   File Members  

sig-avr.h

Go to the documentation of this file.
00001 /* renamed to sig-avr.h to avoid conflict with ANSI C <signal.h> */
00002 
00003 #ifndef _SIG_AVR_H_
00004 #define _SIG_AVR_H_
00005 
00006 /* External Interrupt0 Function name */
00007 #define SIG_INTERRUPT0 _interrupt0_
00008 
00009 /* External Interrupt1 Function name */
00010 #define SIG_INTERRUPT1 _interrupt1_
00011 
00012 /* External Interrupt2 Function name (ATmega) */
00013 #define SIG_INTERRUPT2 _interrupt2_
00014 
00015 /* External Interrupt3 Function name (ATmega[16]03)*/
00016 #define SIG_INTERRUPT3 _interrupt3_
00017 
00018 /* External Interrupt4 Function name (ATmega[16]03) */
00019 #define SIG_INTERRUPT4 _interrupt4_
00020 
00021 /* External Interrupt5 Function name (ATmega[16]03) */
00022 #define SIG_INTERRUPT5 _interrupt5_
00023 
00024 /* External Interrupt6 Function name (ATmega[16]03) */
00025 #define SIG_INTERRUPT6 _interrupt6_
00026 
00027 /* External Interrupt7 Function name (ATmega[16]03) */
00028 #define SIG_INTERRUPT7 _interrupt7_
00029 
00030 /* Output Compare2 Interrupt Function name */
00031 #define SIG_OUTPUT_COMPARE2 _output_compare2_
00032 
00033 /* Overflow2 Interrupt Function name */
00034 #define SIG_OVERFLOW2 _overflow2_
00035 
00036 /* Input Capture1 Interrupt Function name */
00037 #define SIG_INPUT_CAPTURE1 _input_capture1_
00038 
00039 /* Output Compare1(A) Interrupt Function name */
00040 #define SIG_OUTPUT_COMPARE1A _output_compare1a_
00041 
00042 /* Output Compare1B Interrupt Function name */
00043 #define SIG_OUTPUT_COMPARE1B _output_compare1b_
00044 
00045 /* Overflow1 Interrupt Function name */
00046 #define SIG_OVERFLOW1 _overflow1_
00047 
00048 /* Output Compare0 Interrupt Function name */
00049 #define SIG_OUTPUT_COMPARE0 _output_compare0_
00050 
00051 /* Overflow0 Interrupt Function name */
00052 #define SIG_OVERFLOW0 _overflow0_
00053 
00054 /* SPI Interrupt Function name */
00055 #define SIG_SPI _spi_
00056 
00057 /* UART(0) Receive Complete Interrupt Function name */
00058 #define SIG_UART_RECV _uart_recv_
00059 
00060 /* UART1 Receive Complete Interrupt Function name (ATmega161) */
00061 #define SIG_UART1_RECV _uart1_recv_
00062 
00063 /* UART(0) Data Register Empty Interrupt Function name */
00064 #define SIG_UART_DATA _uart_data_
00065 
00066 /* UART1 Data Register Empty Interrupt Function name (ATmega161) */
00067 #define SIG_UART1_DATA _uart1_data_
00068 
00069 /* UART(0) Transmit Complete Interrupt Function name */
00070 #define SIG_UART_TRANS _uart_trans_
00071 
00072 /* UART1 Transmit Complete Interrupt Function name (ATmega161) */
00073 #define SIG_UART1_TRANS _uart1_trans_
00074 
00075 /* ADC Conversion complete */
00076 #define SIG_ADC _adc_
00077 
00078 /* Eeprom ready */
00079 #define SIG_EEPROM _eeprom_ready_
00080 
00081 /* Analog Comparator Interrupt Function name */
00082 #define SIG_COMPARATOR _comparator_
00083 
00084 #define SIGNAL(signame)                                 \
00085 void signame (void) __attribute__ ((signal));           \
00086 void signame (void)
00087 
00088 #define INTERRUPT(signame)                              \
00089 void signame (void) __attribute__ ((interrupt));        \
00090 void signame (void)
00091 
00092 #endif /* _SIG_AVR_H_ */

Generated at Fri Jul 19 14:55:41 2002 for avrgcc by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001