DlnAdcGetResolution() Function

Syntax

C/C++
 DLN_RESULT DlnAdcGetResolution(
    HDLN handle,
    uint8_t port,
    uint8_t* resolution
 );
     

The DlnAdcGetResolution() function retrieves the currently set ADC resolution of your DLN-series adapter.

Parameters:

handle
A handle to the DLN-series adapter.
port
A number of the ADC port to retrieve the information from.
resolution
The current ADC resolution in bits.

Results:

Result Description
DLN_RES_SUCCESS Function was succesfully executed.

This function is defined in the dln_adc.h file.