lkml.org 
[lkml]   [1999]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Microsecond resolution timers - final word
On Tue, 27 Jul 1999, Pavel Machek wrote:

> > I'm in the middle of writing a driver for some obscure hardware I have.
> > Problem is, it requires some very specific timing: in some places, it expects
> > a response to a request within 20-40 microseconds. (Device is accessed via the
> > parallel port.)
>
> You'll need your driver to go into kernel, and udelay() is the way to
> go.

I've actually got an ioctl for ppdev which prepares in advance a response
(in terms of the control lines) to an interrupt, so that the time taken to
set a control line in response to an interrupt is as short as possible.

But I don't think this is applicable to this particular situation.

Tim.
*/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.061 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site