beautypg.com

Changencq01params, Changencq03params, Compliancetestsenum – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 176

background image


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

STCompliance API 176

ChangeNCQ01Params

This function changes the settings of the NCQ-01 test. If you do not call this function, the system

uses the default settings.

ChangeNCQ01AddressRange(BSTR bstrNCQ01AddressRange,
BOOL* pbRetVal);


bstrNCQ01AddressRange: Specifies the Logical Block Address of the device for READ/WRITE

FPDMA QUEUED commands. The default value is "000000000000".

pbRetVal: Is the return value of the function.

ChangeNCQ03Params

This function changes the settings of the NCQ-03 test. If you do not call this function, the system

uses the default settings.

ChangeNCQ03Params (CommandTypeEnum ePIOCommand,
CommandTypeEnum eDMACommand,
BOOL* pbRetVal);


ePIOCommand: Specifies the PIO OUT command to issue to the device. The default command is

WRITE_SECTOR_S. A list of the available

values

for this parameter is at the end of this section.


eDMACommand: Specifies the DMA IN command to issue to the device. The default value is

READ_DMA. A list of the available

values

for this parameter is at the end of this section.


pbRetVal: Is the return value of the function.

ComplianceTestsEnum

enum

ComplianceTestsEnum

{

TEST_GDR_01

= 0,

TEST_GDR_02

,

TEST_GDR_03

,

TEST_GDR_04

,

TEST_GDR_05

,