lkml.org 
[lkml]   [1999]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: A/D converter
On Mon, 19 Apr 1999, Krawietz wrote:

> I have to write device driver for based on ISA slot A/D converter card.
> The card does not generate hardware interrupts and I need to pool status
> register to check if data are ready to retrive. As I know task queues and
> kernel timers work with jiffies which resolution is 100 per second , while
> the A/D card works at about 70kHz. What is the simplest way to implement
> that kind of pooling without processor lock in busy wait loop.
> I will be grateful for any clue.
> Krawietz
>

I would use the CMOS RTC to generate a periodic interrupt. In fact
have done it and it works well.


Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.6 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
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:51    [W:0.031 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site