Go to the documentation of this file.
20 #define APCI1564_BOARD_VENDOR_ID 0x15B8
21 #define APCI1564_ADDRESS_RANGE 128
25 #define APCI1564_DIGITAL_IP 0x04
26 #define APCI1564_DIGITAL_IP_INTERRUPT_MODE1 4
27 #define APCI1564_DIGITAL_IP_INTERRUPT_MODE2 8
28 #define APCI1564_DIGITAL_IP_IRQ 16
31 #define APCI1564_DIGITAL_OP 0x18
32 #define APCI1564_DIGITAL_OP_RW 0
33 #define APCI1564_DIGITAL_OP_INTERRUPT 4
34 #define APCI1564_DIGITAL_OP_IRQ 12
38 #define ADDIDATA_AND 1
41 #define APCI1564_DIGITAL_IP_INTERRUPT_STATUS 12
44 #define APCI1564_DIGITAL_OP_INTERRUPT_STATUS 8
47 #define APCI1564_DIGITAL_IP_INTERRUPT_ENABLE 0x4
48 #define APCI1564_DIGITAL_IP_INTERRUPT_DISABLE 0xFFFFFFFB
51 #define APCI1564_DIGITAL_OP_VCC_INTERRUPT_ENABLE 0x1
52 #define APCI1564_DIGITAL_OP_VCC_INTERRUPT_DISABLE 0xFFFFFFFE
53 #define APCI1564_DIGITAL_OP_CC_INTERRUPT_ENABLE 0x2
54 #define APCI1564_DIGITAL_OP_CC_INTERRUPT_DISABLE 0xFFFFFFFD
58 #define ADDIDATA_ENABLE 1
59 #define ADDIDATA_DISABLE 0
63 #define ADDIDATA_TIMER 0
64 #define ADDIDATA_COUNTER 1
65 #define ADDIDATA_WATCHDOG 2
66 #define APCI1564_DIGITAL_OP_WATCHDOG 0x28
67 #define APCI1564_TIMER 0x48
68 #define APCI1564_COUNTER1 0x0
69 #define APCI1564_COUNTER2 0x20
70 #define APCI1564_COUNTER3 0x40
71 #define APCI1564_COUNTER4 0x60
72 #define APCI1564_TCW_SYNC_ENABLEDISABLE 0
73 #define APCI1564_TCW_RELOAD_VALUE 4
74 #define APCI1564_TCW_TIMEBASE 8
75 #define APCI1564_TCW_PROG 12
76 #define APCI1564_TCW_TRIG_STATUS 16
77 #define APCI1564_TCW_IRQ 20
78 #define APCI1564_TCW_WARN_TIMEVAL 24
79 #define APCI1564_TCW_WARN_TIMEBASE 28
118 static void v_APCI1564_Interrupt(
int irq,
void *
d);