Re: Timer 0

Victor Yodaiken <[email protected]> Wed, 4 May 2005 07:23:56 -0600
Newsgroups gmane.linux.real-time.rtlinux.general
Organization FSM Labs
Message-ID <[email protected]>
That is done automatically if you use RTL clock_nanosleep. If the scheduler
overhead is too great, take a look at the scheduler and use the operations
to directly call your handler from the clock.

On Thu, Apr 28, 2005 at 11:35:29AM -0400, Ed Lankford wrote:
> For a data acquisition program, what would be the effects of reprogramming 
> the timer 0 (change the countdown value) and the corresponding interrupt 
> vector address to point to my hardware handler routine from within a RT 
> thread?  I would do this for a few seconds and then return both to their 
> prior settings.  This is what I used to do in a DOS program for very good 
> interrupt timing.  I also disabled all other interrupts for those critical 
> seconds, and read the CMOS clock and updated the system time of day clock 
> when finished. Thanks.
> 
> Ed
> 
> _______________________________________________
> Rtl mailing list
> [email protected]
> http://hq.fsmlabs.com/mailman/listinfo/rtl
> http:/www.rtlinux-gpl.org/

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com  www.rtlinux.com
1+ 505 838 9109

_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/