ADLINK PCI-7256 User Manual
Page 41

C/C++ DOS Libraries
• 33
5.6 _7256_COS_Channel
@ Description
This function is used to enable the COS channel.
@ Syntax
U16 _7256_COS_Channel (U16 boardID, U16 COS_Enable_Data)
@ Argument
boardID : Board ID to the specific borad.
COS_Enable_Data : COS channel enable. ‘1’ enable the
corresponding channel and ‘0’ disable the corresponding
channel.
@ Return Code
ERR_NoError, ERR_BoardNoInit
5.7 _7256_COS_Latch
@ Description
This function is used to latch digital input data after COS interrupt occurs.
@ Syntax
U16 _7256_COS_Latch (U16 boardID, U16 *COS_Latch_Data)
@ Argument
boardID :Board ID to the specific borad.
COS_Latch_Data :Digital input data when COS occurs. This
register will be erased when clearing IRQ.
@ Return Code
ERR_NoError, ERR_BoardNoInit