#include <osif.h>
Data Fields | |
Uint8 | intVectId |
HWI Object number to use for setting up this system event. The valid values for this range between 4 - 15 (both inclusive). | |
Uint8 | sysEvtId [MAX_NUM_SYSEVENTS] |
System Event number(s) for which the interrupts need to be setup. The valid values for this range between 4 - 127 (both inclusive). | |
Uint8 | sysEvtCount |
Number of system events that need to be mapped to a given DSP interrupt number and be serviced by a specified Interrupt Service Routine (ISR). Valid values for this range between 1 - 128. | |
void(* | pCallbackFxn )(void *pCallbackArg) |
The callback function to be triggered when the interrupt occurs, i.e. the ISR. This should not be set to NULL for a successful interrupt setup. | |
void * | pCallbackArg |
The arguments that need to be passed to the ISR. Can be NULL. | |
Uint8 | bEnable |
Flag to indicate whether to enable/disable the interrupt by default. This flag is valid only when setting up combined interrupts, i.e., multiple system events mapped to a single DSP interrupt number. |
This structure can be used by a driver/such in setting up interrupts using the underlying OS (BIOS) constructs without having to know the details of the OS specific calls. All calls to the interrupt management wrapper require a handle to the structure described below.