diff options
author | YamaArashi <shadow962@live.com> | 2016-04-30 04:19:00 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-04-30 04:19:00 -0700 |
commit | 1e6eb4f81296eca9c2f1f373c19716939f9b6be6 (patch) | |
tree | ffd770e2b6447120c513cf75ef059d588beff112 /include/gba/io_reg.h | |
parent | 000e34c6f29655aa20034e390e4e2a6c1f7a1258 (diff) |
use compiled libgcc
Diffstat (limited to 'include/gba/io_reg.h')
-rw-r--r-- | include/gba/io_reg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h index e8b3bde47..b156ea801 100644 --- a/include/gba/io_reg.h +++ b/include/gba/io_reg.h @@ -402,6 +402,14 @@ #define DMA_INTR_ENABLE 0x4000 #define DMA_ENABLE 0x8000 +// timer +#define TIMER_1CLK 0x00 +#define TIMER_64CLK 0x01 +#define TIMER_256CLK 0x02 +#define TIMER_1024CLK 0x03 +#define TIMER_INTR_ENABLE 0x40 +#define TIMER_ENABLE 0x80 + // interrupt flags #define INTR_FLAG_VBLANK (1 << 0) #define INTR_FLAG_HBLANK (1 << 1) |