beautypg.com

Setatacommandconditionexprpatternlbamode, Setcapturepatterndataoffset – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 303

background image


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

ISerialSCSICaptureProject 303

SetATACommandConditionExprPatternLBAMode

SetATACommandConditionExprPatternLBAMode (

int nStateId,

int nConditionIndex,

int nExprTokenIndex,

BOOL bLBAMode);


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

Trigger pattern index in easy mode or index for a token added for this

condition in advanced mode.


BOOL bLBAMode

Target ATA Command trigger pattern

(or expression pattern of a condition) Mode (Mode is CHS or LBA).


Return Value
None.

Remark
Sets the type of ATA command pattern that was 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 you can set/get value of them.

See Also

GetATACommandConditionExprPatternLBAMode

SetATACommandCapturePatternLBAMode