This simple example shows how to use the External Interrupt Driver for external interrupt
The interrupt driver can be found here.
AVR MEGARF device can be used. This example has been tested with the following setup:
user defined External interrupt INTx pin is enabled The on board switch connected to the external interrupt pin is used in this example
when on board switch is pressed, interrupt INTx will be triggered when switch is released and LED on the board will blinks once.
This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.
For further information, visit Microchip.