Sendusb2Hskpackets() - LeCroy USB Protocol Suite Reference Manual

Verification script engine
Table of Contents

Advertisement

LeCroy Corporation

8.16 SendUsb2HskPackets()

This function specifies more precise tuning for Handshake packets.
Format:
SendUsb2HskPackets(pid)
Parameters:
pid
Example:
# Send any handshake.
SendUsb2HskPackets();
# Send only STALL handshakes.
SendUsb2HskPackets (PID_STALL);
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_ACK
= 0x4B;
const PID_NAK
= 0x5A;
const PID_STALL
= 0x78;
const PID_NYET
= 0x69;
const PID_ERR
= 0x3C;
Verification Script Engine Reference Manual
Page 51 of 107

Advertisement

Table of Contents
loading

Table of Contents