- From: Tomasz Motylewski <motyl_at_stan.chemie.unibas.ch>
- Date: Sun, 10 Nov 2002 13:39:25 +0100 (CET)
On Sat, 9 Nov 2002, David Schleef wrote:
> Howevr, implementing it using a command would make it fit in
> better with most devices, and also could be implemented on devices
> that don't natively handle waveform output. It makes more sense
> to use a command flag, e.g., CMDF_LOOP or CMDF_RESTART. ("restart"
> because you are restarting the command but bypassing the start
> condition.)
>
> A command flag is also something that could almost be completely
> handled in the core, with drivers overriding if the board has native
> waveform output.
Yes, I agree with the above.
Could we interpret the flag "CMDF_LOOP" for AI as "do not check for
overruns, pump data to the circular buffer even if it is not read,
try to limit the interrupts use" ?
You have mentioned loading the data to the FIFO for AO. I hope it would
also work using DMA (waveform stored in async->prealloc_buf).
Best regards,
--
Tomek
P.S. Do not be suprised that I write only on weekends - this I when I come
to Basel and have access to the hardware.
Received on 2002-11-10Z12:39:25