DlnAdcGetChannelCount() Function
DLN_RESULT DlnAdcGetChannelCount(
HDLN handle,
uint8_t port,
uint8_t* count
);
The DlnAdcGetChannelCount() function retrieves the number of ADC channels, available in the specified ADC-port of your DLN-series adapter.
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.
Results:
| Result | Description |
|---|---|
| DLN_RES_SUCCESS | Function was succesfully executed. |
This function is defined in the dln_adc.h file.
2006-2012