v10.50 v10.55 Alpha v10.54 Alpha v10.53 Alpha v10.52 Alpha v10.51 Alpha
v10.50 v10.55 Alpha v10.54 Alpha v10.53 Alpha v10.52 Alpha v10.51 Alpha

Timers

Protocol timers can be accessed or changed through $USB4Timers, a global variable with the following fields. All times listed are in nanoseconds, and the maximum possible time is 4.295 sec.

Field Name

Possible Values (defaults in bold)

Description

tDisable

10000000

USB4_INFINITE_TIME

10 ms

tTrainingAbort1

1000000000

USB4_INFINITE_TIME

1 sec

tTrainingAbort2

100000000

USB4_INFINITE_TIME

100 ms

tTrainingError

500000

500 us

tBondingMin

40000

40 us

tBondingMax

100000

100 us

Examples

Set $USB4Timers.tDisable = 8000000

Set $USB4Timers.tTrainingAbort1 = 2000000000