CCAux
2.20.0.0
CCAux API reference
|
Functions | |
EXTERN_C CCAUXDLL_API ADCHANDLE CCAUXDLL_CALLING_CONV | GetAdc (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Adc_release (ADCHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Adc_getVoltage (ADCHANDLE, VoltageEnum selection, float64_t *value) |
Functions in the Adc class
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Adc_getVoltage | ( | ADCHANDLE | , |
VoltageEnum | selection, | ||
float64_t * | value | ||
) |
Read measured voltage.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200, X1200
selection | The type of voltage to get. |
value | Voltage value in Volt. Can be undefined if return value is error code. Not all values are supported on all platforms, ERR_NOT_SUPPORTED will indicate that. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Adc_release | ( | ADCHANDLE | ) |
Delete the ADC object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200, X1200
Example Usage:
EXTERN_C CCAUXDLL_API ADCHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAdc | ( | void | ) |
Factory function that creates instances of the Adc object.
Supported Platform(s): XL, XL5, XM, XM9, XS, XA, VC, VA, VS, VI2, V700, Yukon, V510, V710, V1000, V1200, X1200
Returns NULL if it fails to allocate memory.
Example Usage: