Paolo Mantegazza wrote:
> 
> Dirk Alders wrote:
> >
> > Working in RTAI I wondered what's the sense of the value period in
> > rt_start_timer(period). Starting the timer with 1s I'm still able to use
> > timerfunctions with times of 10 us.
> >
> > Which value shall I use and why?
> 
> - 1) recall that period must be in internal count unit, use
> nano2count(nanosec);

OK, that's clear

> - 2) period cannot be l> than 10 ms if you use a periodic timer, if you
> use > 10 ms the timers defaults to 10 ms, so I suspect that you mean 10
> ms above, not 10 us;
> - if you are using a oneshot modo period is of no use, and you can call
> rt_start_timer with whatever value you want.

But which other functions are affected by the timerperiod in periodic
mode? And in which way?

Thanks, Dirk

> 
> 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/
-- [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/

Reply via email to