Hi,
I was reading the hardware data sheet for the ATMEGA 256, and i identified at least the following external interrupts available:
- 1 $0000(1) RESET External Pin, Power-on Reset, Brown-out Reset, Watchdog Reset, and JTAG AVR Reset
- 2 $0002 INT0 External Interrupt Request 0
- 3 $0004 INT1 External Interrupt Request 1
- 4 $0006 INT2 External Interrupt Request 2
- 5 $0008 INT3 External Interrupt Request 3
- 6 $000A INT4 External Interrupt Request 4
- 7 $000C INT5 External Interrupt Request 5
- 8 $000E INT6 External Interrupt Request 6
- 9 $0010 INT7 External Interrupt Request 7
- 10 $0012 PCINT0 Pin Change Interrupt Request 0
- 11 $0014 PCINT1 Pin Change Interrupt Request 1
- 12 $0016(3) PCINT2 Pin Change Interrupt Request 2
Besides this ones there are others but i didn´t pointed them, because they are irrelevant to my question.
I the reference manual of Arduinos web page comes stated the following:
Specifies a function to call when an external interrupt occurs. Replaces any previous function that was attached to the interrupt. Most Arduino boards have two external interrupts: numbers 0 (on digital pin 2) and 1 (on digital pin 3). The Arduino Mega has an additional four: numbers 2 (pin 21), 3 (pin 20), 4 (pin 19), and 5 (pin 18).
My question is the following, are this external interrupts not supported by the arduino interrupt library?
If not what can i do to take advantage of their existence?
Cheers!