XPS Unified Programmer’s Manual
7.2.1.60 GPIOAnalogRangeConfigurationGet
Name
GPIOAnalogRangeConfigurationGet – Gets GPIO DAC range configuration for
analog output (DAC).
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the GPIO type is DAC: (-8)
Description
This API returns the DAC range value.
Prototype
int GPIOAnalogRangeConfigurationGet(
int SocketID,
char * GPIOName,
double * DACRange
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GPIOName char * GPIO name.
Output parameters
DACRange double * DAC range value.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
107 EDH0373En1023 — 01/18