beautypg.com

Erinjcmngetdisparityerror, Erinjcmnsetcodeviolationanddisparityerrorattribute, Erinjcmnsetcodeviolationanddisparityerrorat – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 746: Tribute

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ITargetEmulEngine 746

ErInjCmnGetDisparityError

Void ErInjCmnGetDisparityError (

BOOL* pbEnable,

int* pnRetVal);


Inputs
BOOL* pbEnable Specifies whether to enable disparity error.
Int* pnRetVal

Error code. If the function call was corrected, the error code is zero.


Return Value
None.

Remark
In general section of error injection, gets enability of disparity error.

See Also

ErInjCmnSetDisparityError

ErInjCmnSetCodeViolationAndDisparityErrorAttribute

Void ErInjCmnSetCodeViolationAndDisparityErrorAttribute (
short iOffsetFromStartFrame,
short iCountOfError,
int* pnRetVal);
Inputs
short iOffsetFromStartFrame Offset of code violation and disparity error

from start of frame. This offset is per Dword.

short iCountOfError

Number of error for code violation and disparity error.

Int* pnRetVal

Error code. If the function call was corrected, the error code is

zero.

Return Value
None.
Remark
In general section of error injection, sets attribute of disparity and code violation error. Code

violation and disparity error have same error offset and number of error.
See Also

ErInjCmnGetCodeViolationAndDisparityErrorAttribute