include/nds/arm9/PA_Interrupt.h File Reference

Interrupt system. More...


Defines

#define ENABLE_VBLANK   8
#define ENABLE_HBLANK   16
#define ENABLE_VCOUNT   32
#define PA_GetVcount()   (REG_VCOUNT&511)
 Get the vertical line count...

Typedefs

typedef void(* funcpointer )(void)

Functions

void interruptfunction (void)
void PA_vblFunc (void)
 The standard PAlib VBL function... This will update the pad, the stylus, the RTC, etc... You could/should use this function if you do your own custom VBL...
void PA_InitVBL (void)
void PA_VBLCountersReset (void)
 Resets the VBL counters.
void PA_VBLCounterStart (u8 nCounter)
 Resets a given counter and starts running.
void PA_VBLCounterPause (u8 nCounter)
 Pauses a given VBL counter.
void PA_VBLCounterUnpause (u8 nCounter)
 Unpauses a given VBL counter.
void PA_VBLFunctionInit (funcpointer VBLFunc)
void PA_VBLFunctionReset (void)

Variables

volatile u8 PA_Newframe
volatile u8 PA_vblok
funcpointer MotionVBL
funcpointer GHPadVBL
funcpointer PaddleVBL
u32 PA_CPU
u32 PA_MaxCPU
u32 PA_lines
u8 PA_VBLCount
u8 PA_nVBLs
s32 PA_VBLCounter [16]
bool PA_VBLCounterOn [16]
funcpointer CustomVBL
volatile s32 PA_TestVBLs


Detailed Description

Interrupt system.

Current working interrupts are VBlank, HBlank, VCount, and Timers


Define Documentation

#define ENABLE_HBLANK   16

#define ENABLE_VBLANK   8

#define ENABLE_VCOUNT   32


Typedef Documentation

typedef void(* funcpointer)(void)


Function Documentation

void interruptfunction ( void   ) 


Variable Documentation

u32 PA_CPU

u32 PA_lines

u32 PA_MaxCPU

volatile u8 PA_Newframe

volatile s32 PA_TestVBLs

s32 PA_VBLCounter[16]

bool PA_VBLCounterOn[16]

volatile u8 PA_vblok


Generated on Sat Jun 13 12:55:13 2009 for PAlib - Programmer's Arsenal by  doxygen 1.5.8