XPS Unified
7.2.1.66
GPIODigitalPulseWidthSet
Name
GPIODigitalPulseWidthSet – Sets GPIO digital I/O pulse width (µsec).
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks GPIO name and type (must be Digital I/O): (-8)
Description
This function configures the GPIO digital I/O pulse width defined in microseconds.
Prototype
int GPIODigitalPulseWidthSet(
int SocketID,
char GPIOName,
double PulseWidth
)
Input parameters
SocketID
GPIOName
PulseWidth
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
int
Socket identifier gets by the
TCP_ConnectToServer" function.
int
GPIO digital I/O name.
double
GPIO digital I/O pulse width (µsec).
113
Programmer's Manual
EDH0373En1023 — 01/18