DlnAdcGetPortCount() Function

Syntax

C/C++
DLN_RESULT DlnAdcGetPortCount(
    HDLN handle,
    uint8_t* count
);
     

The DlnAdcGetPortCount() function retrieves the number of ADC ports available in your DLN-series adapter.

Parameters:

handle
A handle to the DLN-series adapter.
count
A pointer to an unsigned 8-bit integer. The integer will be filled with the number of available ADC ports after the function execution.

Results:

Result Description
DLN_RES_SUCCESS Function was succesfully executed.

This function is defined in the dln_adc.h file.