XJAPI_ReadPins
Reads the current values of the XJLink pins.
XJAPI_ERROR XJAPI_ReadPins( unsigned int *pins );
Version
This function was added in XJTAG version 1.3.1, and so requires that XJAPI_VERSION be defined to be greater than or equal to 0x010301.
Arguments
- pins
- Variable to return the current pin values into.
Return value
An XJAPI_ERROR value indicating whether the function call was successful or not.
Notes
The current values are returned as a bit array into the specified variable, with the least significant but being the value of pin 1. The values of the constant pins on the connector, 1, 2, 4 and 20, are undefined.
See Also
XJTAG v4.1.100