kernel function called with 200Hz
From: Klaus Schneider (klaus.schneider_at_iup.uni-heidelberg.de.x)
Date: 05/17/05
- Next message: Robert Redelmeier: "Re: efficacy of Linux w/o swap"
- Previous message: Robert Nichols: "Re: efficacy of Linux w/o swap"
- Next in thread: Robert Redelmeier: "Re: kernel function called with 200Hz"
- Reply: Robert Redelmeier: "Re: kernel function called with 200Hz"
- Reply: Kasper Dupont: "Re: kernel function called with 200Hz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 17 May 2005 18:25:17 +0200
Hi!
Is there a possibility in the Linux kernel to call a kernel function with
200Hz? What I want to do is PWM (Pulse Width Modulation) at 200Hz frame
rate with the parallel port. So I want to register a function called at
200Hz which switches the port after n calls and back after (200-n) more
calls. But, using kernel timer, I can only register a one-time-called
function. I've searched through google and newsgroups but it was no use.
Or is there perhaps another solution how to do it? I can't use usleep() as
this won't be precise enough.
If it's possible, I don't want to use extensions as RTAI because the code
has to work on a system which also controls other things and this stuff has
to keep on working.
Thanks,
Klaus
- Next message: Robert Redelmeier: "Re: efficacy of Linux w/o swap"
- Previous message: Robert Nichols: "Re: efficacy of Linux w/o swap"
- Next in thread: Robert Redelmeier: "Re: kernel function called with 200Hz"
- Reply: Robert Redelmeier: "Re: kernel function called with 200Hz"
- Reply: Kasper Dupont: "Re: kernel function called with 200Hz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|