Thank
you very much in advance.
int
bc635IntEnable (const epicsUInt16 signal, const char *parm )
{
……
/*
Connect bc635 interrupts */
if(
(status = devConnectInterruptVME(BC635VEC, isr_bc635,
NULL) ) != OK )
{
errMessage(status,
"BC635 error - unable to connect\n");
return
status;
}
pbc635->vector
= BC635VEC; /* Interrupt vector */
pbc635->level
= BC635LVL; /* Interrupt level */
/*
Enable interrupts on this level */
status
= devEnableInterruptLevel( intVME, BC635LVL );
if(
status )
printf("Enabling
Bancomm interrupts failed\n");
init
= TRUE;
}
……
}
void
isr_bc635
(void *p)
{
/*
First check for periodic interrupt */
if
( ((pbc635->intstat & 0x02) & pbc635->mask) != 0)
{
……
}
/*
let a high priority task deal with the other interrupts */
epicsEventSignal(intSvc);
}
Regards,