This application note illustrates the functionality and provides steps to configure the external interrupts available on the Atmel® megaAVR® family of Atmel AVR® microcontrollers. The application note also describes the points to be considered while using a GPIO pin as an external interrupt source pin.

The example codes have been implemented on an ATmega2560 device with Atmel Studio 7 and tested on an Atmel AVR STK®600 starter kit for functionality.