summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-27 06:50:00 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-27 06:50:00 +0000
commit58462ab101629624d6158d4db9102ba874629362 (patch)
tree273945544e4d791680706d8fcd119f8d4dbf963e
parentabeb582a9cb347bcf14b265ad1fa5ff5caa5ed6b (diff)
The timer registers are 16-bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5364 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/mcf5249.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/firmware/export/mcf5249.h b/firmware/export/mcf5249.h
index 154644647d..bde737f2c7 100644
--- a/firmware/export/mcf5249.h
+++ b/firmware/export/mcf5249.h
@@ -49,16 +49,16 @@
#define DMR0 (*(unsigned long *)(MBAR + 0x10c))
#define DACR1 (*(unsigned long *)(MBAR + 0x110))
#define DMR1 (*(unsigned long *)(MBAR + 0x114))
-#define TMR0 (*(unsigned long *)(MBAR + 0x140))
-#define TRR0 (*(unsigned long *)(MBAR + 0x144))
-#define TCR0 (*(unsigned long *)(MBAR + 0x148))
-#define TCN0 (*(unsigned long *)(MBAR + 0x14c))
-#define TER0 (*(unsigned long *)(MBAR + 0x150))
-#define TMR1 (*(unsigned long *)(MBAR + 0x180))
-#define TRR1 (*(unsigned long *)(MBAR + 0x184))
-#define TCR1 (*(unsigned long *)(MBAR + 0x188))
-#define TCN1 (*(unsigned long *)(MBAR + 0x18c))
-#define TER1 (*(unsigned long *)(MBAR + 0x190))
+#define TMR0 (*(unsigned short *)(MBAR + 0x140))
+#define TRR0 (*(unsigned short *)(MBAR + 0x144))
+#define TCR0 (*(unsigned short *)(MBAR + 0x148))
+#define TCN0 (*(unsigned short *)(MBAR + 0x14c))
+#define TER0 (*(unsigned short *)(MBAR + 0x150))
+#define TMR1 (*(unsigned short *)(MBAR + 0x180))
+#define TRR1 (*(unsigned short *)(MBAR + 0x184))
+#define TCR1 (*(unsigned short *)(MBAR + 0x188))
+#define TCN1 (*(unsigned short *)(MBAR + 0x18c))
+#define TER1 (*(unsigned short *)(MBAR + 0x190))
#define UMR10 (*(unsigned char *)(MBAR + 0x1c0))
#define UMR20 (*(unsigned char *)(MBAR + 0x1c0))