wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
interrupts.h File Reference
#include <wut.h>
#include <coreinit/context.h>
Include dependency graph for interrupts.h:

Go to the source code of this file.

Typedefs

typedef enum OSInterruptType OSInterruptType
 
typedef void(* OSUserInterruptHandler) (OSInterruptType type, OSContext *interruptedContext)
 

Enumerations

enum  OSInterruptType {
  OS_INTERRUPT_TYPE_ERROR = 0 ,
  OS_INTERRUPT_TYPE_DSP = 1 ,
  OS_INTERRUPT_TYPE_GPU7 = 2 ,
  OS_INTERRUPT_TYPE_GPIPPC = 3 ,
  OS_INTERRUPT_TYPE_PRIMARYI2C = 4 ,
  OS_INTERRUPT_TYPE_DSPAI = 5 ,
  OS_INTERRUPT_TYPE_DSPAI2 = 6 ,
  OS_INTERRUPT_TYPE_DSPACC = 7 ,
  OS_INTERRUPT_TYPE_DSPDSP = 8 ,
  OS_INTERRUPT_TYPE_IPCPPC0 = 9 ,
  OS_INTERRUPT_TYPE_IPCPPC1 = 10 ,
  OS_INTERRUPT_TYPE_IPCPPC2 = 11 ,
  OS_INTERRUPT_TYPE_AHB = 12
}
 

Functions

BOOL OSEnableInterrupts ()
 
BOOL OSDisableInterrupts ()
 
BOOL OSRestoreInterrupts (BOOL enable)
 
BOOL OSIsInterruptEnabled ()
 
OSUserInterruptHandler __OSSetInterruptHandler (OSInterruptType type, OSUserInterruptHandler handler)
 
void __OSClearAndEnableInterrupt (OSInterruptType type)
 
void __OSDisableInterrupt (OSInterruptType type)