Вы здесь

DlnAdcGetChannelCount() Function

The DlnAdcGetChannelCount() function retrieves the number of ADC channels, available in the specified ADC-port of your DLN-series adapter.This function is defined in the dln_adc.h file.

Syntax
C/C++
DLN_RESULT DlnAdcGetChannelCount(
    HDLN handle,
    uint8_t port,
    uint8_t* count
);
Parameters
handle

A handle to the DLN-series adapter.

port

An ADC port to retrieve the number of channels from.

count

A pointer to an unsigned 8-bit integer. The integer will be filled with the available number of channels in the specified ADC port of the DLN-series adapter.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.

Языки

Вход на сайт