Zhixu Liu writes:
> I'm working on a realtime DAQ system. I want my realtime task work whenever
> the hardware generate a interrupt, then i can read the data into computer,
> so i want know how to intergerate this realtime interrupt to the realtime
> task, for the driver of the hardware has realize the interrupt, i don't
> know whether i should change the driver's interrupt routine. It's best
> someone can give a example of the program or a framework.
What rt-Linux system are you using ? Look at request_RTirq or similar
(depending on the system).
For a complete example you can look at rt_com at my homepage. You might
wanna stay away from the interrupt handler itself for the beginning,
but registering handlers and that kind of stuff should be obvious.
Jochen
--
Heinrich-Heine-Universität
Institut für Physikalische Chemie I
Jochen Küpper
Universitätsstr. 1, Geb. 26.43 Raum 02.29
40225 Düsseldorf, Germany
phone ++49-211-8113681, fax ++49-211-8115195
http://www.Jochen-Kuepper.de
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/