Scaler Registers Slr_A And Sclr_B - Read; Number Extract Mask Register - Read/Write; Interrupt Service Vectors - Read/Write - Wiener VM-USB User Manual

Hide thumbs Also See for VM-USB:
Table of Contents

Advertisement

3.4.7 Scaler Registers SLR_A and SCLR_B – Read
Scaler_A Offset = 28 / 0x1C
Scaler_B Offset = 32 / 0x20
Scaler registers SLR_A and SCLR_B store 32-bit data from the two scalers SCLR_A and
SCLR_B respectively. The scaler input (event, NIM1 or NIM2) are defined within the User
Device Selector (see 3.4.5), which also allows resetting or disabling them.

3.4.8 Number Extract Mask Register - Read/Write

Offset = 36 / 0x24
The Number Extract Mask Register stores a logical AND mask that is used to extract a
number from 32-bit VME data. This number is then used to override the block transfer
length, set in bits 24-31 of the first line of the subsequent VME command.

3.4.9 Interrupt Service Vectors - Read/Write

Offset = 40 / 0x28
Offset = 44 / 0x2C
Offset = 48 / 0x30
Offset = 52 / 0x34
Firmware 16000503 and later increased the number of stack from 2 to 8 and allows stacks
execution to be triggered by VME interrupts. If your VM_USB shipped before 3/1/06 you
will need to upgrade the CPLD firmware before taking advantage of the VME interrupts. For
more information on this contact WIENER support.
Any Stack ID can be linked to any combination of IRQ and the IRQ-ID returned by the
requestor module, such that one Stack ID can be shared by many interrupts. Upon detection
of a valid interrupt, VM-USB executes the stack linked to this particular interrupt. The
Interrupt Service Vectors are stored in four registers at VM-USB register addresses 0x28 to
0x34 in arbitrary order and contain two vectors per register. Each vector identifies in its 8
least significant bits the IRQ-ID (to be received from the requestor upon interrupt
acknowledge IACK), in bits 8-10 (starting from bit 0) the IRQ level (1-7), and in bits 12-14
the ID (0-7) of the associated stack. The vector is disregarded whenever the IRQ-ID is set to
zero, e.g., allowing one to use Stacks 0 and 1 as regular and periodic (scaler) stacks,
respectively.
Vector 1:
Bits
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Value
-
Stack ID
-
IRQ
IRQ-ID
Vector 2:
Bits
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Value
-
Stack ID
-
IRQ
IRQ-ID
WIENER, Plein & Baus GmbH
21
www.wiener-d.com

Advertisement

Table of Contents
loading

Related Products for Wiener VM-USB

Table of Contents