13 sendusb2busconditions(), Onditions – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual
Page 50
Teledyne LeCroy
Verification Script Engine Reference Manual
Page 50 of 115
8.13 SendUsb2BusConditions()
This function specifies more precise tuning for USB2 Bus Condition events. Only selected bus condition
events are sent.
Format:
SendUsb2BusConditions (condition)
Parameters:
condition
Specifies bus condition.
This parameter can have one of the following values:
BusCondition Constant
Value
Description
_CHIRP_K
0
Device "K" Chirp to notify host
of Hi Speed capability
_CHIRP_J
1
Device "J" Chirp to notify host
of Hi Speed capability
_FS_K_ON_HS
2
Full Speed "K" signaling on
Hi Speed branch
_FS_J_ON_HS
3
Full Speed "J" signaling on
Hi Speed branch
_SUSPEND
4
Suspend signaling
_RESUME
5
Resume signaling
_SE1
6
SE1 signaling
_SE0
7
SE0 FS or LS signaling
(can be keep-alive for LS)
_VBUS_VOLTAGE_CHANGE 44(0x2C) Change of Vbus Voltage
_ANY
All bus condition events
Example:
# Send only Resume signaling events.
SendUsb2BusConditions(_RESUME);
…
# Send all bus condition events.
SendUsb2BusConditions (_ANY);
# or
SendUsb2BusConditions ();