MATLAB XPC TARGET 4 - DEVICE DRIVERS Guide de l'utilisateur Page 65

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 111
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 64
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
Vue de la page 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 110 111

Commentaires sur ces manuels

Pas de commentaire