beautypg.com

Erinjgetdisparityerroronsataprimitive, Erinjgetdonotcheckcredit – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 537

background image


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

IExerciserEngine 537

ErInjGetDisparityErrorOnSATAPrimitive

ErInjGetDisparityErrorOnSATAPrimitive (

short iLayerId,

int nCommand,

BOOL* pbEnable ,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Index of a packet corresponding to layer ID.

BOOL* pbEnable

Disparity error is selected or not.

int* pnRetVal

Result of method, whether called by valid index and layer ID or not or

other errors.


Return Value
None.

Remark
Returns disparity error on SATA primitive for an outgoing frame of a command. It is useful to

generate a disparity error in a command packet.
NOTE: Call this method only for the ATA command packet and STP transport packet.

See Also

ErInjSetDisparityErrorOnSATAPrimitive