From 58462ab101629624d6158d4db9102ba874629362 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 27 Oct 2004 06:50:00 +0000 Subject: The timer registers are 16-bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5364 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/mcf5249.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'firmware') 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)) -- cgit v1.2.3