hai this is my external interrupt code it is executing interrupt only once please check where i did a mistake send me.
#include<lpc213x.h> #include <stdio.h> extern void init_serial(void); unsigned char temp; void EXTINTVectoredIRQ (void)__irq; unsigned int x=0; void EXTINTVectoredIRQ (void)__irq { x++; x=x<<16; IO1SET=x; EXTINT=0X00000020; VICVectAddr15=0x0000002f; } int main() { IODIR1=0X00FF0000; IODIR0=0X20000000; PINSEL1=0X00000000; PINSEL0=0X200000C5; //interrupt pin p0.14 EXTMODE = 0; // LEVEL sensitive mode on EINT1 EXTPOLAR = 0; VICDefVectAddr = 0x0000002f; VICIntSelect |=0x00000000; VICVectAddr15 |=(unsigned int)EXTINTVectoredIRQ; VICVectCntl15 |= 0x0000002f; VICIntEnable |=0x00008000; while(1) { IO1CLR =0X000000ff; IOSET1 =0x000000ff; } }