beautypg.com

15 sendusb2datapackets (), Ackets – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 52

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 52 of 115



8.15 SendUsb2DataPackets ()


This function specifies more precise tuning for Data packets.

Format:

SendUsb2DataPackets(pid)


Parameters:

pid

Specifies that only Data packets with the specified data PID are sent.
The value _ANY means any data packet is accepted.
The follofwing PID values apply:

const PID_DATA0

= 0xC3;

const PID_DATA1

= 0xD2;

const PID_DATA2

= 0xE1;

const PID_MDATA

= 0xF0;

Example:

# Send any Data packet.

SendUsb2DataPackets();

# Send only MDATA packets.

SendUsb2DataPackets(PID_MDATA);