2005-06-03 Branislav Petrovsky <brano111@szm.sk>

* 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.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@643 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Branislav Petrovsk 20 years ago
parent 8b657e802f
commit 7a4eda473d

@ -1,3 +1,32 @@
2005-06-03 Branislav Petrovsky <brano111@szm.sk>
* 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.
2005-06-03 Branislav Petrovsky <brano111@szm.sk>
* h8/h8s2357/mcu.h (MSTPCR): Register splitted into MSTPCRH and MSTPCRL.

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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 @@ typedef struct ITU_registers {
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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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 @@ typedef struct IPR_registers {
uint8_t iprk;
} IPR_registers_t;
typedef struct IC_registers {
typedef volatile struct IC_registers {
uint16_t iscr;
uint8_t ier;
uint8_t isr;

@ -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;

@ -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 @@ typedef struct PORT_registers {
uint8_t paodr;
} PORT_registers_t;
typedef struct DDR_registers {
typedef volatile struct DDR_registers {
uint8_t p1ddr;
uint8_t p2ddr;
uint8_t p3ddr;

@ -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;

@ -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;

@ -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;

@ -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 @@ typedef struct TPU_registers {
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;

@ -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;

Loading…
Cancel
Save