CAEN MCA  0.99.10
SDK for Hexagon
API with variable argument list

Application programming interface with variable argument list. More...

Functions

int32_t CAEN_MCA_GetDataV (CAEN_MCA_HANDLE handle, CAEN_MCA_DataType_t dataType, uint64_t dataMask, va_list args)
 
int32_t CAEN_MCA_SetDataV (CAEN_MCA_HANDLE handle, CAEN_MCA_DataType_t dataType, uint64_t dataMask, va_list args)
 
int32_t CAEN_MCA_SendCommandV (CAEN_MCA_HANDLE handle, CAEN_MCA_CommandType_t cmdType, uint64_t cmdMaskIn, uint64_t cmdMaskOut, va_list args)
 

Detailed Description

Application programming interface with variable argument list.

Function Documentation

◆ CAEN_MCA_GetDataV()

int32_t CAEN_MCA_GetDataV ( CAEN_MCA_HANDLE  handle,
CAEN_MCA_DataType_t  dataType,
uint64_t  dataMask,
va_list  args 
)

Get Data. Identical to CAEN_MCA_GetData(), but using using variable argument list.

Parameters
[in]handlethe handle.
[in]dataTypethe type of data.
[in]dataMaska bit mask for the given dataType. See also Data masks.
[out]argsa variable arguments list initialized with va_start, containing a pointer to variable for each bit set in dataMask, with the specified type. See also Variadic argument order and Variadic argument type.
Returns
CAEN_MCA_RetCode_Success (0) in case of success. Error codes specified in CAEN_MCA_RetCode_t.
See also
CAEN_MCA_SetDataV()

◆ CAEN_MCA_SetDataV()

int32_t CAEN_MCA_SetDataV ( CAEN_MCA_HANDLE  handle,
CAEN_MCA_DataType_t  dataType,
uint64_t  dataMask,
va_list  args 
)

Set Data. Identical to CAEN_MCA_SetData(), but using using variable argument list.

Parameters
[in]handlethe handle.
[in]dataTypethe type of data.
[in]dataMaska bit mask for the given dataType. See also Data masks.
[in]argsa variable arguments list initialized with va_start, containing a variable for each bit set in dataMask, with the specified type. See also Variadic argument order and Variadic argument type.
Returns
CAEN_MCA_RetCode_Success (0) in case of success. Error codes specified in CAEN_MCA_RetCode_t.
See also
CAEN_MCA_GetDataV()

◆ CAEN_MCA_SendCommandV()

int32_t CAEN_MCA_SendCommandV ( CAEN_MCA_HANDLE  handle,
CAEN_MCA_CommandType_t  cmdType,
uint64_t  cmdMaskIn,
uint64_t  cmdMaskOut,
va_list  args 
)

Send Command. Identical to CAEN_MCA_SendCommand(), but using using variable argument list.

Parameters
[in]handlethe handle.
[in]cmdTypethe type of command.
[in]cmdMaskIna bit mask of input variables for the given cmdType. See also Command masks.
[in]cmdMaskOuta bit mask of output variables for the given cmdType. See also Command masks.
[in,out]argsa variable arguments list initialized with va_start, containing a variable for each bit set first in cmdMaskIn and then cmdMaskOut, with the specified type. See also Variadic argument order and Variadic argument type.
Returns
CAEN_MCA_RetCode_Success (0) in case of success. Error codes specified in CAEN_MCA_RetCode_t.