[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] writing to a fifo in an ISR (fwd)
On Thu, 7 Sep 2000, Jan Veldeman wrote:
> Is it possible to write into a fifo from inside an ISR?
Yes. And the you can read the data in user space process with read().
> I would like to know this, because I would like that rt_com writes
> into a fifo, so that I can attach a handler to it and can perform
> some tasks when new data arrives.
> I already tried addapting rt_com, but I always get kernel panics.
Why do you want to pass your data through RT-FIFO? You set rt-com to call
your handler (this will be a part of RT-ISR), and your handler reads
that data and performs tasks. If some of your tasks are of lower priority,
use samaphores or signals to wake them up from rt_com handler.
Best regards,
--
Tomek