DlnAdcSetResolution() Function
Syntax
- C/C++
-
DLN_RESULT DlnAdcSetResolution( HDLN handle, uint8_t port, uint8_t resolution );
The DlnAdcSetResolution() function sets the ADC resolution value of your DLN-series adapter.
Parameters:
- handle
- A handle to the DLN-series adapter.
- port
- A number of the ADC port to be configured.
- resolution
- The new resolution in bits. For the list of compatible values see table below.
Results:
| Result | Description |
|---|---|
| DLN_RES_SUCCESS | Function was succesfully executed. |
This function is defined in the dln_adc.h file.
2006-2012