|
From: Branislav P. <bra...@us...> - 2005-06-03 10:07:29
|
Update of /cvsroot/openwince/include/h8/h83048 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1135/h8/h83048 Modified Files: adc.h dac.h dmac.h flash.h ic.h itu.h other.h ports.h rc.h sci.h tpc.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: flash.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/flash.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- flash.h 1 Jun 2005 14:15:40 -0000 1.1 +++ flash.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define FLASH_BASE 0xffff40 #if LANGUAGE == C -typedef struct FLASH_registers { +typedef volatile struct FLASH_registers { uint8_t flmcr; uint8_t __reserved1; uint8_t ebr1; Index: tpc.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/tpc.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tpc.h 2 Jun 2005 07:47:50 -0000 1.1 +++ tpc.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define TPC_BASE 0xffffa0 #if LANGUAGE == C -typedef struct TPC_registers { +typedef volatile struct TPC_registers { uint8_t tpmr; uint8_t tpcr; uint8_t nderb; Index: dac.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/dac.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- dac.h 1 Jun 2005 14:15:40 -0000 1.1 +++ dac.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define DAC_BASE 0xffffdc #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/h83048/wdt.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- wdt.h 2 Jun 2005 07:47:50 -0000 1.1 +++ wdt.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define WDT_BASE 0xffffa8 #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/h83048/dmac.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- dmac.h 1 Jun 2005 14:15:40 -0000 1.1 +++ dmac.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define DMAC_BASE 0xffff20 #if LANGUAGE == C -typedef struct DMAC_registers { +typedef volatile struct DMAC_registers { uint32_t mar0a; uint16_t etcr0a; uint8_t ioar0a; Index: other.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/other.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- other.h 1 Jun 2005 14:15:40 -0000 1.1 +++ other.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -52,14 +52,14 @@ #define OTHER2_BASE 0xffffec #if LANGUAGE == C -typedef struct OTHER1_registers { +typedef volatile struct OTHER1_registers { uint8_t dastcr; uint8_t divcr; uint8_t mstcr; uint8_t cscr; } OTHER1_registers_t; -typedef struct OTHER2_registers { +typedef volatile struct OTHER2_registers { uint8_t abwcr; uint8_t astcr; uint8_t wcr; Index: adc.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/adc.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- adc.h 1 Jun 2005 14:15:40 -0000 1.1 +++ adc.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define ADC_BASE 0xffffe0 #if LANGUAGE == C -typedef struct ADC_registers { +typedef volatile struct ADC_registers { uint8_t addrah; uint8_t addral; uint8_t addrbh; Index: rc.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/rc.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- rc.h 2 Jun 2005 07:47:50 -0000 1.1 +++ rc.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define RC_BASE 0xffffac #if LANGUAGE == C -typedef struct RC_registers { +typedef volatile struct RC_registers { uint8_t rfshcr; uint8_t rtmcsr; uint8_t rtcnt; Index: sci.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/sci.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- sci.h 1 Jun 2005 14:15:40 -0000 1.1 +++ sci.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -52,7 +52,7 @@ #define SCI1_BASE 0xffffb8 #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/h83048/ports.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ports.h 1 Jun 2005 14:15:40 -0000 1.1 +++ ports.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define PORT_BASE 0xffffc0 #if LANGUAGE == C -typedef struct PORT_registers { +typedef volatile struct PORT_registers { uint8_t p1ddr; uint8_t p2ddr; uint8_t p1dr; Index: ic.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/ic.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ic.h 1 Jun 2005 14:15:40 -0000 1.1 +++ ic.h 3 Jun 2005 10:07:16 -0000 1.2 @@ -51,7 +51,7 @@ #define IC_BASE 0xfffff4 #if LANGUAGE == C -typedef struct IC_registers { +typedef volatile struct IC_registers { uint8_t iscr; uint8_t ier; uint8_t isr; Index: itu.h =================================================================== RCS file: /cvsroot/openwince/include/h8/h83048/itu.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- itu.h 2 Jun 2005 06:34:20 -0000 1.2 +++ itu.h 3 Jun 2005 10:07:16 -0000 1.3 @@ -57,7 +57,7 @@ #define ITU4_BASE 0xffff92 #if LANGUAGE == C -typedef struct ITU_registers { +typedef volatile struct ITU_registers { uint8_t tcr; uint8_t tior; uint8_t tier; @@ -74,14 +74,14 @@ uint8_t brbl; /* only ITU channel 3 and 4 */ } ITU_registers_t; -typedef struct ITU_common1_registers { +typedef volatile struct ITU_common1_registers { uint8_t tstr; uint8_t tsnc; uint8_t tmdr; uint8_t tfcr; } ITU_common1_registers_t; -typedef struct ITU_common2_registers { +typedef volatile struct ITU_common2_registers { uint8_t toer; uint8_t tocr; } ITU_common2_registers_t; |