DlnAdcGetSupportedResolutions() Function

The DlnAdcGetSupportedResolutions() function returns all supported resolution values for connected DLN-series adapter.

This function is defined in the dln_adc.h file.

Syntax
C/C++
DLN_RESULT DlnAdcGetSupportedResolutions(
    HDLN handle, 
    uint8_t port, 
    DLN_ADC_RESOLUTIONS *supportedResolutions
);
Parameters
handle

A handle to the DLN-series adapter.

port

A number of the ADC port to be used.

supportedResolutions

Pointer to DLN_ADC_RESOLUTIONS structure, which will be filled by supported resolution values.

Return Value
DLN_RES_SUCCESS

Function was successfully executed.