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
