daniel sheltraw wrote:
>
> Greeting and Salutations RTAI folks
>
> Would someone please write an example code snippet showing how the
> timer is reprogrammed under RTAI when using one-shot mode. I assume
> that the reprogramming is done for a single task initialized
> with rt_task_init while in one-shot mode (rt_set_oneshot_mode).
> What I don't understand is how the reprogramming is done within the
> task function (assuming that it is done in the task function).
It is reprogrammed in the various rtai_sched.c available, look at the
functions: rt_schedule and rt_timer_handler.
By the way: you have to do DMA programming yourself. A good reference
for it is likely to be Rubini's book.
Ciao, Paolo.
-- [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/