Update of /cvsroot/openwince/include/h8/h8s2357 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1135/h8/h8s2357 Modified Files: adc.h bus.h dac.h dmac.h dtc.h flash.h ic.h mcu.h ports.h ppg.h sci.h timer.h tpu.h wdt.h Log Message: 2005-06-03 Branislav Petrovsky <bra...@sz...> * h8/h83048/adc.h: Register structures defined as volatile. * h8/h83048/dac.h: Ditto. * h8/h83048/dmac.h: Ditto. * h8/h83048/flash.h: Ditto. * h8/h83048/ic.h: Ditto. * h8/h83048/itu.h: Ditto. * h8/h83048/other.h: Ditto. * h8/h83048/ports.h: Ditto. * h8/h83048/rc.h: Ditto. * h8/h83048/sci.h: Ditto. * h8/h83048/tpc.h: Ditto. * h8/h83048/wdt.h: Ditto. * h8/h8s2357/adc.h: Ditto. * h8/h8s2357/bus.h: Ditto. * h8/h8s2357/dac.h: Ditto. * h8/h8s2357/dmac.h: Ditto. * h8/h8s2357/dtc.h: Ditto. * h8/h8s2357/flash.h: Ditto. * h8/h8s2357/ic.h: Ditto. * h8/h8s2357/mcu.h: Ditto. * h8/h8s2357/ports.h: Ditto. * h8/h8s2357/ppg.h: Ditto. * h8/h8s2357/sci.h: Ditto. * h8/h8s2357/timer.h: Ditto. * h8/h8s2357/tpu.h: Ditto. * h8/h8s2357/wdt.h: Ditto. Index: dtc.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/dtc.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- dtc.h 31 May 2005 11:46:33 -0000 1.1 +++ dtc.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define DTCR_BASE 0xffffff30 #if LANGUAGE == C -typedef struct DTCR_registers { +typedef volatile struct DTCR_registers { uint8_t dtcera; uint8_t dtcerb; uint8_t dtcerc; Index: timer.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/timer.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- timer.h 2 Jun 2005 08:45:32 -0000 1.2 +++ timer.h 3 Jun 2005 10:07:17 -0000 1.3 @@ -51,7 +51,7 @@ #define TIMER_BASE 0xffffffb0 #if LANGUAGE == C -typedef struct TIMER_registers { +typedef volatile struct TIMER_registers { uint8_t tcr0; uint8_t tcr1; uint8_t tcsr0; Index: flash.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/flash.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- flash.h 27 May 2005 12:12:06 -0000 1.1 +++ flash.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define FLASH_BASE 0xffffffc8 #if LANGUAGE == C -typedef struct FLASH_registers { +typedef volatile struct FLASH_registers { uint8_t flmcr1; uint8_t flmcr2; uint8_t ebr1; Index: mcu.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/mcu.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- mcu.h 3 Jun 2005 06:08:43 -0000 1.2 +++ mcu.h 3 Jun 2005 10:07:16 -0000 1.3 @@ -51,7 +51,7 @@ #define MCU_BASE 0xffffff38 #if LANGUAGE == C -typedef struct MCU_registers { +typedef volatile struct MCU_registers { uint8_t sbycr; uint8_t syscr; uint8_t sckcr; Index: ppg.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/ppg.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ppg.h 31 May 2005 06:11:00 -0000 1.1 +++ ppg.h 3 Jun 2005 10:07:17 -0000 1.2 @@ -51,7 +51,7 @@ #define PPG_BASE 0xffffff46 #if LANGUAGE == C -typedef struct PPG_registers { +typedef volatile struct PPG_registers { uint8_t pcr; uint8_t pmr; uint8_t nderh; Index: dac.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/dac.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- dac.h 27 May 2005 12:12:06 -0000 1.1 +++ dac.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define DAC_BASE 0xffffffa4 #if LANGUAGE == C -typedef struct DAC_registers { +typedef volatile struct DAC_registers { uint8_t dadr0; uint8_t dadr1; uint8_t dacr; Index: wdt.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/wdt.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- wdt.h 2 Jun 2005 07:42:01 -0000 1.3 +++ wdt.h 3 Jun 2005 10:07:17 -0000 1.4 @@ -51,7 +51,7 @@ #define WDT_BASE 0xffffffbc #if LANGUAGE == C -typedef struct WDT_registers { +typedef volatile struct WDT_registers { union { union { uint16_t tcsr; Index: dmac.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/dmac.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- dmac.h 1 Jun 2005 10:03:03 -0000 1.2 +++ dmac.h 3 Jun 2005 10:07:16 -0000 1.3 @@ -51,7 +51,7 @@ #define DMAC_BASE 0xfffffee0 #if LANGUAGE == C -typedef struct DMAC_registers { +typedef volatile struct DMAC_registers { uint32_t mar0a; uint16_t ioar0a; uint16_t etcr0a; Index: bus.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/bus.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- bus.h 31 May 2005 06:11:00 -0000 1.1 +++ bus.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define BUS_BASE 0xfffffed0 #if LANGUAGE == C -typedef struct BUS_registers { +typedef volatile struct BUS_registers { uint8_t abwcr; uint8_t astcr; uint8_t wcrh; Index: adc.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/adc.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- adc.h 27 May 2005 09:04:54 -0000 1.1 +++ adc.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define ADC_BASE 0xffffff90 #if LANGUAGE == C -typedef struct ADC_registers { +typedef volatile struct ADC_registers { uint8_t addrah; uint8_t addral; uint8_t addrbh; Index: tpu.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/tpu.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- tpu.h 2 Jun 2005 14:30:07 -0000 1.2 +++ tpu.h 3 Jun 2005 10:07:17 -0000 1.3 @@ -57,7 +57,7 @@ #define TPU_COMMON_BASE 0xffffffc0 #if LANGUAGE == C -typedef struct TPU_registers { +typedef volatile struct TPU_registers { uint8_t tcr; uint8_t tmdr; uint8_t tiorh; /* tior in TPU1, TPU2, TPU4, TPU5 */ @@ -71,7 +71,7 @@ uint16_t tgrd; /* only for TPU0 and TPU3 */ } TPU_registers_t; -typedef struct TPU_common_registers { +typedef volatile struct TPU_common_registers { uint8_t tstr; uint8_t tsyr; } TPU_common_registers_t; Index: sci.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/sci.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- sci.h 27 May 2005 09:04:54 -0000 1.1 +++ sci.h 3 Jun 2005 10:07:17 -0000 1.2 @@ -53,7 +53,7 @@ #define SCI2_BASE 0xffffff88 #if LANGUAGE == C -typedef struct SCI_registers { +typedef volatile struct SCI_registers { uint8_t smr; uint8_t brr; uint8_t scr; Index: ports.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/ports.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ports.h 2 Jun 2005 14:30:07 -0000 1.2 +++ ports.h 3 Jun 2005 10:07:17 -0000 1.3 @@ -52,7 +52,7 @@ #define DDR_BASE 0xfffffeb0 #if LANGUAGE == C -typedef struct PORT_registers { +typedef volatile struct PORT_registers { uint8_t port1; uint8_t port2; uint8_t port3; @@ -91,7 +91,7 @@ uint8_t paodr; } PORT_registers_t; -typedef struct DDR_registers { +typedef volatile struct DDR_registers { uint8_t p1ddr; uint8_t p2ddr; uint8_t p3ddr; Index: ic.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h8s2357/ic.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ic.h 31 May 2005 06:11:00 -0000 1.1 +++ ic.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -52,7 +52,7 @@ #define IC_BASE 0xffffff2c #if LANGUAGE == C -typedef struct IPR_registers { +typedef volatile struct IPR_registers { uint8_t ipra; uint8_t iprb; uint8_t iprc; @@ -66,7 +66,7 @@ uint8_t iprk; } IPR_registers_t; -typedef struct IC_registers { +typedef volatile struct IC_registers { uint16_t iscr; uint8_t ier; uint8_t isr; |