My question is about the correct use of the
setInterrupt_Output_Polarity bit and the
setInterrupt_B_Output_Select bits in the Interrupt_Control register:
I used IRQ pin 0 and kInterrupt_Output_PolarityActive_Low as
described in the PCI E Series Register level manual since this board
has also a mite chip.
The settings work fine with an E Series board but I cannot produce any
interrupts on a NI6711 board. Which are the correct settings?
The number of updates is larger than the FIFO size, so that an FIFO interrupt has to be asserted.
My code is a modification of the one found in aoex5.cpp in the DDK
void Generate_Interrupts(tSTC *theSTC)
{
theSTC->Interrupt_B_Enable.setAO_FIFO_Interrupt_Enable(1);
theSTC->Interrupt_B_Enable.flush();
theSTC->Interrupt_Control.setInterrupt_B_Output_Select(0);
theSTC->Interrupt_Control.setInterrupt_Output_Polarity(theSTC->Interrupt_Control.kInterrupt_Output_PolarityActive_Low);
theSTC->Interrupt_Control.flush();
theSTC->Interrupt_Control.setInterrupt_B_Enable(1);
theSTC->Interrupt_Control.flush();
return;
}
Can anybody help? Thanks
Heike