00001
00002
00003 #ifndef _SIG_AVR_H_
00004 #define _SIG_AVR_H_
00005
00006
00007 #define SIG_INTERRUPT0 _interrupt0_
00008
00009
00010 #define SIG_INTERRUPT1 _interrupt1_
00011
00012
00013 #define SIG_INTERRUPT2 _interrupt2_
00014
00015
00016 #define SIG_INTERRUPT3 _interrupt3_
00017
00018
00019 #define SIG_INTERRUPT4 _interrupt4_
00020
00021
00022 #define SIG_INTERRUPT5 _interrupt5_
00023
00024
00025 #define SIG_INTERRUPT6 _interrupt6_
00026
00027
00028 #define SIG_INTERRUPT7 _interrupt7_
00029
00030
00031 #define SIG_OUTPUT_COMPARE2 _output_compare2_
00032
00033
00034 #define SIG_OVERFLOW2 _overflow2_
00035
00036
00037 #define SIG_INPUT_CAPTURE1 _input_capture1_
00038
00039
00040 #define SIG_OUTPUT_COMPARE1A _output_compare1a_
00041
00042
00043 #define SIG_OUTPUT_COMPARE1B _output_compare1b_
00044
00045
00046 #define SIG_OVERFLOW1 _overflow1_
00047
00048
00049 #define SIG_OUTPUT_COMPARE0 _output_compare0_
00050
00051
00052 #define SIG_OVERFLOW0 _overflow0_
00053
00054
00055 #define SIG_SPI _spi_
00056
00057
00058 #define SIG_UART_RECV _uart_recv_
00059
00060
00061 #define SIG_UART1_RECV _uart1_recv_
00062
00063
00064 #define SIG_UART_DATA _uart_data_
00065
00066
00067 #define SIG_UART1_DATA _uart1_data_
00068
00069
00070 #define SIG_UART_TRANS _uart_trans_
00071
00072
00073 #define SIG_UART1_TRANS _uart1_trans_
00074
00075
00076 #define SIG_ADC _adc_
00077
00078
00079 #define SIG_EEPROM _eeprom_ready_
00080
00081
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