beautypg.com

Getstateactiontype, Getstateid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 273

background image


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

ISerialSCSICaptureProject 273

Remark
Gets available resource for each port.
If each bit of pyAvailableNumber variable has Zero value it shows that there are not resources

for the pattern in that port.
Hardware resources for all patterns are based on the direction of the pattern. Returns all

Permitted hardware resources in each direction. Bit0: I1, Bit1: T1, Bit2: I2, .

GetStateActionType

BYTE GetStateActionType (

int nStateId);


Inputs
int nStateId

ID for a state in advanced mode.


Return Value
Bit 0 of action type Shows whether trigger unconditional is defined for the state or not.

Remark
Returns the action type of the state that is set to trigger unconditional, in advanced mode.

NOTE: This method is only for advanced mode.