Transaction-Specific Set Of Members - LeCroy USB Protocol Suite Reference Manual

Verification script engine
Table of Contents

Advertisement

LeCroy Corporation
Verification Script Engine Reference Manual

5.2.2 Transaction-specific Set of Members

in.TraToken: Token PID for the transaction. Possible values are:
const PID_OUT = 0x87;
const PID_IN
= 0x96;
const PID_SETUP = 0xB4;
const PID_SPLIT = 0x1E;
const PID_PING = 0x2D;
const PID_EXT = 0x0F;
in.Addr: Device Address value for this Usb transaction.
In.Endp: Device Endpoint Number value for this Usb transaction.
In.TraCompletionFlag: Handshake PID for the transaction (if any). Possible values are:
const PID_ACK = 0x4B;
const PID_NAK = 0x5A;
const PID_STALL = 0x78;
const PID_NYET = 0x69;
const PID_ERR = 0x3C;
0xFFFFFFFF – in case no handshake was sent for the transaction.
In.Complete: Flag, signaling if the transaction was complete.
In.XferType: Type of the USB Transfer this transaction belongs to. See Transfer Types for possible values.
In.CtrlDirection: For a Setup transaction represents the direction of the corresponding Control Transfer.
0 = Host-to-device
1 = Device-to-host
in.FirstInXfer: This flag is set when the transaction is first in the transfer it belongs to.
In.LastInXfer: This flag is set when the transaction is last in the transfer it belongs to.
In.Errors: Error code for the transaction, if any error happened.
If the transaction is a Setup transaction, the following input context members provide values of the
corresponding fields of the USB Device Request:
in.ReqType
in.ReqRecipient
in.bRequest
in.wIndex
in.wValue
in.wLength
Page 28 of 107

Advertisement

Table of Contents
loading

Table of Contents