Erinjsetstpcommanderrorresponsetype, Erinjgetstpcommanderrorresponsetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 812

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 812
ErInjSetSTPCommandErrorResponseType
Void ErInjSetSTPCommandErrorResponseType (
int nCommand,
BOOL bEnable,
ATADeviceEmulErrorStatusRegEnum eResponseType,
int* pnErrorCode);
Inputs
int nCommand
ATA command type. (see
BOOL bEnable
Specifies whether to enable error generation on
response type for an ATA command.
ATADeviceEmulErrorStatusRegEnum eResponseType
Response type for a ATA command.
(see
ATADeviceEmulErrorStatusRegEnum
)
Int* pnErrorCode
Error code. If the function call was corrected, the error
code is zero.
Return Value
None.
Remark
In error injection command section, sets enability of response type error on an ATA command in
a SATA device.
See Also
ErInjGetSTPCommandErrorResponseType