DA Interrupt Operations

Universal Driver Documentation
D/A interrupt operations are affected by only one parameter: recycle vs. one-shot. No Diamond Systems boards currently contain a FIFO or other hardware buffer for D/A operations. Each interrupt will output a single point to each specified channel. The application program simply builds a buffer containing the output waveform and then passes it to the function. In one-shot mode, the buffer is output a single time and then the function terminates. In recycle mode, the buffer is output repeatedly until the user calls dscCancelOp().

The D/A interrupts are actually ran on timer interrupts. The calling application needs to specify the rate at which the timer interrupt is generated and the ISR for the D/A ( timer ) interrupt will output the dacodes supplied by the user application in sample_values buffer as described above.

The calling application needs to fill up the DSCAIOINT structure with the following parameters...


This page was last modified 00:01, 7 Aug 2009.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.