XJAPI_SetEndState

Set the state the TAP controller should go to after a scan.

XJAPI_ERROR XJAPI_SetEndState(
    JTAG_STATE endir,
    JTAG_STATE enddr
);

Arguments

endir
The state to go to after a IR scan.
enddr
The state to go to after a DR scan.

Return value

An XJAPI_ERROR value indicating whether the function call was successful or not.

Notes

If this function is not called, then the controller will always be left in the JTAG_IDLE (Run-Test-Idle) state.

This function can only be used once the hardware has been initialised with XJAPI_HardwareSetup.