beautypg.com

9 config = sendinterrupt, Config = sendinterrupt, Wait – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 51

background image

Teledyne LeCroy

PETrainer Scripting Language

46

6.9 Config = SendInterrupt


This command is only valid for Device Emulation and allows initiating MSI or MSI-X interrupt to the
system. It is only supported on PETrainer Z3. In order to be able to use this feature, Z3 has to be booted
in the system with initial configuration space image loaded that contains MSI and/or MSI-X capability
structures. After the system has enabled MSI or MSI-X, this command can be used to send the interrupt
for the specified vector. The Z3 will figure out by itself which interrupt scheme is enabled and generate
the appropriate Memory Write TLP to the address containing data that was configured by the system for
this interrupt vector.


Parameter

Values

Default Comment

Vector

Zero to Maximum
allocated vector

0

If neither MSI nor MSI-X is enabled or
vector doesn’t exist, Z3 will do nothing
upon this command


Example:

Config=SendInterrupt
{
Vector = 1 ; change to the desired vector number
}