[ECOS] masked interrupt source and DSR
Backhaus Willy
w.backhaus@newage-avkseg.com
Mon Sep 8 11:55:00 GMT 2003
hello,
we use ARM7 based controller.
in the "Embedded software development with ecos" (page 41 and code listing
3.2) is mentioned that when using DSRs the corresponding interrupt source
should be masked at the beginning ISR and should be unmasked only at the end
of the DSR execution.
I would unmask the interrupt source at the end of ISR and post the DSR every
time de interrupt occurs, even if the DSR isn't executed yet. the DSR
prototype has a parameter "count" wich gives the number of times the ISR has
requested that this DSR be scheduled..
what happens if I enable the interrupt source at the end of the ISR? any
side effects?
thanks,
Willy
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list