The DlnAdcGetAllValues() function retrieves current voltage values from all enabled ADC channels of your DLN-series adapter.
DlnAdcGetAllValues()
This function is defined in the dln_adc.h file.
dln_adc.h
DLN_RESULT DlnAdcGetAllValues( HDLN handle, uint8_t port, uint16_t* channelMask, uint16_t* values );
A handle to the DLN-series adapter.
A number of the ADC port to retrieve the information from.
A pointer to an unsigned 16-bit integer. This integer will be filled with a bit mask, each of the bits corresponding to an ADC channel of the port. This parameter contains currently enabled ADC channels of your DLN-series device.
A pointer to an unsigned 16-bit integer. This integer will be filled with a bit mask, each of the bits corresponding to an ADC value of the ADC channel of the port.
Function was successfully executed.