User`s guide
your_company_name_boardPreHook
Purpose Run just b efore the interrupt service routine
Syntax int __cdecl your_company_name_boardPreHook(xpcPCIDevice
*pciInfo);
Argument
pciInfo
Pointer to the PciDevice structure.
Description your_company_name_boardPreHook runs just before the model-level
interrupt service routine (either a function-call subsystem or entire
model) is called.
Return This function must check the status register on the board to determine
if the board caused the interrupt. It returns one of the following:
•
XPC_RUN_ISR — If the function determines that the board did cause
the interrupt, the function must perform the required operation to
stop the board from generating the interrupt. The function then
returns this value.
•
XPC_DROP_ISR — If the function determines that the board did not
cause the interrupt, this function returns this value.
See Also xpcPCIDevice
5-17