Re: A/D converter

Richard B. Johnson (root@chaos.analogic.com)
Tue, 20 Apr 1999 08:23:33 -0400 (EDT)


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/