User`s guide

11 Real-Time Workshop Libraries
11-12
generation on the board. You must match the interrupt level and vector
specified in the Asynchronous Interrupt block dialog to the level and vector
setupontheI/Oboard.
Asynchronous Interrupt Block Parameters
The picture below shows the VxWorks Asynchronous Interrupt block dialog
box:
Parameters associated with the Asynchronous Interrupt block are:
Mode in Simulation mode, the ISRs are executed nonpreemptively. If they
occur simultaneously, signals are executed in the order specified by their
number (1 being the highest priority). Interrupt mapping during simulation
is left to right, top to bottom. That is, the first control input signal maps to
the topmost ISR. The last control input signal maps to the bottom most ISR.
In RTW mode, the Real-Time Workshop uses
vxinterrupt.tlc to realize
asynchronous interrupts in the generated code. The ISR is passed one
argument, the root
SimStruct, and the Simulink definition of the
function-call subsystem is remapped to conform with the information in the
SimStruct.
VME Interrupt Number(s) — Specify the VME interrupt numbers for the
interrupts to be installed. The valid range is 1-7; for example:
[4 2 5]).