beautypg.com

Erinjcmngetcrcerror, Erinjcmnsetcodeviolationerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 744

background image


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

ITargetEmulEngine 744

ErInjCmnGetCRCError

Void ErInjCmnGetCRCError (

CRCErrorTypeEnum* peCRCError,

int* pnRetVal);


Inputs
CRCErrorTypeEnum* peCRCError CRC Error type for all commands. (see

CRCErrorTypeEnum

)

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 CRC error type.

See Also

ErInjCmnSetCRCError

ErInjCmnSetCodeViolationError

Void ErInjCmnSetCodeViolationError (

BOOL bEnable,

int* pnRetVal);


Inputs
BOOL bEnable

Specifies whether to enable code violation 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 enability of code violation error.
See Also

ErInjCmnGetCodeViolationError