PAlib: PA_Interrupt.h File Reference

Main Page | Modules | File List | Globals | Search for

# PA_Interrupt.h File Reference

Interrupt system. More...

Go to the source code of this file.

## Defines

#define | REG_VCOUNT _REG16(0x04000006)
#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)

## Variables

volatile u8 | PA_Newframe
volatile u8 | PA_vblok
u32 | PA_CPU
u32 | PA_MaxCPU
u32 | PA_lines
u8 | PA_VBLCount
u8 | PA_nVBLs

## Detailed Description

Interrupt system.

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