beautypg.com

Erinjgetstpcommandframeincomingerrorattribute, Erinjsetatapicommandcheckconditionerrora, Ttribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 817

background image


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

ITargetEmulEngine 817

ErInjGetSTPCommandFrameInComingErrorAttribute

Void ErInjGetSTPCommandFrameInComingErrorAttribute (

int nCommand,

BOOL* pbEnable,

int* pnFrameType,

short* piFrameNumberInCommad,

int *pnErrorCode);


Inputs
int nCommand

ATA command type. (see

ATA command type definition

)

BOOL* pbEnable

Specifies whether to enable error generation on

incoming frame of a ATA command.

Int* pnFrameType

Incoming frame type. (see

FIS type definition

)

Short* piFrameNumberInCommad Number of frame in a command.
Int* pnErrorCode

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

code is zero.


Return Value
None.

Remark
Returns enability and attribute of error on incoming frame for an ATA command in a SATA

device in error Injection command section.

See Also

ErInjSetSTPCommandFrameInComingErrorAttribute