LeCroy Corporation
Verification Script Engine Reference Manual
Page 31 of 107
5.2.4 Transfer-specific Set of Members
in.XferType
: Type of transfer. Repeats the trace event value for the transfer.
In.Addr
: Device Address value for this USB transfer.
In.Endp
: Device Endpoint Number value for this USB transfer.
In.Completed
: Flag signaling if the transfer was completed.
In.Halted
: Flag signaling if the transfer was halted (usually that means STALL handshake sent).
In.CtrlDirection
: For a Control Transfer, represents the direction:
0 = Host-to-device
1 = Device-to-host
If the transfer is a Control Transfer, 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
in.ClassicOnHigh
: When set, indicates that this transfer was a classic speed transfer that was executed and
captured on a high speed branch (upstream from a high speed hub).
In.OTGHostId
: For USB On-The-Go transfers, indicates if the A-device is acting as the host (value of 0) or the
B-device is acting as the host (value of 1).
In.PayloadLength
: Length (in bytes) of the transfer payload. If zero, transfer does not have any payload.
Care should be taken not to request payload for the transfers that moved large amounts of data.
In.Payload
: Bit source of the transfer payload. Note: You can extract any necessary information using the
GetNBits(), NextNBits()
, or
PeekNBits()
function.
Note:
Refer to the section
Script decoded fields retrieving functions
for information about getting the script
decoded values at the Transfer level.