blob: 2b9032979161e43aaf6e2dd37b97769ec5546d5f [file] [log] [blame] [edit]
/******************************************************************************
* DISCLAIMER
*
* This software is supplied by Renesas Technology Corp. and is only
* intended for use with Renesas products. No other uses are authorized.
*
* This software is owned by Renesas Technology Corp. and is protected under
* all applicable laws, including copyright laws.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES
* REGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY,
* INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY
* DISCLAIMED.
*
* TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
* TECHNOLOGY CORP. NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
* FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
* FOR ANY REASON RELATED TO THE THIS SOFTWARE, EVEN IF RENESAS OR ITS
* AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*
* Renesas reserves the right, without notice, to make changes to this
* software and to discontinue the availability of this software.
* By using this software, you agree to the additional terms and
* conditions found by accessing the following link:
* http://www.renesas.com/disclaimer
********************************************************************************
* Copyright (C) 2009. Renesas Technology Corp., All Rights Reserved.
*""FILE COMMENT""*********** Technical reference data **************************
* System Name : SH7216 Sample Program
* File Name : iodefine.h
* Abstract : SH7216 IO register definition
* Version : 0.05.00
* Device : SH7216
* Tool-Chain : High-performance Embedded Workshop (Ver.4.05.01).
* : C/C++ compiler package for the SuperH RISC engine family
* : (Ver.9.03 Release00).
* OS : None
* H/W Platform: R0K572167 (CPU board)
* Description :
********************************************************************************
* History : Mar.10,2009 Ver.0.05.00
*""FILE COMMENT END""**********************************************************/
#ifndef _IODEFINE_H_
#define _IODEFINE_H_
struct st_cpg { /* struct CPG */
union { /* FRQCR *///FFFE0010
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 5; /* */
unsigned short STC : 3; /* STC */
unsigned short : 1; /* */
unsigned short IFC : 3; /* IFC */
unsigned short : 1; /* */
unsigned short _PFC : 3; /* PFC */
} BIT; /* */
} FRQCR; /* */
char wk1[10]; /* *///FFFE001C-FFFE0010-2
union { /* OSCCR *///FFFE001C
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char OSCSTOP : 1; /* OSCSTOP */
unsigned char : 1; /* */
unsigned char OSCERS : 1; /* OSCERS */
} BIT; /* */
} OSCCR; /* */
char wk2[1011]; /* *///FFFE0410-FFFE001C-1
union { /* MCLKCR *///FFFE0410
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char : 4; /* */
unsigned char MSDIVS : 2; /* MSDIVS */
} BIT; /* */
} MCLKCR; /* */
char wk3[3]; /* *///FFFE0414-FFFE0410-1
union { /* ACLKCR *///FFFE0414
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char : 4; /* */
unsigned char ASDIVS : 2; /* ASDIVS */
} BIT; /* */
} ACLKCR; /* */
}; /* */
struct st_intc { /* struct INTC */
union { /* ICR0 *///FFFE0800
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short NMIL : 1; /* NMIL */
unsigned short : 6; /* */
unsigned short NMIE : 1; /* NMIE */
} BIT; /* */
} ICR0; /* */
union { /* ICR1 *///FFFE0802
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short IRQ7S : 2; /* IRQ7S */
unsigned short IRQ6S : 2; /* IRQ6S */
unsigned short IRQ5S : 2; /* IRQ5S */
unsigned short IRQ4S : 2; /* IRQ4S */
unsigned short IRQ3S : 2; /* IRQ3S */
unsigned short IRQ2S : 2; /* IRQ2S */
unsigned short IRQ1S : 2; /* IRQ1S */
unsigned short IRQ0S : 2; /* IRQ0S */
} BIT; /* */
} ICR1; /* */
char wk1[2]; /* *///FFFE0806-FFFE0802-2
union { /* IRQRR *///FFFE0806
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 8; /* */
unsigned short IRQ7F : 1; /* IRQ7F */
unsigned short IRQ6F : 1; /* IRQ6F */
unsigned short IRQ5F : 1; /* IRQ5F */
unsigned short IRQ4F : 1; /* IRQ4F */
unsigned short IRQ3F : 1; /* IRQ3F */
unsigned short IRQ2F : 1; /* IRQ2F */
unsigned short IRQ1F : 1; /* IRQ1F */
unsigned short IRQ0F : 1; /* IRQ0F */
} BIT; /* */
} IRQRR; /* */
char wk2[4]; /* *///FFFE080C-FFFE0806-2
union { /* IBCR *///FFFE080C
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short E15 : 1; /* E15 */
unsigned short E14 : 1; /* E14 */
unsigned short E13 : 1; /* E13 */
unsigned short E12 : 1; /* E12 */
unsigned short E11 : 1; /* E11 */
unsigned short E10 : 1; /* E10 */
unsigned short E9 : 1; /* E9 */
unsigned short E8 : 1; /* E8 */
unsigned short E7 : 1; /* E7 */
unsigned short E6 : 1; /* E6 */
unsigned short E5 : 1; /* E5 */
unsigned short E4 : 1; /* E4 */
unsigned short E3 : 1; /* E3 */
unsigned short E2 : 1; /* E2 */
unsigned short E1 : 1; /* E1 */
} BIT; /* */
} IBCR; /* */
union { /* IBNR *///FFFE080E
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short BE : 2; /* BE */
unsigned short BOVE : 1; /* BOVE */
unsigned short : 9; /* */
unsigned short BN : 4; /* BN */
} BIT; /* */
} IBNR; /* */
char wk3[8]; /* *///FFFE0818-FFFE080C-4
union { /* IPR01 *///FFFE0818
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _IRQ0 : 4; /* IRQ0 */
unsigned short _IRQ1 : 4; /* IRQ1 */
unsigned short _IRQ2 : 4; /* IRQ2 */
unsigned short _IRQ3 : 4; /* IRQ3 */
} BIT; /* */
} IPR01; /* */
union { /* IPR02 *///FFFE081A
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _IRQ4 : 4; /* IRQ4 */
unsigned short _IRQ5 : 4; /* IRQ5 */
unsigned short _IRQ6 : 4; /* IRQ6 */
unsigned short _IRQ7 : 4; /* IRQ7 */
} BIT; /* */
} IPR02; /* */
char wk4[4]; /* *///FFFE0820-FFFE081A-2
union { /* IPR05 *///FFFE0820
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 4; /* */
unsigned short : 4; /* */
unsigned short _AD0 : 4; /* AD0 */
unsigned short _AD1 : 4; /* AD1 */
} BIT; /* */
} IPR05; /* */
char wk5[990]; /* *///FFFE0C00-FFFE0820-2
union { /* IPR06 *///FFFE0C00
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _DMAC0 : 4; /* DMAC0 */
unsigned short _DMAC1 : 4; /* DMAC1 */
unsigned short _DMAC2 : 4; /* DMAC2 */
unsigned short _DMAC3 : 4; /* DMAC3 */
} BIT; /* */
} IPR06; /* */
union { /* IPR07 *///FFFE0C02
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _DMAC4 : 4; /* DMAC4 */
unsigned short _DMAC5 : 4; /* DMAC5 */
unsigned short _DMAC6 : 4; /* DMAC6 */
unsigned short _DMAC7 : 4; /* DMAC7 */
} BIT; /* */
} IPR07; /* */
union { /* IPR08 *///FFFE0C04
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _CMT0 : 4; /* CMT0 */
unsigned short _CMT1 : 4; /* CMT1 */
unsigned short _BSC : 4; /* BSC */
unsigned short _WDT : 4; /* WDT */
} BIT; /* */
} IPR08; /* */
union { /* IPR09 *///FFFE0C06
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _MTU20G : 4; /* MTU20 TGI */
unsigned short _MTU20C : 4; /* MTU20 TCI */
unsigned short _MTU21G : 4; /* MTU21 TGI */
unsigned short _MTU21C : 4; /* MTU21 TCI */
} BIT; /* */
} IPR09; /* */
union { /* IPR10 *///FFFE0C08
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _MTU22G : 4; /* MTU22 TGI */
unsigned short _MTU22C : 4; /* MTU22 TCI */
unsigned short _MTU23G : 4; /* MTU23 TGI */
unsigned short _MTU23C : 4; /* MTU23 TCI */
} BIT; /* */
} IPR10; /* */
union { /* IPR11 *///FFFE0C0A
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _MTU24G : 4; /* MTU24 TGI */
unsigned short _MTU24C : 4; /* MTU24 TCI */
unsigned short _MTU25 : 4; /* MTU25 */
unsigned short _POE2 : 4; /* POE2 */
} BIT; /* */
} IPR11; /* */
union { /* IPR12 *///FFFE0C0C
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _MTU2S3G : 4; /* MTU2S3 TGI*/
unsigned short _MTU2S3C : 4; /* MTU2S3 TCI*/
unsigned short _MTU2S4G : 4; /* MTU2S4 TGI*/
unsigned short _MTU2S4C : 4; /* MTU2S4 TCI*/
} BIT; /* */
} IPR12; /* */
union { /* IPR13 *///FFFE0C0E
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _MTU2S5 : 4; /* MTU2S5 */
unsigned short _POE2 : 4; /* POE2 */
unsigned short _IIC3 : 4; /* IIC3 */
} BIT; /* */
} IPR13; /* */
union { /* IPR14 *///FFFE0C10
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 4; /* */
unsigned short : 4; /* */
unsigned short : 4; /* */
unsigned short _SCIF3 : 4; /* SCIF3 */
} BIT; /* */
} IPR14; /* */
union { /* IPR15 *///FFFE0C12
unsigned short WORD; /* Word Access */
} IPR15; /* */
union { /* IPR16 *///FFFE0C14
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _SCI0 : 4; /* SCI0 */
unsigned short _SCI1 : 4; /* SCI1 */
unsigned short _SCI2 : 4; /* SCI2 */
} BIT; /* */
} IPR16; /* */
union { /* IPR17 *///FFFE0C16
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _RSPI : 4; /* RSPI */
unsigned short _SCI4 : 4; /* SCI4 */
} BIT; /* */
} IPR17; /* */
union { /* IPR18 *///FFFE0C18
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _USB : 4; /* USB */
unsigned short _RCAN : 4; /* RCAN */
unsigned short _EP1FULL : 4; /* EP1FULL */
unsigned short _EP2EMPTY : 4; /* EP2EMPTY */
} BIT; /* */
} IPR18; /* */
union { /* IPR19 *///FFFE0C1A
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _EP4FULL : 4; /* EP4FULL */
unsigned short _EP5EMPTY : 4; /* EP5EMPTY */
unsigned short _EDMAC : 4; /* E-DMAC */
} BIT; /* */
} IPR19; /* */
char wk6[52]; /* *///FFFE0C50-FFFE0C1A-2
union { /* USDTENDRR *///FFFE0C50
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short _RXF0 : 1; /* RXF0 */
unsigned short _TXF0 : 1; /* TXF0 */
unsigned short _RXF1 : 1; /* RXF1 */
unsigned short _TXF1 : 1; /* TXF1 */
} BIT; /* */
} USDTENDRR; /* */
}; /* */
struct st_ubc { /* struct UBC */
union { /* BRCR *///FFFC04C0
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int :14; /* */
unsigned int CKS : 2; /* CKS */
unsigned int SCMFC0 : 1; /* SCMFC0 */
unsigned int SCMFC1 : 1; /* SCMFC1 */
unsigned int SCMFC2 : 1; /* SCMFC2 */
unsigned int SCMFC3 : 1; /* SCMFC3 */
unsigned int SCMFD0 : 1; /* SCMFD0 */
unsigned int SCMFD1 : 1; /* SCMFD1 */
unsigned int SCMFD2 : 1; /* SCMFD2 */
unsigned int SCMFD3 : 1; /* SCMFD3 */
unsigned int PCB3 : 1; /* PCB3 */
unsigned int PCB2 : 1; /* PCB2 */
unsigned int PCB1 : 1; /* PCB1 */
unsigned int PCB0 : 1; /* PCB0 */
} BIT; /* */
} BRCR; /* */
}; /* */
struct st_ubc0 { /* struct UBC0/1*///FFFC0400/FFFC0410
void *BAR; /* BAR */
unsigned int BAMR; /* BAMR */
char wk1[152]; /* *///FFFC04A0-FFFC0400-8
union { /* BBR *///FFFC04A0
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 2; /* */
unsigned short UBID : 1; /* UBID */
unsigned short : 2; /* */
unsigned short CP : 3; /* CP */
unsigned short CD : 2; /* CD */
unsigned short ID : 2; /* ID */
unsigned short RW : 2; /* RW */
unsigned short SZ : 2; /* SZ */
} BIT; /* */
} BBR; /* */
}; /* */
struct st_ubc2 { /* struct UBC2/3*///FFFC0420/FFFC0430
void *BAR; /* BAR */
unsigned int BAMR; /* BAMR */
char wk1[124]; /* *///FFFC04A4-FFFC0424-4
union { /* BBR *///FFFC04A4
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 2; /* */
unsigned short UBID : 1; /* UBID */
unsigned short : 2; /* */
unsigned short CP : 3; /* CP */
unsigned short CD : 2; /* CD */
unsigned short ID : 2; /* ID */
unsigned short RW : 2; /* RW */
unsigned short SZ : 2; /* SZ */
} BIT; /* */
} BBR; /* */
}; /* */
struct st_dtc { /* struct DTC */
union { /* DTCERA *///FFFE6000
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned char IRQ0 : 1; /* IRQ0 */
unsigned char IRQ1 : 1; /* IRQ1 */
unsigned char IRQ2 : 1; /* IRQ2 */
unsigned char IRQ3 : 1; /* IRQ3 */
unsigned char IRQ4 : 1; /* IRQ4 */
unsigned char IRQ5 : 1; /* IRQ5 */
unsigned char IRQ6 : 1; /* IRQ6 */
unsigned char IRQ7 : 1; /* IRQ7 */
unsigned char ADI0 : 1; /* ADI0 */
unsigned char ADI1 : 1; /* ADI1 */
unsigned char : 1; /* */
unsigned char RM0 : 1; /* RM0(RCAN) */
unsigned char CMI0 : 1; /* CMI0 */
unsigned char CMI1 : 1; /* CMI1 */
unsigned char USBRXI0 : 1; /* USBRXI0 *///USB EP1FULL
unsigned char USBTXI0 : 1; /* USBTXI0 *///USB EP2EMPTY
} BIT; /* */
} DTCERA; /* */
union { /* DTCERB *///FFFE6002
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned char TGIA0 : 1; /* TGIA0 *///MTU2
unsigned char TGIB0 : 1; /* TGIB0 */
unsigned char TGIC0 : 1; /* TGIC0 */
unsigned char TGID0 : 1; /* TGID0 */
unsigned char TGIA1 : 1; /* TGIA1 */
unsigned char TGIB1 : 1; /* TGIB1 */
unsigned char TGIA2 : 1; /* TGIA2 */
unsigned char TGIB2 : 1; /* TGIB2 */
unsigned char TGIA3 : 1; /* TGIA3 */
unsigned char TGIB3 : 1; /* TGIB3 */
unsigned char TGIC3 : 1; /* TGIC3 */
unsigned char TGID3 : 1; /* TGID3 */
unsigned char TGIA4 : 1; /* TGIA4 */
unsigned char TGIB4 : 1; /* TGIB4 */
unsigned char TGIC4 : 1; /* TGIC4 */
unsigned char TGID4 : 1; /* TGID4 */
} BIT; /* */
} DTCERB; /* */
union { /* DTCERC *///FFFE6004
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned char TCIV4 : 1; /* TCIV4 */
unsigned char TGIU5 : 1; /* TGIU5 */
unsigned char TGIV5 : 1; /* TGIV5 */
unsigned char TGIW5 : 1; /* TGIW5 *///MTU2
unsigned char : 4; /* */
unsigned char : 4; /* */
unsigned char TGIA3S : 1; /* TGIA3S *///MTU2S
unsigned char TGIB3S : 1; /* TGIB3S */
unsigned char TGIC3S : 1; /* TGIC3S */
unsigned char TGID3S : 1; /* TGID3S */
} BIT; /* */
} DTCERC; /* */
union { /* DTCERD *///FFFE6006
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned char TGIA4S : 1; /* TGIA4S */
unsigned char TGIB4S : 1; /* TGIB4S */
unsigned char TGIC4S : 1; /* TGIC4S */
unsigned char TGID4S : 1; /* TGID4S */
unsigned char TCIV4S : 1; /* TCIV4S */
unsigned char TGIU5S : 1; /* TGIU5S */
unsigned char TGIV5S : 1; /* TGIV5S */
unsigned char TGIW5S : 1; /* TGIW5S *///MTU2S
unsigned char RXI : 1; /* RXI *///IIC3
unsigned char TXI : 1; /* TXI *///IIC3
unsigned char SPRXI : 1; /* SPRXI *///RSPI
unsigned char SPTXI : 1; /* SPTXI *///RSPI
unsigned char RXI4 : 1; /* RXI4 *///SCI4
unsigned char TXI4 : 1; /* TXI4 *///SCI4
} BIT; /* */
} DTCERD; /* */
union { /* DTCERE *///FFFE6008
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned char RXI0 : 1; /* RXI0 *///SCI0
unsigned char TXI0 : 1; /* TXI0 *///SCI0
unsigned char RXI1 : 1; /* RXI1 *///SCI1
unsigned char TXI1 : 1; /* TXI1 *///SCI1
unsigned char RXI2 : 1; /* RXI2 *///SCI2
unsigned char TXI2 : 1; /* TXI2 *///SCI2
unsigned char RXI3 : 1; /* RXIF3 *///SCIF3
unsigned char TXI3 : 1; /* TXIF3 *///SCIF3
unsigned char USBRXI1 : 1; /* USBRXI1 *///USB EP4FULL
unsigned char USBTXI1 : 1; /* USBTXI1 *///USB EP5EMPTY
} BIT; /* */
} DTCERE; /* */
char wk1[6]; /* *///FFFE6010-FFFE6008-2
union { /* DTCCR *///FFFE6010
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 3; /* */
unsigned char RRS : 1; /* RRS */
unsigned char RCHNE : 1; /* RCHNE */
unsigned char : 2; /* */
unsigned char ERR : 1; /* ERR */
} BIT; /* */
} DTCCR; /* */
char wk2[3]; /* *///FFFE6014-FFFE6010-1
unsigned int DTCVBR; /* DTCVBR *///FFFE6014
}; /* */
struct st_bsc { /* struct BSC */
union { /* CMNCR *///FFFC0000
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int :20; /* */
unsigned int BLOCK : 1; /* BLOCK */
unsigned int DPRTY : 2; /* DPRTY */
unsigned int DMAIW : 3; /* DMAIW */
unsigned int DMAIWA : 1; /* DMAIWA */
unsigned int : 2; /* */
unsigned int HIZCKIO : 1; /* HIZCKIO */
unsigned int HIZMEM : 1; /* HIZMEM */
unsigned int HIZCNT : 1; /* HIZCNT */
} BIT; /* */
} CMNCR; /* */
union { /* CS0BCR *///FFFC0004
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS0BCR; /* */
union { /* CS1BCR *///FFFC0008
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS1BCR; /* */
union { /* CS2BCR *///FFFC000C
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS2BCR; /* */
union { /* CS3BCR *///FFFC0010
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS3BCR; /* */
union { /* CS4BCR *///FFFC0014
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS4BCR; /* */
union { /* CS5BCR *///FFFC0018
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS5BCR; /* */
union { /* CS6BCR *///FFFC001C
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS6BCR; /* */
union { /* CS7BCR *///FFFC0020
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int : 1; /* */
unsigned int IWW : 3; /* IWW */
unsigned int IWRWD : 3; /* IWRWD */
unsigned int IWRWS : 3; /* IWRWS */
unsigned int IWRRD : 3; /* IWRRD */
unsigned int IWRRS : 3; /* IWRRS */
unsigned int : 1; /* */
unsigned int TYPE : 3; /* TYPE */
unsigned int ENDIAN : 1; /* ENDIAN */
unsigned int BSZ : 2; /* BSZ */
} BIT; /* */
} CS7BCR; /* */
char wk1[4]; /* *///FFFC0028-FFFC0020-4
unsigned int CS0WCR; /* CS0WCR *///FFFC0028
unsigned int CS1WCR; /* CS1WCR *///FFFC002C
unsigned int CS2WCR; /* CS2WCR *///FFFC0030
unsigned int CS3WCR; /* CS3WCR *///FFFC0034
unsigned int CS4WCR; /* CS4WCR *///FFFC0038
unsigned int CS5WCR; /* CS5WCR *///FFFC003C
unsigned int CS6WCR; /* CS6WCR *///FFFC0040
unsigned int CS7WCR; /* CS7WCR *///FFFC0044
char wk2[4]; /* *///FFFC004C-FFFC0044-4
union { /* SDCR *///FFFC004C
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int :11; /* */
unsigned int A2ROW : 2; /* A2ROW */
unsigned int : 1; /* */
unsigned int A2COL : 2; /* A2COL */
unsigned int : 2; /* */
unsigned int DEEP : 1; /* DEEP */
unsigned int SLOW : 1; /* SLOW */
unsigned int RFSH : 1; /* RFSH */
unsigned int RMODE : 1; /* RMODE */
unsigned int PDOWN : 1; /* PDOWN */
unsigned int BACTV : 1; /* BACTV */
unsigned int : 3; /* */
unsigned int A3ROW : 2; /* A3ROW */
unsigned int : 1; /* */
unsigned int A3COL : 2; /* A3COL */
} BIT; /* */
} SDCR; /* */
union { /* RTCSR *///FFFC0050
unsigned int LONG; /* Long Access */
struct { /* Bit Access */
unsigned int :24; /* */
unsigned int CMF : 1; /* CMF */
unsigned int CMIE : 1; /* CMIE */
unsigned int CKS : 3; /* CKS */
unsigned int RRC : 3; /* RRC */
} BIT; /* */
} RTCSR; /* */
unsigned int RTCNT; /* RTCNT *///FFFC0054
unsigned int RTCOR; /* RTCOR *///FFFC0058
char wk3[146366]; /* *///FFFE3C1A-FFFC0058-4
union { /* BSCEHR *///FFFE3C1A
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short DTLOCK : 1; /* DTLOCK */
unsigned short : 3; /* */
unsigned short DTBST : 1; /* DTBST */
unsigned short DTSA : 1; /* DTSA */
unsigned short : 1; /* */
unsigned short DTPR : 1; /* DTPR */
} BIT; /* */
} BSCEHR; /* */
}; /* */
struct st_dmac { /* struct DMAC */
union { /* DMAOR *///FFFE1200
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char CMS : 2; /* CMS */
unsigned char : 2; /* */
unsigned char PR : 2; /* PR */
unsigned char : 5; /* */
unsigned char AE : 1; /* AE */
unsigned char NMIF : 1; /* NMIF */
unsigned char DME : 1; /* DME */
} BIT; /* */
} DMAOR; /* */
char wk1[254]; /* *///FFFE1300-FFFE1200-2
union { /* DMARS0 *///FFFE1300
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short C1MID : 6; /* C1MID */
unsigned short C1RID : 2; /* C1RID */
unsigned short C0MID : 6; /* C0MID */
unsigned short C0RID : 2; /* C0RID */
} BIT; /* */
} DMARS0; /* */
char wk2[2]; /* *///FFFE1304-FFFE1300-2
union { /* DMARS1 *///FFFE1304
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short C3MID : 6; /* C3MID */
unsigned short C3RID : 2; /* C3RID */
unsigned short C2MID : 6; /* C2MID */
unsigned short C2RID : 2; /* C2RID */
} BIT; /* */
} DMARS1; /* */
char wk3[2]; /* *///FFFE1308-FFFE1304-2
union { /* DMARS2 *///FFFE1308
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short C5MID : 6; /* C5MID */
unsigned short C5RID : 2; /* C5RID */
unsigned short C4MID : 6; /* C4MID */
unsigned short C4RID : 2; /* C4RID */
} BIT; /* */
} DMARS2; /* */
char wk4[2]; /* *///FFFE130C-FFFE1308-2
union { /* DMARS3 *///FFFE130C
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short C7MID : 6; /* C7MID */
unsigned short C7RID : 2; /* C7RID */
unsigned short C6MID : 6; /* C6MID */
unsigned short C6RID : 2; /* C6RID */
} BIT; /* */
} DMARS3; /* */
}; /* */
struct st_dmac0 { /* struct DMAC0 *///FFFE1000
/* struct DMAC1 *///FFFE1010
void *SAR; /* SAR *///FFFE1000
void *DAR; /* DAR *///FFFE1004
unsigned int DMATCR; /* DMATCR *///FFFE1008
union { /* CHCR *///FFFE100C
unsigned int LONG; /* Long Access */
struct { /* Word Access */
unsigned short H; /* High Word */
unsigned short L; /* Low Word */
} WORD; /* */
struct { /* Bit Access */
unsigned char TC : 1; /* TC */
unsigned char : 2; /* */
unsigned char RLD : 1; /* RLD */
unsigned char : 4; /* */
unsigned char DO : 1; /* DO */
unsigned char TL : 1; /* TL */
unsigned char : 2; /* */
unsigned char HE : 1; /* HE */
unsigned char HIE : 1; /* HIE */
unsigned char AM : 1; /* AM */
unsigned char AL : 1; /* AL */
unsigned char DM : 2; /* DM */
unsigned char SM : 2; /* SM */
unsigned char RS : 4; /* RS */
unsigned char DL : 1; /* DL */
unsigned char DS : 1; /* DS */
unsigned char TB : 1; /* TB */
unsigned char TS : 2; /* TS */
unsigned char IE : 1; /* IE */
unsigned char TE : 1; /* TE */
unsigned char DE : 1; /* DE */
} BIT; /* */
} CHCR; /* */
char wk1[240]; /* *///FFFE1100-FFFE100C-4
void *RSAR; /* RSAR *///FFFE1100
void *RDAR; /* RDAR *///FFFE1104
unsigned int RDMATCR; /* RDMATCR *///FFFE1108
}; /* */
struct st_dmac2 { /* struct DMAC2 *///FFFE1020
/* struct DMAC3 *///FFFE1030
void *SAR; /* SAR *///FFFE1020
void *DAR; /* DAR *///FFFE1024
unsigned int DMATCR; /* DMATCR *///FFFE1028
union { /* CHCR *///FFFE102C
unsigned int LONG; /* Long Access */
struct { /* Word Access */
unsigned short H; /* High Word */
unsigned short L; /* Low Word */
} WORD; /* */
struct { /* Bit Access */
unsigned char TC : 1; /* TC */
unsigned char : 2; /* */
unsigned char RLD : 1; /* RLD */
unsigned char : 4; /* */
unsigned char DO : 1; /* DO */
unsigned char : 3; /* */
unsigned char HE : 1; /* HE */
unsigned char HIE : 1; /* HIE */
unsigned char AM : 1; /* AM */
unsigned char AL : 1; /* AL */
unsigned char DM : 2; /* DM */
unsigned char SM : 2; /* SM */
unsigned char RS : 4; /* RS */
unsigned char DL : 1; /* DL */
unsigned char DS : 1; /* DS */
unsigned char TB : 1; /* TB */
unsigned char TS : 2; /* TS */
unsigned char IE : 1; /* IE */
unsigned char TE : 1; /* TE */
unsigned char DE : 1; /* DE */
} BIT; /* */
} CHCR; /* */
char wk1[240]; /* *///FFFE1120-FFFE102C-4
void *RSAR; /* RSAR *///FFFE1120
void *RDAR; /* RDAR *///FFFE1124
unsigned int RDMATCR; /* RDMATCR *///FFFE1128
}; /* */
struct st_dmac4 { /* struct DMAC4 *///FFFE1040
/* struct DMAC5 *///FFFE1050
/* struct DMAC6 *///FFFE1060
/* struct DMAC7 *///FFFE1070
void *SAR; /* SAR *///FFFE1040
void *DAR; /* DAR *///FFFE1044
unsigned int DMATCR; /* DMATCR *///FFFE1048
union { /* CHCR *///FFFE104C
unsigned int LONG; /* Long Access */
struct { /* Word Access */
unsigned short H; /* High Word */
unsigned short L; /* Low Word */
} WORD; /* */
struct { /* Bit Access */
unsigned char TC : 1; /* TC */
unsigned char : 2; /* */
unsigned char RLD : 1; /* RLD */
unsigned char : 4; /* */
unsigned char : 4; /* */
unsigned char HE : 1; /* HE */
unsigned char HIE : 1; /* HIE */
unsigned char : 2; /* */
unsigned char DM : 2; /* DM */
unsigned char SM : 2; /* SM */
unsigned char RS : 4; /* RS */
unsigned char : 2; /* */
unsigned char TB : 1; /* TB */
unsigned char TS : 2; /* TS */
unsigned char IE : 1; /* IE */
unsigned char TE : 1; /* TE */
unsigned char DE : 1; /* DE */
} BIT; /* */
} CHCR; /* */
char wk1[240]; /* *///FFFE1140-FFFE104C-4
void *RSAR; /* RSAR *///FFFE1140
void *RDAR; /* RDAR *///FFFE1144
unsigned int RDMATCR; /* RDMATCR *///FFFE1148
}; /* */
struct st_mtu2 { /* struct MTU2 */
union { /* TOER *///FFFE420A
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char OE4D : 1; /* OE4D */
unsigned char OE4C : 1; /* OE4C */
unsigned char OE3D : 1; /* OE3D */
unsigned char OE4B : 1; /* OE4B */
unsigned char OE4A : 1; /* OE4A */
unsigned char OE3B : 1; /* OE3B */
} BIT; /* */
} TOER; /* */
char wk1[2]; /* *///FFFE420D-FFFE420A-1
union { /* TGCR *///FFFE420D
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char BDC : 1; /* BDC */
unsigned char N : 1; /* N */
unsigned char P : 1; /* P */
unsigned char FB : 1; /* FB */
unsigned char WF : 1; /* WF */
unsigned char VF : 1; /* VF */
unsigned char UF : 1; /* UF */
} BIT; /* */
} TGCR; /* */
union { /* TOCR1 *///FFFE420E
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char PSYE : 1; /* PSYE */
unsigned char : 2; /* */
unsigned char TOCL : 1; /* TOCL */
unsigned char TOCS : 1; /* TOCS */
unsigned char OLSN : 1; /* OLSN */
unsigned char OLSP : 1; /* OLSP */
} BIT; /* */
} TOCR1; /* */
union { /* TOCR2 *///FFFE420F
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char BF : 2; /* BF */
unsigned char OLS3N : 1; /* OLS3N */
unsigned char OLS3P : 1; /* OLS3P */
unsigned char OLS2N : 1; /* OLS2N */
unsigned char OLS2P : 1; /* OLS2P */
unsigned char OLS1N : 1; /* OLS1N */
unsigned char OLS1P : 1; /* OLS1P */
} BIT; /* */
} TOCR2; /* */
char wk2[4]; /* *///FFFE4214-FFFE420F-1
unsigned short TCDR; /* TCDR *///FFFE4214
unsigned short TDDR; /* TDDR *///FFFE4216
char wk3[8]; /* *///FFFE4220-FFFE4216-2
unsigned short TCNTS; /* TCNTS *///FFFE4220
unsigned short TCBR; /* TCBR *///FFFE4222
char wk4[12]; /* *///FFFE4230-FFFE4222-2
union { /* TITCR *///FFFE4230
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char T3AEN : 1; /* T3AEN */
unsigned char T3ACOR : 3; /* T3ACOR */
unsigned char T4VEN : 1; /* T4VEN */
unsigned char T4VCOR : 3; /* T4VCOR */
} BIT; /* */
} TITCR; /* */
union { /* TITCNT *///FFFE4231
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char T3ACNT : 3; /* T3ACNT */
unsigned char : 1; /* */
unsigned char T4VCNT : 3; /* T4VCNT */
} BIT; /* */
} TITCNT; /* */
union { /* TBTER *///FFFE4232
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char BTE : 2; /* BTE */
} BIT; /* */
} TBTER; /* */
char wk5[1]; /* *///FFFE4234-FFFE4232-1
union { /* TDER *///FFFE4234
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 7; /* */
unsigned char TDER : 1; /* TDER */
} BIT; /* */
} TDER; /* */
char wk6[1]; /* *///FFFE4236-FFFE4234-1
union { /* TOLBR *///FFFE4236
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char OLS3N : 1; /* OLS3N */
unsigned char OLS3P : 1; /* OLS3P */
unsigned char OLS2N : 1; /* OLS2N */
unsigned char OLS2P : 1; /* OLS2P */
unsigned char OLS1N : 1; /* OLS1N */
unsigned char OLS1P : 1; /* OLS1P */
} BIT; /* */
} TOLBR; /* */
char wk7[41]; /* *///FFFE4260-FFFE4236-1
union { /* TWCR *///FFFE4260
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CCE : 1; /* CCE */
unsigned char : 5; /* */
unsigned char : 1; /* */
unsigned char WRE : 1; /* WRE */
} BIT; /* */
} TWCR; /* */
char wk8[31]; /* *///FFFE4280-FFFE4260-1
union { /* TSTR *///FFFE4280
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CST4 : 1; /* CST4 */
unsigned char CST3 : 1; /* CST3 */
unsigned char : 3; /* */
unsigned char CST2 : 1; /* CST2 */
unsigned char CST1 : 1; /* CST1 */
unsigned char CST0 : 1; /* CST0 */
} BIT; /* */
} TSTR; /* */
union { /* TSYR *///FFFE4281
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char SYNC4 : 1; /* SYNC4 */
unsigned char SYNC3 : 1; /* SYNC3 */
unsigned char : 3; /* */
unsigned char SYNC2 : 1; /* SYNC2 */
unsigned char SYNC1 : 1; /* SYNC1 */
unsigned char SYNC0 : 1; /* SYNC0 */
} BIT; /* */
} TSYR; /* */
union { /* TCSYSTR *///FFFE4282
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char SCH0 : 1; /* SCH0 */
unsigned char SCH1 : 1; /* SCH1 */
unsigned char SCH2 : 1; /* SCH2 */
unsigned char SCH3 : 1; /* SCH3 */
unsigned char SCH4 : 1; /* SCH4 */
unsigned char : 1; /* */
unsigned char SCH3S : 1; /* SCH3S */
unsigned char SCH4S : 1; /* SCH4S */
} BIT; /* */
} TCSYSTR; /* */
char wk9[1]; /* *///FFFE4284-FFFE4282-1
union { /* TRWER *///FFFE4284
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 7; /* */
unsigned char RWE : 1; /* RWE */
} BIT; /* */
} TRWER; /* */
}; /* */
struct st_mtu20 { /* struct MTU20 */
union { /* TCR *///FFFE4300
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CCLR : 3; /* CCLR */
unsigned char CKEG : 2; /* CKEG */
unsigned char TPSC : 3; /* TPSC */
} BIT; /* */
} TCR; /* */
union { /* TMDR *///FFFE4301
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char BFE : 1; /* BFE */
unsigned char BFB : 1; /* BFB */
unsigned char BFA : 1; /* BFA */
unsigned char MD : 4; /* MD */
} BIT; /* */
} TMDR; /* */
union { /* TIOR *///FFFE4302
unsigned short WORD; /* Word Access */
struct { /* Byte Access */
unsigned char H; /* TIORH */
unsigned char L; /* TIORL */
} BYTE; /* */
struct { /* Bit Access */
unsigned char IOB : 4; /* IOB */
unsigned char IOA : 4; /* IOA */
unsigned char IOD : 4; /* IOD */
unsigned char IOC : 4; /* IOC */
} BIT; /* */
} TIOR; /* */
union { /* TIER *///FFFE4304
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TTGE : 1; /* TTGE */
unsigned char : 2; /* */
unsigned char TCIEV : 1; /* TCIEV */
unsigned char TGIED : 1; /* TGIED */
unsigned char TGIEC : 1; /* TGIEC */
unsigned char TGIEB : 1; /* TGIEB */
unsigned char TGIEA : 1; /* TGIEA */
} BIT; /* */
} TIER; /* */
union { /* TSR *///FFFE4305
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 3; /* */
unsigned char TCFV : 1; /* TCFV */
unsigned char TGFD : 1; /* TGFD */
unsigned char TGFC : 1; /* TGFC */
unsigned char TGFB : 1; /* TGFB */
unsigned char TGFA : 1; /* TGFA */
} BIT; /* */
} TSR; /* */
unsigned short TCNT; /* TCNT *///FFFE4306
unsigned short TGRA; /* TGRA *///FFFE4308
unsigned short TGRB; /* TGRB *///FFFE430A
unsigned short TGRC; /* TGRC *///FFFE430C
unsigned short TGRD; /* TGRD *///FFFE430E
char wk1[16]; /* *///FFFE4320-FFFE430E-2
unsigned short TGRE; /* TGRE *///FFFE4320
unsigned short TGRF; /* TGRF *///FFFE4322
union { /* TIER2 *///FFFE4324
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TTGE2 : 1; /* TTGE2 */
unsigned char : 5; /* */
unsigned char TGIEF : 1; /* TGIEF */
unsigned char TGIEE : 1; /* TGIEE */
} BIT; /* */
} TIER2; /* */
union { /* TSR2 *///FFFE4325
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char TGFF : 1; /* TGFF */
unsigned char TGFE : 1; /* TGFE */
} BIT; /* */
} TSR2; /* */
union { /* TBTM *///FFFE4326
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char TTSE : 1; /* TTSE */
unsigned char TTSB : 1; /* TTSB */
unsigned char TTSA : 1; /* TTSA */
} BIT; /* */
} TBTM; /* */
}; /* */
struct st_mtu21 { /* struct MTU21 */
union { /* TCR *///FFFE4380
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char CCLR : 2; /* CCLR */
unsigned char CKEG : 2; /* CKEG */
unsigned char TPSC : 3; /* TPSC */
} BIT; /* */
} TCR; /* */
union { /* TMDR *///FFFE4381
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 4; /* */
unsigned char MD : 4; /* MD */
} BIT; /* */
} TMDR; /* */
union { /* TIOR *///FFFE4382
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char IOB : 4; /* IOB */
unsigned char IOA : 4; /* IOA */
} BIT; /* */
} TIOR; /* */
char wk1[1]; /* *///FFFE4384-FFFE4382-1
union { /* TIER *///FFFE4384
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TTGE : 1; /* TTGE */
unsigned char : 1; /* */
unsigned char TCIEU : 1; /* TCIEU */
unsigned char TCIEV : 1; /* TCIEV */
unsigned char : 2; /* */
unsigned char TGIEB : 1; /* TGIEB */
unsigned char TGIEA : 1; /* TGIEA */
} BIT; /* */
} TIER; /* */
union { /* TSR *///FFFE4385
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TCFD : 1; /* TCFD */
unsigned char : 1; /* */
unsigned char TCFU : 1; /* TCFU */
unsigned char TCFV : 1; /* TCFV */
unsigned char : 2; /* */
unsigned char TGFB : 1; /* TGFB */
unsigned char TGFA : 1; /* TGFA */
} BIT; /* */
} TSR; /* */
unsigned short TCNT; /* TCNT *///FFFE4386
unsigned short TGRA; /* TGRA *///FFFE4388
unsigned short TGRB; /* TGRB *///FFFE438A
char wk2[4]; /* *///FFFE4390-FFFE438A-2
union { /* TICCR *///FFFE4390
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 4; /* */
unsigned char I2BE : 1; /* I2BE */
unsigned char I2AE : 1; /* I2AE */
unsigned char I1BE : 1; /* I1BE */
unsigned char I1AE : 1; /* I1AE */
} BIT; /* */
} TICCR; /* */
}; /* */
struct st_mtu22 { /* struct MTU22 */
union { /* TCR *///FFFE4000
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char CCLR : 2; /* CCLR */
unsigned char CKEG : 2; /* CKEG */
unsigned char TPSC : 3; /* TPSC */
} BIT; /* */
} TCR; /* */
union { /* TMDR *///FFFE4001
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 4; /* */
unsigned char MD : 4; /* MD */
} BIT; /* */
} TMDR; /* */
union { /* TIOR *///FFFE4002
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char IOB : 4; /* IOB */
unsigned char IOA : 4; /* IOA */
} BIT; /* */
} TIOR; /* */
char wk1[1]; /* *///FFFE4004-FFFE4002-1
union { /* TIER *///FFFE4004
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TTGE : 1; /* TTGE */
unsigned char : 1; /* */
unsigned char TCIEU : 1; /* TCIEU */
unsigned char TCIEV : 1; /* TCIEV */
unsigned char : 2; /* */
unsigned char TGIEB : 1; /* TGIEB */
unsigned char TGIEA : 1; /* TGIEA */
} BIT; /* */
} TIER; /* */
union { /* TSR *///FFFE4005
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TCFD : 1; /* TCFD */
unsigned char : 1; /* */
unsigned char TCFU : 1; /* TCFU */
unsigned char TCFV : 1; /* TCFV */
unsigned char : 2; /* */
unsigned char TGFB : 1; /* TGFB */
unsigned char TGFA : 1; /* TGFA */
} BIT; /* */
} TSR; /* */
unsigned short TCNT; /* TCNT *///FFFE4006
unsigned short TGRA; /* TGRA *///FFFE4008
unsigned short TGRB; /* TGRB *///FFFE400A
}; /* */
struct st_mtu23 { /* struct MTU23 */
union { /* TCR *///FFFE4200
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CCLR : 3; /* CCLR */
unsigned char CKEG : 2; /* CKEG */
unsigned char TPSC : 3; /* TPSC */
} BIT; /* */
} TCR; /* */
char wk1[1]; /* *///FFFE4202-FFFE4200-1
union { /* TMDR *///FFFE4202
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char BFB : 1; /* BFB */
unsigned char BFA : 1; /* BFA */
unsigned char MD : 4; /* MD */
} BIT; /* */
} TMDR; /* */
char wk2[1]; /* *///FFFE4204-FFFE4202-1
union { /* TIOR *///FFFE4204
unsigned short WORD; /* Word Access */
struct { /* Byte Access */
unsigned char H; /* TIORH */
unsigned char L; /* TIORL */
} BYTE; /* */
struct { /* Bit Access */
unsigned char IOB : 4; /* IOB */
unsigned char IOA : 4; /* IOA */
unsigned char IOD : 4; /* IOD */
unsigned char IOC : 4; /* IOC */
} BIT; /* */
} TIOR; /* */
char wk3[2]; /* *///FFFE4208-FFFE4204-2
union { /* TIER *///FFFE4208
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TTGE : 1; /* TTGE */
unsigned char : 2; /* */
unsigned char TCIEV : 1; /* TCIEV */
unsigned char TGIED : 1; /* TGIED */
unsigned char TGIEC : 1; /* TGIEC */
unsigned char TGIEB : 1; /* TGIEB */
unsigned char TGIEA : 1; /* TGIEA */
} BIT; /* */
} TIER; /* */
char wk4[7]; /* *///FFFE4210-FFFE4208-1
unsigned short TCNT; /* TCNT *///FFFE4210
char wk5[6]; /* *///FFFE4218-FFFE4210-2
unsigned short TGRA; /* TGRA *///FFFE4218
unsigned short TGRB; /* TGRB *///FFFE421A
char wk6[8]; /* *///FFFE4224-FFFE421A-2
unsigned short TGRC; /* TGRC *///FFFE4224
unsigned short TGRD; /* TGRD *///FFFE4226
char wk7[4]; /* *///FFFE422C-FFFE4226-2
union { /* TSR *///FFFE422C
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TCFD : 1; /* TCFD */
unsigned char : 2; /* */
unsigned char TCFV : 1; /* TCFV */
unsigned char TGFD : 1; /* TGFD */
unsigned char TGFC : 1; /* TGFC */
unsigned char TGFB : 1; /* TGFB */
unsigned char TGFA : 1; /* TGFA */
} BIT; /* */
} TSR; /* */
char wk8[11]; /* *///FFFE4238-FFFE422C-1
union { /* TBTM *///FFFE4238
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char TTSB : 1; /* TTSB */
unsigned char TTSA : 1; /* TTSA */
} BIT; /* */
} TBTM; /* */
}; /* */
struct st_mtu24 { /* struct MTU24 */
char wk1[1]; /* *///FFFE4200
union { /* TCR *///FFFE4201
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CCLR : 3; /* CCLR */
unsigned char CKEG : 2; /* CKEG */
unsigned char TPSC : 3; /* TPSC */
} BIT; /* */
} TCR; /* */
char wk2[1]; /* *///FFFE4203-FFFE4201-1
union { /* TMDR *///FFFE4203
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char BFB : 1; /* BFB */
unsigned char BFA : 1; /* BFA */
unsigned char MD : 4; /* MD */
} BIT; /* */
} TMDR; /* */
char wk3[2]; /* *///FFFE4206-FFFE4203-1
union { /* TIOR *///FFFE4206
unsigned short WORD; /* Word Access */
struct { /* Byte Access */
unsigned char H; /* TIORH */
unsigned char L; /* TIORL */
} BYTE; /* */
struct { /* Bit Access */
unsigned char IOB : 4; /* IOB */
unsigned char IOA : 4; /* IOA */
unsigned char IOD : 4; /* IOD */
unsigned char IOC : 4; /* IOC */
} BIT; /* */
} TIOR; /* */
char wk4[1]; /* *///FFFE4209-FFFE4206-2
union { /* TIER *///FFFE4209
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TTGE : 1; /* TTGE */
unsigned char TTGE2 : 1; /* TTGE2 */
unsigned char : 1; /* */
unsigned char TCIEV : 1; /* TCIEV */
unsigned char TGIED : 1; /* TGIED */
unsigned char TGIEC : 1; /* TGIEC */
unsigned char TGIEB : 1; /* TGIEB */
unsigned char TGIEA : 1; /* TGIEA */
} BIT; /* */
} TIER; /* */
char wk5[8]; /* *///FFFE4212-FFFE4209-1
unsigned short TCNT; /* TCNT *///FFFE4212
char wk6[8]; /* *///FFFE421C-FFFE4212-2
unsigned short TGRA; /* TGRA *///FFFE421C
unsigned short TGRB; /* TGRB *///FFFE421E
char wk7[8]; /* *///FFFE4228-FFFE421E-2
unsigned short TGRC; /* TGRC *///FFFE4228
unsigned short TGRD; /* TGRD *///FFFE422A
char wk8[1]; /* *///FFFE422D-FFFE422A-2
union { /* TSR *///FFFE422D
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TCFD : 1; /* TCFD */
unsigned char : 2; /* */
unsigned char TCFV : 1; /* TCFV */
unsigned char TGFD : 1; /* TGFD */
unsigned char TGFC : 1; /* TGFC */
unsigned char TGFB : 1; /* TGFB */
unsigned char TGFA : 1; /* TGFA */
} BIT; /* */
} TSR; /* */
char wk9[11]; /* *///FFFE4239-FFFE422D-1
union { /* TBTM *///FFFE4239
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char TTSB : 1; /* TTSB */
unsigned char TTSA : 1; /* TTSA */
} BIT; /* */
} TBTM; /* */
char wk10[6]; /* *///FFFE4240-FFFE4239-1
union { /* TADCR *///FFFE4240
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short BF : 2; /* BF */
unsigned short : 6; /* */
unsigned short UT4AE : 1; /* UT4AE */
unsigned short DT4AE : 1; /* DT4AE */
unsigned short UT4BE : 1; /* UT4BE */
unsigned short DT4BE : 1; /* DT4BE */
unsigned short ITA3AE : 1; /* ITA3AE */
unsigned short ITA4VE : 1; /* ITA4VE */
unsigned short ITB3AE : 1; /* ITB3AE */
unsigned short ITB4VE : 1; /* ITB4VE */
} BIT; /* */
} TADCR; /* */
char wk11[2]; /* *///FFFE4244-FFFE4240-2
unsigned short TADCORA; /* TADCORA *///FFFE4244
unsigned short TADCORB; /* TADCORB *///FFFE4246
unsigned short TADCOBRA; /* TADCOBRA *///FFFE4248
unsigned short TADCOBRB; /* TADCOBRB *///FFFE424A
}; /* */
struct st_mtu25 { /* struct MTU25 */
unsigned short TCNTU; /* TCNTU *///FFFE4080
unsigned short TGRU; /* TGRU *///FFFE4082
union { /* TCRU *///FFFE4084
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char TPSC : 2; /* TPSC */
} BIT; /* */
} TCRU; /* */
char wk1[1]; /* *///FFFE4086-FFFE4084-1
union { /* TIORU *///FFFE4086
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 3; /* */
unsigned char IOC : 5; /* IOC */
} BIT; /* */
} TIORU; /* */
char wk2[9]; /* *///FFFE4090-FFFE4086-1
unsigned short TCNTV; /* TCNTV *///FFFE4090
unsigned short TGRV; /* TGRV *///FFFE4092
union { /* TCRV *///FFFE4094
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char TPSC : 2; /* TPSC */
} BIT; /* */
} TCRV; /* */
char wk3[1]; /* *///FFFE4096-FFFE4094-1
union { /* TIORV *///FFFE4096
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 3; /* */
unsigned char IOC : 5; /* IOC */
} BIT; /* */
} TIORV; /* */
char wk4[9]; /* *///FFFE40A0-FFFE4096-1
unsigned short TCNTW; /* TCNTW *///FFFE40A0
unsigned short TGRW; /* TGRW *///FFFE40A2
union { /* TCRW *///FFFE40A4
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char TPSC : 2; /* TPSC */
} BIT; /* */
} TCRW; /* */
char wk5[1]; /* *///FFFE40A6-FFFE40A4-1
union { /* TIORW *///FFFE40A6
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 3; /* */
unsigned char IOC : 5; /* IOC */
} BIT; /* */
} TIORW; /* */
char wk6[9]; /* *///FFFE40B0-FFFE40A6-1
union { /* TSR *///FFFE40B0
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char CMFU : 1; /* CMFU */
unsigned char CMFV : 1; /* CMFV */
unsigned char CMFW : 1; /* CMFW */
} BIT; /* */
} TSR; /* */
char wk7[1]; /* *///FFFE40B2-FFFE40B0-1
union { /* TIER *///FFFE40B2
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char TGIEU : 1; /* TGIEU */
unsigned char TGIEV : 1; /* TGIEV */
unsigned char TGIEW : 1; /* TGIEW */
} BIT; /* */
} TIER; /* */
char wk8[1]; /* *///FFFE40B4-FFFE40B2-1
union { /* TSTR *///FFFE40B4
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char CSTU : 1; /* CSTU */
unsigned char CSTV : 1; /* CSTV */
unsigned char CSTW : 1; /* CSTW */
} BIT; /* */
} TSTR; /* */
char wk9[1]; /* *///FFFE40B6-FFFE40B4-1
union { /* TCNTCMPCLR *///FFFE40B6
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char CLRU : 1; /* CLRU */
unsigned char CLRV : 1; /* CLRV */
unsigned char CLRW : 1; /* CLRW */
} BIT; /* */
} TCNTCMPCLR; /* */
}; /* */
struct st_mtu2s { /* struct MTU2S */
union { /* TOERS *///FFFE4A0A
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char OE4D : 1; /* OE4D */
unsigned char OE4C : 1; /* OE4C */
unsigned char OE3D : 1; /* OE3D */
unsigned char OE4B : 1; /* OE4B */
unsigned char OE4A : 1; /* OE4A */
unsigned char OE3B : 1; /* OE3B */
} BIT; /* */
} TOER; /* */
char wk1[2]; /* *///FFFE4A0D-FFFE4A0A-1
union { /* TGCRS *///FFFE4A0D
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char BDC : 1; /* BDC */
unsigned char N : 1; /* N */
unsigned char P : 1; /* P */
unsigned char FB : 1; /* FB */
unsigned char WF : 1; /* WF */
unsigned char VF : 1; /* VF */
unsigned char UF : 1; /* UF */
} BIT; /* */
} TGCR; /* */
union { /* TOCR1S *///FFFE4A0E
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char PSYE : 1; /* PSYE */
unsigned char : 2; /* */
unsigned char TOCL : 1; /* TOCL */
unsigned char TOCS : 1; /* TOCS */
unsigned char OLSN : 1; /* OLSN */
unsigned char OLSP : 1; /* OLSP */
} BIT; /* */
} TOCR1; /* */
union { /* TOCR2S *///FFFE4A0F
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char BF : 2; /* BF */
unsigned char OLS3N : 1; /* OLS3N */
unsigned char OLS3P : 1; /* OLS3P */
unsigned char OLS2N : 1; /* OLS2N */
unsigned char OLS2P : 1; /* OLS2P */
unsigned char OLS1N : 1; /* OLS1N */
unsigned char OLS1P : 1; /* OLS1P */
} BIT; /* */
} TOCR2; /* */
char wk2[4]; /* *///FFFE4A14-FFFE4A0F-1
unsigned short TCDR; /* TCDRS *///FFFE4A14
unsigned short TDDR; /* TDDRS *///FFFE4A16
char wk3[8]; /* *///FFFE4A20-FFFE4A16-2
unsigned short TCNTS; /* TCNTS *///FFFE4A20
unsigned short TCBR; /* TCBRS *///FFFE4A22
char wk4[12]; /* *///FFFE4A30-FFFE4A22-2
union { /* TITCRS *///FFFE4A30
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char T3AEN : 1; /* T3AEN */
unsigned char T3ACOR : 3; /* T3ACOR */
unsigned char T4VEN : 1; /* T4VEN */
unsigned char T4VCOR : 3; /* T4VCOR */
} BIT; /* */
} TITCR; /* */
union { /* TITCNTS *///FFFE4A31
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 1; /* */
unsigned char T3ACNT : 3; /* T3ACNT */
unsigned char : 1; /* */
unsigned char T4VCNT : 3; /* T4VCNT */
} BIT; /* */
} TITCNT; /* */
union { /* TBTERS *///FFFE4A32
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 6; /* */
unsigned char BTE : 2; /* BTE */
} BIT; /* */
} TBTER; /* */
char wk5[1]; /* *///FFFE4A34-FFFE4A32-1
union { /* TDER *///FFFE4A34
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 7; /* */
unsigned char TDER : 1; /* TDER */
} BIT; /* */
} TDER; /* */
char wk6[1]; /* *///FFFE4A36-FFFE4A34-1
union { /* TOLBR *///FFFE4A36
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char OLS3N : 1; /* OLS3N */
unsigned char OLS3P : 1; /* OLS3P */
unsigned char OLS2N : 1; /* OLS2N */
unsigned char OLS2P : 1; /* OLS2P */
unsigned char OLS1N : 1; /* OLS1N */
unsigned char OLS1P : 1; /* OLS1P */
} BIT; /* */
} TOLBR; /* */
char wk7[25]; /* *///FFFE4A50-FFFE4A36-1
union { /* TSYCRS *///FFFE4A50
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CE0A : 1; /* CE0A */
unsigned char CE0B : 1; /* CE0B */
unsigned char CE0C : 1; /* CE0C */
unsigned char CE0D : 1; /* CE0D */
unsigned char CE1A : 1; /* CE1A */
unsigned char CE1B : 1; /* CE1B */
unsigned char CE2A : 1; /* CE2A */
unsigned char CE2B : 1; /* CE2B */
} BIT; /* */
} TSYCRS; /* */
char wk8[15]; /* *///FFFE4A60-FFFE4A50-1
union { /* TWCRS *///FFFE4A60
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CCE : 1; /* CCE */
unsigned char : 5; /* */
unsigned char SCC : 1; /* SCC */
unsigned char WRE : 1; /* WRE */
} BIT; /* */
} TWCR; /* */
char wk9[31]; /* *///FFFE4A80-FFFE4A60-1
union { /* TSTRS *///FFFE4A80
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CST4 : 1; /* CST4 */
unsigned char CST3 : 1; /* CST3 */
unsigned char : 3; /* */
unsigned char CST2 : 1; /* CST2 */
unsigned char CST1 : 1; /* CST1 */
unsigned char CST0 : 1; /* CST0 */
} BIT; /* */
} TSTR; /* */
union { /* TSYRS *///FFFE4A81
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char SYNC4 : 1; /* SYNC4 */
unsigned char SYNC3 : 1; /* SYNC3 */
unsigned char : 3; /* */
unsigned char SYNC2 : 1; /* SYNC2 */
unsigned char SYNC1 : 1; /* SYNC1 */
unsigned char SYNC0 : 1; /* SYNC0 */
} BIT; /* */
} TSYR; /* */
char wk10[2]; /* *///FFFE4A84-FFFE4A81-1
union { /* TRWERS *///FFFE4A84
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 7; /* */
unsigned char RWE : 1; /* RWE */
} BIT; /* */
} TRWER; /* */
}; /* */
struct st_poe2 { /* struct POE2 */
union { /* ICSR1 *///FFFE5000
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short POE3F : 1; /* POE3F */
unsigned short POE2F : 1; /* POE2F */
unsigned short POE1F : 1; /* POE1F */
unsigned short POE0F : 1; /* POE0F */
unsigned short : 3; /* */
unsigned short PIE1 : 1; /* PIE1 */
unsigned short POE3M : 2; /* POE3M */
unsigned short POE2M : 2; /* POE2M */
unsigned short POE1M : 2; /* POE1M */
unsigned short POE0M : 2; /* POE0M */
} BIT; /* */
} ICSR1; /* */
union { /* OCSR1 *///FFFE5002
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short OSF1 : 1; /* OSF1 */
unsigned short : 5; /* */
unsigned short OCE1 : 1; /* OCE1 */
unsigned short OIE1 : 1; /* OIE1 */
} BIT; /* */
} OCSR1; /* */
union { /* ICSR2 *///FFFE5004
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 3; /* */
unsigned short POE4F : 1; /* POE4F */
unsigned short : 3; /* */
unsigned short PIE2 : 1; /* PIE2 */
unsigned short : 6; /* */
unsigned short POE4M : 2; /* POE4M */
} BIT; /* */
} ICSR2; /* */
union { /* OCSR2 *///FFFE5006
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short OSF2 : 1; /* OSF2 */
unsigned short : 5; /* */
unsigned short OCE2 : 1; /* OCE2 */
unsigned short OIE2 : 1; /* OIE2 */
} BIT; /* */
} OCSR2; /* */
union { /* ICSR3 *///FFFE5008
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 3; /* */
unsigned short POE8F : 1; /* POE8F */
unsigned short : 2; /* */
unsigned short POE8E : 1; /* POE8E */
unsigned short PIE3 : 1; /* PIE3 */
unsigned short : 6; /* */
unsigned short POE8M : 2; /* POE8M */
} BIT; /* */
} ICSR3; /* */
union { /* SPOER *///FFFE500A
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char MTU2SHIZ : 1; /* MTU2SHIZ */
unsigned char MTU2CH0HIZ : 1; /* MTU2CH0HIZ*/
unsigned char MTU2CH34HIZ : 1; /* MTU2CH34HI*/
} BIT; /* */
} SPOER; /* */
union { /* POECR1 *///FFFE500B
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char MTU2PB4ZE : 1; /* MTU2PB4ZE */
unsigned char MTU2PB3ZE : 1; /* MTU2PB3ZE */
unsigned char MTU2PB2ZE : 1; /* MTU2PB2ZE */
unsigned char MTU2PB1ZE : 1; /* MTU2PB1ZE */
unsigned char MTU2PE3ZE : 1; /* MTU2PE3ZE */
unsigned char MTU2PE2ZE : 1; /* MTU2PE2ZE */
unsigned char MTU2PE1ZE : 1; /* MTU2PE1ZE */
unsigned char MTU2PE0ZE : 1; /* MTU2PE0ZE */
} BIT; /* */
} POECR1; /* */
union { /* POECR2 *///FFFE500C
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 1; /* */
unsigned short MTU2P1CZE : 1; /* MTU2P1CZE */
unsigned short MTU2P2CZE : 1; /* MTU2P2CZE */
unsigned short MTU2P3CZE : 1; /* MTU2P3CZE */
unsigned short : 1; /* */
unsigned short MTU2SP1CZE : 1; /* MTU2SP1CZE*/
unsigned short MTU2SP2CZE : 1; /* MTU2SP2CZE*/
unsigned short MTU2SP3CZE : 1; /* MTU2SP3CZE*/
unsigned short : 1; /* */
unsigned short MTU2SP4CZE : 1; /* MTU2SP4CZE*/
unsigned short MTU2SP5CZE : 1; /* MTU2SP5CZE*/
unsigned short MTU2SP6CZE : 1; /* MTU2SP6CZE*/
unsigned short : 1; /* */
unsigned short MTU2SP7CZE : 1; /* MTU2SP7CZE*/
unsigned short MTU2SP8CZE : 1; /* MTU2SP8CZE*/
unsigned short MTU2SP9CZE : 1; /* MTU2SP9CZE*/
} BIT; /* */
} POECR2; /* */
}; /* */
struct st_cmt { /* struct CMT */
union { /* CMSTR *///FFFEC000
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short :14; /* */
unsigned short STR1 : 1; /* STR1 */
unsigned short STR0 : 1; /* STR0 */
} BIT; /* */
} CMSTR; /* */
}; /* */
struct st_cmt0 { /* struct CMT0 */
union { /* CMCSR *///FFFEC002/FFFEC008
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 8; /* */
unsigned short CMF : 1; /* CMF */
unsigned short CMIE : 1; /* CMIE */
unsigned short : 4; /* */
unsigned short CKS : 2; /* CKS */
} BIT; /* */
} CMCSR; /* */
unsigned short CMCNT; /* CMCNT *///FFFEC004/FFFEC00A
unsigned short CMCOR; /* CMCOR *///FFFEC006/FFFEC00C
}; /* */
union un_wdt { /* union WDT */
struct { /* Read Access */
union { /* WTCSR *///FFFE0000
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char IOVF : 1; /* IOVF */
unsigned char WTIT : 1; /* WT/IT */
unsigned char TME : 1; /* TME */
unsigned char : 2; /* */
unsigned char CKS : 3; /* CKS */
} BIT; /* */
} WTCSR; /* */
char wk1[1]; /* *///FFFE0002-FFFE0000-1
unsigned char WTCNT; /* WTCNT *///FFFE0002
char wk2[1]; /* *///FFFE0004-FFFE0002-1
union { /* WRCSR *///FFFE0004
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char WOVF : 1; /* WOVF */
unsigned char RSTE : 1; /* RSTE */
unsigned char RSTS : 1; /* RSTS */
} BIT; /* */
} WRCSR; /* */
} READ; /* */
struct { /* Write Access */
unsigned short WTCSR; /* WTCSR *///FFFE0000
unsigned short WTCNT; /* WTCNT *///FFFE0002
unsigned short WRCSR; /* WRCSR *///FFFE0004
} WRITE; /* */
}; /* */
struct st_sci { /* struct SCI */
union { /* SCSMR *///FFFF8000
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char CA : 1; /* C/A */
unsigned char CHR : 1; /* CHR */
unsigned char _PE : 1; /* PE */
unsigned char OE : 1; /* O/E */
unsigned char STOP : 1; /* STOP */
unsigned char MP : 1; /* MP */
unsigned char CKS : 2; /* CKS */
} BIT; /* */
} SCSMR; /* */
char wk1[1]; /* *///FFFF8002-FFFF8000-1
unsigned char SCBRR; /* SCBRR *///FFFF8002
char wk2[1]; /* *///FFFF8004-FFFF8002-1
union { /* SCSCR *///FFFF8004
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TIE : 1; /* TIE */
unsigned char RIE : 1; /* RIE */
unsigned char TE : 1; /* TE */
unsigned char RE : 1; /* RE */
unsigned char MPIE : 1; /* MPIE */
unsigned char TEIE : 1; /* TEIE */
unsigned char CKE : 2; /* CKE */
} BIT; /* */
} SCSCR; /* */
char wk3[1]; /* *///FFFF8006-FFFF8004-1
unsigned char SCTDR; /* SCTDR *///FFFF8006
char wk4[1]; /* *///FFFF8008-FFFF8006-1
union { /* SCSSR *///FFFF8008
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char TDRE : 1; /* TDRE */
unsigned char RDRF : 1; /* RDRF */
unsigned char ORER : 1; /* ORER */
unsigned char FER : 1; /* FER */
unsigned char PER : 1; /* PER */
unsigned char TEND : 1; /* TEND */
unsigned char MPB : 1; /* MPB */
unsigned char MPBT : 1; /* MPBT */
} BIT; /* */
} SCSSR; /* */
char wk5[1]; /* *///FFFF800A-FFFF8008-1
unsigned char SCRDR; /* SCRDR *///FFFF800A
char wk6[1]; /* *///FFFF800C-FFFF800A-1
union { /* SCSDCR *///FFFF800C
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 4; /* */
unsigned char DIR : 1; /* DIR */
} BIT; /* */
} SCSDCR; /* */
char wk7[1]; /* *///FFFF800E-FFFF800C-1
union { /* SCSPTR *///FFFF800E
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char EIO : 1; /* EIO */
unsigned char : 3; /* */
unsigned char SPB1IO : 1; /* SPB1IO */
unsigned char SPB1DT : 1; /* SPB1DT */
unsigned char : 1; /* */
unsigned char SPB0DT : 1; /* SPB0DT */
} BIT; /* */
} SCSPTR; /* */
}; /* */
struct st_scif { /* struct SCIF */
union { /* SCSMR *///FFFE9800
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 8; /* */
unsigned short CA : 1; /* C/A */
unsigned short CHR : 1; /* CHR */
unsigned short _PE : 1; /* PE */
unsigned short OE : 1; /* O/E */
unsigned short STOP : 1; /* STOP */
unsigned short : 1; /* */
unsigned short CKS : 2; /* CKS */
} BIT; /* */
} SCSMR; /* */
char wk1[2]; /* *///FFFE9804-FFFE9800-2
unsigned char SCBRR; /* SCBRR *///FFFE9804
char wk2[3]; /* *///FFFE9808-FFFE9804-1
union { /* SCSCR *///FFFE9808
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 8; /* */
unsigned short TIE : 1; /* TIE */
unsigned short RIE : 1; /* RIE */
unsigned short TE : 1; /* TE */
unsigned short RE : 1; /* RE */
unsigned short REIE : 1; /* REIE */
unsigned short : 1; /* */
unsigned short CKE : 2; /* CKE */
} BIT; /* */
} SCSCR; /* */
char wk3[2]; /* *///FFFE980C-FFFE9808-2
unsigned char SCFTDR; /* SCFTDR *///FFFE980C
char wk4[3]; /* *///FFFE9810-FFFE980C-1
union { /* SCFSR *///FFFE9810
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short PERC : 4; /* PER3-0 */
unsigned short FERC : 4; /* FER3-0 */
unsigned short ER : 1; /* ER */
unsigned short TEND : 1; /* TEND */
unsigned short TDFE : 1; /* TDFE */
unsigned short BRK : 1; /* BRK */
unsigned short FER : 1; /* FER */
unsigned short PER : 1; /* PER */
unsigned short RDF : 1; /* RDF */
unsigned short DR : 1; /* DR */
} BIT; /* */
} SCFSR; /* */
char wk5[2]; /* *///FFFE9814-FFFE9810-2
unsigned char SCFRDR; /* SCFRDR *///FFFE9814
char wk6[3]; /* *///FFFE9818-FFFE9814-1
union { /* SCFCR *///FFFE9818
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 8; /* */
unsigned short RTRG : 2; /* RTRG */
unsigned short TTRG : 2; /* TTRG */
unsigned short : 1; /* */
unsigned short TFRST : 1; /* TFRST */
unsigned short RFRST : 1; /* RFRST */
unsigned short LOOP : 1; /* LOOP */
} BIT; /* */
} SCFCR; /* */
char wk7[2]; /* *///FFFE981C-FFFE9818-2
union { /* SCFDR *///FFFE981C
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 3; /* */
unsigned short T : 5; /* T */
unsigned short : 3; /* */
unsigned short R : 5; /* R */
} BIT; /* */
} SCFDR; /* */
char wk8[2]; /* *///FFFE9820-FFFE981C-2
union { /* SCSPTR *///FFFE9820
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short : 8; /* */
unsigned short : 4; /* */
unsigned short SCKIO : 1; /* SCKIO */
unsigned short SCKDT : 1; /* SCKDT */
unsigned short SPB2IO : 1; /* SPB2IO */
unsigned short SPB2DT : 1; /* SPB2DT */
} BIT; /* */
} SCSPTR; /* */
char wk9[2]; /* *///FFFE9824-FFFE9820-2
union { /* SCLSR *///FFFE9824
unsigned short WORD; /* Word Access */
struct { /* Bit Accesss */
unsigned short :15; /* */
unsigned short ORER : 1; /* ORER */
} BIT; /* */
} SCLSR; /* */
char wk10[218]; /* *///FFFE9900-FFFE9824-2
union { /* SCSEMR *///FFFE9900
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char ABCS : 1; /* ABCS */
} BIT; /* */
} SCSEMR; /* */
}; /* */
struct st_rspi { /* struct RSPI */
union { /* SPCR *///FFFFB000
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char SPRIE : 1; /* SPRIE */
unsigned char SPE : 1; /* SPE */
unsigned char SPTIE : 1; /* SPTIE */
unsigned char SPEIE : 1; /* SPEIE */
unsigned char MSTR : 1; /* MSTR */
unsigned char MODFEN : 1; /* MODFEN */
unsigned char : 1; /* */
unsigned char SPMS : 1; /* SPMS */
} BIT; /* */
} SPCR; /* */
union { /* SSLP *///FFFFB0001
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 4; /* */
unsigned char SSL3P : 1; /* SSL3P */
unsigned char SSL2P : 1; /* SSL2P */
unsigned char SSL1P : 1; /* SSL1P */
unsigned char SSL0P : 1; /* SSL0P */
} BIT; /* */
} SSLP; /* */
union { /* SPPCR *///FFFFB002
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char MOIFE : 1; /* MOIFE */
unsigned char MOIFV : 1; /* MOIFV */
unsigned char : 1; /* */
unsigned char SPOM : 1; /* SPOM */
unsigned char : 1; /* */
unsigned char SPLP : 1; /* SPLP */
} BIT; /* */
} SPPCR; /* */
union { /* SPSR *///FFFFB003
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char SPRF : 1; /* SPRF */
unsigned char : 1; /* */
unsigned char SPTEF : 1; /* SPTEF */
unsigned char : 2; /* */
unsigned char MODF : 1; /* MODF */
unsigned char MIDLE : 1; /* MIDLE */
unsigned char OVRF : 1; /* OVRF */
} BIT; /* */
} SPSR; /* */
union { /* SPDR *///FFFFB004
unsigned int LONG; /* Long Access */
unsigned short WORD; /* Word Access */
} SPDR; /* */
union { /* SPSCR *///FFFFB008
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char SPSLN : 3; /* SPSLN */
} BIT; /* */
} SPSCR; /* */
union { /* SPSSR *///FFFFB009
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char SPECM : 2; /* SPECM */
unsigned char : 2; /* */
unsigned char SPCP : 2; /* SPCP */
} BIT; /* */
} SPSSR; /* */
union { /* SPBR *///FFFFB00A
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char SPR : 8; /* SPR */
} BIT; /* */
} SPBR; /* */
union { /* SPDCR *///FFFFB00B
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 2; /* */
unsigned char SPLW : 1; /* SPLW */
unsigned char SPRDTD : 1; /* SPRDTD */
unsigned char : 2; /* */
unsigned char SPFC : 2; /* SPFC */
} BIT; /* */
} SPDCR; /* */
union { /* SPCKD *///FFFFB00C
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char SCKDL : 3; /* SCKDL */
} BIT; /* */
} SPCKD; /* */
union { /* SSLND *///FFFFB00D
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char SLNDL : 3; /* SLNDL */
} BIT; /* */
} SSLND; /* */
union { /* SPND *///FFFFB00E
unsigned char BYTE; /* Byte Access */
struct { /* Bit Access */
unsigned char : 5; /* */
unsigned char SPNDL : 3; /* SPNDL */
} BIT; /* */
} SPND; /* */
unsigned char wk1[1]; /* *///FFFFB010-FFFFB00E-1
union { /* SPCMD0 *///FFFFB010
unsigned short WORD; /* Word Access */
struct { /* Bit Access */
unsigned short SCKDEN : 1; /* SCKDEN */
unsigned short SLNDEN : 1; /* SLNDEN */
unsigned short SPNDEN : 1; /* SPNDEN */
unsigned short LSBF : 1; /* LSBF */
unsigned short SPB : 4; /* SPB */
unsigned short SSLKP : 1; /* SSLKP */
unsigned short SSLA : 3; /* SSLA */