[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to clear external interrupt by software ?



so the sentence: "This can be done by software only" means:
'the software has to inform the hardware to reset the interrupt'
is that correct?

The problem is that the hardware has to be informed by a complex procedure (including ECP transfer) which can't be done in the interrupt service routine. Is there a way to mask this interrupt for some time?

Thanks, Andreas

-----Urspr√ľngliche Nachricht-----
Von: owner-dev-etrax@xxxxxxx.com]Im">mailto:owner-dev-etrax@xxxxxxx.com]Im
Auftrag von Mikael Starvik
Gesendet: Freitag, 27. September 2002 16:10
An: 'Pavel Batian'; dev-etrax
Betreff: RE: How to clear external interrupt by software ?


You have to tell the external unit to clear its interrupt. 
This is often done by reading or writing some register in 
the unit. The exact procedure is different for each
type of unit.

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
Behalf Of Pavel Batian
Sent: Friday, September 27, 2002 3:08 PM
To: dev-etrax
Subject: How to clear external interrupt by software ?


Designer's Reference Manual, p. 18-9 says about irq_int_vector_n-bit:
"This interrupt is cleared in the external unit. This can be done by
software only."

but how?????


Thanks,
Pavel