Download avr-libc Reference Manual
Transcript
5.15 Interrupts and Signals 60 The interrupt is chosen by supplying one of the symbols in following table. Note that every AVR device has a different interrupt vector table so some signals might not be available. Check the data sheet for the device you are using. [FIXME: Fill in the blanks! Gotta read those durn data sheets ;-)] Note: The SIGNAL() and INTERRUPT() macros currently cannot spell-check the argument passed to them. Thus, by misspelling one of the names below in a call to SIGNAL() or INTERRUPT(), a function will be created that, while possibly being usable as an interrupt function, is not actually wired into the interrupt vector table. No warning will be given about this situation. Signal Name SIG 2WIRE SERIAL SIG ADC SIG COMPARATOR SIG EEPROM READY SIG FPGA INTERRUPT0 SIG FPGA INTERRUPT1 SIG FPGA INTERRUPT2 SIG FPGA INTERRUPT3 SIG FPGA INTERRUPT4 SIG FPGA INTERRUPT5 SIG FPGA INTERRUPT6 SIG FPGA INTERRUPT7 SIG FPGA INTERRUPT8 SIG FPGA INTERRUPT9 SIG FPGA INTERRUPT10 SIG FPGA INTERRUPT11 SIG FPGA INTERRUPT12 SIG FPGA INTERRUPT13 SIG FPGA INTERRUPT14 SIG FPGA INTERRUPT15 SIG INPUT CAPTURE1 SIG INPUT CAPTURE3 SIG INTERRUPT0 SIG INTERRUPT1 SIG INTERRUPT2 SIG INTERRUPT3 SIG INTERRUPT4 SIG INTERRUPT5 SIG INTERRUPT6 SIG INTERRUPT7 SIG OUTPUT COMPARE0 SIG OUTPUT COMPARE1A SIG OUTPUT COMPARE1B SIG OUTPUT COMPARE1C SIG OUTPUT COMPARE2 SIG OUTPUT COMPARE3A SIG OUTPUT COMPARE3B SIG OUTPUT COMPARE3C SIG OVERFLOW0 Description 2-wire serial interface (aka. I178C [tm]) ADC Conversion complete Analog Comparator Interrupt Eeprom ready Input Capture1 Interrupt Input Capture3 Interrupt External Interrupt0 External Interrupt1 External Interrupt2 External Interrupt3 External Interrupt4 External Interrupt5 External Interrupt6 External Interrupt7 Output Compare0 Interrupt Output Compare1(A) Interrupt Output Compare1(B) Interrupt Output Compare1(C) Interrupt Output Compare2 Interrupt Output Compare3(A) Interrupt Output Compare3(B) Interrupt Output Compare3(C) Interrupt Overflow0 Interrupt Generated on Tue Apr 22 09:54:12 2003 for avr-libc by Doxygen