Erinjgetterminaterecievingframeattribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 710
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 710
ErInjGetTerminateRecievingFrameAttribute
ErInjGetTerminateRecievingFrameAttribute (
short iLayerId,
int nCommand,
BOOL* pbEnable ,
SendingFrameTypeForTerminateReceptionFrameEnum*
peSendingFrameType ,
short* piDataCounter,
short* piNumberOfHold,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet
(see
int nCommand
Command type corresponding to layer ID.
(see
BOOL* pbEnable
Specifies whether to enable error for incoming frame.
SendingFrameTypeForTerminateReceptionFrameEnum* peSendingFrameType
Specifies error type for terminating incoming frame.
(see
SendingFrameTypeForTerminateReceptionFrameEnum
)
short* piDataCounter
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* piNumberOfHold 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