The SGADE Documentation

the SGADE The Socrates Gameboy Advance Development Engine

The SGADE is a development library for the Nintendo Gameboy Advance. It's free for all uses and is distributed without guarantees. For more information visit the SGADE page.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoIntManager.h File Reference

#include "SoSystem.h"
#include "SoDisplay.h"

Go to the source code of this file.

Interrupt types

#define SO_INTERRUPT_TYPE_VBLANK
#define SO_INTERRUPT_TYPE_HBLANK
#define SO_INTERRUPT_TYPE_VTRIGGER
#define SO_INTERRUPT_TYPE_TIMER_0
#define SO_INTERRUPT_TYPE_TIMER_1
#define SO_INTERRUPT_TYPE_TIMER_2
#define SO_INTERRUPT_TYPE_TIMER_3
#define SO_INTERRUPT_TYPE_SERIAL
#define SO_INTERRUPT_TYPE_DMA_0
#define SO_INTERRUPT_TYPE_DMA_1
#define SO_INTERRUPT_TYPE_DMA_2
#define SO_INTERRUPT_TYPE_DMA_3
#define SO_INTERRUPT_TYPE_KEYPAD
#define SO_INTERRUPT_TYPE_CART
#define SO_NUM_INTERRUPT_TYPES

Typedefs

typedef void(* SoInterruptHandler )(void)
 Interrupt handler type definition;.


Functions

void SoIntManagerInitialize (void)
 Initializes the interrupt manager.

void SoIntManagerSetInterruptHandler (u32 a_InterruptType, SoInterruptHandler a_IntHandler)
 Sets an interrupt;.

void SoIntManagerEnableInterruptMaster (void)
 Enables the master-enable setting for the interrupts.

void SoIntManagerDisableInterruptMaster (void)
 Disables the master-enable setting for the interrupts.

void SoIntManagerEnableInterrupt (u32 a_InterruptType)
 Enables a specific interrupt.

void SoIntManagerDisableInterrupt (u32 a_InterruptType)
 Disables a specific interrupt.

void SoIntManagerInterruptHandler (void)
 The interrupt handler.


Variables

SoInterruptHandler g_InterruptHandlers [SO_NUM_INTERRUPT_TYPES]
 Declared here because we need in both the .C and the assembly.


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Date:
Sep 19 2001
See the SoIntManager module for more information.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.