DlnAdcChannelEnable() Function

The DlnAdcChannelEnable() function activates the specified channel from the corresponding ADC port of your DLN-series adapter. This function is defined in the dln_adc.h file.

Syntax
C/C++
DLN_RESULT DlnAdcChannelEnable(
    HDLN handle,
    uint8_t port,
    uint8_t channel
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the ADC port to be used.

channel

A number of the channel to be enabled.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.