beautypg.com

Getatacommandconditionexprpatternlbamode, Getavailablehwresource – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 215

background image


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

ISerialSCSICaptureProject 215

GetATACommandConditionExprPatternLBAMode

BOOL GetATACommandConditionExprPatternLBAMode (

int nStateId,

int nConditionIndex,

int nExprTokenIndex);

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).


long nExprTokenIndex

Target trigger pattern (or expression pattern of a condition) index.


Return Value
Specifies the target ATA Command trigger pattern (or expression pattern of a condition) Mode

(CHS or LBA).

Remark
Returns the type of an ATA command pattern added in trigger items (or expression pattern of a

condition). This mode may be LBA or CHS. In LBA mode, a LBA parameter is defined and you can

set/get its value, but in CHS all related parameters Sector Number, Cylinder Low, Cylinder High,

are defined and can set/get value of them.

See Also
GetATACommandCapturePatternLBAMode
SetATACommandConditionExprPatternLBAMode