This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Notice on interrupts from devices in applications


Hi

I have been studying the interrupt model in eCos, looks well thought out.
I just wonder about one thing, i have interface to more devices like
the ADC or serial port, both ports is able to generate interrupt on
input, but i do not se a way for my application to get notice on this
interrupt, unless i include file I/O and the select() call (space
hog). Or create my own ISR/DSR replacing the one from the driver.

What i would have expected was an possibility to give an calback
function to the driver in case of new data (interrupt) or some global
semaphore/flag/mail that i cold make a wait on.

Or did i miss something (probably)?

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]