Intel LPCI-7200S manual 5.26 7200DODMAStop, C/C++ Dos, @ Argument, @ Return Code, @ Description

Models: LPCI-7200S

1 71
Download 71 pages 46.71 Kb
Page 63
Image 63
5.26 _7200_DO_DMA_Stop

C/C++ (DOS)

int _7200_DO_DMA_Status (U8 *status , U32 *count)

@ Argument

status: status of the DMA data transfer.

0:DO_DMA_STOP: DMA is completed

1:DO_DMA_RUN: DMA is not completed

count: the amount of DO data which has been transferred.

@ Return Code

ERR_NoError

5.26 _7200_DO_DMA_Stop

@ Description

This function is used to stop the DMA DO operation. After executing this function, the _7200_DO_DMA_Start function is stopped. The function returns the number of the data which has been transferred, regardless if the digital output DMA data transfer is stopped by this function or by the DMA terminal count ISR.

@ Syntax

Visual C++ (Windows 95)

int W_7200_DO_DMA_Stop (U32 *count)

Visual Basic (Windows 95)

W_7200_DO_DMA_Stop (count As Long) As Long

C/C++ (DOS)

int _7200_DO_DMA_Stop (U32 *count)

@ Argument

count: the number of digital output data which has been transferred.

@ Return Code

ERR_NoError

ERR_BoardNoInit

C/C++ Libraries 55

Page 63
Image 63
Intel LPCI-7200S 5.26 7200DODMAStop, C/C++ Dos, @ Argument, @ Return Code, @ Description, @ Syntax, Visual C++ Windows