Erinjsetatapicommandcheckconditionerrorattribute, Erinjgetatapicommandcheckconditionerrora, Ttribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 818

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 818
ErInjSetATAPICommandCheckConditionErrorAttribute
Void ErInjSetATAPICommandCheckConditionErrorAttribute (
int nCommand,
BOOL bEnable,
TargetEmulatorATAPIErrorStatusRegEnum eResponseType,
BYTE ySenseData,
BYTE yASC,
BYTE yASCQ);
Inputs
int nCommand
ATAPI command type. (see
BOOL bEnable
Specifies whether to enable error generation on an ATAPI
command.
TargetEmulatorATAPIErrorStatusRegEnum eResponseType
Sense Data of a TAPE command.
(see
TargetEmulatorATAPIErrorStatusRegEnum
)
BYTE ySenseData
Sense Data of an ATAPI command.
(see
BYTE yASC
ASC of Specific ATAPI command.
BYTE yASCQ
ASCQ of Specific ATAPI command.
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 fail command with check condition for an
ATAPI in a SATA device.
See Also
ErInjGetATAPICommandCheckConditionErrorAttribute