Usb2 Packet-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.1.2 USB2 Packet-specific Set of Members

Note: Valid for USB2 packets only, undefined for other events.
The following input context members apply to most of the USB2 packets.
In.Pid: Packet Identifier value for the packet. It is the full PID value, the following constants are defined in the
VS_constants.inc include file and can be used by scripts:
# USB 2.0 PID values
const PID_OUT = 0x87;
const PID_IN
= 0x96;
const PID_SOF = 0xA5;
const PID_SETUP = 0xB4;
const PID_DATA0 = 0xC3;
const PID_DATA1 = 0xD2;
const PID_DATA2 = 0xE1;
const PID_MDATA = 0xF0;
const PID_ACK = 0x4B;
const PID_NAK = 0x5A;
const PID_STALL = 0x78;
const PID_NYET = 0x69;
const PID_PRE = 0x3C;
const PID_ERR = 0x3C;
const PID_SPLIT = 0x1E;
const PID_PING = 0x2D;
const PID_EXT = 0x0F;
in.SubPidPacket: If non-zero, signals that this packet is a protocol extension token as defined by the Link
Power Management ECN. In this case the Pid value should be treated as the SubPid (only LPM currently
defined).
In.CRC5: CRC5 value for packets (not relevant for Data packets).
Page 20 of 107

Advertisement

Table of Contents
loading

Table of Contents