lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Microsecond resolution timers - final word
On Tue, Jul 27, 1999 at 08:24:06AM +0100, Tim Waugh wrote:
> Is that 20-40 usecs response to an interrupt on the port? I'm finding
> that the interrupt latency is around about that, at least by the time you
> respond to the interrupt. Perhaps I'm doing something wrong though.

No. It's not parallel port based (hell, it's not even pc based). Its a custom
bit of hardware that uses three lines on the parallel port, and communicates
using a simple serial-esque protocol. It transfers bytes bit-by-bit, using
an ACK and DATA line.

Here's an example. I send a bit on the data line, and the device responds
by bringing the ACK line high .. I then have to bring ACK low and send the
next data bit within 20-40 usecs.

Is gettimeofday accurate enough for this?

Thanks,
Rob.

-
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.797 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site