beautypg.com

Getiflastframeinstrframetype, Getiflastframeinstrprotocoltype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 423

background image


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

IExerciserEngine 423

GetIfLastFrameInstrFrameType

BOOL GetIfLastFrameInstrFrameType (

int nInstructionIndex,

BYTE* pyFrameType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

BYTE* pyFrameType

Frame type for If on last received frame based on protocol type.


Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Returns frame type for If on last received frame. This frame type is valid based on protocol type,

for example, Reg H->D for STP or Command for SSP.

See Also

SetIfLastFrameInstrFrameType

GetIfLastFrameInstrProtocolType

BOOL GetIfLastFrameInstrProtocolType (

int nInstructionIndex,

ProtocolTypeEnum* peProtocolType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

ProtocolTypeEnum* peProtocolType Protocol type for If on last received frame

(see

ProtocolTypeEnum

)

Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Returns protocol type for If on last received frame. Call this method only for the If on Last

Frame instruction.
See Also

SetIfLastFrameInstrProtocolType