Interrupts On Explore M3
In this tutorial we will discuss how to use the external interrupts on Explore M3.
Please check this tutorial for detailed explanation on inbuilt Lpc1768 External Interrupts.
If you are doing it for the first time, then check the below links to setup the project for generating the .bin file.
LPC1768 has four external interrupts EINT0-EINT3.
Below table shows mapping of EINTx pins.
|Interrupt||LPC1768 Pin||Explore M3 pin||Enum to be used|
- ISP Pin is used for ISP programming and it should not be zero during RESET, else the controller will in ISP mode.
- USB_BOOT Switch is used for Usb/Dfu bootloader and it should not be zero during RESET, else the controller will in USB/DFU boot mode.
LED is Connected to pin 13 on Explore M3 board.
Below is the sample code to blink the LED's with 1ms delay using systick timer.