|
Stop an interrupt.
The hel_IntrStopHandler function stops the interrupt specified by InterruptType .
- Parameters:
-
| InterruptType | The Interrupt-Type you want to stop. This can be one of the following:
INT_TYPE_VBL
INT_TYPE_HBL
INT_TYPE_VCNT
INT_TYPE_TIM0
INT_TYPE_TIM1
INT_TYPE_TIM2
INT_TYPE_TIM3
INT_TYPE_SIO
INT_TYPE_DMA0
INT_TYPE_DMA1
INT_TYPE_DMA2
INT_TYPE_DMA3
INT_TYPE_KEY
INT_TYPE_CART
|
- Note:
- This is a replacement function for
ham_StopIntHandler , because it seems ham_StopIntHandler stops all interrupts when you stop the VBL.
- Remarks:
- If you use hel_IntrStopHandler instead of
ham_StopIntHandler , you get more detailed information in case you have an interrupt turned on but not set to a function. HAMlib displays a message that says an interrupt is turned on, HEL says which interrupt is on and caused the error. This only applies to the debug library.
|