- From: Calin A. Culianu <calin_at_ajvar.org>
- Date: Wed, 2 Oct 2002 17:46:24 -0400 (EDT)
On Wed, 2 Oct 2002, David Schleef wrote: > On Wed, Oct 02, 2002 at 02:54:36PM -0600, Brian Hom wrote: > > in the insn command there is a wait command. Does this go off of the clock > > on the card? and is there a comedi_wait command that I can use that wouldn't > > require using insn? > > It uses the kernel function udelay(), which is implemented as a while() > loop waiting for the specified amount of time to pass on the CPU's > time stamp counter. > > An adventurous developer might want to send me a patch that adds a > bunch of functions to comedilib that create insns for this purpose, > presumably for the purpose of populating an insnlist. > What is the purpose proposed here? As a wrapper to comedi_do_insn() that does INSN_WAIT insn's? -Calin
Received on 2002-10-02Z20:46:24