Intel LPCI-7200S 5.19 7200DIDMAStop, 5.20 7200DblBufferMode, @ Description, @ Syntax, C/C++ Dos

Models: LPCI-7200S

1 71
Download 71 pages 46.71 Kb
Page 59
Image 59
5.19 _7200_DI_DMA_Stop

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

C/C++ Libraries 51

Page 59
Image 59
Intel LPCI-7200S manual 5.19 7200DIDMAStop, 5.20 7200DblBufferMode, @ Description, @ Syntax, Visual C++ Windows, C/C++ Dos