C/C++ Libraries
•
51
5.19 _7200_DI_DMA_Stop
@ Description
This function is used to stop the DMA data transferring. After executing this
function, the _7200_DI_DMA_Start function is stopped. The function returns
the number of the data which has been transferred, no matter if the digital
input DMA data transfer is stopped by this function or by the DMA terminal
count, ISR.
@ Syntax
Visual C++ (Windows 95)
int W_7200_DI_DMA_Stop (U32 * count)
Visual Basic (Windows 95)
W_7200_DI_DMA_Stop ( count As Long ) As Long
C/C++ (DOS)
int _7200_DI_DMA_Stop (U32 *count)
@ Argument
count: the number of DI data which has been transferred.
@ Return Code
ERR_NoError
ERR_BoardNoInit
5.20 _7200_DblBufferMode
@ Description
This function is used to enable or disable double buffer mode for DMA DI
operation.
@ Syntax
Visual C++ (Windows 95)
int W_7200_DblBufferMode (Boolean db_flag)
Visual Basic (Windows 95)
W_7200_DblBufferMode (ByVal db_flag As Byte) As Long
C/C++ (DOS)
int _7200_CheckHalfReady (Boolean db_flag)
@ Argument
db_flag: 1: double buffer mode enabled
0: double buffer mode disabled
@ Return Code
ERR_NoError