Defines | |
#define | VBL_QUEUE_SIZE 8 |
Typedefs | |
typedef void(* | irq_handler )(void) |
Functions | |
void | init_interrupts () |
void | vsync () |
void | set_timer (long count, irq_handler handler) |
void | clear_timer () |
Variables | |
irq_handler | vblQueue [VBL_QUEUE_SIZE] |
unsigned short int volatile | vblCounter |
|
Size of the VBL queue |
|
Type of an interrupt handler. |
|
Clear timer interrupt |
|
Initialise interrupts. |
|
Set timer interrupt |
|
Wait for the next VBL. |
|
VBL counter. |
|
Array of interrupt handlers to be executed each VBL. |