Hi ,
I am having problem with the EINT0 interrupt in LPC2106 .I have searched the posts,and i tried all the procedures in the User manual.Still the interrupt is not rised in the IRQ mode.I used the Keil IDE for my application.
Code:
int main(void)
{
PINSEL1=0X00000001;
VICIntSelect &= ~0x4000;
VICVectAddr0 = (unsigned int)int0ISR;
VICVectCntl0 = 0x2E;
VICIntEnable = 0x4000;
while (1)
{
;
}
}
ISR ROUTINE:
static void int0ISR(void)
{
IODIR=0X01;
IOSET=0X01;
delay();
IOCLR=0X01;
EXINT=0X01;
VICVectAddr = 0;
}
I dont know why this simple program is not working.Can you tell me your valuable suggestions.
Regards ,
S.kumarMessage
Query in External interrupt of LPC2106
2006-01-10 by Saravanakumar.S@ansaldo-signal.co.in