Erinjsetterminaterecievingframeattribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 734
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 734
ErInjSetTerminateRecievingFrameAttribute
ErInjSetTerminateRecievingFrameAttribute (
short iLayerId,
int nCommand,
BOOL bEnable ,
SendingFrameTypeForTerminateReceptionFrameEnum eSendingFrameType
,
short iDataCounter,
short iNumberOfHold,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Command type corresponding to layer ID.
(see
BOOL bEnable
Specifies whether to enable error generation for incoming
frame.
SendingFrameTypeForTerminateReceptionFrameEnum eSendingFrameType
Error type for terminating incoming frame.
(see
SendingFrameTypeForTerminateReceptionFrameEnum
)
short iDataCounter
Specifies after how many Dwords to generate an error .
This parameter is valid to terminate incoming frame by
DMAT and SYNC and sending a hold error type.
(see
SendingFrameTypeForTerminateReceptionFrameEnum
)
short iNumberOfHold
Number of hold. This parameter is valid to terminate
incoming frame by sending a hold.
(see
SendingFrameTypeForTerminateReceptionFrameEnum
)
int* pnRetVal
Result of method, whether called by valid index and
layer ID or not or other errors.
Return Value
None.
Remark
Returns error for terminating an incoming frame of a command. Specific incoming frame can
terminate by sending DMAT , SYNC and HOLD.
NOTE: Call this method only for the ATA command packet and STP packet.
See Also
ErInjGetTerminateRecievingFrameAttribute