Interrupts occurrence
Chris Johns
cjohns at cybertec.com.au
Sun Feb 24 02:03:52 UTC 2002
Angelo Fraietta wrote:
>
> Within the ISR I am doing the following:
>
> Reading a 16 bit word from an I/O address
> Decoding and adding that word onto a queue that is emptied out by a
> running task
> Checking a second queue for data that needs to be transmitted
> Transmitting a word to the I/O card.
> Setting an event that causes the running task to empty the queue.
>
I would only send the event if the queue is empty and have the task loop
until the queue is empty.
--
Chris Johns, cjohns at cybertec.com.au
More information about the users
mailing list