Erinjgetcodeviolationanddisparityerrorattribute, Erinjgetcodeviolationerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 687

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 687
ErInjGetCodeViolationAndDisparityErrorAttribute
ErInjGetCodeViolationAndDisparityErrorAttribute (
short iLayerId,
int nCommand,
short* piOffsetFromFrameStart,
short* piCountOfError,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Command type corresponding to layer ID.
(see
short* piOffsetFromFrameStart
Offset of frame for generating code
violation or disparity error.
short* piCountOfError
Count value for generating code violation or disparity error.
int* pnRetVal
Result of method, whether called by valid index and
layer ID or not or other errors.
Return Value
None.
Remark
Returns offset from start of frame and count value for generating code violation or disparity
error for an outgoing frame of a command.
NOTE: Call this method only for the SCSI, SMP, Task, ATA command.
See Also
ErInjSetCodeViolationAndDisparityErrorAttribute