beautypg.com

1 usb2 token packet members, 2 usb2 start of frame packet members, 3 usb2 data packet members – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 22: 4 usb2 split token packet members

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 22 of 115



5.2.1.2.1

USB2 Token Packet Members

in.Addr

: Value of the Address (ADDR) field of the Token packet.

In.Endp

: Value of the Endpoint (ENDP) field of the Token packet.

5.2.1.2.2

USB2 Start Of Frame Packet Members

in.FrmNum

: Frame number for the current USB2 frame.

In.MicroFrmNum

: Microframe number for the current microframe as determined by the Analyzer (would be

zero for Full Speed frames).

5.2.1.2.3

USB2 Data Packet Members

in.Payload

: Bit source of the packet payload. Note: You can extract any necessary information using

GetNBits(), NextNBits(), or PeekNBits() function. (Refer to section 14 in the USBScriptDecodeManual.pdf.)

in.PayloadLength

: Length (in bytes) of the packet payload.

in.CRC16

: CRC16 value for the Data packet.

5.2.1.2.4

USB2 Split Token Packet Members

in.HubAddr

: Value of the Hub Address field, the USB device address of the hub supporting the specified full-

/low-speed device for this full-/low-speed transaction.

in.SC

: Value of the Start/Complete bit for the split token.

in.Port

: Value of the Port field

– the port number of the target hub for which this full-/low-speed transaction is

destined.

in.S:

Value of the Speed bit for the split token.

in.E:

Value of the End bit for the split token.

in.ET:

Value of the Endpoint Type field for the split token.