![Neousys Technology Nuvo 2500 Series User Manual Download Page 141](http://html1.mh-extra.com/html/neousys-technology/nuvo-2500-series/nuvo-2500-series_user-manual_1667801141.webp)
Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 141 of 154
5.7.1.3 ADC_GetData
Syntax
BOOL ADC_GetData(DWORD idx, double *lpData);
Description
Gets the current data of the specified ADC controller.
Parameter
idx
[in]
Specifies the index of ADC controllers. Valid values are 0 and1.
lpData
[out]
Points to the double value which specifies the current data of the specified
ADC controller.
Return Value
Returns TRUE if procedure successes, FALSE if procedure failed.
Usage
double data = 0.0;
BOOL ret = ADC_GetData(0, &data);