EXTERNAL INTERRUPT FOR S3C2440

Nagaraj
Hi,

Does the Mini2440 | S3C2440 ARM9 Board support external interrupt?
I understand that there are buttons that are connected to the cpu's
external interrupt. Can I have a input signal on the board's system bus and
use it to interrupt teh cpu?

Thanks
nagaraj

vib
Yes, you can. If you study the system bus properly, you will find that the
system bus allows to set the interrupt of certain attribute and type, at
certain address. It was once I wrote drivers for external interrupt through
system bus.
You need the software manual for S3C2440.

ARUN
i am a beginner in s3c2440. i am trying to write an external interrupt
(irq) in keil arm. plz help

#include<s3c2440.h>
 void __irq external1(void)
{
GPADAT=~GPADAT;
SRCPND=0XFFFFFFFF;
INTPND=0XFFFFFFFF;
}   
void main()
{
((unsigned int *)(0x00000018))= (unsigned int)external1;
 GPACON=0X00000000;
 GPFCON=0X0002;
 GPFUP=0X0000;
 EINTMASK=0xffffffef;
 EXTINT0=0x00000002;
 INTMSK=0X00000002;
 GPADAT=0XAAAAAAAA;


 while(1);
 
}

Nagaraj
Hi,

I am trying to write a interrupt service routine using one of the 6 user
buttons, in linux's priveleged mode. I see from the manual that the vector
address is 0x00000018 for IRQ. But how do I hook an interrupt service
routine to it in C language? Can someone help me with either a document or
a simple piece of code?

Thanks a lot for any help.
nagaraj