public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] masked interrupt source and DSR
@ 2003-09-08 11:55 Backhaus Willy
  2003-09-08 12:02 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Backhaus Willy @ 2003-09-08 11:55 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-08 12:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-08 11:55 [ECOS] masked interrupt source and DSR Backhaus Willy
2003-09-08 12:02 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).