Teledyne-lecroy Verification Script Engine (VSE) Manual Uživatelský manuál Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 115
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
Teledyne LeCroy Verification Script Engine Reference Manual
Page 53 of 115
8.16 SendUsb2HskPackets()
This function specifies more precise tuning for Handshake packets.
Format: SendUsb2HskPackets(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_ACK = 0x4B;
const PID_NAK = 0x5A;
const PID_STALL = 0x78;
const PID_NYET = 0x69;
const PID_ERR = 0x3C;
Example:
# Send any handshake.
SendUsb2HskPackets();
# Send only STALL handshakes.
SendUsb2HskPackets (PID_STALL);
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 114 115

Komentáře k této Příručce

Žádné komentáře