beautypg.com

Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 64

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

55

Pipe Commands

The following are the defined Pipe Command types (and the corresponding constants defined in
PipeCommands.ginc):

Pipe Command

Value

Description

PIPE_CMD_READ_DATA

0x01

IN transfer (bulk or data stage of control) for Host
emulation, responding to an OUT transfer for
Device emulation

PIPE_CMD_WRITE_DATA

0x02

OUT transfer (bulk or setup/data stage of control)
for Host emulation, responding to an IN transfer for
Device emulation

PIPE_CMD_GET_STATUS

0x03

Device emulation, responding to the Status stage
of a control transfer

PIPE_CMD_SEND_STATUS 0x04

Host emulation, sending the Status stage of a
control transfer

PIPE_CMD_SEND_PING

0x06

Sending the Ping to a device for Host emulation,
or sending a Ping response for Device emulation

Pipe Type

The following are the defined Pipe Type values (and the corresponding constants defined in
PipeCommands.ginc):

Pipe Type

Value

Description

PIPE_TYPE_CONTROL

0

Control pipe, all directions

PIPE_TYPE_BULK

1

Bulk pipe

PIPE_TYPE_INTERRUPT

2

Interrupt pipe (for future extension)

PIPE_TYPE_ISO

3

Isochronous pipe (for future extension)