DMA Transferring

The analog output function group provides DMA transferring for the waveform data output. In this mode, the data flows directly from the memory to the device without the interference of the CPU. The driver will monitor the progress of the transfer and send the proper event to notify the user of the current transfer status.

DMA Buffer:

1. Event Notification (Recommended)

The DRV_EnableEvent function enables the notification event and then starts the analog output operation by DRV_FAODmaExStart. The driver will send you a proper event to notify the status of the transfer progress. Use DRV_CheckEvent to check the signaled event and then handle the data. Stop the operation by the DRV_FAOTerminate function at any time.

 

2. No Event Notification

The DRV_FAODmaExStart function starts the analog output operation with DMA transferring. Use the DRV_FAOCheck function to check the status of the transfer. Meanwhile, use the DRV_FAOLoad function to load the new data for output. Stop the operation by the DRV_FAOTerminate function when the conversion is complete or at any other time. In this type of transfer, you will never receive any event notification of the acquisition status. The only way to monitor the transfer is to calling the DRV_FAOCheck to check the status of the transfer progress.