Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 139 of 154
5.7 Using ADC Function
Analog-to-digital converter, also known as ADC, is available on Nuvis-2520at. And it's also
available as an option on Nuvo-2500. Nuvo-2510VTC doesn't support this functionality. The
ADC API provides a set of functions for operating the ADC controller and reading the
analog inputs.
NOTE
The analog inputs are mainly for human interface devices with analog output signals, such as hall
sensor joystick and analog stick, and not highly calibrated. It’s not suitable for any measurement
applications.
5.7.1 ADC Function Reference
5.7.1.1 ADC_Start
Syntax
BOOL ADC_Start(DWORD idx);
Description
Starts the ADC controller operation.
Parameter
idx
[in]
Specifies the index of ADC controllers. Valid values are 0 and1.
Return Value
Returns TRUE if procedure successes, FALSE if procedure failed.
Usage
BOOL ret = ADC_Start(0);