Main Page | Modules | Related Pages

Interrupt Functions

Functions


Function Documentation

u8 hel_IntrIsEnabled u32  InterruptType  ) 
 

Check if an interrupt is enabled or disabled.

Parameters:
InterruptType : Interrupt-Type you want to check. 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
Returns:
This function returns true when the interrupt specified by InterruptType is enabled, otherwise it returns false.
Use this function to check if the interrupt specified by InterruptType is whether enabled or disabled.

void hel_IntrStopAll void   ) 
 

Stop all interrupts.

This function stops all enabled/started interrupts.

See also:
hel_IntrStopHandler()

void hel_IntrStopHandler u32  InterruptType  ) 
 

Stop an interrupt.

Parameters:
InterruptType : Interrupt-Type you want to check. 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
Use this function stop the interrupt specified by InterruptType.

Note:
This is a replacement function for ham_StopIntHandler(), because it seems that ham_StopIntHandler() stops all interrupts when you stop the VBL one.


Generated on Sun May 2 17:57:33 2004 by DoxyGen 1.3.6