The DlnAdcGetChannelCount() function retrieves the number of ADC channels, available in the specified ADC-port of your DLN-series adapter.This function is defined in the dln_adc.h file.
DlnAdcGetChannelCount()
dln_adc.h
DLN_RESULT DlnAdcGetChannelCount( HDLN handle, uint8_t port, uint8_t* count );
A handle to the DLN-series adapter.
An ADC port to retrieve the number of channels from.
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.
Function was successfully executed.