beautypg.com

Getpermittedpatterndirection – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 272

background image


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

ISerialSCSICaptureProject 272

GetPermittedPatternDirection

GetPermittedPatternDirection (

int nStateId,

int nConditionIndex,

long lPatternIndex,

PatternUsingTypeEnum ePatternUsingType,

BYTE *pyAvailableNumber,

BYTE *pyAvailableSubNumber);


Inputs
int nStateId

ID for a state in advanced mode (it is "don’t care"

in easy mode).


int nConditionIndex

Index for a condition in advanced mode

(it is "don’t care" in easy mode).


int nExprTokenIndex

Capture pattern index or trigger pattern index in

easy mode

or index for a token added for this condition in

advanced mode.


PatternUsingTypeEnum ePatternUsingType Target using type

(capture, trigger or Both).

(see

PatternUsingTypeEnum

)


BYTE *pyAvailableNumber

Available resource for all ports.

One value in the bit shows available resource

exists in that port.


BYTE *pyAvailableSubNumber

Available resource for Sub channels.

One value in the bit shows available resource

exists in that Sub Channel.

This parameter is for the muxing feature. If

Muxing feature is disabled, all bytes in this array

are zero.


Return Value
None.