The DlnAdcIsEnabled() function retrieve information, whether the specified ADC port is activated. This function is defined in the dln_adc.h file.
DlnAdcIsEnabled()
dln_adc.h
DLN_RESULT DlnAdcIsEnabled( HDLN handle, uint8_t port, uint8_t* enabled );
A handle to the DLN-series adapter.
A number of the ADC port to retrieve the information from.
A pointer to an unsigned 8-bit integer. The integer will be filled with the information whether the specified ADC port is activated. There are two possible values:
0 or DLN_ADC_DISABLED - ADC port is deactivated.
1 or DLN_ADC_ENABLED - ADC port is activated.
Function was successfully executed.