|
From: Branislav P. <bra...@us...> - 2005-06-16 13:14:50
|
Update of /cvsroot/openwince/include/h8/h8s2357 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30170/h8/h8s2357 Modified Files: mcu.h Log Message: 2005-06-16 Branislav Petrovsky <bra...@sz...> * h8/h8s2357/mcu.h (SBYCR, SYSCR, SCKCR, MDCR, MSTPCRH, MSTPCRL) (SYSCR2): Added assembly alternatives to C register names defines. Index: mcu.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/mcu.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mcu.h 3 Jun 2005 10:07:16 -0000 1.3 +++ mcu.h 16 Jun 2005 13:14:41 -0000 1.4 @@ -81,6 +81,16 @@ #define MSTPCRL_OFFSET 0x05 #define SYSCR2_OFFSET 0x0a +#if LANGUAGE == ASM +#define SBYCR (MCU_BASE + SBYCR_OFFSET) +#define SYSCR (MCU_BASE + SYSCR_OFFSET) +#define SCKCR (MCU_BASE + SCKCR_OFFSET) +#define MDCR (MCU_BASE + MDCR_OFFSET) +#define MSTPCRH (MCU_BASE + MSTPCRH_OFFSET) +#define MSTPCRL (MCU_BASE + MSTPCRL_OFFSET) +#define SYSCR2 (MCU_BASE + SYSCR2_OFFSET) +#endif /* LANGUAGE == ASM */ + /* SBYCR bits */ #define SBYCR_SSBY bit(7) #define SBYCR_STS_MASK bits(6,4) |