Functions | |
Uint32 | Interrupt_add (IntSetup *myIntSetup) |
Uint32 | Interrupt_delete (IntSetup *myIntSetup) |
Uint32 | Interrupt_enable (IntSetup *myIntSetup) |
Uint32 | Interrupt_disable (IntSetup *myIntSetup) |
Uint32 Interrupt_add | ( | IntSetup * | myIntSetup | ) |
Interrupt_add
Validates the interrupt setup parameters and sets up the interrupt using BIOS. Uses the Hardware Interrupt Selector (HWI) selector module of BIOS if a single system event is being mapped directly to a DSP interrupt vector. Alternatively, this function chooses the Event Combiner Manager (ECM) module of BIOS for setting up interrupts, if more than one system event needs to be combined into a DSP interrupt vector.
[in] | myIntSetup | Pointer to the Interrupt Setup object filled in by the user. |
1 | - Invalid Interrupt Setup Parameters 0 - Success |
Uint32 Interrupt_delete | ( | IntSetup * | myIntSetup | ) |
Interrupt_delete
Currently just a placeholder. There is no known way to delete interrupts setup already, other than remapping the same system events to a different DSP interrupt number line.
[in] | myIntSetup | Pointer to the Interrupt Setup object filled in by the user. |
0 | - Success (Always returns success) |
Uint32 Interrupt_disable | ( | IntSetup * | myIntSetup | ) |
Interrupt_disable
Validates the interrupt setup parameters and disables the interrupt using BIOS defined constructs.
[in] | myIntSetup | Pointer to the Interrupt Setup object filled in by the user. |
1 | - Invalid Interrupt Setup Parameters 0 - Success |
Uint32 Interrupt_enable | ( | IntSetup * | myIntSetup | ) |
Interrupt_enable
Validates the interrupt setup parameters and enables the interrupt using BIOS defined constructs.
[in] | myIntSetup | Pointer to the Interrupt Setup object filled in by the user. |
1 | - Invalid Interrupt Setup Parameters 0 - Success |