Enabling interrupts on the NI 6602 pci counter

Starting from the comedi driver, I have made some progress
implementing what NI calls the "Reciprocal Frequency Measurement"
method.

Now I would like to use PCI interrupts to tell the driver when a
measurement is completed. How can I enable interrupts on the ni660x?

I have tried setting the bits in the G0InterruptEnable and G0DMAConfig
registers, but the card triggers no interrupts. I have a number of
questions about interrupts on this card:

How does the G0InterruptAcknowledge register work? It is listed on
page 3-1 of the register-level manual, but it has no bit field
description.

Does the mite chip play a role in enabling PCI interrupts? If so, how?

I see lots of code for the mite chip in comedi's mite.c, but I cannot
find a register level manual for that chip from NI.

Thanks,

Richard

Received on 2004-01-06Z19:16:19