beautypg.com

Erinjcmnsetinsertprimitive, Erinjcmngetinsertprimitive – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 753

background image


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

ITargetEmulEngine 753

ErInjCmnSetInsertPrimitive

Void ErInjCmnSetInsertPrimitive (

BOOL bEnable,

int nPrimitiveType,

PrimitiveTypeEnum ePrimitiveGroupType,

short iOffsetFromFrameStart,

short iRepeatCount,

int* pnRetVal);


Inputs
BOOL bEnable

Specifies whether to enable inserting primitive.

int nPrimitiveType

Inserted primitive type. (see

Primitive Type

Definition

)

PrimitiveTypeEnum ePrimitiveGroupType Primitive type group.

This parameter just for SAS device is valid.

(see

Primitive Group Type Definition

)

short iOffsetFromFrameStart

Offset from frame start for inserting primitive.

short iRepeatCount

Number of inserted primitive.

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 ability of inserting a primitive for SAS or SATA device.

See Also

ErInjCmnGetInsertPrimitive