EasyManua.ls Logo

Struck SIS3153 - USB VME Interrupt Status Register

Struck SIS3153
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SIS Documentation
SIS3153
VME interface
Page 17 of 38
3.2.8 USB VME Interrupt Status Register
#define SIS3153USB_VME_INTERRUPT_STATUS 0x12
This register reflects the status of the VME IRQ lines. It can be used to check on the
occurrence of a VME interrupt.
Bit
Function
31
0
..
..
20
0
19
Test: set IRQ
..
Test: IRQ level 2
..
Test: IRQ level 1
16
Test: IRQ level 0
15
..
..
8
0
7
Status VME IRQ 7 on VME BUS
6
Status VME IRQ 6 on VME BUS
5
Status VME IRQ 5 on VME BUS
4
Status VME IRQ 4 on VME BUS
3
Status VME IRQ 3 on VME BUS
2
Status VME IRQ 2 on VME BUS
1
Status VME IRQ 1 on VME BUS
0
0
Note:
To create an IACK cycle you have to execute a D8 VME read cycle with AM=0x4000 from
the address defined by (irq_level<<1)+1.. The read returns the interrupt vector as datum.
Examples:
VME IRQ level = 1 -> address = 3
VME IRQ level = 4 -> address = 9
VME IRQ level = 6 -> address = 0xd