Avoid using software conversion trigger as it doesn't work very well for
authorIan Abbott <abbotti@mev.co.uk>
Tue, 27 Nov 2007 16:43:51 +0000 (16:43 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 27 Nov 2007 16:43:51 +0000 (16:43 +0000)
commita3d574bbeacb0995e575252717c0fb0d6158b302
treef270f3cda739be0e5cab693b32599f0694b8b73c
parent7519b37203d02a17d53fca39fee9372ba32aae48
Avoid using software conversion trigger as it doesn't work very well for
differential mode on some versions of PCI230/260.  Use Z2 timer 2 output
instead and toggle the output in software to trigger a conversion.  Note
that the ADC busy bit only works for software triggers in non-FIFO mode,
so for AI INSN_READ, use the FIFO and the FIFO status bits to check when
the conversion is complete.
comedi/drivers/amplc_pci230.c