OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [SuperH_SH7216_Renesas/] [RTOSDemo/] [iodefine.h] - Blame information for rev 609

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 585 jeremybenn
/******************************************************************************
2
*   DISCLAIMER
3
*
4
*   This software is supplied by Renesas Technology Corp. and is only
5
*   intended for use with Renesas products. No other uses are authorized.
6
*
7
*   This software is owned by Renesas Technology Corp. and is protected under
8
*   all applicable laws, including copyright laws.
9
*
10
*   THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES
11
*   REGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY,
12
*   INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
13
*   PARTICULAR PURPOSE AND NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY
14
*   DISCLAIMED.
15
*
16
*   TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
17
*   TECHNOLOGY CORP. NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
18
*   FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
19
*   FOR ANY REASON RELATED TO THE THIS SOFTWARE, EVEN IF RENESAS OR ITS
20
*   AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
21
*
22
*   Renesas reserves the right, without notice, to make changes to this
23
*   software and to discontinue the availability of this software.
24
*   By using this software, you agree to the additional terms and
25
*   conditions found by accessing the following link:
26
*   http://www.renesas.com/disclaimer
27
********************************************************************************
28
*   Copyright (C) 2009. Renesas Technology Corp., All Rights Reserved.
29
*""FILE COMMENT""*********** Technical reference data **************************
30
*   System Name : SH7216 Sample Program
31
*   File Name   : iodefine.h
32
*   Abstract    : SH7216 IO register definition
33
*   Version     : 0.05.00
34
*   Device      : SH7216
35
*   Tool-Chain  : High-performance Embedded Workshop (Ver.4.05.01).
36
*               : C/C++ compiler package for the SuperH RISC engine family
37
*               :                             (Ver.9.03 Release00).
38
*   OS          : None
39
*   H/W Platform: R0K572167 (CPU board)
40
*   Description :
41
********************************************************************************
42
*   History     : Mar.10,2009 Ver.0.05.00
43
*""FILE COMMENT END""**********************************************************/
44
#ifndef _IODEFINE_H_
45
#define _IODEFINE_H_
46
 
47
struct st_cpg {                                             /* struct CPG   */
48
        union {                                             /* FRQCR        *///FFFE0010
49
            unsigned short WORD;                            /*  Word Access */
50
            struct {                                        /*  Bit Access  */
51
                unsigned short              : 5;            /*              */
52
                unsigned short STC          : 3;            /*    STC       */
53
                unsigned short              : 1;            /*              */
54
                unsigned short IFC          : 3;            /*    IFC       */
55
                unsigned short              : 1;            /*              */
56
                unsigned short _PFC         : 3;            /*    PFC       */
57
            }           BIT;                                /*              */
58
        }               FRQCR;                              /*              */
59
        char            wk1[10];                            /*              *///FFFE001C-FFFE0010-2
60
        union {                                             /* OSCCR        *///FFFE001C
61
            unsigned char BYTE;                             /*  Byte Access */
62
            struct {                                        /*  Bit Access  */
63
                unsigned char               : 5;            /*              */
64
                unsigned char OSCSTOP       : 1;            /*    OSCSTOP   */
65
                unsigned char               : 1;            /*              */
66
                unsigned char OSCERS        : 1;            /*    OSCERS    */
67
            }           BIT;                                /*              */
68
        }               OSCCR;                              /*              */
69
        char            wk2[1011];                          /*              *///FFFE0410-FFFE001C-1
70
        union {                                             /* MCLKCR       *///FFFE0410
71
            unsigned char BYTE;                             /*  Byte Access */
72
            struct {                                        /*  Bit Access  */
73
                unsigned char               : 2;            /*              */
74
                unsigned char               : 4;            /*              */
75
                unsigned char MSDIVS        : 2;            /*    MSDIVS    */
76
            }           BIT;                                /*              */
77
        }               MCLKCR;                             /*              */
78
        char            wk3[3];                             /*              *///FFFE0414-FFFE0410-1
79
        union {                                             /* ACLKCR       *///FFFE0414
80
            unsigned char BYTE;                             /*  Byte Access */
81
            struct {                                        /*  Bit Access  */
82
                unsigned char               : 2;            /*              */
83
                unsigned char               : 4;            /*              */
84
                unsigned char ASDIVS        : 2;            /*    ASDIVS    */
85
            }           BIT;                                /*              */
86
        }               ACLKCR;                             /*              */
87
};                                                          /*              */
88
struct st_intc {                                            /* struct INTC  */
89
        union {                                             /* ICR0         *///FFFE0800
90
            unsigned short WORD;                            /*  Word Access */
91
            struct {                                        /*  Bit Access  */
92
                unsigned short NMIL         : 1;            /*    NMIL      */
93
                unsigned short              : 6;            /*              */
94
                unsigned short NMIE         : 1;            /*    NMIE      */
95
            }           BIT;                                /*              */
96
        }               ICR0;                               /*              */
97
        union {                                             /* ICR1         *///FFFE0802
98
            unsigned short WORD;                            /*  Word Access */
99
            struct {                                        /*  Bit Access  */
100
                unsigned short IRQ7S        : 2;            /*    IRQ7S     */
101
                unsigned short IRQ6S        : 2;            /*    IRQ6S     */
102
                unsigned short IRQ5S        : 2;            /*    IRQ5S     */
103
                unsigned short IRQ4S        : 2;            /*    IRQ4S     */
104
                unsigned short IRQ3S        : 2;            /*    IRQ3S     */
105
                unsigned short IRQ2S        : 2;            /*    IRQ2S     */
106
                unsigned short IRQ1S        : 2;            /*    IRQ1S     */
107
                unsigned short IRQ0S        : 2;            /*    IRQ0S     */
108
            }           BIT;                                /*              */
109
        }               ICR1;                               /*              */
110
        char            wk1[2];                             /*              *///FFFE0806-FFFE0802-2
111
        union {                                             /* IRQRR        *///FFFE0806
112
            unsigned short WORD;                            /*  Word Access */
113
            struct {                                        /*  Bit Access  */
114
                unsigned short              : 8;            /*              */
115
                unsigned short IRQ7F        : 1;            /*    IRQ7F     */
116
                unsigned short IRQ6F        : 1;            /*    IRQ6F     */
117
                unsigned short IRQ5F        : 1;            /*    IRQ5F     */
118
                unsigned short IRQ4F        : 1;            /*    IRQ4F     */
119
                unsigned short IRQ3F        : 1;            /*    IRQ3F     */
120
                unsigned short IRQ2F        : 1;            /*    IRQ2F     */
121
                unsigned short IRQ1F        : 1;            /*    IRQ1F     */
122
                unsigned short IRQ0F        : 1;            /*    IRQ0F     */
123
            }           BIT;                                /*              */
124
        }               IRQRR;                              /*              */
125
        char            wk2[4];                             /*              *///FFFE080C-FFFE0806-2
126
        union {                                             /* IBCR         *///FFFE080C
127
            unsigned short WORD;                            /*  Word Access */
128
            struct {                                        /*  Bit Access  */
129
                unsigned short E15          : 1;            /*    E15       */
130
                unsigned short E14          : 1;            /*    E14       */
131
                unsigned short E13          : 1;            /*    E13       */
132
                unsigned short E12          : 1;            /*    E12       */
133
                unsigned short E11          : 1;            /*    E11       */
134
                unsigned short E10          : 1;            /*    E10       */
135
                unsigned short E9           : 1;            /*    E9        */
136
                unsigned short E8           : 1;            /*    E8        */
137
                unsigned short E7           : 1;            /*    E7        */
138
                unsigned short E6           : 1;            /*    E6        */
139
                unsigned short E5           : 1;            /*    E5        */
140
                unsigned short E4           : 1;            /*    E4        */
141
                unsigned short E3           : 1;            /*    E3        */
142
                unsigned short E2           : 1;            /*    E2        */
143
                unsigned short E1           : 1;            /*    E1        */
144
            }           BIT;                                /*              */
145
        }               IBCR;                               /*              */
146
        union {                                             /* IBNR         *///FFFE080E
147
            unsigned short WORD;                            /*  Word Access */
148
            struct {                                        /*  Bit Access  */
149
                unsigned short BE           : 2;            /*    BE        */
150
                unsigned short BOVE         : 1;            /*    BOVE      */
151
                unsigned short              : 9;            /*              */
152
                unsigned short BN           : 4;            /*    BN        */
153
            }           BIT;                                /*              */
154
        }               IBNR;                               /*              */
155
        char            wk3[8];                             /*              *///FFFE0818-FFFE080C-4
156
        union {                                             /* IPR01        *///FFFE0818
157
            unsigned short WORD;                            /*  Word Access */
158
            struct {                                        /*  Bit Access  */
159
                unsigned short _IRQ0        : 4;            /*    IRQ0      */
160
                unsigned short _IRQ1        : 4;            /*    IRQ1      */
161
                unsigned short _IRQ2        : 4;            /*    IRQ2      */
162
                unsigned short _IRQ3        : 4;            /*    IRQ3      */
163
            }           BIT;                                /*              */
164
        }               IPR01;                              /*              */
165
        union {                                             /* IPR02        *///FFFE081A
166
            unsigned short WORD;                            /*  Word Access */
167
            struct {                                        /*  Bit Access  */
168
                unsigned short _IRQ4        : 4;            /*    IRQ4      */
169
                unsigned short _IRQ5        : 4;            /*    IRQ5      */
170
                unsigned short _IRQ6        : 4;            /*    IRQ6      */
171
                unsigned short _IRQ7        : 4;            /*    IRQ7      */
172
            }           BIT;                                /*              */
173
        }               IPR02;                              /*              */
174
        char            wk4[4];                             /*              *///FFFE0820-FFFE081A-2
175
        union {                                             /* IPR05        *///FFFE0820
176
            unsigned short WORD;                            /*  Word Access */
177
            struct {                                        /*  Bit Access  */
178
                unsigned short              : 4;            /*              */
179
                unsigned short              : 4;            /*              */
180
                unsigned short _AD0         : 4;            /*    AD0       */
181
                unsigned short _AD1         : 4;            /*    AD1       */
182
            }           BIT;                                /*              */
183
        }               IPR05;                              /*              */
184
        char            wk5[990];                           /*              *///FFFE0C00-FFFE0820-2
185
        union {                                             /* IPR06        *///FFFE0C00
186
            unsigned short WORD;                            /*  Word Access */
187
            struct {                                        /*  Bit Access  */
188
                unsigned short _DMAC0       : 4;            /*    DMAC0     */
189
                unsigned short _DMAC1       : 4;            /*    DMAC1     */
190
                unsigned short _DMAC2       : 4;            /*    DMAC2     */
191
                unsigned short _DMAC3       : 4;            /*    DMAC3     */
192
            }           BIT;                                /*              */
193
        }               IPR06;                              /*              */
194
        union {                                             /* IPR07        *///FFFE0C02
195
            unsigned short WORD;                            /*  Word Access */
196
            struct {                                        /*  Bit Access  */
197
                unsigned short _DMAC4       : 4;            /*    DMAC4     */
198
                unsigned short _DMAC5       : 4;            /*    DMAC5     */
199
                unsigned short _DMAC6       : 4;            /*    DMAC6     */
200
                unsigned short _DMAC7       : 4;            /*    DMAC7     */
201
            }           BIT;                                /*              */
202
        }               IPR07;                              /*              */
203
        union {                                             /* IPR08        *///FFFE0C04
204
            unsigned short WORD;                            /*  Word Access */
205
            struct {                                        /*  Bit Access  */
206
                unsigned short _CMT0        : 4;            /*    CMT0      */
207
                unsigned short _CMT1        : 4;            /*    CMT1      */
208
                unsigned short _BSC         : 4;            /*    BSC       */
209
                unsigned short _WDT         : 4;            /*    WDT       */
210
            }           BIT;                                /*              */
211
        }               IPR08;                              /*              */
212
        union {                                             /* IPR09        *///FFFE0C06
213
            unsigned short WORD;                            /*  Word Access */
214
            struct {                                        /*  Bit Access  */
215
                unsigned short _MTU20G      : 4;            /*    MTU20 TGI */
216
                unsigned short _MTU20C      : 4;            /*    MTU20 TCI */
217
                unsigned short _MTU21G      : 4;            /*    MTU21 TGI */
218
                unsigned short _MTU21C      : 4;            /*    MTU21 TCI */
219
            }           BIT;                                /*              */
220
        }               IPR09;                              /*              */
221
        union {                                             /* IPR10        *///FFFE0C08
222
            unsigned short WORD;                            /*  Word Access */
223
            struct {                                        /*  Bit Access  */
224
                unsigned short _MTU22G      : 4;            /*    MTU22 TGI */
225
                unsigned short _MTU22C      : 4;            /*    MTU22 TCI */
226
                unsigned short _MTU23G      : 4;            /*    MTU23 TGI */
227
                unsigned short _MTU23C      : 4;            /*    MTU23 TCI */
228
            }           BIT;                                /*              */
229
        }               IPR10;                              /*              */
230
        union {                                             /* IPR11        *///FFFE0C0A
231
            unsigned short WORD;                            /*  Word Access */
232
            struct {                                        /*  Bit Access  */
233
                unsigned short _MTU24G      : 4;            /*    MTU24 TGI */
234
                unsigned short _MTU24C      : 4;            /*    MTU24 TCI */
235
                unsigned short _MTU25       : 4;            /*    MTU25     */
236
                unsigned short _POE2        : 4;            /*    POE2      */
237
            }           BIT;                                /*              */
238
        }               IPR11;                              /*              */
239
        union {                                             /* IPR12        *///FFFE0C0C
240
            unsigned short WORD;                            /*  Word Access */
241
            struct {                                        /*  Bit Access  */
242
                unsigned short _MTU2S3G     : 4;            /*    MTU2S3 TGI*/
243
                unsigned short _MTU2S3C     : 4;            /*    MTU2S3 TCI*/
244
                unsigned short _MTU2S4G     : 4;            /*    MTU2S4 TGI*/
245
                unsigned short _MTU2S4C     : 4;            /*    MTU2S4 TCI*/
246
            }           BIT;                                /*              */
247
        }               IPR12;                              /*              */
248
        union {                                             /* IPR13        *///FFFE0C0E
249
            unsigned short WORD;                            /*  Word Access */
250
            struct {                                        /*  Bit Access  */
251
                unsigned short _MTU2S5      : 4;            /*    MTU2S5    */
252
                unsigned short _POE2        : 4;            /*    POE2      */
253
                unsigned short _IIC3        : 4;            /*    IIC3      */
254
            }           BIT;                                /*              */
255
        }               IPR13;                              /*              */
256
        union {                                             /* IPR14        *///FFFE0C10
257
            unsigned short WORD;                            /*  Word Access */
258
            struct {                                        /*  Bit Access  */
259
                unsigned short              : 4;            /*              */
260
                unsigned short              : 4;            /*              */
261
                unsigned short              : 4;            /*              */
262
                unsigned short _SCIF3       : 4;            /*    SCIF3     */
263
            }           BIT;                                /*              */
264
        }               IPR14;                              /*              */
265
        union {                                             /* IPR15        *///FFFE0C12
266
            unsigned short WORD;                            /*  Word Access */
267
        }               IPR15;                              /*              */
268
        union {                                             /* IPR16        *///FFFE0C14
269
            unsigned short WORD;                            /*  Word Access */
270
            struct {                                        /*  Bit Access  */
271
                unsigned short _SCI0        : 4;            /*    SCI0      */
272
                unsigned short _SCI1        : 4;            /*    SCI1      */
273
                unsigned short _SCI2        : 4;            /*    SCI2      */
274
            }           BIT;                                /*              */
275
        }               IPR16;                              /*              */
276
        union {                                             /* IPR17        *///FFFE0C16
277
            unsigned short WORD;                            /*  Word Access */
278
            struct {                                        /*  Bit Access  */
279
                unsigned short _RSPI        : 4;            /*    RSPI      */
280
                unsigned short _SCI4        : 4;            /*    SCI4      */
281
            }           BIT;                                /*              */
282
        }               IPR17;                              /*              */
283
        union {                                             /* IPR18        *///FFFE0C18
284
            unsigned short WORD;                            /*  Word Access */
285
            struct {                                        /*  Bit Access  */
286
                unsigned short _USB         : 4;            /*    USB       */
287
                unsigned short _RCAN        : 4;            /*    RCAN      */
288
                unsigned short _EP1FULL     : 4;            /*    EP1FULL   */
289
                unsigned short _EP2EMPTY    : 4;            /*    EP2EMPTY  */
290
            }           BIT;                                /*              */
291
        }               IPR18;                              /*              */
292
        union {                                             /* IPR19        *///FFFE0C1A
293
            unsigned short WORD;                            /*  Word Access */
294
            struct {                                        /*  Bit Access  */
295
                unsigned short _EP4FULL     : 4;            /*    EP4FULL   */
296
                unsigned short _EP5EMPTY    : 4;            /*    EP5EMPTY  */
297
                unsigned short _EDMAC       : 4;            /*    E-DMAC    */
298
            }           BIT;                                /*              */
299
        }               IPR19;                              /*              */
300
        char            wk6[52];                            /*              *///FFFE0C50-FFFE0C1A-2
301
        union {                                             /* USDTENDRR    *///FFFE0C50
302
            unsigned short WORD;                            /*  Word Access */
303
            struct {                                        /*  Bit Access  */
304
                unsigned short _RXF0        : 1;            /*    RXF0      */
305
                unsigned short _TXF0        : 1;            /*    TXF0      */
306
                unsigned short _RXF1        : 1;            /*    RXF1      */
307
                unsigned short _TXF1        : 1;            /*    TXF1      */
308
            }           BIT;                                /*              */
309
        }               USDTENDRR;                          /*              */
310
};                                                          /*              */
311
struct st_ubc {                                             /* struct UBC   */
312
        union {                                             /* BRCR         *///FFFC04C0
313
            unsigned int LONG;                              /*  Long Access */
314
            struct {                                        /*  Bit Access  */
315
                unsigned int                :14;            /*              */
316
                unsigned int CKS            : 2;            /*    CKS       */
317
                unsigned int SCMFC0         : 1;            /*    SCMFC0    */
318
                unsigned int SCMFC1         : 1;            /*    SCMFC1    */
319
                unsigned int SCMFC2         : 1;            /*    SCMFC2    */
320
                unsigned int SCMFC3         : 1;            /*    SCMFC3    */
321
                unsigned int SCMFD0         : 1;            /*    SCMFD0    */
322
                unsigned int SCMFD1         : 1;            /*    SCMFD1    */
323
                unsigned int SCMFD2         : 1;            /*    SCMFD2    */
324
                unsigned int SCMFD3         : 1;            /*    SCMFD3    */
325
                unsigned int PCB3           : 1;            /*    PCB3      */
326
                unsigned int PCB2           : 1;            /*    PCB2      */
327
                unsigned int PCB1           : 1;            /*    PCB1      */
328
                unsigned int PCB0           : 1;            /*    PCB0      */
329
            }           BIT;                                /*              */
330
        }               BRCR;                               /*              */
331
};                                                          /*              */
332
struct st_ubc0 {                                            /* struct UBC0/1*///FFFC0400/FFFC0410
333
        void            *BAR;                               /* BAR          */
334
        unsigned int    BAMR;                               /* BAMR         */
335
        char            wk1[152];                           /*              *///FFFC04A0-FFFC0400-8
336
        union {                                             /* BBR          *///FFFC04A0
337
            unsigned short WORD;                            /*  Word Access */
338
            struct {                                        /*  Bit Access  */
339
                unsigned short              : 2;            /*              */
340
                unsigned short UBID         : 1;            /*    UBID      */
341
                unsigned short              : 2;            /*              */
342
                unsigned short CP           : 3;            /*    CP        */
343
                unsigned short CD           : 2;            /*    CD        */
344
                unsigned short ID           : 2;            /*    ID        */
345
                unsigned short RW           : 2;            /*    RW        */
346
                unsigned short SZ           : 2;            /*    SZ        */
347
            }           BIT;                                /*              */
348
        }               BBR;                                /*              */
349
};                                                          /*              */
350
struct st_ubc2 {                                            /* struct UBC2/3*///FFFC0420/FFFC0430
351
        void            *BAR;                               /* BAR          */
352
        unsigned int    BAMR;                               /* BAMR         */
353
        char            wk1[124];                           /*              *///FFFC04A4-FFFC0424-4
354
        union {                                             /* BBR          *///FFFC04A4
355
            unsigned short WORD;                            /*  Word Access */
356
            struct {                                        /*  Bit Access  */
357
                unsigned short              : 2;            /*              */
358
                unsigned short UBID         : 1;            /*    UBID      */
359
                unsigned short              : 2;            /*              */
360
                unsigned short CP           : 3;            /*    CP        */
361
                unsigned short CD           : 2;            /*    CD        */
362
                unsigned short ID           : 2;            /*    ID        */
363
                unsigned short RW           : 2;            /*    RW        */
364
                unsigned short SZ           : 2;            /*    SZ        */
365
            }           BIT;                                /*              */
366
        }               BBR;                                /*              */
367
};                                                          /*              */
368
struct st_dtc {                                             /* struct DTC   */
369
        union {                                             /* DTCERA       *///FFFE6000
370
            unsigned short WORD;                            /*  Word Access */
371
            struct {                                        /*  Bit Access  */
372
                unsigned char IRQ0          : 1;            /*    IRQ0      */
373
                unsigned char IRQ1          : 1;            /*    IRQ1      */
374
                unsigned char IRQ2          : 1;            /*    IRQ2      */
375
                unsigned char IRQ3          : 1;            /*    IRQ3      */
376
                unsigned char IRQ4          : 1;            /*    IRQ4      */
377
                unsigned char IRQ5          : 1;            /*    IRQ5      */
378
                unsigned char IRQ6          : 1;            /*    IRQ6      */
379
                unsigned char IRQ7          : 1;            /*    IRQ7      */
380
                unsigned char ADI0          : 1;            /*    ADI0      */
381
                unsigned char ADI1          : 1;            /*    ADI1      */
382
                unsigned char               : 1;            /*              */
383
                unsigned char RM0           : 1;            /*    RM0(RCAN) */
384
                unsigned char CMI0          : 1;            /*    CMI0      */
385
                unsigned char CMI1          : 1;            /*    CMI1      */
386
                unsigned char USBRXI0       : 1;            /*    USBRXI0   *///USB EP1FULL
387
                unsigned char USBTXI0       : 1;            /*    USBTXI0   *///USB EP2EMPTY
388
            }           BIT;                                /*              */
389
        }               DTCERA;                             /*              */
390
        union {                                             /* DTCERB       *///FFFE6002
391
            unsigned short WORD;                            /*  Word Access */
392
            struct {                                        /*  Bit Access  */
393
                unsigned char TGIA0         : 1;            /*    TGIA0     *///MTU2
394
                unsigned char TGIB0         : 1;            /*    TGIB0     */
395
                unsigned char TGIC0         : 1;            /*    TGIC0     */
396
                unsigned char TGID0         : 1;            /*    TGID0     */
397
                unsigned char TGIA1         : 1;            /*    TGIA1     */
398
                unsigned char TGIB1         : 1;            /*    TGIB1     */
399
                unsigned char TGIA2         : 1;            /*    TGIA2     */
400
                unsigned char TGIB2         : 1;            /*    TGIB2     */
401
                unsigned char TGIA3         : 1;            /*    TGIA3     */
402
                unsigned char TGIB3         : 1;            /*    TGIB3     */
403
                unsigned char TGIC3         : 1;            /*    TGIC3     */
404
                unsigned char TGID3         : 1;            /*    TGID3     */
405
                unsigned char TGIA4         : 1;            /*    TGIA4     */
406
                unsigned char TGIB4         : 1;            /*    TGIB4     */
407
                unsigned char TGIC4         : 1;            /*    TGIC4     */
408
                unsigned char TGID4         : 1;            /*    TGID4     */
409
            }           BIT;                                /*              */
410
        }               DTCERB;                             /*              */
411
        union {                                             /* DTCERC       *///FFFE6004
412
            unsigned short WORD;                            /*  Word Access */
413
            struct {                                        /*  Bit Access  */
414
                unsigned char TCIV4         : 1;            /*    TCIV4     */
415
                unsigned char TGIU5         : 1;            /*    TGIU5     */
416
                unsigned char TGIV5         : 1;            /*    TGIV5     */
417
                unsigned char TGIW5         : 1;            /*    TGIW5     *///MTU2
418
                unsigned char               : 4;            /*              */
419
                unsigned char               : 4;            /*              */
420
                unsigned char TGIA3S        : 1;            /*    TGIA3S    *///MTU2S
421
                unsigned char TGIB3S        : 1;            /*    TGIB3S    */
422
                unsigned char TGIC3S        : 1;            /*    TGIC3S    */
423
                unsigned char TGID3S        : 1;            /*    TGID3S    */
424
            }           BIT;                                /*              */
425
        }               DTCERC;                             /*              */
426
        union {                                             /* DTCERD       *///FFFE6006
427
            unsigned short WORD;                            /*  Word Access */
428
            struct {                                        /*  Bit Access  */
429
                unsigned char TGIA4S        : 1;            /*    TGIA4S    */
430
                unsigned char TGIB4S        : 1;            /*    TGIB4S    */
431
                unsigned char TGIC4S        : 1;            /*    TGIC4S    */
432
                unsigned char TGID4S        : 1;            /*    TGID4S    */
433
                unsigned char TCIV4S        : 1;            /*    TCIV4S    */
434
                unsigned char TGIU5S        : 1;            /*    TGIU5S    */
435
                unsigned char TGIV5S        : 1;            /*    TGIV5S    */
436
                unsigned char TGIW5S        : 1;            /*    TGIW5S    *///MTU2S
437
                unsigned char RXI           : 1;            /*    RXI       *///IIC3
438
                unsigned char TXI           : 1;            /*    TXI       *///IIC3
439
                unsigned char SPRXI         : 1;            /*    SPRXI     *///RSPI
440
                unsigned char SPTXI         : 1;            /*    SPTXI     *///RSPI
441
                unsigned char RXI4          : 1;            /*    RXI4      *///SCI4
442
                unsigned char TXI4          : 1;            /*    TXI4      *///SCI4
443
            }           BIT;                                /*              */
444
        }               DTCERD;                             /*              */
445
        union {                                             /* DTCERE       *///FFFE6008
446
            unsigned short WORD;                            /*  Word Access */
447
            struct {                                        /*  Bit Access  */
448
                unsigned char RXI0          : 1;            /*    RXI0      *///SCI0
449
                unsigned char TXI0          : 1;            /*    TXI0      *///SCI0
450
                unsigned char RXI1          : 1;            /*    RXI1      *///SCI1
451
                unsigned char TXI1          : 1;            /*    TXI1      *///SCI1
452
                unsigned char RXI2          : 1;            /*    RXI2      *///SCI2
453
                unsigned char TXI2          : 1;            /*    TXI2      *///SCI2
454
                unsigned char RXI3          : 1;            /*    RXIF3     *///SCIF3
455
                unsigned char TXI3          : 1;            /*    TXIF3     *///SCIF3
456
                unsigned char USBRXI1       : 1;            /*    USBRXI1   *///USB EP4FULL
457
                unsigned char USBTXI1       : 1;            /*    USBTXI1   *///USB EP5EMPTY
458
            }           BIT;                                /*              */
459
        }               DTCERE;                             /*              */
460
        char            wk1[6];                             /*              *///FFFE6010-FFFE6008-2
461
        union {                                             /* DTCCR        *///FFFE6010
462
            unsigned char BYTE;                             /*  Byte Access */
463
            struct {                                        /*  Bit Access  */
464
                unsigned char               : 3;            /*              */
465
                unsigned char RRS           : 1;            /*    RRS       */
466
                unsigned char RCHNE         : 1;            /*    RCHNE     */
467
                unsigned char               : 2;            /*              */
468
                unsigned char ERR           : 1;            /*    ERR       */
469
            }           BIT;                                /*              */
470
        }               DTCCR;                              /*              */
471
        char            wk2[3];                             /*              *///FFFE6014-FFFE6010-1
472
        unsigned int    DTCVBR;                             /* DTCVBR       *///FFFE6014
473
};                                                          /*              */
474
struct st_bsc {                                             /* struct BSC   */
475
        union {                                             /* CMNCR        *///FFFC0000
476
            unsigned int LONG;                              /*  Long Access */
477
            struct {                                        /*  Bit Access  */
478
                unsigned int                :20;            /*              */
479
                unsigned int BLOCK          : 1;            /*    BLOCK     */
480
                unsigned int DPRTY          : 2;            /*    DPRTY     */
481
                unsigned int DMAIW          : 3;            /*    DMAIW     */
482
                unsigned int DMAIWA         : 1;            /*    DMAIWA    */
483
                unsigned int                : 2;            /*              */
484
                unsigned int HIZCKIO        : 1;            /*    HIZCKIO   */
485
                unsigned int HIZMEM         : 1;            /*    HIZMEM    */
486
                unsigned int HIZCNT         : 1;            /*    HIZCNT    */
487
            }           BIT;                                /*              */
488
        }               CMNCR;                              /*              */
489
        union {                                             /* CS0BCR       *///FFFC0004
490
            unsigned int LONG;                              /*  Long Access */
491
            struct {                                        /*  Bit Access  */
492
                unsigned int                : 1;            /*              */
493
                unsigned int IWW            : 3;            /*    IWW       */
494
                unsigned int IWRWD          : 3;            /*    IWRWD     */
495
                unsigned int IWRWS          : 3;            /*    IWRWS     */
496
                unsigned int IWRRD          : 3;            /*    IWRRD     */
497
                unsigned int IWRRS          : 3;            /*    IWRRS     */
498
                unsigned int                : 1;            /*              */
499
                unsigned int TYPE           : 3;            /*    TYPE      */
500
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
501
                unsigned int BSZ            : 2;            /*    BSZ       */
502
            }           BIT;                                /*              */
503
        }               CS0BCR;                             /*              */
504
        union {                                             /* CS1BCR       *///FFFC0008
505
            unsigned int LONG;                              /*  Long Access */
506
            struct {                                        /*  Bit Access  */
507
                unsigned int                : 1;            /*              */
508
                unsigned int IWW            : 3;            /*    IWW       */
509
                unsigned int IWRWD          : 3;            /*    IWRWD     */
510
                unsigned int IWRWS          : 3;            /*    IWRWS     */
511
                unsigned int IWRRD          : 3;            /*    IWRRD     */
512
                unsigned int IWRRS          : 3;            /*    IWRRS     */
513
                unsigned int                : 1;            /*              */
514
                unsigned int TYPE           : 3;            /*    TYPE      */
515
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
516
                unsigned int BSZ            : 2;            /*    BSZ       */
517
            }           BIT;                                /*              */
518
        }               CS1BCR;                             /*              */
519
        union {                                             /* CS2BCR       *///FFFC000C
520
            unsigned int LONG;                              /*  Long Access */
521
            struct {                                        /*  Bit Access  */
522
                unsigned int                : 1;            /*              */
523
                unsigned int IWW            : 3;            /*    IWW       */
524
                unsigned int IWRWD          : 3;            /*    IWRWD     */
525
                unsigned int IWRWS          : 3;            /*    IWRWS     */
526
                unsigned int IWRRD          : 3;            /*    IWRRD     */
527
                unsigned int IWRRS          : 3;            /*    IWRRS     */
528
                unsigned int                : 1;            /*              */
529
                unsigned int TYPE           : 3;            /*    TYPE      */
530
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
531
                unsigned int BSZ            : 2;            /*    BSZ       */
532
            }           BIT;                                /*              */
533
        }               CS2BCR;                             /*              */
534
        union {                                             /* CS3BCR       *///FFFC0010
535
            unsigned int LONG;                              /*  Long Access */
536
            struct {                                        /*  Bit Access  */
537
                unsigned int                : 1;            /*              */
538
                unsigned int IWW            : 3;            /*    IWW       */
539
                unsigned int IWRWD          : 3;            /*    IWRWD     */
540
                unsigned int IWRWS          : 3;            /*    IWRWS     */
541
                unsigned int IWRRD          : 3;            /*    IWRRD     */
542
                unsigned int IWRRS          : 3;            /*    IWRRS     */
543
                unsigned int                : 1;            /*              */
544
                unsigned int TYPE           : 3;            /*    TYPE      */
545
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
546
                unsigned int BSZ            : 2;            /*    BSZ       */
547
            }           BIT;                                /*              */
548
        }               CS3BCR;                             /*              */
549
        union {                                             /* CS4BCR       *///FFFC0014
550
            unsigned int LONG;                              /*  Long Access */
551
            struct {                                        /*  Bit Access  */
552
                unsigned int                : 1;            /*              */
553
                unsigned int IWW            : 3;            /*    IWW       */
554
                unsigned int IWRWD          : 3;            /*    IWRWD     */
555
                unsigned int IWRWS          : 3;            /*    IWRWS     */
556
                unsigned int IWRRD          : 3;            /*    IWRRD     */
557
                unsigned int IWRRS          : 3;            /*    IWRRS     */
558
                unsigned int                : 1;            /*              */
559
                unsigned int TYPE           : 3;            /*    TYPE      */
560
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
561
                unsigned int BSZ            : 2;            /*    BSZ       */
562
            }           BIT;                                /*              */
563
        }               CS4BCR;                             /*              */
564
        union {                                             /* CS5BCR       *///FFFC0018
565
            unsigned int LONG;                              /*  Long Access */
566
            struct {                                        /*  Bit Access  */
567
                unsigned int                : 1;            /*              */
568
                unsigned int IWW            : 3;            /*    IWW       */
569
                unsigned int IWRWD          : 3;            /*    IWRWD     */
570
                unsigned int IWRWS          : 3;            /*    IWRWS     */
571
                unsigned int IWRRD          : 3;            /*    IWRRD     */
572
                unsigned int IWRRS          : 3;            /*    IWRRS     */
573
                unsigned int                : 1;            /*              */
574
                unsigned int TYPE           : 3;            /*    TYPE      */
575
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
576
                unsigned int BSZ            : 2;            /*    BSZ       */
577
            }           BIT;                                /*              */
578
        }               CS5BCR;                             /*              */
579
        union {                                             /* CS6BCR       *///FFFC001C
580
            unsigned int LONG;                              /*  Long Access */
581
            struct {                                        /*  Bit Access  */
582
                unsigned int                : 1;            /*              */
583
                unsigned int IWW            : 3;            /*    IWW       */
584
                unsigned int IWRWD          : 3;            /*    IWRWD     */
585
                unsigned int IWRWS          : 3;            /*    IWRWS     */
586
                unsigned int IWRRD          : 3;            /*    IWRRD     */
587
                unsigned int IWRRS          : 3;            /*    IWRRS     */
588
                unsigned int                : 1;            /*              */
589
                unsigned int TYPE           : 3;            /*    TYPE      */
590
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
591
                unsigned int BSZ            : 2;            /*    BSZ       */
592
            }           BIT;                                /*              */
593
        }               CS6BCR;                             /*              */
594
        union {                                             /* CS7BCR       *///FFFC0020
595
            unsigned int LONG;                              /*  Long Access */
596
            struct {                                        /*  Bit Access  */
597
                unsigned int                : 1;            /*              */
598
                unsigned int IWW            : 3;            /*    IWW       */
599
                unsigned int IWRWD          : 3;            /*    IWRWD     */
600
                unsigned int IWRWS          : 3;            /*    IWRWS     */
601
                unsigned int IWRRD          : 3;            /*    IWRRD     */
602
                unsigned int IWRRS          : 3;            /*    IWRRS     */
603
                unsigned int                : 1;            /*              */
604
                unsigned int TYPE           : 3;            /*    TYPE      */
605
                unsigned int ENDIAN         : 1;            /*    ENDIAN    */
606
                unsigned int BSZ            : 2;            /*    BSZ       */
607
            }           BIT;                                /*              */
608
        }               CS7BCR;                             /*              */
609
        char            wk1[4];                             /*              *///FFFC0028-FFFC0020-4
610
        unsigned int    CS0WCR;                             /* CS0WCR       *///FFFC0028
611
        unsigned int    CS1WCR;                             /* CS1WCR       *///FFFC002C
612
        unsigned int    CS2WCR;                             /* CS2WCR       *///FFFC0030
613
        unsigned int    CS3WCR;                             /* CS3WCR       *///FFFC0034
614
        unsigned int    CS4WCR;                             /* CS4WCR       *///FFFC0038
615
        unsigned int    CS5WCR;                             /* CS5WCR       *///FFFC003C
616
        unsigned int    CS6WCR;                             /* CS6WCR       *///FFFC0040
617
        unsigned int    CS7WCR;                             /* CS7WCR       *///FFFC0044
618
        char            wk2[4];                             /*              *///FFFC004C-FFFC0044-4
619
        union {                                             /* SDCR         *///FFFC004C
620
            unsigned int LONG;                              /*  Long Access */
621
            struct {                                        /*  Bit Access  */
622
                unsigned int                :11;            /*              */
623
                unsigned int A2ROW          : 2;            /*    A2ROW     */
624
                unsigned int                : 1;            /*              */
625
                unsigned int A2COL          : 2;            /*    A2COL     */
626
                unsigned int                : 2;            /*              */
627
                unsigned int DEEP           : 1;            /*    DEEP      */
628
                unsigned int SLOW           : 1;            /*    SLOW      */
629
                unsigned int RFSH           : 1;            /*    RFSH      */
630
                unsigned int RMODE          : 1;            /*    RMODE     */
631
                unsigned int PDOWN          : 1;            /*    PDOWN     */
632
                unsigned int BACTV          : 1;            /*    BACTV     */
633
                unsigned int                : 3;            /*              */
634
                unsigned int A3ROW          : 2;            /*    A3ROW     */
635
                unsigned int                : 1;            /*              */
636
                unsigned int A3COL          : 2;            /*    A3COL     */
637
            }           BIT;                                /*              */
638
        }               SDCR;                               /*              */
639
        union {                                             /* RTCSR        *///FFFC0050
640
            unsigned int LONG;                              /*  Long Access */
641
            struct {                                        /*  Bit Access  */
642
                unsigned int                :24;            /*              */
643
                unsigned int CMF            : 1;            /*    CMF       */
644
                unsigned int CMIE           : 1;            /*    CMIE      */
645
                unsigned int CKS            : 3;            /*    CKS       */
646
                unsigned int RRC            : 3;            /*    RRC       */
647
            }           BIT;                                /*              */
648
        }               RTCSR;                              /*              */
649
        unsigned int        RTCNT;                          /* RTCNT        *///FFFC0054
650
        unsigned int        RTCOR;                          /* RTCOR        *///FFFC0058
651
        char            wk3[146366];                        /*              *///FFFE3C1A-FFFC0058-4
652
        union {                                             /* BSCEHR       *///FFFE3C1A
653
            unsigned short WORD;                            /*  Word Access */
654
            struct {                                        /*  Bit Access  */
655
                unsigned short DTLOCK       : 1;            /*    DTLOCK    */
656
                unsigned short              : 3;            /*              */
657
                unsigned short DTBST        : 1;            /*    DTBST     */
658
                unsigned short DTSA         : 1;            /*    DTSA      */
659
                unsigned short              : 1;            /*              */
660
                unsigned short DTPR         : 1;            /*    DTPR      */
661
            }           BIT;                                /*              */
662
        }               BSCEHR;                             /*              */
663
};                                                          /*              */
664
struct st_dmac {                                            /* struct DMAC  */
665
        union {                                             /* DMAOR        *///FFFE1200
666
            unsigned short WORD;                            /*  Word Access */
667
            struct {                                        /*  Bit Access  */
668
                unsigned char               : 2;            /*              */
669
                unsigned char CMS           : 2;            /*    CMS       */
670
                unsigned char               : 2;            /*              */
671
                unsigned char PR            : 2;            /*    PR        */
672
                unsigned char               : 5;            /*              */
673
                unsigned char AE            : 1;            /*    AE        */
674
                unsigned char NMIF          : 1;            /*    NMIF      */
675
                unsigned char DME           : 1;            /*    DME       */
676
            }           BIT;                                /*              */
677
        }               DMAOR;                              /*              */
678
        char            wk1[254];                           /*              *///FFFE1300-FFFE1200-2
679
        union {                                             /* DMARS0       *///FFFE1300
680
            unsigned short WORD;                            /*  Word Access */
681
            struct {                                        /*  Bit Access  */
682
                unsigned short C1MID        : 6;            /*    C1MID     */
683
                unsigned short C1RID        : 2;            /*    C1RID     */
684
                unsigned short C0MID        : 6;            /*    C0MID     */
685
                unsigned short C0RID        : 2;            /*    C0RID     */
686
            }           BIT;                                /*              */
687
        }               DMARS0;                             /*              */
688
        char            wk2[2];                             /*              *///FFFE1304-FFFE1300-2
689
        union {                                             /* DMARS1       *///FFFE1304
690
            unsigned short WORD;                            /*  Word Access */
691
            struct {                                        /*  Bit Access  */
692
                unsigned short C3MID        : 6;            /*    C3MID     */
693
                unsigned short C3RID        : 2;            /*    C3RID     */
694
                unsigned short C2MID        : 6;            /*    C2MID     */
695
                unsigned short C2RID        : 2;            /*    C2RID     */
696
            }           BIT;                                /*              */
697
        }               DMARS1;                             /*              */
698
        char            wk3[2];                             /*              *///FFFE1308-FFFE1304-2
699
        union {                                             /* DMARS2       *///FFFE1308
700
            unsigned short WORD;                            /*  Word Access */
701
            struct {                                        /*  Bit Access  */
702
                unsigned short C5MID        : 6;            /*    C5MID     */
703
                unsigned short C5RID        : 2;            /*    C5RID     */
704
                unsigned short C4MID        : 6;            /*    C4MID     */
705
                unsigned short C4RID        : 2;            /*    C4RID     */
706
            }           BIT;                                /*              */
707
        }               DMARS2;                             /*              */
708
        char            wk4[2];                             /*              *///FFFE130C-FFFE1308-2
709
        union {                                             /* DMARS3       *///FFFE130C
710
            unsigned short WORD;                            /*  Word Access */
711
            struct {                                        /*  Bit Access  */
712
                unsigned short C7MID        : 6;            /*    C7MID     */
713
                unsigned short C7RID        : 2;            /*    C7RID     */
714
                unsigned short C6MID        : 6;            /*    C6MID     */
715
                unsigned short C6RID        : 2;            /*    C6RID     */
716
            }           BIT;                                /*              */
717
        }               DMARS3;                             /*              */
718
};                                                          /*              */
719
struct st_dmac0 {                                           /* struct DMAC0 *///FFFE1000
720
                                                            /* struct DMAC1 *///FFFE1010
721
        void            *SAR;                               /* SAR          *///FFFE1000
722
        void            *DAR;                               /* DAR          *///FFFE1004
723
        unsigned int    DMATCR;                             /* DMATCR       *///FFFE1008
724
        union {                                             /* CHCR         *///FFFE100C
725
            unsigned int LONG;                              /*  Long Access */
726
            struct {                                        /*  Word Access */
727
                unsigned short H;                           /*    High Word */
728
                unsigned short L;                           /*    Low  Word */
729
            }       WORD;                                   /*              */
730
            struct {                                        /*  Bit Access  */
731
                unsigned char TC            : 1;            /*    TC        */
732
                unsigned char               : 2;            /*              */
733
                unsigned char RLD           : 1;            /*    RLD       */
734
                unsigned char               : 4;            /*              */
735
                unsigned char DO            : 1;            /*    DO        */
736
                unsigned char TL            : 1;            /*    TL        */
737
                unsigned char               : 2;            /*              */
738
                unsigned char HE            : 1;            /*    HE        */
739
                unsigned char HIE           : 1;            /*    HIE       */
740
                unsigned char AM            : 1;            /*    AM        */
741
                unsigned char AL            : 1;            /*    AL        */
742
                unsigned char DM            : 2;            /*    DM        */
743
                unsigned char SM            : 2;            /*    SM        */
744
                unsigned char RS            : 4;            /*    RS        */
745
                unsigned char DL            : 1;            /*    DL        */
746
                unsigned char DS            : 1;            /*    DS        */
747
                unsigned char TB            : 1;            /*    TB        */
748
                unsigned char TS            : 2;            /*    TS        */
749
                unsigned char IE            : 1;            /*    IE        */
750
                unsigned char TE            : 1;            /*    TE        */
751
                unsigned char DE            : 1;            /*    DE        */
752
            }           BIT;                                /*              */
753
        }               CHCR;                               /*              */
754
        char            wk1[240];                           /*              *///FFFE1100-FFFE100C-4
755
        void            *RSAR;                              /* RSAR         *///FFFE1100
756
        void            *RDAR;                              /* RDAR         *///FFFE1104
757
        unsigned int    RDMATCR;                            /* RDMATCR      *///FFFE1108
758
};                                                          /*              */
759
struct st_dmac2 {                                           /* struct DMAC2 *///FFFE1020
760
                                                            /* struct DMAC3 *///FFFE1030
761
        void            *SAR;                               /* SAR          *///FFFE1020
762
        void            *DAR;                               /* DAR          *///FFFE1024
763
        unsigned int    DMATCR;                             /* DMATCR       *///FFFE1028
764
        union {                                             /* CHCR         *///FFFE102C
765
            unsigned int LONG;                              /*  Long Access */
766
            struct {                                        /*  Word Access */
767
                unsigned short H;                           /*    High Word */
768
                unsigned short L;                           /*    Low  Word */
769
            }           WORD;                               /*              */
770
            struct {                                        /*  Bit Access  */
771
                unsigned char TC            : 1;            /*    TC        */
772
                unsigned char               : 2;            /*              */
773
                unsigned char RLD           : 1;            /*    RLD       */
774
                unsigned char               : 4;            /*              */
775
                unsigned char DO            : 1;            /*    DO        */
776
                unsigned char               : 3;            /*              */
777
                unsigned char HE            : 1;            /*    HE        */
778
                unsigned char HIE           : 1;            /*    HIE       */
779
                unsigned char AM            : 1;            /*    AM        */
780
                unsigned char AL            : 1;            /*    AL        */
781
                unsigned char DM            : 2;            /*    DM        */
782
                unsigned char SM            : 2;            /*    SM        */
783
                unsigned char RS            : 4;            /*    RS        */
784
                unsigned char DL            : 1;            /*    DL        */
785
                unsigned char DS            : 1;            /*    DS        */
786
                unsigned char TB            : 1;            /*    TB        */
787
                unsigned char TS            : 2;            /*    TS        */
788
                unsigned char IE            : 1;            /*    IE        */
789
                unsigned char TE            : 1;            /*    TE        */
790
                unsigned char DE            : 1;            /*    DE        */
791
            }           BIT;                                /*              */
792
        }               CHCR;                               /*              */
793
        char            wk1[240];                           /*              *///FFFE1120-FFFE102C-4
794
        void            *RSAR;                              /* RSAR         *///FFFE1120
795
        void            *RDAR;                              /* RDAR         *///FFFE1124
796
        unsigned int    RDMATCR;                            /* RDMATCR      *///FFFE1128
797
};                                                          /*              */
798
struct st_dmac4 {                                           /* struct DMAC4 *///FFFE1040
799
                                                            /* struct DMAC5 *///FFFE1050
800
                                                            /* struct DMAC6 *///FFFE1060
801
                                                            /* struct DMAC7 *///FFFE1070
802
        void            *SAR;                               /* SAR          *///FFFE1040
803
        void            *DAR;                               /* DAR          *///FFFE1044
804
        unsigned int    DMATCR;                             /* DMATCR       *///FFFE1048
805
        union {                                             /* CHCR         *///FFFE104C
806
            unsigned int LONG;                              /*  Long Access */
807
            struct {                                        /*  Word Access */
808
                unsigned short H;                           /*    High Word */
809
                unsigned short L;                           /*    Low  Word */
810
            }           WORD;                               /*              */
811
            struct {                                        /*  Bit Access  */
812
                unsigned char TC            : 1;            /*    TC        */
813
                unsigned char               : 2;            /*              */
814
                unsigned char RLD           : 1;            /*    RLD       */
815
                unsigned char               : 4;            /*              */
816
                unsigned char               : 4;            /*              */
817
                unsigned char HE            : 1;            /*    HE        */
818
                unsigned char HIE           : 1;            /*    HIE       */
819
                unsigned char               : 2;            /*              */
820
                unsigned char DM            : 2;            /*    DM        */
821
                unsigned char SM            : 2;            /*    SM        */
822
                unsigned char RS            : 4;            /*    RS        */
823
                unsigned char               : 2;            /*              */
824
                unsigned char TB            : 1;            /*    TB        */
825
                unsigned char TS            : 2;            /*    TS        */
826
                unsigned char IE            : 1;            /*    IE        */
827
                unsigned char TE            : 1;            /*    TE        */
828
                unsigned char DE            : 1;            /*    DE        */
829
            }           BIT;                                /*              */
830
        }               CHCR;                               /*              */
831
        char            wk1[240];                           /*              *///FFFE1140-FFFE104C-4
832
        void            *RSAR;                              /* RSAR         *///FFFE1140
833
        void            *RDAR;                              /* RDAR         *///FFFE1144
834
        unsigned int    RDMATCR;                            /* RDMATCR      *///FFFE1148
835
};                                                          /*              */
836
struct st_mtu2 {                                            /* struct MTU2  */
837
        union {                                             /* TOER         *///FFFE420A
838
            unsigned char BYTE;                             /*  Byte Access */
839
            struct {                                        /*  Bit Access  */
840
                unsigned char               : 2;            /*              */
841
                unsigned char OE4D          : 1;            /*    OE4D      */
842
                unsigned char OE4C          : 1;            /*    OE4C      */
843
                unsigned char OE3D          : 1;            /*    OE3D      */
844
                unsigned char OE4B          : 1;            /*    OE4B      */
845
                unsigned char OE4A          : 1;            /*    OE4A      */
846
                unsigned char OE3B          : 1;            /*    OE3B      */
847
            }           BIT;                                /*              */
848
        }               TOER;                               /*              */
849
        char            wk1[2];                             /*              *///FFFE420D-FFFE420A-1
850
        union {                                             /* TGCR         *///FFFE420D
851
            unsigned char BYTE;                             /*  Byte Access */
852
            struct {                                        /*  Bit Access  */
853
                unsigned char               : 1;            /*              */
854
                unsigned char BDC           : 1;            /*    BDC       */
855
                unsigned char N             : 1;            /*    N         */
856
                unsigned char P             : 1;            /*    P         */
857
                unsigned char FB            : 1;            /*    FB        */
858
                unsigned char WF            : 1;            /*    WF        */
859
                unsigned char VF            : 1;            /*    VF        */
860
                unsigned char UF            : 1;            /*    UF        */
861
            }           BIT;                                /*              */
862
        }               TGCR;                               /*              */
863
        union {                                             /* TOCR1        *///FFFE420E
864
            unsigned char BYTE;                             /*  Byte Access */
865
            struct {                                        /*  Bit Access  */
866
                unsigned char               : 1;            /*              */
867
                unsigned char PSYE          : 1;            /*    PSYE      */
868
                unsigned char               : 2;            /*              */
869
                unsigned char TOCL          : 1;            /*    TOCL      */
870
                unsigned char TOCS          : 1;            /*    TOCS      */
871
                unsigned char OLSN          : 1;            /*    OLSN      */
872
                unsigned char OLSP          : 1;            /*    OLSP      */
873
            }           BIT;                                /*              */
874
        }               TOCR1;                              /*              */
875
        union {                                             /* TOCR2        *///FFFE420F
876
            unsigned char BYTE;                             /*  Byte Access */
877
            struct {                                        /*  Bit Access  */
878
                unsigned char BF            : 2;            /*    BF        */
879
                unsigned char OLS3N         : 1;            /*    OLS3N     */
880
                unsigned char OLS3P         : 1;            /*    OLS3P     */
881
                unsigned char OLS2N         : 1;            /*    OLS2N     */
882
                unsigned char OLS2P         : 1;            /*    OLS2P     */
883
                unsigned char OLS1N         : 1;            /*    OLS1N     */
884
                unsigned char OLS1P         : 1;            /*    OLS1P     */
885
            }           BIT;                                /*              */
886
        }               TOCR2;                              /*              */
887
        char            wk2[4];                             /*              *///FFFE4214-FFFE420F-1
888
        unsigned short  TCDR;                               /* TCDR         *///FFFE4214
889
        unsigned short  TDDR;                               /* TDDR         *///FFFE4216
890
        char            wk3[8];                             /*              *///FFFE4220-FFFE4216-2
891
        unsigned short  TCNTS;                              /* TCNTS        *///FFFE4220
892
        unsigned short  TCBR;                               /* TCBR         *///FFFE4222
893
        char            wk4[12];                            /*              *///FFFE4230-FFFE4222-2
894
        union {                                             /* TITCR        *///FFFE4230
895
            unsigned char BYTE;                             /*  Byte Access */
896
            struct {                                        /*  Bit Access  */
897
                unsigned char T3AEN         : 1;            /*    T3AEN     */
898
                unsigned char T3ACOR        : 3;            /*    T3ACOR    */
899
                unsigned char T4VEN         : 1;            /*    T4VEN     */
900
                unsigned char T4VCOR        : 3;            /*    T4VCOR    */
901
            }           BIT;                                /*              */
902
        }               TITCR;                              /*              */
903
        union {                                             /* TITCNT       *///FFFE4231
904
            unsigned char BYTE;                             /*  Byte Access */
905
            struct {                                        /*  Bit Access  */
906
                unsigned char               : 1;            /*              */
907
                unsigned char T3ACNT        : 3;            /*    T3ACNT    */
908
                unsigned char               : 1;            /*              */
909
                unsigned char T4VCNT        : 3;            /*    T4VCNT    */
910
            }           BIT;                                /*              */
911
        }               TITCNT;                             /*              */
912
        union {                                             /* TBTER        *///FFFE4232
913
            unsigned char BYTE;                             /*  Byte Access */
914
            struct {                                        /*  Bit Access  */
915
                unsigned char               : 6;            /*              */
916
                unsigned char BTE           : 2;            /*    BTE       */
917
            }           BIT;                                /*              */
918
        }               TBTER;                              /*              */
919
        char            wk5[1];                             /*              *///FFFE4234-FFFE4232-1
920
        union {                                             /* TDER         *///FFFE4234
921
            unsigned char BYTE;                             /*  Byte Access */
922
            struct {                                        /*  Bit Access  */
923
                unsigned char               : 7;            /*              */
924
                unsigned char TDER          : 1;            /*    TDER      */
925
            }           BIT;                                /*              */
926
        }               TDER;                               /*              */
927
        char            wk6[1];                             /*              *///FFFE4236-FFFE4234-1
928
        union {                                             /* TOLBR        *///FFFE4236
929
            unsigned char BYTE;                             /*  Byte Access */
930
            struct {                                        /*  Bit Access  */
931
                unsigned char               : 2;            /*              */
932
                unsigned char OLS3N         : 1;            /*    OLS3N     */
933
                unsigned char OLS3P         : 1;            /*    OLS3P     */
934
                unsigned char OLS2N         : 1;            /*    OLS2N     */
935
                unsigned char OLS2P         : 1;            /*    OLS2P     */
936
                unsigned char OLS1N         : 1;            /*    OLS1N     */
937
                unsigned char OLS1P         : 1;            /*    OLS1P     */
938
            }           BIT;                                /*              */
939
        }               TOLBR;                              /*              */
940
        char            wk7[41];                            /*              *///FFFE4260-FFFE4236-1
941
        union {                                             /* TWCR         *///FFFE4260
942
            unsigned char BYTE;                             /*  Byte Access */
943
            struct {                                        /*  Bit Access  */
944
                unsigned char CCE           : 1;            /*    CCE       */
945
                unsigned char               : 5;            /*              */
946
                unsigned char               : 1;            /*              */
947
                unsigned char WRE           : 1;            /*    WRE       */
948
            }           BIT;                                /*              */
949
        }               TWCR;                               /*              */
950
        char            wk8[31];                            /*              *///FFFE4280-FFFE4260-1
951
        union {                                             /* TSTR         *///FFFE4280
952
            unsigned char BYTE;                             /*  Byte Access */
953
            struct {                                        /*  Bit Access  */
954
                unsigned char CST4          : 1;            /*    CST4      */
955
                unsigned char CST3          : 1;            /*    CST3      */
956
                unsigned char               : 3;            /*              */
957
                unsigned char CST2          : 1;            /*    CST2      */
958
                unsigned char CST1          : 1;            /*    CST1      */
959
                unsigned char CST0          : 1;            /*    CST0      */
960
            }           BIT;                                /*              */
961
        }               TSTR;                               /*              */
962
        union {                                             /* TSYR         *///FFFE4281
963
            unsigned char BYTE;                             /*  Byte Access */
964
            struct {                                        /*  Bit Access  */
965
                unsigned char SYNC4         : 1;            /*    SYNC4     */
966
                unsigned char SYNC3         : 1;            /*    SYNC3     */
967
                unsigned char               : 3;            /*              */
968
                unsigned char SYNC2         : 1;            /*    SYNC2     */
969
                unsigned char SYNC1         : 1;            /*    SYNC1     */
970
                unsigned char SYNC0         : 1;            /*    SYNC0     */
971
            }           BIT;                                /*              */
972
        }               TSYR;                               /*              */
973
        union {                                             /* TCSYSTR      *///FFFE4282
974
            unsigned char BYTE;                             /*  Byte Access */
975
            struct {                                        /*  Bit Access  */
976
                unsigned char SCH0          : 1;            /*    SCH0      */
977
                unsigned char SCH1          : 1;            /*    SCH1      */
978
                unsigned char SCH2          : 1;            /*    SCH2      */
979
                unsigned char SCH3          : 1;            /*    SCH3      */
980
                unsigned char SCH4          : 1;            /*    SCH4      */
981
                unsigned char               : 1;            /*              */
982
                unsigned char SCH3S         : 1;            /*    SCH3S     */
983
                unsigned char SCH4S         : 1;            /*    SCH4S     */
984
            }           BIT;                                /*              */
985
        }               TCSYSTR;                            /*              */
986
        char            wk9[1];                             /*              *///FFFE4284-FFFE4282-1
987
        union {                                             /* TRWER        *///FFFE4284
988
            unsigned char BYTE;                             /*  Byte Access */
989
            struct {                                        /*  Bit Access  */
990
                unsigned char               : 7;            /*              */
991
                unsigned char RWE           : 1;            /*    RWE       */
992
            }           BIT;                                /*              */
993
        }               TRWER;                              /*              */
994
};                                                          /*              */
995
struct st_mtu20 {                                           /* struct MTU20 */
996
        union {                                             /* TCR          *///FFFE4300
997
            unsigned char BYTE;                             /*  Byte Access */
998
            struct {                                        /*  Bit Access  */
999
                unsigned char CCLR          : 3;            /*    CCLR      */
1000
                unsigned char CKEG          : 2;            /*    CKEG      */
1001
                unsigned char TPSC          : 3;            /*    TPSC      */
1002
            }           BIT;                                /*              */
1003
        }               TCR;                                /*              */
1004
        union {                                             /* TMDR         *///FFFE4301
1005
            unsigned char BYTE;                             /*  Byte Access */
1006
            struct {                                        /*  Bit Access  */
1007
                unsigned char               : 1;            /*              */
1008
                unsigned char BFE           : 1;            /*    BFE       */
1009
                unsigned char BFB           : 1;            /*    BFB       */
1010
                unsigned char BFA           : 1;            /*    BFA       */
1011
                unsigned char MD            : 4;            /*    MD        */
1012
            }           BIT;                                /*              */
1013
        }               TMDR;                               /*              */
1014
        union {                                             /* TIOR         *///FFFE4302
1015
            unsigned short WORD;                            /*  Word Access */
1016
            struct {                                        /*  Byte Access */
1017
                unsigned char H;                            /*    TIORH     */
1018
                unsigned char L;                            /*    TIORL     */
1019
                }       BYTE;                               /*              */
1020
            struct {                                        /*  Bit Access  */
1021
                unsigned char IOB           : 4;            /*    IOB       */
1022
                unsigned char IOA           : 4;            /*    IOA       */
1023
                unsigned char IOD           : 4;            /*    IOD       */
1024
                unsigned char IOC           : 4;            /*    IOC       */
1025
            }           BIT;                                /*              */
1026
        }               TIOR;                               /*              */
1027
        union {                                             /* TIER         *///FFFE4304
1028
            unsigned char BYTE;                             /*  Byte Access */
1029
            struct {                                        /*  Bit Access  */
1030
                unsigned char TTGE          : 1;            /*    TTGE      */
1031
                unsigned char               : 2;            /*              */
1032
                unsigned char TCIEV         : 1;            /*    TCIEV     */
1033
                unsigned char TGIED         : 1;            /*    TGIED     */
1034
                unsigned char TGIEC         : 1;            /*    TGIEC     */
1035
                unsigned char TGIEB         : 1;            /*    TGIEB     */
1036
                unsigned char TGIEA         : 1;            /*    TGIEA     */
1037
            }           BIT;                                /*              */
1038
        }               TIER;                               /*              */
1039
        union {                                             /* TSR          *///FFFE4305
1040
            unsigned char BYTE;                             /*  Byte Access */
1041
            struct {                                        /*  Bit Access  */
1042
                unsigned char               : 3;            /*              */
1043
                unsigned char TCFV          : 1;            /*    TCFV      */
1044
                unsigned char TGFD          : 1;            /*    TGFD      */
1045
                unsigned char TGFC          : 1;            /*    TGFC      */
1046
                unsigned char TGFB          : 1;            /*    TGFB      */
1047
                unsigned char TGFA          : 1;            /*    TGFA      */
1048
            }           BIT;                                /*              */
1049
        }               TSR;                                /*              */
1050
        unsigned short  TCNT;                               /* TCNT         *///FFFE4306
1051
        unsigned short  TGRA;                               /* TGRA         *///FFFE4308
1052
        unsigned short  TGRB;                               /* TGRB         *///FFFE430A
1053
        unsigned short  TGRC;                               /* TGRC         *///FFFE430C
1054
        unsigned short  TGRD;                               /* TGRD         *///FFFE430E
1055
        char            wk1[16];                            /*              *///FFFE4320-FFFE430E-2
1056
        unsigned short  TGRE;                               /* TGRE         *///FFFE4320
1057
        unsigned short  TGRF;                               /* TGRF         *///FFFE4322
1058
        union {                                             /* TIER2        *///FFFE4324
1059
            unsigned char BYTE;                             /*  Byte Access */
1060
            struct {                                        /*  Bit Access  */
1061
                unsigned char TTGE2         : 1;            /*    TTGE2     */
1062
                unsigned char               : 5;            /*              */
1063
                unsigned char TGIEF         : 1;            /*    TGIEF     */
1064
                unsigned char TGIEE         : 1;            /*    TGIEE     */
1065
            }           BIT;                                /*              */
1066
        }               TIER2;                              /*              */
1067
        union {                                             /* TSR2         *///FFFE4325
1068
            unsigned char BYTE;                             /*  Byte Access */
1069
            struct {                                        /*  Bit Access  */
1070
                unsigned char               : 6;            /*              */
1071
                unsigned char TGFF          : 1;            /*    TGFF      */
1072
                unsigned char TGFE          : 1;            /*    TGFE      */
1073
            }           BIT;                                /*              */
1074
        }               TSR2;                               /*              */
1075
        union {                                             /* TBTM         *///FFFE4326
1076
                unsigned char BYTE;                         /*  Byte Access */
1077
            struct {                                        /*  Bit Access  */
1078
                unsigned char               : 5;            /*              */
1079
                unsigned char TTSE          : 1;            /*    TTSE      */
1080
                unsigned char TTSB          : 1;            /*    TTSB      */
1081
                unsigned char TTSA          : 1;            /*    TTSA      */
1082
            }           BIT;                                /*              */
1083
        }               TBTM;                               /*              */
1084
};                                                          /*              */
1085
struct st_mtu21 {                                           /* struct MTU21 */
1086
        union {                                             /* TCR          *///FFFE4380
1087
            unsigned char BYTE;                             /*  Byte Access */
1088
            struct {                                        /*  Bit Access  */
1089
                unsigned char               : 1;            /*              */
1090
                unsigned char CCLR          : 2;            /*    CCLR      */
1091
                unsigned char CKEG          : 2;            /*    CKEG      */
1092
                unsigned char TPSC          : 3;            /*    TPSC      */
1093
            }           BIT;                                /*              */
1094
        }               TCR;                                /*              */
1095
        union {                                             /* TMDR         *///FFFE4381
1096
            unsigned char BYTE;                             /*  Byte Access */
1097
            struct {                                        /*  Bit Access  */
1098
                unsigned char               : 4;            /*              */
1099
                unsigned char MD            : 4;            /*    MD        */
1100
            }           BIT;                                /*              */
1101
        }               TMDR;                               /*              */
1102
        union {                                             /* TIOR         *///FFFE4382
1103
            unsigned char BYTE;                             /*  Byte Access */
1104
            struct {                                        /*  Bit Access  */
1105
                unsigned char IOB           : 4;            /*    IOB       */
1106
                unsigned char IOA           : 4;            /*    IOA       */
1107
            }           BIT;                                /*              */
1108
        }               TIOR;                               /*              */
1109
        char            wk1[1];                             /*              *///FFFE4384-FFFE4382-1
1110
        union {                                             /* TIER         *///FFFE4384
1111
            unsigned char BYTE;                             /*  Byte Access */
1112
            struct {                                        /*  Bit Access  */
1113
                unsigned char TTGE          : 1;            /*    TTGE      */
1114
                unsigned char               : 1;            /*              */
1115
                unsigned char TCIEU         : 1;            /*    TCIEU     */
1116
                unsigned char TCIEV         : 1;            /*    TCIEV     */
1117
                unsigned char               : 2;            /*              */
1118
                unsigned char TGIEB         : 1;            /*    TGIEB     */
1119
                unsigned char TGIEA         : 1;            /*    TGIEA     */
1120
            }           BIT;                                /*              */
1121
        }               TIER;                               /*              */
1122
        union {                                             /* TSR          *///FFFE4385
1123
            unsigned char BYTE;                             /*  Byte Access */
1124
            struct {                                        /*  Bit Access  */
1125
                unsigned char TCFD          : 1;            /*    TCFD      */
1126
                unsigned char               : 1;            /*              */
1127
                unsigned char TCFU          : 1;            /*    TCFU      */
1128
                unsigned char TCFV          : 1;            /*    TCFV      */
1129
                unsigned char               : 2;            /*              */
1130
                unsigned char TGFB          : 1;            /*    TGFB      */
1131
                unsigned char TGFA          : 1;            /*    TGFA      */
1132
            }           BIT;                                /*              */
1133
        }               TSR;                                /*              */
1134
        unsigned short  TCNT;                               /* TCNT         *///FFFE4386
1135
        unsigned short  TGRA;                               /* TGRA         *///FFFE4388
1136
        unsigned short  TGRB;                               /* TGRB         *///FFFE438A
1137
        char            wk2[4];                             /*              *///FFFE4390-FFFE438A-2
1138
        union {                                             /* TICCR        *///FFFE4390
1139
            unsigned char BYTE;                             /*  Byte Access */
1140
            struct {                                        /*  Bit Access  */
1141
                unsigned char               : 4;            /*              */
1142
                unsigned char I2BE          : 1;            /*    I2BE      */
1143
                unsigned char I2AE          : 1;            /*    I2AE      */
1144
                unsigned char I1BE          : 1;            /*    I1BE      */
1145
                unsigned char I1AE          : 1;            /*    I1AE      */
1146
            }           BIT;                                /*              */
1147
        }               TICCR;                              /*              */
1148
};                                                          /*              */
1149
struct st_mtu22 {                                           /* struct MTU22 */
1150
        union {                                             /* TCR          *///FFFE4000
1151
            unsigned char BYTE;                             /*  Byte Access */
1152
            struct {                                        /*  Bit Access  */
1153
                unsigned char               : 1;            /*              */
1154
                unsigned char CCLR          : 2;            /*    CCLR      */
1155
                unsigned char CKEG          : 2;            /*    CKEG      */
1156
                unsigned char TPSC          : 3;            /*    TPSC      */
1157
            }           BIT;                                /*              */
1158
        }               TCR;                                /*              */
1159
        union {                                             /* TMDR         *///FFFE4001
1160
            unsigned char BYTE;                             /*  Byte Access */
1161
            struct {                                        /*  Bit Access  */
1162
                unsigned char               : 4;            /*              */
1163
                unsigned char MD            : 4;            /*    MD        */
1164
            }           BIT;                                /*              */
1165
        }               TMDR;                               /*              */
1166
        union {                                             /* TIOR         *///FFFE4002
1167
            unsigned char BYTE;                             /*  Byte Access */
1168
            struct {                                        /*  Bit Access  */
1169
                unsigned char IOB           : 4;            /*    IOB       */
1170
                unsigned char IOA           : 4;            /*    IOA       */
1171
            }           BIT;                                /*              */
1172
        }               TIOR;                               /*              */
1173
        char            wk1[1];                             /*              *///FFFE4004-FFFE4002-1
1174
        union {                                             /* TIER         *///FFFE4004
1175
            unsigned char BYTE;                             /*  Byte Access */
1176
            struct {                                        /*  Bit Access  */
1177
                unsigned char TTGE          : 1;            /*    TTGE      */
1178
                unsigned char               : 1;            /*              */
1179
                unsigned char TCIEU         : 1;            /*    TCIEU     */
1180
                unsigned char TCIEV         : 1;            /*    TCIEV     */
1181
                unsigned char               : 2;            /*              */
1182
                unsigned char TGIEB         : 1;            /*    TGIEB     */
1183
                unsigned char TGIEA         : 1;            /*    TGIEA     */
1184
            }           BIT;                                /*              */
1185
        }               TIER;                               /*              */
1186
        union {                                             /* TSR          *///FFFE4005
1187
                unsigned char BYTE;                         /*  Byte Access */
1188
            struct {                                        /*  Bit Access  */
1189
                unsigned char TCFD          : 1;            /*    TCFD      */
1190
                unsigned char               : 1;            /*              */
1191
                unsigned char TCFU          : 1;            /*    TCFU      */
1192
                unsigned char TCFV          : 1;            /*    TCFV      */
1193
                unsigned char               : 2;            /*              */
1194
                unsigned char TGFB          : 1;            /*    TGFB      */
1195
                unsigned char TGFA          : 1;            /*    TGFA      */
1196
            }           BIT;                                /*              */
1197
        }               TSR;                                /*              */
1198
        unsigned short  TCNT;                               /* TCNT         *///FFFE4006
1199
        unsigned short  TGRA;                               /* TGRA         *///FFFE4008
1200
        unsigned short  TGRB;                               /* TGRB         *///FFFE400A
1201
};                                                          /*              */
1202
struct st_mtu23 {                                           /* struct MTU23 */
1203
        union {                                             /* TCR          *///FFFE4200
1204
            unsigned char BYTE;                             /*  Byte Access */
1205
            struct {                                        /*  Bit Access  */
1206
                unsigned char CCLR          : 3;            /*    CCLR      */
1207
                unsigned char CKEG          : 2;            /*    CKEG      */
1208
                unsigned char TPSC          : 3;            /*    TPSC      */
1209
            }           BIT;                                /*              */
1210
        }               TCR;                                /*              */
1211
        char            wk1[1];                             /*              *///FFFE4202-FFFE4200-1
1212
        union {                                             /* TMDR         *///FFFE4202
1213
            unsigned char BYTE;                             /*  Byte Access */
1214
            struct {                                        /*  Bit Access  */
1215
                unsigned char               : 2;            /*              */
1216
                unsigned char BFB           : 1;            /*    BFB       */
1217
                unsigned char BFA           : 1;            /*    BFA       */
1218
                unsigned char MD            : 4;            /*    MD        */
1219
            }           BIT;                                /*              */
1220
        }               TMDR;                               /*              */
1221
        char            wk2[1];                             /*              *///FFFE4204-FFFE4202-1
1222
        union {                                             /* TIOR         *///FFFE4204
1223
            unsigned short WORD;                            /*  Word Access */
1224
            struct {                                        /*  Byte Access */
1225
                unsigned char H;                            /*    TIORH     */
1226
                unsigned char L;                            /*    TIORL     */
1227
            }       BYTE;                                   /*              */
1228
            struct {                                        /*  Bit Access  */
1229
                unsigned char IOB           : 4;            /*    IOB       */
1230
                unsigned char IOA           : 4;            /*    IOA       */
1231
                unsigned char IOD           : 4;            /*    IOD       */
1232
                unsigned char IOC           : 4;            /*    IOC       */
1233
            }           BIT;                                /*              */
1234
        }               TIOR;                               /*              */
1235
        char            wk3[2];                             /*              *///FFFE4208-FFFE4204-2
1236
        union {                                             /* TIER         *///FFFE4208
1237
            unsigned char BYTE;                             /*  Byte Access */
1238
            struct {                                        /*  Bit Access  */
1239
                unsigned char TTGE          : 1;            /*    TTGE      */
1240
                unsigned char               : 2;            /*              */
1241
                unsigned char TCIEV         : 1;            /*    TCIEV     */
1242
                unsigned char TGIED         : 1;            /*    TGIED     */
1243
                unsigned char TGIEC         : 1;            /*    TGIEC     */
1244
                unsigned char TGIEB         : 1;            /*    TGIEB     */
1245
                unsigned char TGIEA         : 1;            /*    TGIEA     */
1246
            }           BIT;                                /*              */
1247
        }               TIER;                               /*              */
1248
        char            wk4[7];                             /*              *///FFFE4210-FFFE4208-1
1249
        unsigned short  TCNT;                               /* TCNT         *///FFFE4210
1250
        char            wk5[6];                             /*              *///FFFE4218-FFFE4210-2
1251
        unsigned short  TGRA;                               /* TGRA         *///FFFE4218
1252
        unsigned short  TGRB;                               /* TGRB         *///FFFE421A
1253
        char            wk6[8];                             /*              *///FFFE4224-FFFE421A-2
1254
        unsigned short  TGRC;                               /* TGRC         *///FFFE4224
1255
        unsigned short  TGRD;                               /* TGRD         *///FFFE4226
1256
        char            wk7[4];                             /*              *///FFFE422C-FFFE4226-2
1257
        union {                                             /* TSR          *///FFFE422C
1258
            unsigned char BYTE;                             /*  Byte Access */
1259
            struct {                                        /*  Bit Access  */
1260
                unsigned char TCFD          : 1;            /*    TCFD      */
1261
                unsigned char               : 2;            /*              */
1262
                unsigned char TCFV          : 1;            /*    TCFV      */
1263
                unsigned char TGFD          : 1;            /*    TGFD      */
1264
                unsigned char TGFC          : 1;            /*    TGFC      */
1265
                unsigned char TGFB          : 1;            /*    TGFB      */
1266
                unsigned char TGFA          : 1;            /*    TGFA      */
1267
            }           BIT;                                /*              */
1268
        }               TSR;                                /*              */
1269
        char            wk8[11];                            /*              *///FFFE4238-FFFE422C-1
1270
        union {                                             /* TBTM         *///FFFE4238
1271
            unsigned char BYTE;                             /*  Byte Access */
1272
            struct {                                        /*  Bit Access  */
1273
                unsigned char               : 6;            /*              */
1274
                unsigned char TTSB          : 1;            /*    TTSB      */
1275
                unsigned char TTSA          : 1;            /*    TTSA      */
1276
            }           BIT;                                /*              */
1277
        }               TBTM;                               /*              */
1278
};                                                          /*              */
1279
struct st_mtu24 {                                           /* struct MTU24 */
1280
        char            wk1[1];                             /*              *///FFFE4200
1281
        union {                                             /* TCR          *///FFFE4201
1282
            unsigned char BYTE;                             /*  Byte Access */
1283
            struct {                                        /*  Bit Access  */
1284
                unsigned char CCLR          : 3;            /*    CCLR      */
1285
                unsigned char CKEG          : 2;            /*    CKEG      */
1286
                unsigned char TPSC          : 3;            /*    TPSC      */
1287
            }           BIT;                                /*              */
1288
        }               TCR;                                /*              */
1289
        char            wk2[1];                             /*              *///FFFE4203-FFFE4201-1
1290
        union {                                             /* TMDR         *///FFFE4203
1291
            unsigned char BYTE;                             /*  Byte Access */
1292
            struct {                                        /*  Bit Access  */
1293
                unsigned char               : 2;            /*              */
1294
                unsigned char BFB           : 1;            /*    BFB       */
1295
                unsigned char BFA           : 1;            /*    BFA       */
1296
                unsigned char MD            : 4;            /*    MD        */
1297
            }           BIT;                                /*              */
1298
        }               TMDR;                               /*              */
1299
        char            wk3[2];                             /*              *///FFFE4206-FFFE4203-1
1300
        union {                                             /* TIOR         *///FFFE4206
1301
            unsigned short WORD;                            /*  Word Access */
1302
            struct {                                        /*  Byte Access */
1303
                unsigned char H;                            /*    TIORH     */
1304
                unsigned char L;                            /*    TIORL     */
1305
            }       BYTE;                                   /*              */
1306
            struct {                                        /*  Bit Access  */
1307
                unsigned char IOB           : 4;            /*    IOB       */
1308
                unsigned char IOA           : 4;            /*    IOA       */
1309
                unsigned char IOD           : 4;            /*    IOD       */
1310
                unsigned char IOC           : 4;            /*    IOC       */
1311
            }           BIT;                                /*              */
1312
        }               TIOR;                               /*              */
1313
        char            wk4[1];                             /*              *///FFFE4209-FFFE4206-2
1314
        union {                                             /* TIER         *///FFFE4209
1315
            unsigned char BYTE;                             /*  Byte Access */
1316
            struct {                                        /*  Bit Access  */
1317
                unsigned char TTGE          : 1;            /*    TTGE      */
1318
                unsigned char TTGE2         : 1;            /*    TTGE2     */
1319
                unsigned char               : 1;            /*              */
1320
                unsigned char TCIEV         : 1;            /*    TCIEV     */
1321
                unsigned char TGIED         : 1;            /*    TGIED     */
1322
                unsigned char TGIEC         : 1;            /*    TGIEC     */
1323
                unsigned char TGIEB         : 1;            /*    TGIEB     */
1324
                unsigned char TGIEA         : 1;            /*    TGIEA     */
1325
            }           BIT;                                /*              */
1326
        }               TIER;                               /*              */
1327
        char            wk5[8];                             /*              *///FFFE4212-FFFE4209-1
1328
        unsigned short  TCNT;                               /* TCNT         *///FFFE4212
1329
        char            wk6[8];                             /*              *///FFFE421C-FFFE4212-2
1330
        unsigned short  TGRA;                               /* TGRA         *///FFFE421C
1331
        unsigned short  TGRB;                               /* TGRB         *///FFFE421E
1332
        char            wk7[8];                             /*              *///FFFE4228-FFFE421E-2
1333
        unsigned short  TGRC;                               /* TGRC         *///FFFE4228
1334
        unsigned short  TGRD;                               /* TGRD         *///FFFE422A
1335
        char            wk8[1];                             /*              *///FFFE422D-FFFE422A-2
1336
        union {                                             /* TSR          *///FFFE422D
1337
            unsigned char BYTE;                             /*  Byte Access */
1338
            struct {                                        /*  Bit Access  */
1339
                unsigned char TCFD          : 1;            /*    TCFD      */
1340
                unsigned char               : 2;            /*              */
1341
                unsigned char TCFV          : 1;            /*    TCFV      */
1342
                unsigned char TGFD          : 1;            /*    TGFD      */
1343
                unsigned char TGFC          : 1;            /*    TGFC      */
1344
                unsigned char TGFB          : 1;            /*    TGFB      */
1345
                unsigned char TGFA          : 1;            /*    TGFA      */
1346
            }           BIT;                                /*              */
1347
        }               TSR;                                /*              */
1348
        char            wk9[11];                            /*              *///FFFE4239-FFFE422D-1
1349
        union {                                             /* TBTM         *///FFFE4239
1350
            unsigned char BYTE;                             /*  Byte Access */
1351
            struct {                                        /*  Bit Access  */
1352
                unsigned char               : 6;            /*              */
1353
                unsigned char TTSB          : 1;            /*    TTSB      */
1354
                unsigned char TTSA          : 1;            /*    TTSA      */
1355
            }           BIT;                                /*              */
1356
        }               TBTM;                               /*              */
1357
        char            wk10[6];                            /*              *///FFFE4240-FFFE4239-1
1358
        union {                                             /* TADCR        *///FFFE4240
1359
            unsigned short WORD;                            /*  Word Access */
1360
            struct {                                        /*  Bit Access  */
1361
                unsigned short BF           : 2;            /*    BF        */
1362
                unsigned short              : 6;            /*              */
1363
                unsigned short UT4AE        : 1;            /*    UT4AE     */
1364
                unsigned short DT4AE        : 1;            /*    DT4AE     */
1365
                unsigned short UT4BE        : 1;            /*    UT4BE     */
1366
                unsigned short DT4BE        : 1;            /*    DT4BE     */
1367
                unsigned short ITA3AE       : 1;            /*    ITA3AE    */
1368
                unsigned short ITA4VE       : 1;            /*    ITA4VE    */
1369
                unsigned short ITB3AE       : 1;            /*    ITB3AE    */
1370
                unsigned short ITB4VE       : 1;            /*    ITB4VE    */
1371
            }           BIT;                                /*              */
1372
        }               TADCR;                              /*              */
1373
        char            wk11[2];                            /*              *///FFFE4244-FFFE4240-2
1374
        unsigned short  TADCORA;                            /* TADCORA      *///FFFE4244
1375
        unsigned short  TADCORB;                            /* TADCORB      *///FFFE4246
1376
        unsigned short  TADCOBRA;                           /* TADCOBRA     *///FFFE4248
1377
        unsigned short  TADCOBRB;                           /* TADCOBRB     *///FFFE424A
1378
};                                                          /*              */
1379
struct st_mtu25 {                                           /* struct MTU25 */
1380
        unsigned short  TCNTU;                              /* TCNTU        *///FFFE4080
1381
        unsigned short  TGRU;                               /* TGRU         *///FFFE4082
1382
        union {                                             /* TCRU         *///FFFE4084
1383
            unsigned char BYTE;                             /*  Byte Access */
1384
            struct {                                        /*  Bit Access  */
1385
                unsigned char               : 6;            /*              */
1386
                unsigned char TPSC          : 2;            /*    TPSC      */
1387
            }           BIT;                                /*              */
1388
        }               TCRU;                               /*              */
1389
        char            wk1[1];                             /*              *///FFFE4086-FFFE4084-1
1390
        union {                                             /* TIORU        *///FFFE4086
1391
                unsigned char BYTE;                         /*  Byte Access */
1392
            struct {                                        /*  Bit Access  */
1393
                unsigned char               : 3;            /*              */
1394
                unsigned char IOC           : 5;            /*    IOC       */
1395
            }           BIT;                                /*              */
1396
        }               TIORU;                              /*              */
1397
        char            wk2[9];                             /*              *///FFFE4090-FFFE4086-1
1398
        unsigned short  TCNTV;                              /* TCNTV        *///FFFE4090
1399
        unsigned short  TGRV;                               /* TGRV         *///FFFE4092
1400
        union {                                             /* TCRV         *///FFFE4094
1401
            unsigned char BYTE;                             /*  Byte Access */
1402
            struct {                                        /*  Bit Access  */
1403
                unsigned char               : 6;            /*              */
1404
                unsigned char TPSC          : 2;            /*    TPSC      */
1405
            }           BIT;                                /*              */
1406
        }               TCRV;                               /*              */
1407
        char            wk3[1];                             /*              *///FFFE4096-FFFE4094-1
1408
        union {                                             /* TIORV        *///FFFE4096
1409
            unsigned char BYTE;                             /*  Byte Access */
1410
            struct {                                        /*  Bit Access  */
1411
                unsigned char               : 3;            /*              */
1412
                unsigned char IOC           : 5;            /*    IOC       */
1413
            }           BIT;                                /*              */
1414
        }               TIORV;                              /*              */
1415
        char            wk4[9];                             /*              *///FFFE40A0-FFFE4096-1
1416
        unsigned short  TCNTW;                              /* TCNTW        *///FFFE40A0
1417
        unsigned short  TGRW;                               /* TGRW         *///FFFE40A2
1418
        union {                                             /* TCRW         *///FFFE40A4
1419
            unsigned char BYTE;                             /*  Byte Access */
1420
            struct {                                        /*  Bit Access  */
1421
                unsigned char               : 6;            /*              */
1422
                unsigned char TPSC          : 2;            /*    TPSC      */
1423
            }           BIT;                                /*              */
1424
        }               TCRW;                               /*              */
1425
        char            wk5[1];                             /*              *///FFFE40A6-FFFE40A4-1
1426
        union {                                             /* TIORW        *///FFFE40A6
1427
            unsigned char BYTE;                             /*  Byte Access */
1428
            struct {                                        /*  Bit Access  */
1429
                unsigned char               : 3;            /*              */
1430
                unsigned char IOC           : 5;            /*    IOC       */
1431
            }           BIT;                                /*              */
1432
        }               TIORW;                              /*              */
1433
        char            wk6[9];                             /*              *///FFFE40B0-FFFE40A6-1
1434
        union {                                             /* TSR          *///FFFE40B0
1435
            unsigned char BYTE;                             /*  Byte Access */
1436
            struct {                                        /*  Bit Access  */
1437
                unsigned char               : 5;            /*              */
1438
                unsigned char CMFU          : 1;            /*    CMFU      */
1439
                unsigned char CMFV          : 1;            /*    CMFV      */
1440
                unsigned char CMFW          : 1;            /*    CMFW      */
1441
            }           BIT;                                /*              */
1442
        }               TSR;                                /*              */
1443
        char            wk7[1];                             /*              *///FFFE40B2-FFFE40B0-1
1444
        union {                                             /* TIER         *///FFFE40B2
1445
            unsigned char BYTE;                             /*  Byte Access */
1446
            struct {                                        /*  Bit Access  */
1447
                unsigned char               : 5;            /*              */
1448
                unsigned char TGIEU         : 1;            /*    TGIEU     */
1449
                unsigned char TGIEV         : 1;            /*    TGIEV     */
1450
                unsigned char TGIEW         : 1;            /*    TGIEW     */
1451
            }           BIT;                                /*              */
1452
        }               TIER;                               /*              */
1453
        char            wk8[1];                             /*              *///FFFE40B4-FFFE40B2-1
1454
        union {                                             /* TSTR         *///FFFE40B4
1455
            unsigned char BYTE;                             /*  Byte Access */
1456
            struct {                                        /*  Bit Access  */
1457
                unsigned char               : 5;            /*              */
1458
                unsigned char CSTU          : 1;            /*    CSTU      */
1459
                unsigned char CSTV          : 1;            /*    CSTV      */
1460
                unsigned char CSTW          : 1;            /*    CSTW      */
1461
            }           BIT;                                /*              */
1462
        }               TSTR;                               /*              */
1463
        char            wk9[1];                             /*              *///FFFE40B6-FFFE40B4-1
1464
        union {                                             /* TCNTCMPCLR   *///FFFE40B6
1465
            unsigned char BYTE;                             /*  Byte Access */
1466
            struct {                                        /*  Bit Access  */
1467
                unsigned char               : 5;            /*              */
1468
                unsigned char CLRU          : 1;            /*    CLRU      */
1469
                unsigned char CLRV          : 1;            /*    CLRV      */
1470
                unsigned char CLRW          : 1;            /*    CLRW      */
1471
            }           BIT;                                /*              */
1472
        }               TCNTCMPCLR;                         /*              */
1473
};                                                          /*              */
1474
struct st_mtu2s {                                           /* struct MTU2S */
1475
        union {                                             /* TOERS        *///FFFE4A0A
1476
            unsigned char BYTE;                             /*  Byte Access */
1477
            struct {                                        /*  Bit Access  */
1478
                unsigned char               : 2;            /*              */
1479
                unsigned char OE4D          : 1;            /*    OE4D      */
1480
                unsigned char OE4C          : 1;            /*    OE4C      */
1481
                unsigned char OE3D          : 1;            /*    OE3D      */
1482
                unsigned char OE4B          : 1;            /*    OE4B      */
1483
                unsigned char OE4A          : 1;            /*    OE4A      */
1484
                unsigned char OE3B          : 1;            /*    OE3B      */
1485
            }           BIT;                                /*              */
1486
        }               TOER;                               /*              */
1487
        char            wk1[2];                             /*              *///FFFE4A0D-FFFE4A0A-1
1488
        union {                                             /* TGCRS        *///FFFE4A0D
1489
            unsigned char BYTE;                             /*  Byte Access */
1490
            struct {                                        /*  Bit Access  */
1491
                unsigned char               : 1;            /*              */
1492
                unsigned char BDC           : 1;            /*    BDC       */
1493
                unsigned char N             : 1;            /*    N         */
1494
                unsigned char P             : 1;            /*    P         */
1495
                unsigned char FB            : 1;            /*    FB        */
1496
                unsigned char WF            : 1;            /*    WF        */
1497
                unsigned char VF            : 1;            /*    VF        */
1498
                unsigned char UF            : 1;            /*    UF        */
1499
            }           BIT;                                /*              */
1500
        }               TGCR;                               /*              */
1501
        union {                                             /* TOCR1S       *///FFFE4A0E
1502
            unsigned char BYTE;                             /*  Byte Access */
1503
            struct {                                        /*  Bit Access  */
1504
                unsigned char               : 1;            /*              */
1505
                unsigned char PSYE          : 1;            /*    PSYE      */
1506
                unsigned char               : 2;            /*              */
1507
                unsigned char TOCL          : 1;            /*    TOCL      */
1508
                unsigned char TOCS          : 1;            /*    TOCS      */
1509
                unsigned char OLSN          : 1;            /*    OLSN      */
1510
                unsigned char OLSP          : 1;            /*    OLSP      */
1511
            }           BIT;                                /*              */
1512
        }               TOCR1;                              /*              */
1513
        union {                                             /* TOCR2S       *///FFFE4A0F
1514
            unsigned char BYTE;                             /*  Byte Access */
1515
            struct {                                        /*  Bit Access  */
1516
                unsigned char BF            : 2;            /*    BF        */
1517
                unsigned char OLS3N         : 1;            /*    OLS3N     */
1518
                unsigned char OLS3P         : 1;            /*    OLS3P     */
1519
                unsigned char OLS2N         : 1;            /*    OLS2N     */
1520
                unsigned char OLS2P         : 1;            /*    OLS2P     */
1521
                unsigned char OLS1N         : 1;            /*    OLS1N     */
1522
                unsigned char OLS1P         : 1;            /*    OLS1P     */
1523
            }           BIT;                                /*              */
1524
        }               TOCR2;                              /*              */
1525
        char            wk2[4];                             /*              *///FFFE4A14-FFFE4A0F-1
1526
        unsigned short  TCDR;                               /* TCDRS        *///FFFE4A14
1527
        unsigned short  TDDR;                               /* TDDRS        *///FFFE4A16
1528
        char            wk3[8];                             /*              *///FFFE4A20-FFFE4A16-2
1529
        unsigned short  TCNTS;                              /* TCNTS        *///FFFE4A20
1530
        unsigned short  TCBR;                               /* TCBRS        *///FFFE4A22
1531
        char            wk4[12];                            /*              *///FFFE4A30-FFFE4A22-2
1532
        union {                                             /* TITCRS       *///FFFE4A30
1533
            unsigned char BYTE;                             /*  Byte Access */
1534
            struct {                                        /*  Bit Access  */
1535
                unsigned char T3AEN         : 1;            /*    T3AEN     */
1536
                unsigned char T3ACOR        : 3;            /*    T3ACOR    */
1537
                unsigned char T4VEN         : 1;            /*    T4VEN     */
1538
                unsigned char T4VCOR        : 3;            /*    T4VCOR    */
1539
            }           BIT;                                /*              */
1540
        }               TITCR;                              /*              */
1541
        union {                                             /* TITCNTS      *///FFFE4A31
1542
            unsigned char BYTE;                             /*  Byte Access */
1543
            struct {                                        /*  Bit Access  */
1544
                unsigned char               : 1;            /*              */
1545
                unsigned char T3ACNT        : 3;            /*    T3ACNT    */
1546
                unsigned char               : 1;            /*              */
1547
                unsigned char T4VCNT        : 3;            /*    T4VCNT    */
1548
            }           BIT;                                /*              */
1549
        }               TITCNT;                             /*              */
1550
        union {                                             /* TBTERS       *///FFFE4A32
1551
            unsigned char BYTE;                             /*  Byte Access */
1552
            struct {                                        /*  Bit Access  */
1553
                unsigned char               : 6;            /*              */
1554
                unsigned char BTE           : 2;            /*    BTE       */
1555
            }           BIT;                                /*              */
1556
        }               TBTER;                              /*              */
1557
        char            wk5[1];                             /*              *///FFFE4A34-FFFE4A32-1
1558
        union {                                             /* TDER         *///FFFE4A34
1559
            unsigned char BYTE;                             /*  Byte Access */
1560
            struct {                                        /*  Bit Access  */
1561
                unsigned char               : 7;            /*              */
1562
                unsigned char TDER          : 1;            /*    TDER      */
1563
            }           BIT;                                /*              */
1564
        }               TDER;                               /*              */
1565
        char            wk6[1];                             /*              *///FFFE4A36-FFFE4A34-1
1566
        union {                                             /* TOLBR        *///FFFE4A36
1567
            unsigned char BYTE;                             /*  Byte Access */
1568
            struct {                                        /*  Bit Access  */
1569
                unsigned char               : 2;            /*              */
1570
                unsigned char OLS3N         : 1;            /*    OLS3N     */
1571
                unsigned char OLS3P         : 1;            /*    OLS3P     */
1572
                unsigned char OLS2N         : 1;            /*    OLS2N     */
1573
                unsigned char OLS2P         : 1;            /*    OLS2P     */
1574
                unsigned char OLS1N         : 1;            /*    OLS1N     */
1575
                unsigned char OLS1P         : 1;            /*    OLS1P     */
1576
            }           BIT;                                /*              */
1577
        }               TOLBR;                              /*              */
1578
        char            wk7[25];                            /*              *///FFFE4A50-FFFE4A36-1
1579
        union {                                             /* TSYCRS       *///FFFE4A50
1580
            unsigned char BYTE;                             /*  Byte Access */
1581
            struct {                                        /*  Bit Access  */
1582
                unsigned char CE0A          : 1;            /*    CE0A      */
1583
                unsigned char CE0B          : 1;            /*    CE0B      */
1584
                unsigned char CE0C          : 1;            /*    CE0C      */
1585
                unsigned char CE0D          : 1;            /*    CE0D      */
1586
                unsigned char CE1A          : 1;            /*    CE1A      */
1587
                unsigned char CE1B          : 1;            /*    CE1B      */
1588
                unsigned char CE2A          : 1;            /*    CE2A      */
1589
                unsigned char CE2B          : 1;            /*    CE2B      */
1590
            }           BIT;                                /*              */
1591
        }               TSYCRS;                             /*              */
1592
        char            wk8[15];                            /*              *///FFFE4A60-FFFE4A50-1
1593
        union {                                             /* TWCRS        *///FFFE4A60
1594
            unsigned char BYTE;                             /*  Byte Access */
1595
            struct {                                        /*  Bit Access  */
1596
                unsigned char CCE           : 1;            /*    CCE       */
1597
                unsigned char               : 5;            /*              */
1598
                unsigned char SCC           : 1;            /*    SCC       */
1599
                unsigned char WRE           : 1;            /*    WRE       */
1600
            }           BIT;                                /*              */
1601
        }               TWCR;                               /*              */
1602
        char            wk9[31];                            /*              *///FFFE4A80-FFFE4A60-1
1603
        union {                                             /* TSTRS        *///FFFE4A80
1604
            unsigned char BYTE;                             /*  Byte Access */
1605
            struct {                                        /*  Bit Access  */
1606
                unsigned char CST4          : 1;            /*    CST4      */
1607
                unsigned char CST3          : 1;            /*    CST3      */
1608
                unsigned char               : 3;            /*              */
1609
                unsigned char CST2          : 1;            /*    CST2      */
1610
                unsigned char CST1          : 1;            /*    CST1      */
1611
                unsigned char CST0          : 1;            /*    CST0      */
1612
            }           BIT;                                /*              */
1613
        }               TSTR;                               /*              */
1614
        union {                                             /* TSYRS        *///FFFE4A81
1615
            unsigned char BYTE;                             /*  Byte Access */
1616
            struct {                                        /*  Bit Access  */
1617
                unsigned char SYNC4         : 1;            /*    SYNC4     */
1618
                unsigned char SYNC3         : 1;            /*    SYNC3     */
1619
                unsigned char               : 3;            /*              */
1620
                unsigned char SYNC2         : 1;            /*    SYNC2     */
1621
                unsigned char SYNC1         : 1;            /*    SYNC1     */
1622
                unsigned char SYNC0         : 1;            /*    SYNC0     */
1623
            }           BIT;                                /*              */
1624
        }               TSYR;                               /*              */
1625
        char            wk10[2];                            /*              *///FFFE4A84-FFFE4A81-1
1626
        union {                                             /* TRWERS       *///FFFE4A84
1627
            unsigned char BYTE;                             /*  Byte Access */
1628
            struct {                                        /*  Bit Access  */
1629
                unsigned char               : 7;            /*              */
1630
                unsigned char RWE           : 1;            /*    RWE       */
1631
            }           BIT;                                /*              */
1632
        }               TRWER;                              /*              */
1633
};                                                          /*              */
1634
struct st_poe2 {                                            /* struct POE2  */
1635
        union {                                             /* ICSR1        *///FFFE5000
1636
            unsigned short WORD;                            /*  Word Access */
1637
            struct {                                        /*  Bit Access  */
1638
                unsigned short POE3F        : 1;            /*    POE3F     */
1639
                unsigned short POE2F        : 1;            /*    POE2F     */
1640
                unsigned short POE1F        : 1;            /*    POE1F     */
1641
                unsigned short POE0F        : 1;            /*    POE0F     */
1642
                unsigned short              : 3;            /*              */
1643
                unsigned short PIE1         : 1;            /*    PIE1      */
1644
                unsigned short POE3M        : 2;            /*    POE3M     */
1645
                unsigned short POE2M        : 2;            /*    POE2M     */
1646
                unsigned short POE1M        : 2;            /*    POE1M     */
1647
                unsigned short POE0M        : 2;            /*    POE0M     */
1648
            }           BIT;                                /*              */
1649
        }               ICSR1;                              /*              */
1650
        union {                                             /* OCSR1        *///FFFE5002
1651
            unsigned short WORD;                            /*  Word Access */
1652
            struct {                                        /*  Bit Access  */
1653
                unsigned short OSF1         : 1;            /*    OSF1      */
1654
                unsigned short              : 5;            /*              */
1655
                unsigned short OCE1         : 1;            /*    OCE1      */
1656
                unsigned short OIE1         : 1;            /*    OIE1      */
1657
            }           BIT;                                /*              */
1658
        }               OCSR1;                              /*              */
1659
        union {                                             /* ICSR2        *///FFFE5004
1660
            unsigned short WORD;                            /*  Word Access */
1661
            struct {                                        /*  Bit Access  */
1662
                unsigned short              : 3;            /*              */
1663
                unsigned short POE4F        : 1;            /*    POE4F     */
1664
                unsigned short              : 3;            /*              */
1665
                unsigned short PIE2         : 1;            /*    PIE2      */
1666
                unsigned short              : 6;            /*              */
1667
                unsigned short POE4M        : 2;            /*    POE4M     */
1668
            }           BIT;                                /*              */
1669
        }               ICSR2;                              /*              */
1670
        union {                                             /* OCSR2        *///FFFE5006
1671
            unsigned short WORD;                            /*  Word Access */
1672
            struct {                                        /*  Bit Access  */
1673
                unsigned short OSF2         : 1;            /*    OSF2      */
1674
                unsigned short              : 5;            /*              */
1675
                unsigned short OCE2         : 1;            /*    OCE2      */
1676
                unsigned short OIE2         : 1;            /*    OIE2      */
1677
            }           BIT;                                /*              */
1678
        }               OCSR2;                              /*              */
1679
        union {                                             /* ICSR3        *///FFFE5008
1680
            unsigned short WORD;                            /*  Word Access */
1681
            struct {                                        /*  Bit Access  */
1682
                unsigned short              : 3;            /*              */
1683
                unsigned short POE8F        : 1;            /*    POE8F     */
1684
                unsigned short              : 2;            /*              */
1685
                unsigned short POE8E        : 1;            /*    POE8E     */
1686
                unsigned short PIE3         : 1;            /*    PIE3      */
1687
                unsigned short              : 6;            /*              */
1688
                unsigned short POE8M        : 2;            /*    POE8M     */
1689
            }           BIT;                                /*              */
1690
        }               ICSR3;                              /*              */
1691
        union {                                             /* SPOER        *///FFFE500A
1692
            unsigned char BYTE;                             /*  Byte Access */
1693
            struct {                                        /*  Bit Access  */
1694
                unsigned char               : 5;            /*              */
1695
                unsigned char MTU2SHIZ      : 1;            /*    MTU2SHIZ  */
1696
                unsigned char MTU2CH0HIZ    : 1;            /*    MTU2CH0HIZ*/
1697
                unsigned char MTU2CH34HIZ   : 1;            /*    MTU2CH34HI*/
1698
            }           BIT;                                /*              */
1699
        }               SPOER;                              /*              */
1700
        union {                                             /* POECR1       *///FFFE500B
1701
            unsigned char BYTE;                             /*  Byte Access */
1702
            struct {                                        /*  Bit Access  */
1703
                unsigned char MTU2PB4ZE     : 1;            /*    MTU2PB4ZE */
1704
                unsigned char MTU2PB3ZE     : 1;            /*    MTU2PB3ZE */
1705
                unsigned char MTU2PB2ZE     : 1;            /*    MTU2PB2ZE */
1706
                unsigned char MTU2PB1ZE     : 1;            /*    MTU2PB1ZE */
1707
                unsigned char MTU2PE3ZE     : 1;            /*    MTU2PE3ZE */
1708
                unsigned char MTU2PE2ZE     : 1;            /*    MTU2PE2ZE */
1709
                unsigned char MTU2PE1ZE     : 1;            /*    MTU2PE1ZE */
1710
                unsigned char MTU2PE0ZE     : 1;            /*    MTU2PE0ZE */
1711
            }           BIT;                                /*              */
1712
        }               POECR1;                             /*              */
1713
        union {                                             /* POECR2       *///FFFE500C
1714
            unsigned short WORD;                            /*  Word Access */
1715
            struct {                                        /*  Bit Access  */
1716
                unsigned short              : 1;            /*              */
1717
                unsigned short MTU2P1CZE    : 1;            /*    MTU2P1CZE */
1718
                unsigned short MTU2P2CZE    : 1;            /*    MTU2P2CZE */
1719
                unsigned short MTU2P3CZE    : 1;            /*    MTU2P3CZE */
1720
                unsigned short              : 1;            /*              */
1721
                unsigned short MTU2SP1CZE   : 1;            /*    MTU2SP1CZE*/
1722
                unsigned short MTU2SP2CZE   : 1;            /*    MTU2SP2CZE*/
1723
                unsigned short MTU2SP3CZE   : 1;            /*    MTU2SP3CZE*/
1724
                unsigned short              : 1;            /*              */
1725
                unsigned short MTU2SP4CZE   : 1;            /*    MTU2SP4CZE*/
1726
                unsigned short MTU2SP5CZE   : 1;            /*    MTU2SP5CZE*/
1727
                unsigned short MTU2SP6CZE   : 1;            /*    MTU2SP6CZE*/
1728
                unsigned short              : 1;            /*              */
1729
                unsigned short MTU2SP7CZE   : 1;            /*    MTU2SP7CZE*/
1730
                unsigned short MTU2SP8CZE   : 1;            /*    MTU2SP8CZE*/
1731
                unsigned short MTU2SP9CZE   : 1;            /*    MTU2SP9CZE*/
1732
            }           BIT;                                /*              */
1733
        }               POECR2;                             /*              */
1734
};                                                          /*              */
1735
struct st_cmt {                                             /* struct CMT   */
1736
        union {                                             /* CMSTR        *///FFFEC000
1737
            unsigned short WORD;                            /*  Word Access */
1738
            struct {                                        /*  Bit Access  */
1739
                unsigned short              :14;            /*              */
1740
                unsigned short STR1         : 1;            /*    STR1      */
1741
                unsigned short STR0         : 1;            /*    STR0      */
1742
            }           BIT;                                /*              */
1743
        }               CMSTR;                              /*              */
1744
};                                                          /*              */
1745
struct st_cmt0 {                                            /* struct CMT0  */
1746
        union {                                             /* CMCSR        *///FFFEC002/FFFEC008
1747
            unsigned short WORD;                            /*  Word Access */
1748
            struct {                                        /*  Bit Access  */
1749
                unsigned short              : 8;            /*              */
1750
                unsigned short CMF          : 1;            /*    CMF       */
1751
                unsigned short CMIE         : 1;            /*    CMIE      */
1752
                unsigned short              : 4;            /*              */
1753
                unsigned short CKS          : 2;            /*    CKS       */
1754
            }           BIT;                                /*              */
1755
        }               CMCSR;                              /*              */
1756
        unsigned short  CMCNT;                              /* CMCNT        *///FFFEC004/FFFEC00A
1757
        unsigned short  CMCOR;                              /* CMCOR        *///FFFEC006/FFFEC00C
1758
};                                                          /*              */
1759
union un_wdt {                                              /* union WDT    */
1760
    struct {                                                /* Read Access  */
1761
        union {                                             /* WTCSR        *///FFFE0000
1762
            unsigned char BYTE;                             /*  Byte Access */
1763
            struct {                                        /*  Bit Access  */
1764
                unsigned char IOVF          : 1;            /*    IOVF      */
1765
                unsigned char WTIT          : 1;            /*    WT/IT     */
1766
                unsigned char TME           : 1;            /*    TME       */
1767
                unsigned char               : 2;            /*              */
1768
                unsigned char CKS           : 3;            /*    CKS       */
1769
            }           BIT;                                /*              */
1770
        }               WTCSR;                              /*              */
1771
        char            wk1[1];                             /*              *///FFFE0002-FFFE0000-1
1772
        unsigned char   WTCNT;                              /* WTCNT        *///FFFE0002
1773
        char            wk2[1];                             /*              *///FFFE0004-FFFE0002-1
1774
        union {                                             /* WRCSR        *///FFFE0004
1775
            unsigned char BYTE;                             /*  Byte Access */
1776
            struct {                                        /*  Bit Access  */
1777
                unsigned char WOVF          : 1;            /*    WOVF      */
1778
                unsigned char RSTE          : 1;            /*    RSTE      */
1779
                unsigned char RSTS          : 1;            /*    RSTS      */
1780
            }           BIT;                                /*              */
1781
        }               WRCSR;                              /*              */
1782
    } READ;                                                 /*              */
1783
    struct {                                                /* Write Access */
1784
        unsigned short  WTCSR;                              /* WTCSR        *///FFFE0000
1785
        unsigned short  WTCNT;                              /* WTCNT        *///FFFE0002
1786
        unsigned short  WRCSR;                              /* WRCSR        *///FFFE0004
1787
    } WRITE;                                                /*              */
1788
};                                                          /*              */
1789
struct st_sci {                                             /* struct SCI   */
1790
        union {                                             /* SCSMR        *///FFFF8000
1791
            unsigned char BYTE;                             /*  Byte Access */
1792
            struct {                                        /*  Bit Access  */
1793
                unsigned char CA            : 1;            /*    C/A       */
1794
                unsigned char CHR           : 1;            /*    CHR       */
1795
                unsigned char _PE           : 1;            /*    PE        */
1796
                unsigned char OE            : 1;            /*    O/E       */
1797
                unsigned char STOP          : 1;            /*    STOP      */
1798
                unsigned char MP            : 1;            /*    MP        */
1799
                unsigned char CKS           : 2;            /*    CKS       */
1800
            }           BIT;                                /*              */
1801
        }               SCSMR;                              /*              */
1802
        char            wk1[1];                             /*              *///FFFF8002-FFFF8000-1
1803
        unsigned char   SCBRR;                              /* SCBRR        *///FFFF8002
1804
        char            wk2[1];                             /*              *///FFFF8004-FFFF8002-1
1805
        union {                                             /* SCSCR        *///FFFF8004
1806
            unsigned char BYTE;                             /*  Byte Access */
1807
            struct {                                        /*  Bit Access  */
1808
                unsigned char TIE           : 1;            /*    TIE       */
1809
                unsigned char RIE           : 1;            /*    RIE       */
1810
                unsigned char TE            : 1;            /*    TE        */
1811
                unsigned char RE            : 1;            /*    RE        */
1812
                unsigned char MPIE          : 1;            /*    MPIE      */
1813
                unsigned char TEIE          : 1;            /*    TEIE      */
1814
                unsigned char CKE           : 2;            /*    CKE       */
1815
            }           BIT;                                /*              */
1816
        }               SCSCR;                              /*              */
1817
        char            wk3[1];                             /*              *///FFFF8006-FFFF8004-1
1818
        unsigned char   SCTDR;                              /* SCTDR        *///FFFF8006
1819
        char            wk4[1];                             /*              *///FFFF8008-FFFF8006-1
1820
        union {                                             /* SCSSR        *///FFFF8008
1821
            unsigned char BYTE;                             /*  Byte Access */
1822
            struct {                                        /*  Bit Access  */
1823
                unsigned char TDRE          : 1;            /*    TDRE      */
1824
                unsigned char RDRF          : 1;            /*    RDRF      */
1825
                unsigned char ORER          : 1;            /*    ORER      */
1826
                unsigned char FER           : 1;            /*    FER       */
1827
                unsigned char PER           : 1;            /*    PER       */
1828
                unsigned char TEND          : 1;            /*    TEND      */
1829
                unsigned char MPB           : 1;            /*    MPB       */
1830
                unsigned char MPBT          : 1;            /*    MPBT      */
1831
            }           BIT;                                /*              */
1832
        }               SCSSR;                              /*              */
1833
        char            wk5[1];                             /*              *///FFFF800A-FFFF8008-1
1834
        unsigned char   SCRDR;                              /* SCRDR        *///FFFF800A
1835
        char            wk6[1];                             /*              *///FFFF800C-FFFF800A-1
1836
        union {                                             /* SCSDCR       *///FFFF800C
1837
            unsigned char BYTE;                             /*  Byte Access */
1838
            struct {                                        /*  Bit Access  */
1839
                unsigned char               : 4;            /*              */
1840
                unsigned char DIR           : 1;            /*    DIR       */
1841
            }           BIT;                                /*              */
1842
        }               SCSDCR;                             /*              */
1843
        char            wk7[1];                             /*              *///FFFF800E-FFFF800C-1
1844
        union {                                             /* SCSPTR       *///FFFF800E
1845
            unsigned char BYTE;                             /*  Byte Access */
1846
            struct {                                        /*  Bit Access  */
1847
                unsigned char EIO           : 1;            /*    EIO       */
1848
                unsigned char               : 3;            /*              */
1849
                unsigned char SPB1IO        : 1;            /*    SPB1IO    */
1850
                unsigned char SPB1DT        : 1;            /*    SPB1DT    */
1851
                unsigned char               : 1;            /*              */
1852
                unsigned char SPB0DT        : 1;            /*    SPB0DT    */
1853
            }           BIT;                                /*              */
1854
        }               SCSPTR;                             /*              */
1855
};                                                          /*              */
1856
struct st_scif {                                            /* struct SCIF  */
1857
        union {                                             /* SCSMR        *///FFFE9800
1858
            unsigned short WORD;                            /*  Word Access */
1859
            struct {                                        /*  Bit Access  */
1860
                unsigned short              : 8;            /*              */
1861
                unsigned short CA           : 1;            /*    C/A       */
1862
                unsigned short CHR          : 1;            /*    CHR       */
1863
                unsigned short _PE          : 1;            /*    PE        */
1864
                unsigned short OE           : 1;            /*    O/E       */
1865
                unsigned short STOP         : 1;            /*    STOP      */
1866
                unsigned short              : 1;            /*              */
1867
                unsigned short CKS          : 2;            /*    CKS       */
1868
            }           BIT;                                /*              */
1869
        }               SCSMR;                              /*              */
1870
        char            wk1[2];                             /*              *///FFFE9804-FFFE9800-2
1871
        unsigned char   SCBRR;                              /* SCBRR        *///FFFE9804
1872
        char            wk2[3];                             /*              *///FFFE9808-FFFE9804-1
1873
        union {                                             /* SCSCR        *///FFFE9808
1874
            unsigned short WORD;                            /*  Word Access */
1875
            struct {                                        /*  Bit Access  */
1876
                unsigned short              : 8;            /*              */
1877
                unsigned short TIE          : 1;            /*    TIE       */
1878
                unsigned short RIE          : 1;            /*    RIE       */
1879
                unsigned short TE           : 1;            /*    TE        */
1880
                unsigned short RE           : 1;            /*    RE        */
1881
                unsigned short REIE         : 1;            /*    REIE      */
1882
                unsigned short              : 1;            /*              */
1883
                unsigned short CKE          : 2;            /*    CKE       */
1884
            }           BIT;                                /*              */
1885
        }               SCSCR;                              /*              */
1886
        char            wk3[2];                             /*              *///FFFE980C-FFFE9808-2
1887
        unsigned char   SCFTDR;                             /* SCFTDR       *///FFFE980C
1888
        char            wk4[3];                             /*              *///FFFE9810-FFFE980C-1
1889
        union {                                             /* SCFSR        *///FFFE9810
1890
            unsigned short WORD;                            /*  Word Access */
1891
            struct {                                        /*  Bit Access  */
1892
                unsigned short PERC         : 4;            /*    PER3-0    */
1893
                unsigned short FERC         : 4;            /*    FER3-0    */
1894
                unsigned short ER           : 1;            /*    ER        */
1895
                unsigned short TEND         : 1;            /*    TEND      */
1896
                unsigned short TDFE         : 1;            /*    TDFE      */
1897
                unsigned short BRK          : 1;            /*    BRK       */
1898
                unsigned short FER          : 1;            /*    FER       */
1899
                unsigned short PER          : 1;            /*    PER       */
1900
                unsigned short RDF          : 1;            /*    RDF       */
1901
                unsigned short DR           : 1;            /*    DR        */
1902
            }           BIT;                                /*              */
1903
        }               SCFSR;                              /*              */
1904
        char            wk5[2];                             /*              *///FFFE9814-FFFE9810-2
1905
        unsigned char   SCFRDR;                             /* SCFRDR       *///FFFE9814
1906
        char            wk6[3];                             /*              *///FFFE9818-FFFE9814-1
1907
        union {                                             /* SCFCR        *///FFFE9818
1908
            unsigned short WORD;                            /*  Word Access */
1909
            struct {                                        /*  Bit Access  */
1910
                unsigned short              : 8;            /*              */
1911
                unsigned short RTRG         : 2;            /*    RTRG      */
1912
                unsigned short TTRG         : 2;            /*    TTRG      */
1913
                unsigned short              : 1;            /*              */
1914
                unsigned short TFRST        : 1;            /*    TFRST     */
1915
                unsigned short RFRST        : 1;            /*    RFRST     */
1916
                unsigned short LOOP         : 1;            /*    LOOP      */
1917
            }           BIT;                                /*              */
1918
        }               SCFCR;                              /*              */
1919
        char            wk7[2];                             /*              *///FFFE981C-FFFE9818-2
1920
        union {                                             /* SCFDR        *///FFFE981C
1921
            unsigned short WORD;                            /*  Word Access */
1922
            struct {                                        /*  Bit Access  */
1923
                unsigned short              : 3;            /*              */
1924
                unsigned short T            : 5;            /*    T         */
1925
                unsigned short              : 3;            /*              */
1926
                unsigned short R            : 5;            /*    R         */
1927
            }           BIT;                                /*              */
1928
        }               SCFDR;                              /*              */
1929
        char            wk8[2];                             /*              *///FFFE9820-FFFE981C-2
1930
        union {                                             /* SCSPTR       *///FFFE9820
1931
            unsigned short WORD;                            /*  Word Access */
1932
            struct {                                        /*  Bit Access  */
1933
                unsigned short              : 8;            /*              */
1934
                unsigned short              : 4;            /*              */
1935
                unsigned short SCKIO        : 1;            /*    SCKIO     */
1936
                unsigned short SCKDT        : 1;            /*    SCKDT     */
1937
                unsigned short SPB2IO       : 1;            /*    SPB2IO    */
1938
                unsigned short SPB2DT       : 1;            /*    SPB2DT    */
1939
            }           BIT;                                /*              */
1940
        }               SCSPTR;                             /*              */
1941
        char            wk9[2];                             /*              *///FFFE9824-FFFE9820-2
1942
        union {                                             /* SCLSR        *///FFFE9824
1943
            unsigned short WORD;                            /*  Word Access */
1944
            struct {                                        /*  Bit Accesss */
1945
                unsigned short              :15;            /*              */
1946
                unsigned short ORER         : 1;            /*    ORER      */
1947
            }           BIT;                                /*              */
1948
        }               SCLSR;                              /*              */
1949
        char            wk10[218];                          /*              *///FFFE9900-FFFE9824-2
1950
        union {                                             /* SCSEMR       *///FFFE9900
1951
            unsigned char BYTE;                             /*  Byte Access */
1952
            struct {                                        /*  Bit Access  */
1953
                unsigned char ABCS          : 1;            /*    ABCS      */
1954
            }           BIT;                                /*              */
1955
        }               SCSEMR;                             /*              */
1956
};                                                          /*              */
1957
struct st_rspi {                                            /* struct RSPI  */
1958
        union {                                             /* SPCR         *///FFFFB000
1959
            unsigned char BYTE;                             /*  Byte Access */
1960
            struct {                                        /*  Bit Access  */
1961
                unsigned char SPRIE         : 1;            /*    SPRIE     */
1962
                unsigned char SPE           : 1;            /*    SPE       */
1963
                unsigned char SPTIE         : 1;            /*    SPTIE     */
1964
                unsigned char SPEIE         : 1;            /*    SPEIE     */
1965
                unsigned char MSTR          : 1;            /*    MSTR      */
1966
                unsigned char MODFEN        : 1;            /*    MODFEN    */
1967
                unsigned char               : 1;            /*              */
1968
                unsigned char SPMS          : 1;            /*    SPMS      */
1969
            }           BIT;                                /*              */
1970
        }               SPCR;                               /*              */
1971
        union {                                             /* SSLP         *///FFFFB0001
1972
            unsigned char BYTE;                             /*  Byte Access */
1973
            struct {                                        /*  Bit Access  */
1974
                unsigned char               : 4;            /*              */
1975
                unsigned char SSL3P         : 1;            /*    SSL3P     */
1976
                unsigned char SSL2P         : 1;            /*    SSL2P     */
1977
                unsigned char SSL1P         : 1;            /*    SSL1P     */
1978
                unsigned char SSL0P         : 1;            /*    SSL0P     */
1979
            }           BIT;                                /*              */
1980
        }               SSLP;                               /*              */
1981
        union {                                             /* SPPCR        *///FFFFB002
1982
            unsigned char BYTE;                             /*  Byte Access */
1983
            struct {                                        /*  Bit Access  */
1984
                unsigned char               : 2;            /*              */
1985
                unsigned char MOIFE         : 1;            /*    MOIFE     */
1986
                unsigned char MOIFV         : 1;            /*    MOIFV     */
1987
                unsigned char               : 1;            /*              */
1988
                unsigned char SPOM          : 1;            /*    SPOM      */
1989
                unsigned char               : 1;            /*              */
1990
                unsigned char SPLP          : 1;            /*    SPLP      */
1991
            }           BIT;                                /*              */
1992
        }               SPPCR;                              /*              */
1993
        union {                                             /* SPSR         *///FFFFB003
1994
            unsigned char BYTE;                             /*  Byte Access */
1995
            struct {                                        /*  Bit Access  */
1996
                unsigned char SPRF          : 1;            /*    SPRF      */
1997
                unsigned char               : 1;            /*              */
1998
                unsigned char SPTEF         : 1;            /*    SPTEF     */
1999
                unsigned char               : 2;            /*              */
2000
                unsigned char MODF          : 1;            /*    MODF      */
2001
                unsigned char MIDLE         : 1;            /*    MIDLE     */
2002
                unsigned char OVRF          : 1;            /*    OVRF      */
2003
            }           BIT;                                /*              */
2004
        }               SPSR;                               /*              */
2005
        union {                                             /* SPDR         *///FFFFB004
2006
            unsigned int LONG;                              /*  Long Access */
2007
            unsigned short WORD;                            /*  Word Access */
2008
        }               SPDR;                               /*              */
2009
        union {                                             /* SPSCR        *///FFFFB008
2010
            unsigned char BYTE;                             /*  Byte Access */
2011
            struct {                                        /*  Bit Access  */
2012
                unsigned char               : 5;            /*              */
2013
                unsigned char SPSLN         : 3;            /*    SPSLN     */
2014
            }           BIT;                                /*              */
2015
        }               SPSCR;                              /*              */
2016
        union {                                             /* SPSSR        *///FFFFB009
2017
            unsigned char BYTE;                             /*  Byte Access */
2018
            struct {                                        /*  Bit Access  */
2019
                unsigned char               : 2;            /*              */
2020
                unsigned char SPECM         : 2;            /*    SPECM     */
2021
                unsigned char               : 2;            /*              */
2022
                unsigned char SPCP          : 2;            /*    SPCP      */
2023
            }           BIT;                                /*              */
2024
        }               SPSSR;                              /*              */
2025
        union {                                             /* SPBR         *///FFFFB00A
2026
            unsigned char BYTE;                             /*  Byte Access */
2027
            struct {                                        /*  Bit Access  */
2028
                unsigned char SPR           : 8;            /*    SPR       */
2029
            }           BIT;                                /*              */
2030
        }               SPBR;                               /*              */
2031
        union {                                             /* SPDCR        *///FFFFB00B
2032
            unsigned char BYTE;                             /*  Byte Access */
2033
            struct {                                        /*  Bit Access  */
2034
                unsigned char               : 2;            /*              */
2035
                unsigned char SPLW          : 1;            /*    SPLW      */
2036
                unsigned char SPRDTD        : 1;            /*    SPRDTD    */
2037
                unsigned char               : 2;            /*              */
2038
                unsigned char SPFC          : 2;            /*    SPFC      */
2039
            }           BIT;                                /*              */
2040
        }               SPDCR;                              /*              */
2041
        union {                                             /* SPCKD        *///FFFFB00C
2042
            unsigned char BYTE;                             /*  Byte Access */
2043
            struct {                                        /*  Bit Access  */
2044
                unsigned char               : 5;            /*              */
2045
                unsigned char SCKDL         : 3;            /*    SCKDL     */
2046
            }           BIT;                                /*              */
2047
        }               SPCKD;                              /*              */
2048
        union {                                             /* SSLND        *///FFFFB00D
2049
            unsigned char BYTE;                             /*  Byte Access */
2050
            struct {                                        /*  Bit Access  */
2051
                unsigned char               : 5;            /*              */
2052
                unsigned char SLNDL         : 3;            /*    SLNDL     */
2053
            }           BIT;                                /*              */
2054
        }               SSLND;                              /*              */
2055
        union {                                             /* SPND         *///FFFFB00E
2056
            unsigned char BYTE;                             /*  Byte Access */
2057
            struct {                                        /*  Bit Access  */
2058
                unsigned char               : 5;            /*              */
2059
                unsigned char SPNDL         : 3;            /*    SPNDL     */
2060
            }           BIT;                                /*              */
2061
        }               SPND;                               /*              */
2062
        unsigned char   wk1[1];                             /*              *///FFFFB010-FFFFB00E-1
2063
        union {                                             /* SPCMD0       *///FFFFB010
2064
            unsigned short WORD;                            /*  Word Access */
2065
            struct {                                        /*  Bit Access  */
2066
                unsigned short SCKDEN       : 1;            /*    SCKDEN    */
2067
                unsigned short SLNDEN       : 1;            /*    SLNDEN    */
2068
                unsigned short SPNDEN       : 1;            /*    SPNDEN    */
2069
                unsigned short LSBF         : 1;            /*    LSBF      */
2070
                unsigned short SPB          : 4;            /*    SPB       */
2071
                unsigned short SSLKP        : 1;            /*    SSLKP     */
2072
                unsigned short SSLA         : 3;            /*    SSLA      */
2073
                unsigned short BRDV         : 2;            /*    BRDV      */
2074
                unsigned short CPOL         : 1;            /*    CPOL      */
2075
                unsigned short CPHA         : 1;            /*    CPHA      */
2076
            }           BIT;                                /*              */
2077
        }               SPCMD0;                             /*              */
2078
        union {                                             /* SPCMD1       *///FFFFB012
2079
            unsigned short WORD;                            /*  Word Access */
2080
            struct {                                        /*  Bit Access  */
2081
                unsigned short SCKDEN       : 1;            /*    SCKDEN    */
2082
                unsigned short SLNDEN       : 1;            /*    SLNDEN    */
2083
                unsigned short SPNDEN       : 1;            /*    SPNDEN    */
2084
                unsigned short LSBF         : 1;            /*    LSBF      */
2085
                unsigned short SPB          : 4;            /*    SPB       */
2086
                unsigned short SSLKP        : 1;            /*    SSLKP     */
2087
                unsigned short SSLA         : 3;            /*    SSLA      */
2088
                unsigned short BRDV         : 2;            /*    BRDV      */
2089
                unsigned short CPOL         : 1;            /*    CPOL      */
2090
                unsigned short CPHA         : 1;            /*    CPHA      */
2091
            }           BIT;                                /*              */
2092
        }               SPCMD1;                             /*              */
2093
        union {                                             /* SPCMD2       *///FFFFB014
2094
            unsigned short WORD;                            /*  Word Access */
2095
            struct {                                        /*  Bit Access  */
2096
                unsigned short SCKDEN       : 1;            /*    SCKDEN    */
2097
                unsigned short SLNDEN       : 1;            /*    SLNDEN    */
2098
                unsigned short SPNDEN       : 1;            /*    SPNDEN    */
2099
                unsigned short LSBF         : 1;            /*    LSBF      */
2100
                unsigned short SPB          : 4;            /*    SPB       */
2101
                unsigned short SSLKP        : 1;            /*    SSLKP     */
2102
                unsigned short SSLA         : 3;            /*    SSLA      */
2103
                unsigned short BRDV         : 2;            /*    BRDV      */
2104
                unsigned short CPOL         : 1;            /*    CPOL      */
2105
                unsigned short CPHA         : 1;            /*    CPHA      */
2106
            }           BIT;                                /*              */
2107
        }               SPCMD2;                             /*              */
2108
        union {                                             /* SPCMD3       *///FFFFB016
2109
            unsigned short WORD;                            /*  Word Access */
2110
            struct {                                        /*  Bit Access  */
2111
                unsigned short SCKDEN       : 1;            /*    SCKDEN    */
2112
                unsigned short SLNDEN       : 1;            /*    SLNDEN    */
2113
                unsigned short SPNDEN       : 1;            /*    SPNDEN    */
2114
                unsigned short LSBF         : 1;            /*    LSBF      */
2115
                unsigned short SPB          : 4;            /*    SPB       */
2116
                unsigned short SSLKP        : 1;            /*    SSLKP     */
2117
                unsigned short SSLA         : 3;            /*    SSLA      */
2118
                unsigned short BRDV         : 2;            /*    BRDV      */
2119
                unsigned short CPOL         : 1;            /*    CPOL      */
2120
                unsigned short CPHA         : 1;            /*    CPHA      */
2121
            }           BIT;                                /*              */
2122
        }               SPCMD3;                             /*              */
2123
};                                                          /*              */
2124
struct st_iic3 {                                            /* struct IIC3  */
2125
        union {                                             /* ICCR1        *///FFFEE000
2126
            unsigned char BYTE;                             /*  Byte Access */
2127
            struct {                                        /*  Bit Access  */
2128
                unsigned char ICE           : 1;            /*    ICE       */
2129
                unsigned char RCVD          : 1;            /*    RCVD      */
2130
                unsigned char MST           : 1;            /*    MST       */
2131
                unsigned char TRS           : 1;            /*    TRS       */
2132
                unsigned char CKS           : 4;            /*    CKS       */
2133
            }           BIT;                                /*              */
2134
        }               ICCR1;                              /*              */
2135
        union {                                             /* ICCR2        *///FFFEE001
2136
            unsigned char BYTE;                             /*  Byte Access */
2137
            struct {                                        /*  Bit Access  */
2138
                unsigned char BBSY          : 1;            /*    BBSY      */
2139
                unsigned char SCP           : 1;            /*    SCP       */
2140
                unsigned char SDAO          : 1;            /*    SDAO      */
2141
                unsigned char SDAOP         : 1;            /*    SDAOP     */
2142
                unsigned char SCLO          : 1;            /*    SCLO      */
2143
                unsigned char               : 1;            /*              */
2144
                unsigned char IICRST        : 1;            /*  IICRST      */
2145
            }           BIT;                                /*              */
2146
        }               ICCR2;                              /*              */
2147
        union {                                             /* ICMR         *///FFFEE002
2148
            unsigned char BYTE;                             /*  Byte Access */
2149
            struct {                                        /*  Bit Access  */
2150
                unsigned char MLS           : 1;            /*    MLS       */
2151
                unsigned char               : 3;            /*              */
2152
                unsigned char BCWP          : 1;            /*    BCWP      */
2153
                unsigned char BC            : 3;            /*    BC        */
2154
            }           BIT;                                /*              */
2155
        }               ICMR;                               /*              */
2156
        union {                                             /* ICIER        *///FFFEE003
2157
            unsigned char BYTE;                             /*  Byte Access */
2158
            struct {                                        /*  Bit Access  */
2159
                unsigned char TIE           : 1;            /*    TIE       */
2160
                unsigned char TEIE          : 1;            /*    TEIE      */
2161
                unsigned char RIE           : 1;            /*    RIE       */
2162
                unsigned char NAKIE         : 1;            /*    NAKIE     */
2163
                unsigned char STIE          : 1;            /*    STIE      */
2164
                unsigned char ACKE          : 1;            /*    ACKE      */
2165
                unsigned char ACKBR         : 1;            /*    ACKBR     */
2166
                unsigned char ACKBT         : 1;            /*    ACKBT     */
2167
            }           BIT;                                /*              */
2168
        }               ICIER;                              /*              */
2169
        union {                                             /* ICSR         *///FFFEE0040
2170
            unsigned char BYTE;                             /*  Byte Access */
2171
            struct {                                        /*  Bit Access  */
2172
                unsigned char TDRE          : 1;            /*    TDRE      */
2173
                unsigned char TEND          : 1;            /*    TEND      */
2174
                unsigned char RDRF          : 1;            /*    RDRF      */
2175
                unsigned char NACKF         : 1;            /*    NACKF     */
2176
                unsigned char STOP          : 1;            /*    STOP      */
2177
                unsigned char ALOVE         : 1;            /*    ALOVE     */
2178
                unsigned char AAS           : 1;            /*    AAS       */
2179
                unsigned char ADZ           : 1;            /*    ADZ       */
2180
            }           BIT;                                /*              */
2181
        }               ICSR;                               /*              */
2182
        union {                                             /* SAR          *///FFFEE005
2183
            unsigned char BYTE;                             /*  Byte Access */
2184
            struct {                                        /*  Bit Access  */
2185
                unsigned char SVA           : 7;            /*    SVA       */
2186
                unsigned char FS            : 1;            /*    FS        */
2187
            }           BIT;                                /*              */
2188
        }               SAR;                                /*              */
2189
        unsigned char   ICDRT;                              /* ICDRT        *///FFFEE006
2190
        unsigned char   ICDRR;                              /* ICDRR        *///FFFEE007
2191
        union {                                             /* NF2CYC       *///FFFEE008
2192
            unsigned char BYTE;                             /*  Byte Access */
2193
            struct {                                        /*  Bit Access  */
2194
                unsigned char               : 7;            /*              */
2195
                unsigned char NF2CYC        : 1;            /*    NF2CYC    */
2196
            }           BIT;                                /*              */
2197
        }               NF2CYC;                             /*              */
2198
};                                                          /*              */
2199
struct st_adc0 {                                            /* struct ADC0  */
2200
        union {                                             /* ADCR         *///FFFFE800
2201
            unsigned char BYTE;                             /*  Byte Access */
2202
            struct {                                        /*  Bit Access  */
2203
                unsigned char ADST          : 1;            /*    ADST      */
2204
                unsigned char ADCS          : 1;            /*    ADCS      */
2205
                unsigned char ACE           : 1;            /*    ACE       */
2206
                unsigned char ADIE          : 1;            /*    ADIE      */
2207
                unsigned char               : 2;            /*              */
2208
                unsigned char TRGE          : 1;            /*    TRGE      */
2209
                unsigned char EXTRG         : 1;            /*    EXTRG     */
2210
            }           BIT;                                /*              */
2211
        }               ADCR;                               /*              */
2212
        char            wk1[1];                             /*              *///FFFFE802-FFFFE800-1
2213
        union {                                             /* ADSR         *///FFFFE802
2214
            unsigned char BYTE;                             /*  Byte Access */
2215
            struct {                                        /*  Bit Access  */
2216
                unsigned char               : 7;            /*              */
2217
                unsigned char ADF           : 1;            /*    ADF       */
2218
            }           BIT;                                /*              */
2219
        }               ADSR;                               /*              */
2220
        char            wk2[25];                            /*              *///FFFFE81C-FFFFE802-1
2221
        union {                                             /* ADSTRGR      *///FFFFE81C
2222
            unsigned char BYTE;                             /*  Byte Access */
2223
            struct {                                        /*  Bit Access  */
2224
                unsigned char               : 1;            /*              */
2225
                unsigned char STR6          : 1;            /*    STR6      */
2226
                unsigned char STR5          : 1;            /*    STR5      */
2227
                unsigned char STR4          : 1;            /*    STR4      */
2228
                unsigned char STR3          : 1;            /*    STR3      */
2229
                unsigned char STR2          : 1;            /*    STR2      */
2230
                unsigned char STR1          : 1;            /*    STR1      */
2231
                unsigned char STR0          : 1;            /*    STR0      */
2232
            }           BIT;                                /*              */
2233
        }               ADSTRGR;                            /*              */
2234
        char            wk3[3];                             /*              *///FFFFE820-FFFFE81C-1
2235
        union {                                             /* ADANSR       *///FFFFE820
2236
            unsigned char BYTE;                             /*  Byte Access */
2237
            struct {                                        /*  Bit Access  */
2238
                unsigned char               : 4;            /*              */
2239
                unsigned char ANS3          : 1;            /*    ANS3      */
2240
                unsigned char ANS2          : 1;            /*    ANS2      */
2241
                unsigned char ANS1          : 1;            /*    ANS1      */
2242
                unsigned char ANS0          : 1;            /*    ANS0      */
2243
            }           BIT;                                /*              */
2244
        }               ADANSR;                             /*              */
2245
        char            wk4[15];                            /*              *///FFFFE830-FFFFE820-1
2246
        union {                                             /* ADBYPSCR     *///FFFFE830
2247
            unsigned char BYTE;                             /*  Byte Access */
2248
            struct {                                        /*  Bit Access  */
2249
                unsigned char               : 6;            /*              */
2250
                unsigned char               : 1;            /*              */
2251
                unsigned char SH            : 1;            /*    SH        */
2252
            }           BIT;                                /*              */
2253
        }               ADBYPSCR;                           /*              */
2254
        char            wk5[15];                            /*              *///FFFFE840-FFFFE830-1
2255
        unsigned short  ADDR0;                              /* ADDR0        *///FFFFE840
2256
        unsigned short  ADDR1;                              /* ADDR1        *///FFFFE842
2257
        unsigned short  ADDR2;                              /* ADDR2        *///FFFFE844
2258
        unsigned short  ADDR3;                              /* ADDR3        *///FFFFE846
2259
};                                                          /*              */
2260
struct st_adc1 {                                            /* struct ADC1  */
2261
        union {                                             /* ADCR         *///FFFFEC00
2262
            unsigned char BYTE;                             /*  Byte Access */
2263
            struct {                                        /*  Bit Access  */
2264
                unsigned char ADST          : 1;            /*  ADST        */
2265
                unsigned char ADCS          : 1;            /*  ADCS        */
2266
                unsigned char ACE           : 1;            /*  ACE         */
2267
                unsigned char ADIE          : 1;            /*  ADIE        */
2268
                unsigned char               : 2;            /*              */
2269
                unsigned char TRGE          : 1;            /*  TRGE        */
2270
                unsigned char EXTRG         : 1;            /*  EXTRG       */
2271
            }           BIT;                                /*              */
2272
        }               ADCR;                               /*              */
2273
        char            wk1;                                /*              *///FFFFEC02-FFFFEC00-1
2274
        union {                                             /* ADSR         *///FFFFEC02
2275
            unsigned char BYTE;                             /*  Byte Access */
2276
            struct {                                        /*  Bit Access  */
2277
                unsigned char               : 7;            /*              */
2278
                unsigned char ADF           : 1;            /*  ADF         */
2279
            }           BIT;                                /*              */
2280
        }               ADSR;                               /*              */
2281
        char            wk2[25];                            /*              *///FFFFEC1C-FFFFEC02-1
2282
        union {                                             /* ADSTRGR      *///FFFFEC1C
2283
            unsigned char BYTE;                             /*  Byte Access */
2284
            struct {                                        /*  Bit Access  */
2285
                unsigned char               : 1;            /*              */
2286
                unsigned char STR6          : 1;            /*  STR6        */
2287
                unsigned char STR5          : 1;            /*  STR5        */
2288
                unsigned char STR4          : 1;            /*  STR4        */
2289
                unsigned char STR3          : 1;            /*  STR3        */
2290
                unsigned char STR2          : 1;            /*  STR2        */
2291
                unsigned char STR1          : 1;            /*  STR1        */
2292
                unsigned char STR0          : 1;            /*  STR0        */
2293
            }           BIT;                                /*              */
2294
        }               ADSTRGR;                            /*              */
2295
        char            wk3[3];                             /*              *///FFFFEC20-FFFFEC1C-1
2296
        union {                                             /* ADANSR       *///FFFFEC20
2297
            unsigned char BYTE;                             /*  Byte Access */
2298
            struct {                                        /*  Bit Access  */
2299
                unsigned char               : 4;            /*              */
2300
                unsigned char ANS3          : 1;            /*  ANS3        */
2301
                unsigned char ANS2          : 1;            /*  ANS2        */
2302
                unsigned char ANS1          : 1;            /*  ANS1        */
2303
                unsigned char ANS0          : 1;            /*  ANS0        */
2304
            }           BIT;                                /*              */
2305
        }               ADANSR;                             /*              */
2306
        char            wk4[15];                            /*              *///FFFFEC30-FFFFEC20-1
2307
        union {                                             /* ADBYPSCR     *///FFFFEC30
2308
            unsigned char BYTE;                             /*  Byte Access */
2309
        }               ADBYPSCR;                           /*              */
2310
        char            wk5[15];                            /*              *///FFFFEC40-FFFFEC30-1
2311
        unsigned short  ADDR4;                              /* ADDR4        *///FFFFEC40
2312
        unsigned short  ADDR5;                              /* ADDR5        *///FFFFEC42
2313
        unsigned short  ADDR6;                              /* ADDR6        *///FFFFEC44
2314
        unsigned short  ADDR7;                              /* ADDR7        *///FFFFEC46
2315
};                                                          /*              */
2316
struct st_rcanet {                                          /* structRCAN-ET*/
2317
        union {                                             /* MCR          *///FFFFD000
2318
            unsigned short WORD;                            /*  Word Access */
2319
            struct {                                        /*  Bit Access  */
2320
                unsigned short IDR          : 1;            /*    IDR       */
2321
                unsigned short AHBO         : 1;            /*    AHBO      */
2322
                unsigned short              : 3;            /*              */
2323
                unsigned short TST          : 3;            /*    TST       */
2324
                unsigned short AWM          : 1;            /*    AWM       */
2325
                unsigned short HDBO         : 1;            /*    HDBO      */
2326
                unsigned short SLPM         : 1;            /*    SLPM      */
2327
                unsigned short              : 2;            /*              */
2328
                unsigned short MTP          : 1;            /*    MTP       */
2329
                unsigned short HLTRQ        : 1;            /*    HLTRQ     */
2330
                unsigned short RSTRQ        : 1;            /*    RSTRQ     */
2331
            }           BIT;                                /*              */
2332
        }               MCR;                                /*              */
2333
        union {                                             /* GSR          *///FFFFD002
2334
            unsigned short WORD;                            /*  Word Access */
2335
            struct {                                        /*  Bit Access  */
2336
                unsigned short              :10;            /*              */
2337
                unsigned short EPSB         : 1;            /*    EPSB      */
2338
                unsigned short HSSB         : 1;            /*    HSSB      */
2339
                unsigned short RSB          : 1;            /*    RSB       */
2340
                unsigned short MTPF         : 1;            /*    MTPF      */
2341
                unsigned short TRWF         : 1;            /*    TRWF      */
2342
                unsigned short BOF          : 1;            /*    BOF       */
2343
            }           BIT;                                /*              */
2344
        }               GSR;                                /*              */
2345
        union {                                             /* BCR1         *///FFFFD004
2346
            unsigned short WORD;                            /*  Word Access */
2347
            struct {                                        /*  Bit Access  */
2348
                unsigned short TSG1         : 4;            /*    TSG1      */
2349
                unsigned short              : 1;            /*              */
2350
                unsigned short TSG2         : 3;            /*    TSG2      */
2351
                unsigned short              : 2;            /*              */
2352
                unsigned short SJW          : 2;            /*    SJW       */
2353
                unsigned short              : 3;            /*              */
2354
                unsigned short BSP          : 1;            /*    BSP       */
2355
            }           BIT;                                /*              */
2356
        }               BCR1;                               /*              */
2357
        union {                                             /* BCR0         *///FFFFD006
2358
            unsigned short WORD;                            /*  Word Access */
2359
            struct {                                        /*  Bit Access  */
2360
                unsigned short              : 8;            /*              */
2361
                unsigned short BRP          : 8;            /*    BRP       */
2362
            }           BIT;                                /*              */
2363
        }               BCR0;                               /*              */
2364
        union {                                             /* IRR          */
2365
            unsigned short WORD;                            /*  Word Access *///FFFFD008
2366
            struct {                                        /*  Bit Access  */
2367
                unsigned short              : 2;            /*              */
2368
                unsigned short MEIF         : 1;            /*    MEIF      */
2369
                unsigned short BASMIF       : 1;            /*    BASMIF    */
2370
                unsigned short              : 2;            /*              */
2371
                unsigned short MOOIF        : 1;            /*    MOOIF     */
2372
                unsigned short MBEIF        : 1;            /*    MBEIF     */
2373
                unsigned short OLFIF        : 1;            /*    OLFIF     */
2374
                unsigned short BOFIF        : 1;            /*    BOFIF     */
2375
                unsigned short EPIF         : 1;            /*    EPIF      */
2376
                unsigned short RECWIF       : 1;            /*    RECWIF    */
2377
                unsigned short TECWIF       : 1;            /*    TECWIF    */
2378
                unsigned short RFRIF        : 1;            /*    RFRIF     */
2379
                unsigned short DFRIF        : 1;            /*    DFRIF     */
2380
                unsigned short RSTIF        : 1;            /*    RSTIF     */
2381
            }           BIT;                                /*              */
2382
        }               IRR;                                /*              */
2383
        union {                                             /* IMR          *///FFFFD00A
2384
            unsigned short WORD;                            /*  Word Access */
2385
            struct {                                        /*  Bit Access  */
2386
                unsigned short              : 2;            /*              */
2387
                unsigned short MEIM         : 1;            /*    MEIM      */
2388
                unsigned short BASMIM       : 1;            /*    BASMIM    */
2389
                unsigned short              : 2;            /*              */
2390
                unsigned short MOOIM        : 1;            /*    MOOIM     */
2391
                unsigned short MBEIM        : 1;            /*    MBEIM     */
2392
                unsigned short OLFIM        : 1;            /*    OLFIM     */
2393
                unsigned short BOFIM        : 1;            /*    BOFIM     */
2394
                unsigned short EPIM         : 1;            /*    EPIM      */
2395
                unsigned short RECWIM       : 1;            /*    RECWIM    */
2396
                unsigned short TECWIM       : 1;            /*    TECWIM    */
2397
                unsigned short RFRIM        : 1;            /*    RFRIM     */
2398
                unsigned short DFRIM        : 1;            /*    DFRIM     */
2399
                unsigned short RSTIM        : 1;            /*    RSTIM     */
2400
            }           BIT;                                /*              */
2401
        }               IMR;                                /*              */
2402
        union {                                             /* TECREC       *///FFFFD00C
2403
            unsigned short WORD;                            /*  Word Access */
2404
            struct {                                        /*  Bit Access  */
2405
                unsigned short TEC          : 8;            /*    TEC       */
2406
                unsigned short REC          : 8;            /*    REC       */
2407
            }           BIT;                                /*              */
2408
        }               TECREC;                             /*              */
2409
        char            wk1[18];                            /*              *///FFFFD020-FFFFD00C-2
2410
        union {                                             /* TXPR1,0      *///FFFFD020
2411
            unsigned int LONG;                              /*  Long Access */
2412
            struct {                                        /*  Bit Access  */
2413
                unsigned int MB31           : 1;            /*    MB31      */
2414
                unsigned int MB30           : 1;            /*    MB30      */
2415
                unsigned int MB29           : 1;            /*    MB29      */
2416
                unsigned int MB28           : 1;            /*    MB28      */
2417
                unsigned int MB27           : 1;            /*    MB27      */
2418
                unsigned int MB26           : 1;            /*    MB26      */
2419
                unsigned int MB25           : 1;            /*    MB25      */
2420
                unsigned int MB24           : 1;            /*    MB24      */
2421
                unsigned int MB23           : 1;            /*    MB23      */
2422
                unsigned int MB22           : 1;            /*    MB22      */
2423
                unsigned int MB21           : 1;            /*    MB21      */
2424
                unsigned int MB20           : 1;            /*    MB20      */
2425
                unsigned int MB19           : 1;            /*    MB19      */
2426
                unsigned int MB18           : 1;            /*    MB18      */
2427
                unsigned int MB17           : 1;            /*    MB17      */
2428
                unsigned int MB16           : 1;            /*    MB16      */
2429
                unsigned int MB15           : 1;            /*    MB15      */
2430
                unsigned int MB14           : 1;            /*    MB14      */
2431
                unsigned int MB13           : 1;            /*    MB13      */
2432
                unsigned int MB12           : 1;            /*    MB12      */
2433
                unsigned int MB11           : 1;            /*    MB11      */
2434
                unsigned int MB10           : 1;            /*    MB10      */
2435
                unsigned int MB9            : 1;            /*    MB9       */
2436
                unsigned int MB8            : 1;            /*    MB8       */
2437
                unsigned int MB7            : 1;            /*    MB7       */
2438
                unsigned int MB6            : 1;            /*    MB6       */
2439
                unsigned int MB5            : 1;            /*    MB5       */
2440
                unsigned int MB4            : 1;            /*    MB4       */
2441
                unsigned int MB3            : 1;            /*    MB3       */
2442
                unsigned int MB2            : 1;            /*    MB2       */
2443
                unsigned int MB1            : 1;            /*    MB1       */
2444
            }           BIT;                                /*              */
2445
        }               TXPR10;                             /*              */
2446
        char            wk2[6];                             /*              */
2447
        union {                                             /* TXCR0        *///FFFFD02A
2448
            unsigned short WORD;                            /*  Word Access */
2449
            struct {                                        /*  Bit Access  */
2450
                unsigned short MB15         : 1;            /*    MB15      */
2451
                unsigned short MB14         : 1;            /*    MB14      */
2452
                unsigned short MB13         : 1;            /*    MB13      */
2453
                unsigned short MB12         : 1;            /*    MB12      */
2454
                unsigned short MB11         : 1;            /*    MB11      */
2455
                unsigned short MB10         : 1;            /*    MB10      */
2456
                unsigned short MB9          : 1;            /*    MB9       */
2457
                unsigned short MB8          : 1;            /*    MB8       */
2458
                unsigned short MB7          : 1;            /*    MB7       */
2459
                unsigned short MB6          : 1;            /*    MB6       */
2460
                unsigned short MB5          : 1;            /*    MB5       */
2461
                unsigned short MB4          : 1;            /*    MB4       */
2462
                unsigned short MB3          : 1;            /*    MB3       */
2463
                unsigned short MB2          : 1;            /*    MB2       */
2464
                unsigned short MB1          : 1;            /*    MB1       */
2465
            }           BIT;                                /*              */
2466
        }               TXCR0;                              /*              */
2467
        char            wk3[6];                             /*              */
2468
        union {                                             /* TXACK0       *///FFFFD032
2469
            unsigned short WORD;                            /*  Word Access */
2470
            struct {                                        /*  Bit Access  */
2471
                unsigned short MB15         : 1;            /*    MB15      */
2472
                unsigned short MB14         : 1;            /*    MB14      */
2473
                unsigned short MB13         : 1;            /*    MB13      */
2474
                unsigned short MB12         : 1;            /*    MB12      */
2475
                unsigned short MB11         : 1;            /*    MB11      */
2476
                unsigned short MB10         : 1;            /*    MB10      */
2477
                unsigned short MB9          : 1;            /*    MB9       */
2478
                unsigned short MB8          : 1;            /*    MB8       */
2479
                unsigned short MB7          : 1;            /*    MB7       */
2480
                unsigned short MB6          : 1;            /*    MB6       */
2481
                unsigned short MB5          : 1;            /*    MB5       */
2482
                unsigned short MB4          : 1;            /*    MB4       */
2483
                unsigned short MB3          : 1;            /*    MB3       */
2484
                unsigned short MB2          : 1;            /*    MB2       */
2485
                unsigned short MB1          : 1;            /*    MB1       */
2486
            }           BIT;                                /*              */
2487
        }               TXACK0;                             /*              */
2488
        char            wk4[6];                             /*              */
2489
        union {                                             /* ABACK0       *///FFFFD03A
2490
            unsigned short WORD;                            /*  Word Access */
2491
            struct {                                        /*  Bit Access  */
2492
                unsigned short MB15         : 1;            /*    MB15      */
2493
                unsigned short MB14         : 1;            /*    MB14      */
2494
                unsigned short MB13         : 1;            /*    MB13      */
2495
                unsigned short MB12         : 1;            /*    MB12      */
2496
                unsigned short MB11         : 1;            /*    MB11      */
2497
                unsigned short MB10         : 1;            /*    MB10      */
2498
                unsigned short MB9          : 1;            /*    MB9       */
2499
                unsigned short MB8          : 1;            /*    MB8       */
2500
                unsigned short MB7          : 1;            /*    MB7       */
2501
                unsigned short MB6          : 1;            /*    MB6       */
2502
                unsigned short MB5          : 1;            /*    MB5       */
2503
                unsigned short MB4          : 1;            /*    MB4       */
2504
                unsigned short MB3          : 1;            /*    MB3       */
2505
                unsigned short MB2          : 1;            /*    MB2       */
2506
                unsigned short MB1          : 1;            /*    MB1       */
2507
            }           BIT;                                /*              */
2508
        }               ABACK0;                             /*              */
2509
        char            wk5[6];                             /*              */
2510
        union {                                             /* RXPR0        *///FFFFD042
2511
            unsigned short WORD;                            /*  Word Access */
2512
            struct {                                        /*  Bit Access  */
2513
                unsigned short MB15         : 1;            /*    MB15      */
2514
                unsigned short MB14         : 1;            /*    MB14      */
2515
                unsigned short MB13         : 1;            /*    MB13      */
2516
                unsigned short MB12         : 1;            /*    MB12      */
2517
                unsigned short MB11         : 1;            /*    MB11      */
2518
                unsigned short MB10         : 1;            /*    MB10      */
2519
                unsigned short MB9          : 1;            /*    MB9       */
2520
                unsigned short MB8          : 1;            /*    MB8       */
2521
                unsigned short MB7          : 1;            /*    MB7       */
2522
                unsigned short MB6          : 1;            /*    MB6       */
2523
                unsigned short MB5          : 1;            /*    MB5       */
2524
                unsigned short MB4          : 1;            /*    MB4       */
2525
                unsigned short MB3          : 1;            /*    MB3       */
2526
                unsigned short MB2          : 1;            /*    MB2       */
2527
                unsigned short MB1          : 1;            /*    MB1       */
2528
                unsigned short MB0          : 1;            /*    MB0       */
2529
            }           BIT;                                /*              */
2530
        }               RXPR0;                              /*              */
2531
        char            wk6[6];                             /*              */
2532
        union {                                             /* RFPR0        *///FFFFD04A
2533
            unsigned short WORD;                            /*  Word Access */
2534
            struct {                                        /*  Bit Access  */
2535
                unsigned short MB15         : 1;            /*    MB15      */
2536
                unsigned short MB14         : 1;            /*    MB14      */
2537
                unsigned short MB13         : 1;            /*    MB13      */
2538
                unsigned short MB12         : 1;            /*    MB12      */
2539
                unsigned short MB11         : 1;            /*    MB11      */
2540
                unsigned short MB10         : 1;            /*    MB10      */
2541
                unsigned short MB9          : 1;            /*    MB9       */
2542
                unsigned short MB8          : 1;            /*    MB8       */
2543
                unsigned short MB7          : 1;            /*    MB7       */
2544
                unsigned short MB6          : 1;            /*    MB6       */
2545
                unsigned short MB5          : 1;            /*    MB5       */
2546
                unsigned short MB4          : 1;            /*    MB4       */
2547
                unsigned short MB3          : 1;            /*    MB3       */
2548
                unsigned short MB2          : 1;            /*    MB2       */
2549
                unsigned short MB1          : 1;            /*    MB1       */
2550
                unsigned short MB0          : 1;            /*    MB0       */
2551
            }           BIT;                                /*              */
2552
        }               RFPR0;                              /*              */
2553
        char            wk7[6];                             /*              */
2554
        union {                                             /* MBIMR0       *///FFFFD052
2555
            unsigned short WORD;                            /*  Word Access */
2556
            struct {                                        /*  Bit Access  */
2557
                unsigned short MB15         : 1;            /*    MB15      */
2558
                unsigned short MB14         : 1;            /*    MB14      */
2559
                unsigned short MB13         : 1;            /*    MB13      */
2560
                unsigned short MB12         : 1;            /*    MB12      */
2561
                unsigned short MB11         : 1;            /*    MB11      */
2562
                unsigned short MB10         : 1;            /*    MB10      */
2563
                unsigned short MB9          : 1;            /*    MB9       */
2564
                unsigned short MB8          : 1;            /*    MB8       */
2565
                unsigned short MB7          : 1;            /*    MB7       */
2566
                unsigned short MB6          : 1;            /*    MB6       */
2567
                unsigned short MB5          : 1;            /*    MB5       */
2568
                unsigned short MB4          : 1;            /*    MB4       */
2569
                unsigned short MB3          : 1;            /*    MB3       */
2570
                unsigned short MB2          : 1;            /*    MB2       */
2571
                unsigned short MB1          : 1;            /*    MB1       */
2572
                unsigned short MB0          : 1;            /*    MB0       */
2573
            }           BIT;                                /*              */
2574
        }               MBIMR0;                             /*              */
2575
        char            wk8[6];                             /*              */
2576
        union {                                             /* UMSR0        *///FFFFD05A
2577
            unsigned short WORD;                            /*  Word Access */
2578
            struct {                                        /*  Bit Access  */
2579
                unsigned short MB15         : 1;            /*    MB15      */
2580
                unsigned short MB14         : 1;            /*    MB14      */
2581
                unsigned short MB13         : 1;            /*    MB13      */
2582
                unsigned short MB12         : 1;            /*    MB12      */
2583
                unsigned short MB11         : 1;            /*    MB11      */
2584
                unsigned short MB10         : 1;            /*    MB10      */
2585
                unsigned short MB9          : 1;            /*    MB9       */
2586
                unsigned short MB8          : 1;            /*    MB8       */
2587
                unsigned short MB7          : 1;            /*    MB7       */
2588
                unsigned short MB6          : 1;            /*    MB6       */
2589
                unsigned short MB5          : 1;            /*    MB5       */
2590
                unsigned short MB4          : 1;            /*    MB4       */
2591
                unsigned short MB3          : 1;            /*    MB3       */
2592
                unsigned short MB2          : 1;            /*    MB2       */
2593
                unsigned short MB1          : 1;            /*    MB1       */
2594
                unsigned short MB0          : 1;            /*    MB0       */
2595
            }           BIT;                                /*              */
2596
        }               UMSR0;                              /*              */
2597
        char            wk9[164];                           /*              */
2598
        struct {                                            /* MB           */
2599
            union {                                         /*  CTRL0       *///FFFFD100
2600
                unsigned int LONG;                          /*   Long Access*/
2601
                struct {                                    /*   Word Access*/
2602
                    unsigned short H;                       /*     High     */
2603
                    unsigned short L;                       /*     Low      */
2604
                }       WORD;                               /*              */
2605
                struct {                                    /*   Bit Access */
2606
                    unsigned int IDE        : 1;            /*     IDE      */
2607
                    unsigned int RTR        : 1;            /*     RTR      */
2608
                    unsigned int            : 1;            /*              */
2609
                    unsigned int STDID      :11;            /*     STDID    */
2610
                    unsigned int EXDID      :18;            /*     EXDID    */
2611
                }       BIT;                                /*              */
2612
            }           CTRL0;                              /*              */
2613
            union {                                         /*  LAFM        *///FFFFD104
2614
                unsigned int LONG;                          /*   Long Access*/
2615
                struct {                                    /*   Word Access*/
2616
                    unsigned short H;                       /*     High     */
2617
                    unsigned short L;                       /*     Low      */
2618
                }       WORD;                               /*              */
2619
                struct {                                    /*   Bit Access */
2620
                    unsigned int IDE        : 1;            /*     IDE      */
2621
                    unsigned int            : 2;            /*              */
2622
                    unsigned int STDID      :11;            /*     STDID    */
2623
                    unsigned int EXDID      :18;            /*     EXDID    */
2624
                }       BIT;                                /*              */
2625
            }           LAFM;                               /*              */
2626
            unsigned char MSG_DATA[8];                      /*  MSG_DATA    *///FFFFD108
2627
            union {                                         /*  CTRL1       *///FFFFD110
2628
                unsigned short WORD;                        /*   Word Access*/
2629
                struct {                                    /*   Byte Access*/
2630
                    unsigned char H;                        /*     High     */
2631
                    unsigned char L;                        /*     Low      */
2632
                }       BYTE;                               /*              */
2633
                struct {                                    /*   Bit Access */
2634
                    unsigned char           : 2;            /*              */
2635
                    unsigned char NMC       : 1;            /*     NMC      */
2636
                    unsigned char ATX       : 1;            /*     ATX      */
2637
                    unsigned char DART      : 1;            /*     DART     */
2638
                    unsigned char MBC       : 3;            /*     MBC      */
2639
                    unsigned char           : 4;            /*              */
2640
                    unsigned char DLC       : 4;            /*     DLC      */
2641
                }       BIT;                                /*              */
2642
            }           CTRL1;                              /*              */
2643
            char        wk[14];                             /*              *///FFFFD120-FFFFD110-2
2644
        }               MB[16];                             /*              *///FFFFD120
2645
};                                                          /*              */
2646
struct st_pfc {                                             /* struct PFC   */
2647
        union {                                             /* PAIORH       *///FFFE3804
2648
            unsigned short WORD;                            /*  Word Access */
2649
            struct {                                        /*  Byte Access */
2650
                unsigned char H;                            /*    High      */
2651
                unsigned char L;                            /*    Low       */
2652
            }           BYTE;                               /*              */
2653
            struct {                                        /*  Bit Access  */
2654
                unsigned char               : 8;            /*              */
2655
                unsigned char               : 2;            /*              */
2656
                unsigned char B21           : 1;            /*    Bit 21    */
2657
                unsigned char B20           : 1;            /*    Bit 20    */
2658
                unsigned char B19           : 1;            /*    Bit 19    */
2659
                unsigned char B18           : 1;            /*    Bit 18    */
2660
                unsigned char B17           : 1;            /*    Bit 17    */
2661
                unsigned char B16           : 1;            /*    Bit 16    */
2662
            }           BIT;                                /*              */
2663
        }               PAIORH;                             /*              */
2664
        union {                                             /* PAIORL       *///FFFE3806
2665
            unsigned short WORD;                            /*  Word Access */
2666
            struct {                                        /*  Byte Access */
2667
                unsigned char H;                            /*    High      */
2668
                unsigned char L;                            /*    Low       */
2669
            }           BYTE;                               /*              */
2670
            struct {                                        /*  Bit Access  */
2671
                unsigned char B15           : 1;            /*    Bit 15    */
2672
                unsigned char B14           : 1;            /*    Bit 14    */
2673
                unsigned char B13           : 1;            /*    Bit 13    */
2674
                unsigned char B12           : 1;            /*    Bit 12    */
2675
                unsigned char B11           : 1;            /*    Bit 11    */
2676
                unsigned char B10           : 1;            /*    Bit 10    */
2677
                unsigned char B9            : 1;            /*    Bit 9     */
2678
                unsigned char B8            : 1;            /*    Bit 8     */
2679
                unsigned char B7            : 1;            /*    Bit 7     */
2680
                unsigned char B6            : 1;            /*    Bit 6     */
2681
                unsigned char B5            : 1;            /*    Bit 5     */
2682
                unsigned char B4            : 1;            /*    Bit 4     */
2683
                unsigned char B3            : 1;            /*    Bit 3     */
2684
                unsigned char B2            : 1;            /*    Bit 2     */
2685
                unsigned char B1            : 1;            /*    Bit 1     */
2686
                unsigned char B0            : 1;            /*    Bit 0     */
2687
            }           BIT;                                /*              */
2688
        }               PAIORL;                             /*              */
2689
        char            wk1[4];                             /*              *///FFFE380C-FFFE3806-2
2690
        union {                                             /* PACRH2       *///FFFE380C
2691
            unsigned short WORD;                            /*  Word Access */
2692
            struct {                                        /*  Byte Access */
2693
                unsigned char H;                            /*    High      */
2694
                unsigned char L;                            /*    Low       */
2695
            }           BYTE;                               /*              */
2696
            struct {                                        /*  Bit Access  */
2697
                unsigned char               : 1;            /*              */
2698
                unsigned char               : 3;            /*              */
2699
                unsigned char               : 1;            /*              */
2700
                unsigned char               : 3;            /*              */
2701
                unsigned char               : 1;            /*              */
2702
                unsigned char PA21MD        : 3;            /*    PA21MD    */
2703
                unsigned char               : 1;            /*              */
2704
                unsigned char PA20MD        : 3;            /*    PA20MD    */
2705
            }           BIT;                                /*              */
2706
        }               PACRH2;                             /*              */
2707
        union {                                             /* PACRH1       *///FFFE380E
2708
            unsigned short WORD;                            /*  Word Access */
2709
            struct {                                        /*  Byte Access */
2710
                unsigned char H;                            /*    High      */
2711
                unsigned char L;                            /*    Low       */
2712
            }           BYTE;                               /*              */
2713
            struct {                                        /*  Bit Access  */
2714
                unsigned char               : 1;            /*              */
2715
                unsigned char PA19MD        : 3;            /*    PA19MD    */
2716
                unsigned char               : 1;            /*              */
2717
                unsigned char PA18MD        : 3;            /*    PA18MD    */
2718
                unsigned char               : 1;            /*              */
2719
                unsigned char PA17MD        : 3;            /*    PA17MD    */
2720
                unsigned char               : 1;            /*              */
2721
                unsigned char PA16MD        : 3;            /*    PA16MD    */
2722
            }           BIT;                                /*              */
2723
        }               PACRH1;                             /*              */
2724
        union {                                             /* PACRL4       *///FFFE3810
2725
            unsigned short WORD;                            /*  Word Access */
2726
            struct {                                        /*  Byte Access */
2727
                unsigned char H;                            /*    High      */
2728
                unsigned char L;                            /*    Low       */
2729
            }           BYTE;                               /*              */
2730
            struct {                                        /*  Bit Access  */
2731
                unsigned char               : 1;            /*              */
2732
                unsigned char PA15MD        : 3;            /*    PA15MD    */
2733
                unsigned char               : 1;            /*              */
2734
                unsigned char PA14MD        : 3;            /*    PA14MD    */
2735
                unsigned char               : 1;            /*              */
2736
                unsigned char PA13MD        : 3;            /*    PA13MD    */
2737
                unsigned char               : 1;            /*              */
2738
                unsigned char PA12MD        : 3;            /*    PA12MD    */
2739
            }           BIT;                                /*              */
2740
        }               PACRL4;                             /*              */
2741
        union {                                             /* PACRL3       *///FFFE3812
2742
            unsigned short WORD;                            /*  Word Access */
2743
            struct {                                        /*  Byte Access */
2744
                unsigned char H;                            /*    High      */
2745
                unsigned char L;                            /*    Low       */
2746
            }           BYTE;                               /*              */
2747
            struct {                                        /*  Bit Access  */
2748
                unsigned char               : 1;            /*              */
2749
                unsigned char PA11MD        : 3;            /*    PA11MD    */
2750
                unsigned char               : 1;            /*              */
2751
                unsigned char PA10MD        : 3;            /*    PA10MD    */
2752
                unsigned char               : 1;            /*              */
2753
                unsigned char PA9MD         : 3;            /*    PA9MD     */
2754
                unsigned char               : 1;            /*              */
2755
                unsigned char PA8MD         : 3;            /*    PA8MD     */
2756
            }           BIT;                                /*              */
2757
        }               PACRL3;                             /*              */
2758
        union {                                             /* PACRL2       *///FFFE3814
2759
            unsigned short WORD;                            /*  Word Access */
2760
            struct {                                        /*  Byte Access */
2761
                unsigned char H;                            /*    High      */
2762
                unsigned char L;                            /*    Low       */
2763
            }           BYTE;                               /*              */
2764
            struct {                                        /*  Bit Access  */
2765
                unsigned char               : 1;            /*              */
2766
                unsigned char PA7MD         : 3;            /*    PA7MD     */
2767
                unsigned char               : 1;            /*              */
2768
                unsigned char PA6MD         : 3;            /*    PA6MD     */
2769
                unsigned char               : 1;            /*              */
2770
                unsigned char PA5MD         : 3;            /*    PA5MD     */
2771
                unsigned char               : 1;            /*              */
2772
                unsigned char PA4MD         : 3;            /*    PA4MD     */
2773
            }           BIT;                                /*              */
2774
        }               PACRL2;                             /*              */
2775
        union {                                             /* PACRL1       *///FFFE3816
2776
            unsigned short WORD;                            /*  Word Access */
2777
            struct {                                        /*  Byte Access */
2778
                unsigned char H;                            /*    High      */
2779
                unsigned char L;                            /*    Low       */
2780
            }           BYTE;                               /*              */
2781
            struct {                                        /*  Bit Access  */
2782
                unsigned char               : 1;            /*              */
2783
                unsigned char PA3MD         : 3;            /*    PA3MD     */
2784
                unsigned char               : 1;            /*              */
2785
                unsigned char PA2MD         : 3;            /*    PA2MD     */
2786
                unsigned char               : 1;            /*              */
2787
                unsigned char PA1MD         : 3;            /*    PA1MD     */
2788
                unsigned char               : 1;            /*              */
2789
                unsigned char PA0MD         : 3;            /*    PA0MD     */
2790
            }           BIT;                                /*              */
2791
        }               PACRL1;                             /*              */
2792
        char            wk2[16];                            /*              *///FFFE3828-FFFE3810-8
2793
        union {                                             /* PAPCRH       *///FFFE3828
2794
            unsigned short WORD;                            /*  Word Access */
2795
            struct {                                        /*  Byte Access */
2796
                unsigned char H;                            /*    High      */
2797
                unsigned char L;                            /*    Low       */
2798
            }           BYTE;                               /*              */
2799
            struct {                                        /*  Bit Access  */
2800
                unsigned char               : 8;            /*              */
2801
                unsigned char               : 2;            /*              */
2802
                unsigned char PA21PCR       : 1;            /*    PA21PCR   */
2803
                unsigned char PA20PCR       : 1;            /*    PA20PCR   */
2804
                unsigned char PA19PCR       : 1;            /*    PA19PCR   */
2805
                unsigned char PA18PCR       : 1;            /*    PA18PCR   */
2806
                unsigned char PA17PCR       : 1;            /*    PA17PCR   */
2807
                unsigned char PA16PCR       : 1;            /*    PA16PCR   */
2808
            }           BIT;                                /*              */
2809
        }               PAPCRH;                             /*              */
2810
        union {                                             /* PAPCRL       *///FFFE382A
2811
            unsigned short WORD;                            /*  Word Access */
2812
            struct {                                        /*  Byte Access */
2813
                unsigned char H;                            /*    High      */
2814
                unsigned char L;                            /*    Low       */
2815
            }           BYTE;                               /*              */
2816
            struct {                                        /*  Bit Access  */
2817
                unsigned char PA15PCR       : 1;            /*    PA15PCR   */
2818
                unsigned char PA14PCR       : 1;            /*    PA14PCR   */
2819
                unsigned char PA13PCR       : 1;            /*    PA13PCR   */
2820
                unsigned char PA12PCR       : 1;            /*    PA12PCR   */
2821
                unsigned char PA11PCR       : 1;            /*    PA11PCR   */
2822
                unsigned char PA10PCR       : 1;            /*    PA10PCR   */
2823
                unsigned char PA9PCR        : 1;            /*    PA9PCR    */
2824
                unsigned char PA8PCR        : 1;            /*    PA8PCR    */
2825
                unsigned char PA7PCR        : 1;            /*    PA7PCR    */
2826
                unsigned char PA6PCR        : 1;            /*    PA6PCR    */
2827
                unsigned char PA5PCR        : 1;            /*    PA5PCR    */
2828
                unsigned char PA4PCR        : 1;            /*    PA4PCR    */
2829
                unsigned char PA3PCR        : 1;            /*    PA3PCR    */
2830
                unsigned char PA2PCR        : 1;            /*    PA2PCR    */
2831
                unsigned char PA1PCR        : 1;            /*    PA1PCR    */
2832
                unsigned char PA0PCR        : 1;            /*    PA0PCR    */
2833
            }           BIT;                                /*              */
2834
        }               PAPCRL;                             /*              */
2835
        char            wk3[90];                            /*              *///FFFE3886-FFFE3828-4
2836
        union {                                             /* PBIORL       *///FFFE3886
2837
            unsigned short WORD;                            /*  Word Access */
2838
            struct {                                        /*  Byte Access */
2839
                unsigned char H;                            /*    High      */
2840
                unsigned char L;                            /*    Low       */
2841
            }           BYTE;                               /*              */
2842
            struct {                                        /*  Bit Access  */
2843
                unsigned char B15           : 1;            /*    Bit 15    */
2844
                unsigned char B14           : 1;            /*    Bit 14    */
2845
                unsigned char B13           : 1;            /*    Bit 13    */
2846
                unsigned char B12           : 1;            /*    Bit 12    */
2847
                unsigned char B11           : 1;            /*    Bit 11    */
2848
                unsigned char B10           : 1;            /*    Bit 10    */
2849
                unsigned char B9            : 1;            /*    Bit 9     */
2850
                unsigned char B8            : 1;            /*    Bit 8     */
2851
                unsigned char B7            : 1;            /*    Bit 7     */
2852
                unsigned char B6            : 1;            /*    Bit 6     */
2853
                unsigned char B5            : 1;            /*    Bit 5     */
2854
                unsigned char B4            : 1;            /*    Bit 4     */
2855
                unsigned char B3            : 1;            /*    Bit 3     */
2856
                unsigned char B2            : 1;            /*    Bit 2     */
2857
                unsigned char B1            : 1;            /*    Bit 1     */
2858
                unsigned char B0            : 1;            /*    Bit 0     */
2859
            }           BIT;                                /*              */
2860
        }               PBIORL;                             /*              */
2861
        char            wk4[8];                             /*              *///FFFE3890-FFFE3884-4
2862
        union {                                             /* PBCRL4       *///FFFE3890
2863
            unsigned short WORD;                            /*  Word Access */
2864
            struct {                                        /*  Byte Access */
2865
                unsigned char H;                            /*    High      */
2866
                unsigned char L;                            /*    Low       */
2867
            }           BYTE;                               /*              */
2868
            struct {                                        /*  Bit Access  */
2869
                unsigned char               : 1;            /*              */
2870
                unsigned char PB15MD        : 3;            /*    PB15MD    */
2871
                unsigned char               : 1;            /*              */
2872
                unsigned char PB14MD        : 3;            /*    PB14MD    */
2873
                unsigned char               : 1;            /*              */
2874
                unsigned char PB13MD        : 3;            /*    PB13MD    */
2875
                unsigned char               : 1;            /*              */
2876
                unsigned char PB12MD        : 3;            /*    PB12MD    */
2877
            }           BIT;                                /*              */
2878
        }               PBCRL4;                             /*              */
2879
        union {                                             /* PBCRL3       *///FFFE3892
2880
            unsigned short WORD;                            /*  Word Access */
2881
            struct {                                        /*  Byte Access */
2882
                unsigned char H;                            /*    High      */
2883
                unsigned char L;                            /*    Low       */
2884
            }           BYTE;                               /*              */
2885
            struct {                                        /*  Bit Access  */
2886
                unsigned char               : 1;            /*              */
2887
                unsigned char PB11MD        : 3;            /*    PB11MD    */
2888
                unsigned char               : 1;            /*              */
2889
                unsigned char PB10MD        : 3;            /*    PB10MD    */
2890
                unsigned char               : 1;            /*              */
2891
                unsigned char PB9MD         : 3;            /*    PB9MD     */
2892
                unsigned char               : 1;            /*              */
2893
                unsigned char PB8MD         : 3;            /*    PB8MD     */
2894
            }           BIT;                                /*              */
2895
        }               PBCRL3;                             /*              */
2896
        union {                                             /* PBCRL2       *///FFFE3894
2897
            unsigned short WORD;                            /*  Word Access */
2898
            struct {                                        /*  Byte Access */
2899
                unsigned char H;                            /*    High      */
2900
                unsigned char L;                            /*    Low       */
2901
            }           BYTE;                               /*              */
2902
            struct {                                        /*  Bit Access  */
2903
                unsigned char               : 1;            /*              */
2904
                unsigned char PB7MD         : 3;            /*    PB7MD     */
2905
                unsigned char               : 1;            /*              */
2906
                unsigned char PB6MD         : 3;            /*    PB6MD     */
2907
                unsigned char               : 1;            /*              */
2908
                unsigned char PB5MD         : 3;            /*    PB5MD     */
2909
                unsigned char               : 1;            /*              */
2910
                unsigned char PB4MD         : 3;            /*    PB4MD     */
2911
            }           BIT;                                /*              */
2912
        }               PBCRL2;                             /*              */
2913
        union {                                             /* PBCRL1       *///FFFE3896
2914
            unsigned short WORD;                            /*  Word Access */
2915
            struct {                                        /*  Byte Access */
2916
                unsigned char H;                            /*    High      */
2917
                unsigned char L;                            /*    Low       */
2918
            }           BYTE;                               /*              */
2919
            struct {                                        /*  Bit Access  */
2920
                unsigned char               : 1;            /*              */
2921
                unsigned char PB3MD         : 3;            /*    PB3MD     */
2922
                unsigned char               : 1;            /*              */
2923
                unsigned char PB2MD         : 3;            /*    PB2MD     */
2924
                unsigned char               : 1;            /*              */
2925
                unsigned char PB1MD         : 3;            /*    PB1MD     */
2926
                unsigned char               : 1;            /*              */
2927
                unsigned char PB0MD         : 3;            /*    PB0MD     */
2928
            }           BIT;                                /*              */
2929
        }               PBCRL1;                             /*              */
2930
        char            wk5[18];                            /*              *///FFFE38AA-FFFE3896-2
2931
        union {                                             /* PBPCRL       *///FFFE38AA
2932
            unsigned short WORD;                            /*  Word Access */
2933
            struct {                                        /*  Byte Access */
2934
                unsigned char H;                            /*    High      */
2935
                unsigned char L;                            /*    Low       */
2936
            }           BYTE;                               /*              */
2937
            struct {                                        /*  Bit Access  */
2938
                unsigned char PB15PCR       : 1;            /*    PB15PCR   */
2939
                unsigned char PB14PCR       : 1;            /*    PB14PCR   */
2940
                unsigned char PB13PCR       : 1;            /*    PB13PCR   */
2941
                unsigned char PB12PCR       : 1;            /*    PB12PCR   */
2942
                unsigned char PB11PCR       : 1;            /*    PB11PCR   */
2943
                unsigned char PB10PCR       : 1;            /*    PB10PCR   */
2944
                unsigned char PB9PCR        : 1;            /*    PB9PCR    */
2945
                unsigned char PB8PCR        : 1;            /*    PB8PCR    */
2946
                unsigned char PB7PCR        : 1;            /*    PB7PCR    */
2947
                unsigned char PB6PCR        : 1;            /*    PB6PCR    */
2948
                unsigned char PB5PCR        : 1;            /*    PB5PCR    */
2949
                unsigned char PB4PCR        : 1;            /*    PB4PCR    */
2950
                unsigned char PB3PCR        : 1;            /*    PB3PCR    */
2951
                unsigned char PB2PCR        : 1;            /*    PB2PCR    */
2952
                unsigned char PB1PCR        : 1;            /*    PB1PCR    */
2953
                unsigned char PB0PCR        : 1;            /*    PB0PCR    */
2954
            }           BIT;                                /*              */
2955
        }               PBPCRL;                             /*              */
2956
        char            wk6[90];                            /*              *///FFFE3906-FFFE38A8-4
2957
        union {                                             /* PCIORL       *///FFFE3906
2958
            unsigned short WORD;                            /*  Word Access */
2959
            struct {                                        /*  Byte Access */
2960
                unsigned char H;                            /*    High      */
2961
                unsigned char L;                            /*    Low       */
2962
            }           BYTE;                               /*              */
2963
            struct {                                        /*  Bit Access  */
2964
                unsigned char B15           : 1;            /*    Bit 15    */
2965
                unsigned char B14           : 1;            /*    Bit 14    */
2966
                unsigned char B13           : 1;            /*    Bit 13    */
2967
                unsigned char B12           : 1;            /*    Bit 12    */
2968
                unsigned char B11           : 1;            /*    Bit 11    */
2969
                unsigned char B10           : 1;            /*    Bit 10    */
2970
                unsigned char B9            : 1;            /*    Bit 9     */
2971
                unsigned char B8            : 1;            /*    Bit 8     */
2972
                unsigned char B7            : 1;            /*    Bit 7     */
2973
                unsigned char B6            : 1;            /*    Bit 6     */
2974
                unsigned char B5            : 1;            /*    Bit 5     */
2975
                unsigned char B4            : 1;            /*    Bit 4     */
2976
                unsigned char B3            : 1;            /*    Bit 3     */
2977
                unsigned char B2            : 1;            /*    Bit 2     */
2978
                unsigned char B1            : 1;            /*    Bit 1     */
2979
                unsigned char B0            : 1;            /*    Bit 0     */
2980
            }           BIT;                                /*              */
2981
        }               PCIORL;                             /*              */
2982
        char            wk7[8];                             /*              *///FFFE3910-FFFE3906-2
2983
        union {                                             /* PCCRL4       *///FFFE3910
2984
            unsigned short WORD;                            /*  Word Access */
2985
            struct {                                        /*  Byte Access */
2986
                unsigned char H;                            /*    High      */
2987
                unsigned char L;                            /*    Low       */
2988
            }           BYTE;                               /*              */
2989
            struct {                                        /*  Bit Access  */
2990
                unsigned char               : 1;            /*              */
2991
                unsigned char PC15MD        : 3;            /*    PC15MD    */
2992
                unsigned char               : 1;            /*              */
2993
                unsigned char PC14MD        : 3;            /*    PC14MD    */
2994
                unsigned char               : 1;            /*              */
2995
                unsigned char PC13MD        : 3;            /*    PC13MD    */
2996
                unsigned char               : 1;            /*              */
2997
                unsigned char PC12MD        : 3;            /*    PC12MD    */
2998
            }           BIT;                                /*              */
2999
        }               PCCRL4;                             /*              */
3000
        union {                                             /* PCCRL3       *///FFFE3912
3001
            unsigned short WORD;                            /*  Word Access */
3002
            struct {                                        /*  Byte Access */
3003
                unsigned char H;                            /*    High      */
3004
                unsigned char L;                            /*    Low       */
3005
            }           BYTE;                               /*              */
3006
            struct {                                        /*  Bit Access  */
3007
                unsigned char               : 1;            /*              */
3008
                unsigned char PC11MD        : 3;            /*    PC11MD    */
3009
                unsigned char               : 1;            /*              */
3010
                unsigned char PC10MD        : 3;            /*    PC10MD    */
3011
                unsigned char               : 1;            /*              */
3012
                unsigned char PC9MD         : 3;            /*    PC9MD     */
3013
                unsigned char               : 1;            /*              */
3014
                unsigned char PC8MD         : 3;            /*    PC8MD     */
3015
            }           BIT;                                /*              */
3016
        }               PCCRL3;                             /*              */
3017
        union {                                             /* PCCRL2       *///FFFE3914
3018
            unsigned short WORD;                            /*  Word Access */
3019
            struct {                                        /*  Byte Access */
3020
                unsigned char H;                            /*    High      */
3021
                unsigned char L;                            /*    Low       */
3022
            }           BYTE;                               /*              */
3023
            struct {                                        /*  Bit Access  */
3024
                unsigned char               : 1;            /*              */
3025
                unsigned char PC7MD         : 3;            /*    PC7MD     */
3026
                unsigned char               : 1;            /*              */
3027
                unsigned char PC6MD         : 3;            /*    PC6MD     */
3028
                unsigned char               : 1;            /*              */
3029
                unsigned char PC5MD         : 3;            /*    PC5MD     */
3030
                unsigned char               : 1;            /*              */
3031
                unsigned char PC4MD         : 3;            /*    PC4MD     */
3032
            }           BIT;                                /*              */
3033
        }               PCCRL2;                             /*              */
3034
        union {                                             /* PCCRL1       *///FFFE3916
3035
            unsigned short WORD;                            /*  Word Access */
3036
            struct {                                        /*  Byte Access */
3037
                unsigned char H;                            /*    High      */
3038
                unsigned char L;                            /*    Low       */
3039
            }           BYTE;                               /*              */
3040
            struct {                                        /*  Bit Access  */
3041
                unsigned char               : 1;            /*              */
3042
                unsigned char PC3MD         : 3;            /*    PC3MD     */
3043
                unsigned char               : 1;            /*              */
3044
                unsigned char PC2MD         : 3;            /*    PC2MD     */
3045
                unsigned char               : 1;            /*              */
3046
                unsigned char PC1MD         : 3;            /*    PC1MD     */
3047
                unsigned char               : 1;            /*              */
3048
                unsigned char PC0MD         : 3;            /*    PC0MD     */
3049
            }           BIT;                                /*              */
3050
        }               PCCRL1;                             /*              */
3051
        char            wk8[18];                            /*              *///FFFE392A-FFFE3916-2
3052
        union {                                             /* PCPCRL       *///FFFE392A
3053
            unsigned short WORD;                            /*  Word Access */
3054
            struct {                                        /*  Byte Access */
3055
                unsigned char H;                            /*    High      */
3056
                unsigned char L;                            /*    Low       */
3057
            }           BYTE;                               /*              */
3058
            struct {                                        /*  Bit Access  */
3059
                unsigned char PC15PCR       : 1;            /*    PC15PCR   */
3060
                unsigned char PC14PCR       : 1;            /*    PC14PCR   */
3061
                unsigned char PC13PCR       : 1;            /*    PC13PCR   */
3062
                unsigned char PC12PCR       : 1;            /*    PC12PCR   */
3063
                unsigned char PC11PCR       : 1;            /*    PC11PCR   */
3064
                unsigned char PC10PCR       : 1;            /*    PC10PCR   */
3065
                unsigned char PC9PCR        : 1;            /*    PC9PCR    */
3066
                unsigned char PC8PCR        : 1;            /*    PC8PCR    */
3067
                unsigned char PC7PCR        : 1;            /*    PC7PCR    */
3068
                unsigned char PC6PCR        : 1;            /*    PC6PCR    */
3069
                unsigned char PC5PCR        : 1;            /*    PC2PCR    */
3070
                unsigned char PC4PCR        : 1;            /*    PC1PCR    */
3071
                unsigned char PC3PCR        : 1;            /*    PC0PCR    */
3072
                unsigned char PC2PCR        : 1;            /*    PC2PCR    */
3073
                unsigned char PC1PCR        : 1;            /*    PC1PCR    */
3074
                unsigned char PC0PCR        : 1;            /*    PC0PCR    */
3075
            }           BIT;                                /*              */
3076
        }               PCPCRL;                             /*              */
3077
        char            wk9[88];                            /*              *///FFFE3984-FFFE392A-2
3078
        union {                                             /* PDIORH       *///FFFE3984
3079
            unsigned short WORD;                            /*  Word Access */
3080
            struct {                                        /*  Byte Access */
3081
                unsigned char H;                            /*    High      */
3082
                unsigned char L;                            /*    Low       */
3083
            }           BYTE;                               /*              */
3084
            struct {                                        /*  Bit Access  */
3085
                unsigned char B31           : 1;            /*    Bit 31    */
3086
                unsigned char B30           : 1;            /*    Bit 30    */
3087
                unsigned char B29           : 1;            /*    Bit 29    */
3088
                unsigned char B28           : 1;            /*    Bit 28    */
3089
                unsigned char B27           : 1;            /*    Bit 27    */
3090
                unsigned char B26           : 1;            /*    Bit 26    */
3091
                unsigned char B25           : 1;            /*    Bit 25    */
3092
                unsigned char B24           : 1;            /*    Bit 24    */
3093
                unsigned char B23           : 1;            /*    Bit 23    */
3094
                unsigned char B22           : 1;            /*    Bit 22    */
3095
                unsigned char B21           : 1;            /*    Bit 21    */
3096
                unsigned char B20           : 1;            /*    Bit 20    */
3097
                unsigned char B19           : 1;            /*    Bit 19    */
3098
                unsigned char B18           : 1;            /*    Bit 18    */
3099
                unsigned char B17           : 1;            /*    Bit 17    */
3100
                unsigned char B16           : 1;            /*    Bit 16    */
3101
            }           BIT;                                /*              */
3102
        }               PDIORH;                             /*              */
3103
        union {                                             /* PDIORL       *///FFFE3986
3104
            unsigned short WORD;                            /*  Word Access */
3105
            struct {                                        /*  Byte Access */
3106
                unsigned char H;                            /*    High      */
3107
                unsigned char L;                            /*    Low       */
3108
            }           BYTE;                               /*              */
3109
            struct {                                        /*  Bit Access  */
3110
                unsigned char B15           : 1;            /*    Bit 15    */
3111
                unsigned char B14           : 1;            /*    Bit 14    */
3112
                unsigned char B13           : 1;            /*    Bit 13    */
3113
                unsigned char B12           : 1;            /*    Bit 12    */
3114
                unsigned char B11           : 1;            /*    Bit 11    */
3115
                unsigned char B10           : 1;            /*    Bit 10    */
3116
                unsigned char B9            : 1;            /*    Bit 9     */
3117
                unsigned char B8            : 1;            /*    Bit 8     */
3118
                unsigned char B7            : 1;            /*    Bit 7     */
3119
                unsigned char B6            : 1;            /*    Bit 6     */
3120
                unsigned char B5            : 1;            /*    Bit 5     */
3121
                unsigned char B4            : 1;            /*    Bit 4     */
3122
                unsigned char B3            : 1;            /*    Bit 3     */
3123
                unsigned char B2            : 1;            /*    Bit 2     */
3124
                unsigned char B1            : 1;            /*    Bit 1     */
3125
                unsigned char B0            : 1;            /*    Bit 0     */
3126
            }           BIT;                                /*              */
3127
        }               PDIORL;                             /*              */
3128
        union {                                             /* PDCRH4       *///FFFE3988
3129
            unsigned short WORD;                            /*  Word Access */
3130
            struct {                                        /*  Byte Access */
3131
                unsigned char H;                            /*    High      */
3132
                unsigned char L;                            /*    Low       */
3133
            }           BYTE;                               /*              */
3134
            struct {                                        /*  Bit Access  */
3135
                unsigned char               : 1;            /*              */
3136
                unsigned char PD31MD        : 3;            /*    PD31MD    */
3137
                unsigned char               : 1;            /*              */
3138
                unsigned char PD30MD        : 3;            /*    PD30MD    */
3139
                unsigned char               : 1;            /*              */
3140
                unsigned char PD29MD        : 3;            /*    PD29MD    */
3141
                unsigned char               : 1;            /*              */
3142
                unsigned char PD28MD        : 3;            /*    PD28MD    */
3143
            }           BIT;                                /*              */
3144
        }               PDCRH4;                             /*              */
3145
        union {                                             /* PDCRH3       *///FFFE398A
3146
            unsigned short WORD;                            /*  Word Access */
3147
            struct {                                        /*  Byte Access */
3148
                unsigned char H;                            /*    High      */
3149
                unsigned char L;                            /*    Low       */
3150
            }           BYTE;                               /*              */
3151
            struct {                                        /*  Bit Access  */
3152
                unsigned char               : 1;            /*              */
3153
                unsigned char PD27MD        : 3;            /*    PD27MD    */
3154
                unsigned char               : 1;            /*              */
3155
                unsigned char PD26MD        : 3;            /*    PD26MD    */
3156
                unsigned char               : 1;            /*              */
3157
                unsigned char PD25MD        : 3;            /*    PD25MD    */
3158
                unsigned char               : 1;            /*              */
3159
                unsigned char PD24MD        : 3;            /*    PD24MD    */
3160
            }           BIT;                                /*              */
3161
        }               PDCRH3;                             /*              */
3162
        union {                                             /* PDCRH2       *///FFFE398C
3163
            unsigned short WORD;                            /*  Word Access */
3164
            struct {                                        /*  Byte Access */
3165
                unsigned char H;                            /*    High      */
3166
                unsigned char L;                            /*    Low       */
3167
            }           BYTE;                               /*              */
3168
            struct {                                        /*  Bit Access  */
3169
                unsigned char               : 1;            /*              */
3170
                unsigned char PD23MD        : 3;            /*    PD23MD    */
3171
                unsigned char               : 1;            /*              */
3172
                unsigned char PD22MD        : 3;            /*    PD22MD    */
3173
                unsigned char               : 1;            /*              */
3174
                unsigned char PD21MD        : 3;            /*    PD21MD    */
3175
                unsigned char               : 1;            /*              */
3176
                unsigned char PD20MD        : 3;            /*    PD20MD    */
3177
            }           BIT;                                /*              */
3178
        }               PDCRH2;                             /*              */
3179
        union {                                             /* PDCRH1       *///FFFE398E
3180
            unsigned short WORD;                            /*  Word Access */
3181
            struct {                                        /*  Byte Access */
3182
                unsigned char H;                            /*    High      */
3183
                unsigned char L;                            /*    Low       */
3184
            }           BYTE;                               /*              */
3185
            struct {                                        /*  Bit Access  */
3186
                unsigned char               : 1;            /*              */
3187
                unsigned char PD19MD        : 3;            /*    PD19MD    */
3188
                unsigned char               : 1;            /*              */
3189
                unsigned char PD18MD        : 3;            /*    PD18MD    */
3190
                unsigned char               : 1;            /*              */
3191
                unsigned char PD17MD        : 3;            /*    PD17MD    */
3192
                unsigned char               : 1;            /*              */
3193
                unsigned char PD16MD        : 3;            /*    PD16MD    */
3194
            }           BIT;                                /*              */
3195
        }               PDCRH1;                             /*              */
3196
        union {                                             /* PDCRL4       *///FFFE3990
3197
            unsigned short WORD;                            /*  Word Access */
3198
            struct {                                        /*  Byte Access */
3199
                unsigned char H;                            /*    High      */
3200
                unsigned char L;                            /*    Low       */
3201
            }           BYTE;                               /*              */
3202
            struct {                                        /*  Bit Access  */
3203
                unsigned char               : 1;            /*              */
3204
                unsigned char PD15MD        : 3;            /*    PD15MD    */
3205
                unsigned char               : 1;            /*              */
3206
                unsigned char PD14MD        : 3;            /*    PD14MD    */
3207
                unsigned char               : 1;            /*              */
3208
                unsigned char PD13MD        : 3;            /*    PD13MD    */
3209
                unsigned char               : 1;            /*              */
3210
                unsigned char PD12MD        : 3;            /*    PD12MD    */
3211
            }           BIT;                                /*              */
3212
        }               PDCRL4;                             /*              */
3213
        union {                                             /* PDCRL3       *///FFFE3992
3214
            unsigned short WORD;                            /*  Word Access */
3215
            struct {                                        /*  Byte Access */
3216
                unsigned char H;                            /*    High      */
3217
                unsigned char L;                            /*    Low       */
3218
            }           BYTE;                               /*              */
3219
            struct {                                        /*  Bit Access  */
3220
                unsigned char               : 1;            /*              */
3221
                unsigned char PD11MD        : 3;            /*    PD11MD    */
3222
                unsigned char               : 1;            /*              */
3223
                unsigned char PD10MD        : 3;            /*    PD10MD    */
3224
                unsigned char               : 1;            /*              */
3225
                unsigned char PD9MD         : 3;            /*    PD9MD     */
3226
                unsigned char               : 1;            /*              */
3227
                unsigned char PD8MD         : 3;            /*    PD8MD     */
3228
            }           BIT;                                /*              */
3229
        }               PDCRL3;                             /*              */
3230
        union {                                             /* PDCRL2       *///FFFE3994
3231
            unsigned short WORD;                            /*  Word Access */
3232
            struct {                                        /*  Byte Access */
3233
                unsigned char H;                            /*    High      */
3234
                unsigned char L;                            /*    Low       */
3235
            }           BYTE;                               /*              */
3236
            struct {                                        /*  Bit Access  */
3237
                unsigned char               : 1;            /*              */
3238
                unsigned char PD7MD         : 3;            /*    PD7MD     */
3239
                unsigned char               : 1;            /*              */
3240
                unsigned char PD6MD         : 3;            /*    PD6MD     */
3241
                unsigned char               : 1;            /*              */
3242
                unsigned char PD5MD         : 3;            /*    PD5MD     */
3243
                unsigned char               : 1;            /*              */
3244
                unsigned char PD4MD         : 3;            /*    PD4MD     */
3245
            }           BIT;                                /*              */
3246
        }               PDCRL2;                             /*              */
3247
        union {                                             /* PDCRL1       *///FFFE3996
3248
            unsigned short WORD;                            /*  Word Access */
3249
            struct {                                        /*  Byte Access */
3250
                unsigned char H;                            /*    High      */
3251
                unsigned char L;                            /*    Low       */
3252
            }           BYTE;                               /*              */
3253
            struct {                                        /*  Bit Access  */
3254
                unsigned char               : 1;            /*              */
3255
                unsigned char PD3MD         : 3;            /*    PD3MD     */
3256
                unsigned char               : 1;            /*              */
3257
                unsigned char PD2MD         : 3;            /*    PD2MD     */
3258
                unsigned char               : 1;            /*              */
3259
                unsigned char PD1MD         : 3;            /*    PD1MD     */
3260
                unsigned char               : 1;            /*              */
3261
                unsigned char PD0MD         : 3;            /*    PD0MD     */
3262
            }           BIT;                                /*              */
3263
        }               PDCRL1;                             /*              */
3264
        char            wk10[16];                           /*              *///FFFE39A8-FFFE3996-2
3265
        union {                                             /* PDPCRH       *///FFFE39A8
3266
            unsigned short WORD;                            /*  Word Access */
3267
            struct {                                        /*  Byte Access */
3268
                unsigned char H;                            /*    High      */
3269
                unsigned char L;                            /*    Low       */
3270
            }           BYTE;                               /*              */
3271
            struct {                                        /*  Bit Access  */
3272
                unsigned char PD31PCR       : 1;            /*    PD31PCR   */
3273
                unsigned char PD30PCR       : 1;            /*    PD30PCR   */
3274
                unsigned char PD29PCR       : 1;            /*    PD29PCR   */
3275
                unsigned char PD28PCR       : 1;            /*    PD28PCR   */
3276
                unsigned char PD27PCR       : 1;            /*    PD27PCR   */
3277
                unsigned char PD26PCR       : 1;            /*    PD26PCR   */
3278
                unsigned char PD25PCR       : 1;            /*    PD25PCR   */
3279
                unsigned char PD24PCR       : 1;            /*    PD24PCR   */
3280
                unsigned char PD23PCR       : 1;            /*    PD23PCR   */
3281
                unsigned char PD22PCR       : 1;            /*    PD22PCR   */
3282
                unsigned char PD21PCR       : 1;            /*    PD21PCR   */
3283
                unsigned char PD20PCR       : 1;            /*    PD20PCR   */
3284
                unsigned char PD19PCR       : 1;            /*    PD19PCR   */
3285
                unsigned char PD18PCR       : 1;            /*    PD18PCR   */
3286
                unsigned char PD17PCR       : 1;            /*    PD17PCR   */
3287
                unsigned char PD16PCR       : 1;            /*    PD16PCR   */
3288
            }           BIT;                                /*              */
3289
        }               PDPCRH;                             /*              */
3290
        union {                                             /* PDPCRL       *///FFFE39AA
3291
            unsigned short WORD;                            /*  Word Access */
3292
            struct {                                        /*  Byte Access */
3293
                unsigned char H;                            /*    High      */
3294
                unsigned char L;                            /*    Low       */
3295
            }           BYTE;                               /*              */
3296
            struct {                                        /*  Bit Access  */
3297
                unsigned char PD15PCR       : 1;            /*    PD15PCR   */
3298
                unsigned char PD14PCR       : 1;            /*    PD14PCR   */
3299
                unsigned char PD13PCR       : 1;            /*    PD13PCR   */
3300
                unsigned char PD12PCR       : 1;            /*    PD12PCR   */
3301
                unsigned char PD11PCR       : 1;            /*    PD11PCR   */
3302
                unsigned char PD10PCR       : 1;            /*    PD10PCR   */
3303
                unsigned char PD9PCR        : 1;            /*    PD9PCR    */
3304
                unsigned char PD8PCR        : 1;            /*    PD8PCR    */
3305
                unsigned char PD7PCR        : 1;            /*    PD7PCR    */
3306
                unsigned char PD6PCR        : 1;            /*    PD6PCR    */
3307
                unsigned char PD5PCR        : 1;            /*    PD5PCR    */
3308
                unsigned char PD4PCR        : 1;            /*    PD4PCR    */
3309
                unsigned char PD3PCR        : 1;            /*    PD3PCR    */
3310
                unsigned char PD2PCR        : 1;            /*    PD2PCR    */
3311
                unsigned char PD1PCR        : 1;            /*    PD1PCR    */
3312
                unsigned char PD0PCR        : 1;            /*    PD0PCR    */
3313
            }           BIT;                                /*              */
3314
        }               PDPCRL;                             /*              */
3315
        char            wk11[90];                           /*              *///FFFE3A06-FFFE39AA-2
3316
        union {                                             /* PEIORL       *///FFFE3A06
3317
            unsigned short WORD;                            /*  Word Access */
3318
            struct {                                        /*  Byte Access */
3319
                unsigned char H;                            /*    High      */
3320
                unsigned char L;                            /*    Low       */
3321
            }           BYTE;                               /*              */
3322
            struct {                                        /*  Bit Access  */
3323
                unsigned char B15           : 1;            /*    Bit 15    */
3324
                unsigned char B14           : 1;            /*    Bit 14    */
3325
                unsigned char B13           : 1;            /*    Bit 13    */
3326
                unsigned char B12           : 1;            /*    Bit 12    */
3327
                unsigned char B11           : 1;            /*    Bit 11    */
3328
                unsigned char B10           : 1;            /*    Bit 10    */
3329
                unsigned char B9            : 1;            /*    Bit 9     */
3330
                unsigned char B8            : 1;            /*    Bit 8     */
3331
                unsigned char B7            : 1;            /*    Bit 7     */
3332
                unsigned char B6            : 1;            /*    Bit 6     */
3333
                unsigned char B5            : 1;            /*    Bit 5     */
3334
                unsigned char B4            : 1;            /*    Bit 4     */
3335
                unsigned char B3            : 1;            /*    Bit 3     */
3336
                unsigned char B2            : 1;            /*    Bit 2     */
3337
                unsigned char B1            : 1;            /*    Bit 1     */
3338
                unsigned char B0            : 1;            /*    Bit 0     */
3339
            }           BIT;                                /*              */
3340
        }               PEIORL;                             /*              */
3341
        char            wk12[8];                            /*              *///FFFE3A10-FFFE3A06-2
3342
        union {                                             /* PECRL4       *///FFFE3A10
3343
            unsigned short WORD;                            /*  Word Access */
3344
            struct {                                        /*  Byte Access */
3345
                unsigned char H;                            /*    High      */
3346
                unsigned char L;                            /*    Low       */
3347
            }           BYTE;                               /*              */
3348
            struct {                                        /*  Bit Access  */
3349
                unsigned char               : 1;            /*              */
3350
                unsigned char PE15MD        : 3;            /*    PE15MD    */
3351
                unsigned char               : 1;            /*              */
3352
                unsigned char PE14MD        : 3;            /*    PE14MD    */
3353
                unsigned char               : 1;            /*              */
3354
                unsigned char PE13MD        : 3;            /*    PE13MD    */
3355
                unsigned char               : 1;            /*              */
3356
                unsigned char PE12MD        : 3;            /*    PE12MD    */
3357
            }           BIT;                                /*              */
3358
        }               PECRL4;                             /*              */
3359
        union {                                             /* PECRL3       *///FFFE3A12
3360
            unsigned short WORD;                            /*  Word Access */
3361
            struct {                                        /*  Byte Access */
3362
                unsigned char H;                            /*    High      */
3363
                unsigned char L;                            /*    Low       */
3364
            }           BYTE;                               /*              */
3365
            struct {                                        /*  Bit Access  */
3366
                unsigned char               : 1;            /*              */
3367
                unsigned char PE11MD        : 3;            /*    PE11MD    */
3368
                unsigned char               : 1;            /*              */
3369
                unsigned char PE10MD        : 3;            /*    PE10MD    */
3370
                unsigned char               : 1;            /*              */
3371
                unsigned char PE9MD         : 3;            /*    PE9MD     */
3372
                unsigned char               : 1;            /*              */
3373
                unsigned char PE8MD         : 3;            /*    PE8MD     */
3374
            }           BIT;                                /*              */
3375
        }               PECRL3;                             /*              */
3376
        union {                                             /* PECRL2       *///FFFE3A14
3377
            unsigned short WORD;                            /*  Word Access */
3378
            struct {                                        /*  Byte Access */
3379
                unsigned char H;                            /*    High      */
3380
                unsigned char L;                            /*    Low       */
3381
            }           BYTE;                               /*              */
3382
            struct {                                        /*  Bit Access  */
3383
                unsigned char               : 1;            /*              */
3384
                unsigned char PE7MD         : 3;            /*    PE7MD     */
3385
                unsigned char               : 1;            /*              */
3386
                unsigned char PE6MD         : 3;            /*    PE6MD     */
3387
                unsigned char               : 1;            /*              */
3388
                unsigned char PE5MD         : 3;            /*    PE5MD     */
3389
                unsigned char               : 1;            /*              */
3390
                unsigned char PE4MD         : 3;            /*    PE4MD     */
3391
            }           BIT;                                /*              */
3392
        }               PECRL2;                             /*              */
3393
        union {                                             /* PECRL1       *///FFFE3A16
3394
            unsigned short WORD;                            /*  Word Access */
3395
            struct {                                        /*  Byte Access */
3396
                unsigned char H;                            /*    High      */
3397
                unsigned char L;                            /*    Low       */
3398
            }           BYTE;                               /*              */
3399
            struct {                                        /*  Bit Access  */
3400
                unsigned char               : 1;            /*              */
3401
                unsigned char PE3MD         : 3;            /*    PE3MD     */
3402
                unsigned char               : 1;            /*              */
3403
                unsigned char PE2MD         : 3;            /*    PE2MD     */
3404
                unsigned char               : 1;            /*              */
3405
                unsigned char PE1MD         : 3;            /*    PE1MD     */
3406
                unsigned char               : 1;            /*              */
3407
                unsigned char PE0MD         : 3;            /*    PE0MD     */
3408
            }           BIT;                                /*              */
3409
        }               PECRL1;                             /*              */
3410
        char            wk13[8];                            /*              *///FFFE3A20-FFFE3A16-2
3411
        union {                                             /* HCPCR        *///FFFE3A20
3412
            unsigned short WORD;                            /*  Word Access */
3413
            struct {                                        /*  Bit Access  */
3414
                unsigned char               : 8;            /*              */
3415
                unsigned char               : 4;            /*              */
3416
                unsigned char MZIZDH        : 1;            /*    MZIZDH    */
3417
                unsigned char MZIZDL        : 1;            /*    MZIZDL    */
3418
                unsigned char MZIZEH        : 1;            /*    MZIZEH    */
3419
                unsigned char MZIZEL        : 1;            /*    MZIZEL    */
3420
            }           BIT;                                /*              */
3421
            }           HCPCR;                              /*              */
3422
        union {                                             /* IFCR         *///FFFE3A22
3423
            unsigned short WORD;                            /*  Word Access */
3424
            struct {                                        /*  Bit Access  */
3425
                unsigned char               : 8;            /*              */
3426
                unsigned char               : 4;            /*              */
3427
                unsigned char IRQMD32       : 2;            /*    IRQMD3/2  */
3428
                unsigned char IRQMD10       : 2;            /*    IRQMD1/0  */
3429
            }           BIT;                                /*              */
3430
        }               IFCR;                               /*              */
3431
        char            wk14[6];                            /*              *///FFFE3A2A-FFFE3A22-2
3432
        union {                                             /* PEPCRL       *///FFFE3A2A
3433
            unsigned short WORD;                            /*  Word Access */
3434
            struct {                                        /*  Byte Access */
3435
                unsigned char H;                            /*    High      */
3436
                unsigned char L;                            /*    Low       */
3437
            }           BYTE;                               /*              */
3438
            struct {                                        /*  Bit Access  */
3439
                unsigned char PE15PCR       : 1;            /*    PE15PCR   */
3440
                unsigned char PE14PCR       : 1;            /*    PE14PCR   */
3441
                unsigned char PE13PCR       : 1;            /*    PE13PCR   */
3442
                unsigned char PE12PCR       : 1;            /*    PE12PCR   */
3443
                unsigned char PE11PCR       : 1;            /*    PE11PCR   */
3444
                unsigned char PE10PCR       : 1;            /*    PE10PCR   */
3445
                unsigned char PE9PCR        : 1;            /*    PE9PCR    */
3446
                unsigned char PE8PCR        : 1;            /*    PE8PCR    */
3447
                unsigned char PE7PCR        : 1;            /*    PE7PCR    */
3448
                unsigned char PE6PCR        : 1;            /*    PE6PCR    */
3449
                unsigned char PE5PCR        : 1;            /*    PE5PCR    */
3450
                unsigned char PE4PCR        : 1;            /*    PE4PCR    */
3451
                unsigned char PE3PCR        : 1;            /*    PE3PCR    */
3452
                unsigned char PE2PCR        : 1;            /*    PE2PCR    */
3453
                unsigned char PE1PCR        : 1;            /*    PE1PCR    */
3454
                unsigned char PE0PCR        : 1;            /*    PE0PCR    */
3455
            }           BIT;                                /*              */
3456
        }               PEPCRL;                             /*              */
3457
        union {                                             /* PDACKCR      *///FFFE3A2C
3458
            unsigned short WORD;                            /*  Word Access */
3459
            struct {                                        /*  Bit Access  */
3460
                unsigned char               : 8;            /*              */
3461
                unsigned char               : 4;            /*              */
3462
                unsigned char DACK3TMG      : 1;            /*    DACK3TMG  */
3463
                unsigned char DACK2TMG      : 1;            /*    DACK2TMG  */
3464
                unsigned char DACK1TMG      : 1;            /*    DACK1TMG  */
3465
                unsigned char DACK0TMG      : 1;            /*    DACK0TMG  */
3466
            }           BIT;                                /*              */
3467
        }               PDACKCR;                            /*              */
3468
};                                                          /*              */
3469
struct st_pa {                                              /* struct PA    */
3470
        union {                                             /* PADR         *///FFFE3800
3471
            unsigned int LONG;                              /*  Long Access */
3472
            struct {                                        /*  Word Access */
3473
                unsigned short H;                           /*    High      */
3474
                unsigned short L;                           /*    Low       */
3475
            }           WORD;                               /*              */
3476
            struct {                                        /*  Byte Access */
3477
                unsigned char HH;                           /*    High,High */
3478
                unsigned char HL;                           /*    High,Low  */
3479
                unsigned char LH;                           /*    Low,High  */
3480
                unsigned char LL;                           /*    Low,Low   */
3481
            }           BYTE;                               /*              */
3482
            struct {                                        /*  Bit Access  */
3483
                unsigned char               : 8;            /*              */
3484
                unsigned char               : 2;            /*              */
3485
                unsigned char B21           : 1;            /*    Bit 21    */
3486
                unsigned char B20           : 1;            /*    Bit 20    */
3487
                unsigned char B19           : 1;            /*    Bit 19    */
3488
                unsigned char B18           : 1;            /*    Bit 18    */
3489
                unsigned char B17           : 1;            /*    Bit 17    */
3490
                unsigned char B16           : 1;            /*    Bit 16    */
3491
                unsigned char B15           : 1;            /*    Bit 15    */
3492
                unsigned char B14           : 1;            /*    Bit 14    */
3493
                unsigned char B13           : 1;            /*    Bit 13    */
3494
                unsigned char B12           : 1;            /*    Bit 12    */
3495
                unsigned char B11           : 1;            /*    Bit 11    */
3496
                unsigned char B10           : 1;            /*    Bit 10    */
3497
                unsigned char B9            : 1;            /*    Bit 9     */
3498
                unsigned char B8            : 1;            /*    Bit 8     */
3499
                unsigned char B7            : 1;            /*    Bit 7     */
3500
                unsigned char B6            : 1;            /*    Bit 6     */
3501
                unsigned char B5            : 1;            /*    Bit 5     */
3502
                unsigned char B4            : 1;            /*    Bit 4     */
3503
                unsigned char B3            : 1;            /*    Bit 3     */
3504
                unsigned char B2            : 1;            /*    Bit 2     */
3505
                unsigned char B1            : 1;            /*    Bit 1     */
3506
                unsigned char B0            : 1;            /*    Bit 0     */
3507
            }           BIT;                                /*              */
3508
        }               DR;                                 /*              */
3509
        char            wk1[24];                            /*              *///FFFE381C-FFFEE3800-4
3510
        union {                                             /* PAPR         *///FFFE381C
3511
            unsigned int LONG;                              /*  Long Access */
3512
            struct {                                        /*  Word Access */
3513
                unsigned short H;                           /*    High      */
3514
                unsigned short L;                           /*    Low       */
3515
            }           WORD;                               /*              */
3516
            struct {                                        /*  Byte Access */
3517
                unsigned char HH;                           /*    High,High */
3518
                unsigned char HL;                           /*    High,Low  */
3519
                unsigned char LH;                           /*    Low,High  */
3520
                unsigned char LL;                           /*    Low,Low   */
3521
            }           BYTE;                               /*              */
3522
            struct {                                        /*  Bit Access  */
3523
                unsigned char               : 8;            /*              */
3524
                unsigned char               : 2;            /*              */
3525
                unsigned char B21           : 1;            /*    Bit 21    */
3526
                unsigned char B20           : 1;            /*    Bit 20    */
3527
                unsigned char B19           : 1;            /*    Bit 19    */
3528
                unsigned char B18           : 1;            /*    Bit 18    */
3529
                unsigned char B17           : 1;            /*    Bit 17    */
3530
                unsigned char B16           : 1;            /*    Bit 16    */
3531
                unsigned char B15           : 1;            /*    Bit 15    */
3532
                unsigned char B14           : 1;            /*    Bit 14    */
3533
                unsigned char B13           : 1;            /*    Bit 13    */
3534
                unsigned char B12           : 1;            /*    Bit 12    */
3535
                unsigned char B11           : 1;            /*    Bit 11    */
3536
                unsigned char B10           : 1;            /*    Bit 10    */
3537
                unsigned char B9            : 1;            /*    Bit 9     */
3538
                unsigned char B8            : 1;            /*    Bit 8     */
3539
                unsigned char B7            : 1;            /*    Bit 7     */
3540
                unsigned char B6            : 1;            /*    Bit 6     */
3541
                unsigned char B5            : 1;            /*    Bit 5     */
3542
                unsigned char B4            : 1;            /*    Bit 4     */
3543
                unsigned char B3            : 1;            /*    Bit 3     */
3544
                unsigned char B2            : 1;            /*    Bit 2     */
3545
                unsigned char B1            : 1;            /*    Bit 1     */
3546
                unsigned char B0            : 1;            /*    Bit 0     */
3547
            }           BIT;                                /*              */
3548
        }               PR;                                 /*              */
3549
};                                                          /*              */
3550
struct st_pb {                                              /* struct PB    */
3551
        char            wk1[2];                             /*              *///FFFE3800
3552
        union {                                             /* PBDR         *///FFFE3882
3553
            unsigned short WORD;                            /*  Word Access */
3554
            struct {                                        /*  Byte Access */
3555
                unsigned char H;                            /*    High      */
3556
                unsigned char L;                            /*    Low       */
3557
            }           BYTE;                               /*              */
3558
            struct {                                        /*  Bit Access  */
3559
                unsigned char B15           : 1;            /*    Bit 15    */
3560
                unsigned char B14           : 1;            /*    Bit 14    */
3561
                unsigned char B13           : 1;            /*    Bit 13    */
3562
                unsigned char B12           : 1;            /*    Bit 12    */
3563
                unsigned char B11           : 1;            /*    Bit 11    */
3564
                unsigned char B10           : 1;            /*    Bit 10    */
3565
                unsigned char B9            : 1;            /*    Bit 9     */
3566
                unsigned char B8            : 1;            /*    Bit 8     */
3567
                unsigned char B7            : 1;            /*    Bit 7     */
3568
                unsigned char B6            : 1;            /*    Bit 6     */
3569
                unsigned char B5            : 1;            /*    Bit 5     */
3570
                unsigned char B4            : 1;            /*    Bit 4     */
3571
                unsigned char B3            : 1;            /*    Bit 3     */
3572
                unsigned char B2            : 1;            /*    Bit 2     */
3573
                unsigned char B1            : 1;            /*    Bit 1     */
3574
                unsigned char B0            : 1;            /*    Bit 0     */
3575
            }           BIT;                                /*              */
3576
        }               DR;                                 /*              */
3577
        char            wk2[26];                            /*              *///FFFE389E-FFFE3882-2
3578
        union {                                             /* PBPR         *///FFFE389E
3579
            unsigned short WORD;                            /*  Word Access */
3580
            struct {                                        /*  Byte Access */
3581
                unsigned char H;                            /*    High      */
3582
                unsigned char L;                            /*    High      */
3583
                }       BYTE;                               /*              */
3584
            struct {                                        /*  Bit Access  */
3585
                unsigned char B15           : 1;            /*    Bit 15    */
3586
                unsigned char B14           : 1;            /*    Bit 14    */
3587
                unsigned char B13           : 1;            /*    Bit 13    */
3588
                unsigned char B12           : 1;            /*    Bit 12    */
3589
                unsigned char B11           : 1;            /*    Bit 11    */
3590
                unsigned char B10           : 1;            /*    Bit 10    */
3591
                unsigned char B9            : 1;            /*    Bit 9     */
3592
                unsigned char B8            : 1;            /*    Bit 8     */
3593
                unsigned char B7            : 1;            /*    Bit 7     */
3594
                unsigned char B6            : 1;            /*    Bit 6     */
3595
                unsigned char B5            : 1;            /*    Bit 5     */
3596
                unsigned char B4            : 1;            /*    Bit 4     */
3597
                unsigned char B3            : 1;            /*    Bit 3     */
3598
                unsigned char B2            : 1;            /*    Bit 2     */
3599
                unsigned char B1            : 1;            /*    Bit 1     */
3600
                unsigned char B0            : 1;            /*    Bit 0     */
3601
            }           BIT;                                /*              */
3602
        }               PR;                                 /*              */
3603
};                                                          /*              */
3604
struct st_pc {                                              /* struct PC    */
3605
        char            wk1[2];                             /*              *///FFFE3900
3606
        union {                                             /* PCDR         *///FFFE3902
3607
            unsigned short WORD;                            /*  Word Access */
3608
            struct {                                        /*  Byte Access */
3609
                unsigned char H;                            /*    High      */
3610
                unsigned char L;                            /*    Low       */
3611
            }           BYTE;                               /*              */
3612
            struct {                                        /*  Bit Access  */
3613
                unsigned char B15           : 1;            /*    Bit 15    */
3614
                unsigned char B14           : 1;            /*    Bit 14    */
3615
                unsigned char B13           : 1;            /*    Bit 13    */
3616
                unsigned char B12           : 1;            /*    Bit 12    */
3617
                unsigned char B11           : 1;            /*    Bit 11    */
3618
                unsigned char B10           : 1;            /*    Bit 10    */
3619
                unsigned char B9            : 1;            /*    Bit 9     */
3620
                unsigned char B8            : 1;            /*    Bit 8     */
3621
                unsigned char B7            : 1;            /*    Bit 7     */
3622
                unsigned char B6            : 1;            /*    Bit 6     */
3623
                unsigned char B5            : 1;            /*    Bit 5     */
3624
                unsigned char B4            : 1;            /*    Bit 4     */
3625
                unsigned char B3            : 1;            /*    Bit 3     */
3626
                unsigned char B2            : 1;            /*    Bit 2     */
3627
                unsigned char B1            : 1;            /*    Bit 1     */
3628
                unsigned char B0            : 1;            /*    Bit 0     */
3629
            }           BIT;                                /*              */
3630
        }               DR;                                 /*              */
3631
        char            wk2[26];                            /*              *///FFFE391E-FFFE3902-2
3632
        union {                                             /* PCPR         *///FFFE391E
3633
            unsigned short WORD;                            /*  Word Access */
3634
            struct {                                        /*  Byte Access */
3635
                unsigned char H;                            /*  High        */
3636
                unsigned char L;                            /*  Low         */
3637
            }           BYTE;                               /*              */
3638
            struct {                                        /*  Bit Access  */
3639
                unsigned char B15           : 1;            /*  Bit 15      */
3640
                unsigned char B14           : 1;            /*  Bit 14      */
3641
                unsigned char B13           : 1;            /*  Bit 13      */
3642
                unsigned char B12           : 1;            /*  Bit 12      */
3643
                unsigned char B11           : 1;            /*  Bit 11      */
3644
                unsigned char B10           : 1;            /*  Bit 10      */
3645
                unsigned char B9            : 1;            /*  Bit 9       */
3646
                unsigned char B8            : 1;            /*  Bit 8       */
3647
                unsigned char B7            : 1;            /*  Bit 7       */
3648
                unsigned char B6            : 1;            /*  Bit 6       */
3649
                unsigned char B5            : 1;            /*  Bit 5       */
3650
                unsigned char B4            : 1;            /*  Bit 4       */
3651
                unsigned char B3            : 1;            /*  Bit 3       */
3652
                unsigned char B2            : 1;            /*  Bit 2       */
3653
                unsigned char B1            : 1;            /*  Bit 1       */
3654
                unsigned char B0            : 1;            /*  Bit 0       */
3655
            }           BIT;                                /*              */
3656
        }               PR;                                 /*              */
3657
};                                                          /*              */
3658
struct st_pd {                                              /* struct PD    */
3659
        union {                                             /* PDDR         *///FFFE3980
3660
            unsigned int LONG;                              /*  Long Access */
3661
            struct {                                        /*  Word Access */
3662
                unsigned short H;                           /*    High      */
3663
                unsigned short L;                           /*    Low       */
3664
            }           WORD;                               /*              */
3665
            struct {                                        /*  Byte Access */
3666
                unsigned char HH;                           /*    High,High */
3667
                unsigned char HL;                           /*    High,Low  */
3668
                unsigned char LH;                           /*    Low,High  */
3669
                unsigned char LL;                           /*    Low,Low   */
3670
            }           BYTE;                               /*              */
3671
            struct {                                        /*  Bit Access  */
3672
                unsigned char B31           : 1;            /*    Bit 31    */
3673
                unsigned char B30           : 1;            /*    Bit 30    */
3674
                unsigned char B29           : 1;            /*    Bit 29    */
3675
                unsigned char B28           : 1;            /*    Bit 28    */
3676
                unsigned char B27           : 1;            /*    Bit 27    */
3677
                unsigned char B26           : 1;            /*    Bit 26    */
3678
                unsigned char B25           : 1;            /*    Bit 25    */
3679
                unsigned char B24           : 1;            /*    Bit 24    */
3680
                unsigned char B23           : 1;            /*    Bit 23    */
3681
                unsigned char B22           : 1;            /*    Bit 22    */
3682
                unsigned char B21           : 1;            /*    Bit 21    */
3683
                unsigned char B20           : 1;            /*    Bit 20    */
3684
                unsigned char B19           : 1;            /*    Bit 19    */
3685
                unsigned char B18           : 1;            /*    Bit 18    */
3686
                unsigned char B17           : 1;            /*    Bit 17    */
3687
                unsigned char B16           : 1;            /*    Bit 16    */
3688
                unsigned char B15           : 1;            /*    Bit 15    */
3689
                unsigned char B14           : 1;            /*    Bit 14    */
3690
                unsigned char B13           : 1;            /*    Bit 13    */
3691
                unsigned char B12           : 1;            /*    Bit 12    */
3692
                unsigned char B11           : 1;            /*    Bit 11    */
3693
                unsigned char B10           : 1;            /*    Bit 10    */
3694
                unsigned char B9            : 1;            /*    Bit 9     */
3695
                unsigned char B8            : 1;            /*    Bit 8     */
3696
                unsigned char B7            : 1;            /*    Bit 7     */
3697
                unsigned char B6            : 1;            /*    Bit 6     */
3698
                unsigned char B5            : 1;            /*    Bit 5     */
3699
                unsigned char B4            : 1;            /*    Bit 4     */
3700
                unsigned char B3            : 1;            /*    Bit 3     */
3701
                unsigned char B2            : 1;            /*    Bit 2     */
3702
                unsigned char B1            : 1;            /*    Bit 1     */
3703
                unsigned char B0            : 1;            /*    Bit 0     */
3704
            }           BIT;                                /*              */
3705
        }               DR;                                 /*              */
3706
        char            wk1[24];                            /*              *///FFFE399C-FFFE3980-4
3707
        union {                                             /* PDPR         *///FFFE399C
3708
            unsigned int LONG;                              /*  Long Access */
3709
            struct {                                        /*  Word Access */
3710
                unsigned short H;                           /*    High      */
3711
                unsigned short L;                           /*    Low       */
3712
            }           WORD;                               /*              */
3713
            struct {                                        /*  Byte Access */
3714
                unsigned char HH;                           /*    High,High */
3715
                unsigned char HL;                           /*    High,Low  */
3716
                unsigned char LH;                           /*    Low,High  */
3717
                unsigned char LL;                           /*    Low,Low   */
3718
            }           BYTE;                               /*              */
3719
            struct {                                        /*  Bit Access  */
3720
                unsigned char B31           : 1;            /*    Bit 31    */
3721
                unsigned char B30           : 1;            /*    Bit 30    */
3722
                unsigned char B29           : 1;            /*    Bit 29    */
3723
                unsigned char B28           : 1;            /*    Bit 28    */
3724
                unsigned char B27           : 1;            /*    Bit 27    */
3725
                unsigned char B26           : 1;            /*    Bit 26    */
3726
                unsigned char B25           : 1;            /*    Bit 25    */
3727
                unsigned char B24           : 1;            /*    Bit 24    */
3728
                unsigned char B23           : 1;            /*    Bit 23    */
3729
                unsigned char B22           : 1;            /*    Bit 22    */
3730
                unsigned char B21           : 1;            /*    Bit 21    */
3731
                unsigned char B20           : 1;            /*    Bit 20    */
3732
                unsigned char B19           : 1;            /*    Bit 19    */
3733
                unsigned char B18           : 1;            /*    Bit 18    */
3734
                unsigned char B17           : 1;            /*    Bit 17    */
3735
                unsigned char B16           : 1;            /*    Bit 16    */
3736
                unsigned char B15           : 1;            /*    Bit 15    */
3737
                unsigned char B14           : 1;            /*    Bit 14    */
3738
                unsigned char B13           : 1;            /*    Bit 13    */
3739
                unsigned char B12           : 1;            /*    Bit 12    */
3740
                unsigned char B11           : 1;            /*    Bit 11    */
3741
                unsigned char B10           : 1;            /*    Bit 10    */
3742
                unsigned char B9            : 1;            /*    Bit 9     */
3743
                unsigned char B8            : 1;            /*    Bit 8     */
3744
                unsigned char B7            : 1;            /*    Bit 7     */
3745
                unsigned char B6            : 1;            /*    Bit 6     */
3746
                unsigned char B5            : 1;            /*    Bit 5     */
3747
                unsigned char B4            : 1;            /*    Bit 4     */
3748
                unsigned char B3            : 1;            /*    Bit 3     */
3749
                unsigned char B2            : 1;            /*    Bit 2     */
3750
                unsigned char B1            : 1;            /*    Bit 1     */
3751
                unsigned char B0            : 1;            /*    Bit 0     */
3752
            }           BIT;                                /*              */
3753
        }               PR;                                 /*              */
3754
};                                                          /*              */
3755
struct st_pe {                                              /* struct PE    */
3756
        char            wk1[2];                             /*              *///FFFE3A00
3757
        union {                                             /* PEDR         *///FFFE3A02
3758
            unsigned short WORD;                            /*  Word Access */
3759
            struct {                                        /*  Byte Access */
3760
                unsigned char H;                            /*    High      */
3761
                unsigned char L;                            /*    Low       */
3762
            }           BYTE;                               /*              */
3763
            struct {                                        /*  Bit Access  */
3764
                unsigned char B15           : 1;            /*    Bit 15    */
3765
                unsigned char B14           : 1;            /*    Bit 14    */
3766
                unsigned char B13           : 1;            /*    Bit 13    */
3767
                unsigned char B12           : 1;            /*    Bit 12    */
3768
                unsigned char B11           : 1;            /*    Bit 11    */
3769
                unsigned char B10           : 1;            /*    Bit 10    */
3770
                unsigned char B9            : 1;            /*    Bit 9     */
3771
                unsigned char B8            : 1;            /*    Bit 8     */
3772
                unsigned char B7            : 1;            /*    Bit 7     */
3773
                unsigned char B6            : 1;            /*    Bit 6     */
3774
                unsigned char B5            : 1;            /*    Bit 5     */
3775
                unsigned char B4            : 1;            /*    Bit 4     */
3776
                unsigned char B3            : 1;            /*    Bit 3     */
3777
                unsigned char B2            : 1;            /*    Bit 2     */
3778
                unsigned char B1            : 1;            /*    Bit 1     */
3779
                unsigned char B0            : 1;            /*    Bit 0     */
3780
            }           BIT;                                /*              */
3781
        }               DR;                                 /*              */
3782
        char            wk2[26];                            /*              *///FFFE3A1E-FFFE3A02-2
3783
        union {                                             /* PEPR         *///FFFE3A1E
3784
            unsigned short WORD;                            /*  Word Access */
3785
            struct {                                        /*  Byte Access */
3786
                unsigned char H;                            /*    High      */
3787
                unsigned char L;                            /*    Low       */
3788
            }           BYTE;                               /*              */
3789
            struct {                                        /*  Bit Access  */
3790
                unsigned char B15           : 1;            /*    Bit 15    */
3791
                unsigned char B14           : 1;            /*    Bit 14    */
3792
                unsigned char B13           : 1;            /*    Bit 13    */
3793
                unsigned char B12           : 1;            /*    Bit 12    */
3794
                unsigned char B11           : 1;            /*    Bit 11    */
3795
                unsigned char B10           : 1;            /*    Bit 10    */
3796
                unsigned char B9            : 1;            /*    Bit 9     */
3797
                unsigned char B8            : 1;            /*    Bit 8     */
3798
                unsigned char B7            : 1;            /*    Bit 7     */
3799
                unsigned char B6            : 1;            /*    Bit 6     */
3800
                unsigned char B5            : 1;            /*    Bit 5     */
3801
                unsigned char B4            : 1;            /*    Bit 4     */
3802
                unsigned char B3            : 1;            /*    Bit 3     */
3803
                unsigned char B2            : 1;            /*    Bit 2     */
3804
                unsigned char B1            : 1;            /*    Bit 1     */
3805
                unsigned char B0            : 1;            /*    Bit 0     */
3806
            }           BIT;                                /*              */
3807
        }               PR;                                 /*              */
3808
};                                                          /*              */
3809
struct st_pf {                                              /* struct PF    */
3810
        char            wk1[2];                             /*              *///FFFE3A80
3811
        union {                                             /* PFDR         *///FFFE3A82
3812
            unsigned short WORD;                            /*  Word Access */
3813
            struct {                                        /*  Byte Access */
3814
                char    wk2[1];                             /*              */
3815
                unsigned char L;                            /*    Low       */
3816
            }           BYTE;                               /*              */
3817
            struct {                                        /*  Bit Access  */
3818
                unsigned char               : 8;            /*              */
3819
                unsigned char B7            : 1;            /*    Bit 7     */
3820
                unsigned char B6            : 1;            /*    Bit 6     */
3821
                unsigned char B5            : 1;            /*    Bit 5     */
3822
                unsigned char B4            : 1;            /*    Bit 4     */
3823
                unsigned char B3            : 1;            /*    Bit 3     */
3824
                unsigned char B2            : 1;            /*    Bit 2     */
3825
                unsigned char B1            : 1;            /*    Bit 1     */
3826
                unsigned char B0            : 1;            /*    Bit 0     */
3827
            }           BIT;                                /*              */
3828
        }               DR;                                 /*              */
3829
};                                                          /*              */
3830
struct st_usb {                                             /* struct USB   */
3831
        union {                                             /* USBIFR0      *///FFFE7000
3832
            unsigned char BYTE;                             /*  Byte Access */
3833
            struct {                                        /*  Bit Access  */
3834
                unsigned char BRST          : 1;            /*    BRST      */
3835
                unsigned char CFDN          : 1;            /*    CFDN      */
3836
                unsigned char               : 2;            /*              */
3837
                unsigned char SETC          : 1;            /*    SETC      */
3838
                unsigned char SETI          : 1;            /*    SETI      */
3839
                unsigned char VBUSMN        : 1;            /*    VBUSMN    */
3840
                unsigned char VBUSF         : 1;            /*    VBUSF     */
3841
            }           BIT;                                /*              */
3842
        }               USBIFR0;                            /*              */
3843
        union {                                             /* USBIFR1      *///FFFE7001
3844
            unsigned char BYTE;                             /*  Byte Access */
3845
            struct {                                        /*  Bit Access  */
3846
                unsigned char               : 3;            /*              */
3847
                unsigned char SOF           : 1;            /*    SOF       */
3848
                unsigned char SETUPTS       : 1;            /*    SETUPTS   */
3849
                unsigned char EP0oTS        : 1;            /*    EP0oTS    */
3850
                unsigned char EP0iTR        : 1;            /*    EP0iTR    */
3851
                unsigned char EP0iTS        : 1;            /*    EP0iTS    */
3852
            }           BIT;                                /*              */
3853
        }               USBIFR1;                            /*              */
3854
        union {                                             /* USBIFR2      *///FFFE7002
3855
            unsigned char BYTE;                             /*  Byte Access */
3856
            struct {                                        /*  Bit Access  */
3857
                unsigned char               : 2;            /*              */
3858
                unsigned char EP3TR         : 1;            /*    EP3TR     */
3859
                unsigned char EP3TS         : 1;            /*    EP3TS     */
3860
                unsigned char EP2TR         : 1;            /*    EP2TR     */
3861
                unsigned char EP2EMPTY      : 1;            /*    EP2EMPTY  */
3862
                unsigned char EP2ALLEMP     : 1;            /*    EP2ALLEMP */
3863
                unsigned char EP1FULL       : 1;            /*    EP1FULL   */
3864
            }           BIT;                                /*              */
3865
        }               USBIFR2;                            /*              */
3866
        union {                                             /* USBIFR3      *///FFFE7003
3867
            unsigned char BYTE;                             /*  Byte Access */
3868
            struct {                                        /*  Bit Access  */
3869
                unsigned char               : 2;            /*              */
3870
                unsigned char EP6TR         : 1;            /*    EP6TR     */
3871
                unsigned char EP6TS         : 1;            /*    EP6TS     */
3872
                unsigned char EP5TR         : 1;            /*    EP5TR     */
3873
                unsigned char EP5EMPTY      : 1;            /*    EP5EMPTY  */
3874
                unsigned char EP5ALLEMP     : 1;            /*    EP5ALLEMP */
3875
                unsigned char EP4FULL       : 1;            /*    EP4FULL   */
3876
            }           BIT;                                /*              */
3877
        }               USBIFR3;                            /*              */
3878
        union {                                             /* USBIFR4      *///FFFE7004
3879
            unsigned char BYTE;                             /*  Byte Access */
3880
            struct {                                        /*  Bit Access  */
3881
                unsigned char               : 2;            /*              */
3882
                unsigned char EP9TR         : 1;            /*    EP9TR     */
3883
                unsigned char EP9TS         : 1;            /*    EP9TS     */
3884
                unsigned char EP8TR         : 1;            /*    EP8TR     */
3885
                unsigned char EP8EMPTY      : 1;            /*    EP8EMPTY  */
3886
                unsigned char               : 1;            /*              */
3887
                unsigned char EP7FULL       : 1;            /*    EP7FULL   */
3888
            }           BIT;                                /*              */
3889
        }               USBIFR4;                            /*              */
3890
        char            wk1[3];                             /*              *///FFFE7008-FFFE7004-1
3891
        union {                                             /* USBIER0      *///FFFE7008
3892
            unsigned char BYTE;                             /*  Byte Access */
3893
            struct {                                        /*  Bit Access  */
3894
                unsigned char BRSTE         : 1;            /*    BRSTE     */
3895
                unsigned char CFDFN         : 1;            /*    CFDFN     */
3896
                unsigned char               : 2;            /*              */
3897
                unsigned char SETCE         : 1;            /*    SETCE     */
3898
                unsigned char SETIE         : 1;            /*    SETIE     */
3899
                unsigned char               : 1;            /*              */
3900
                unsigned char VBUSFE        : 1;            /*    VBUSFE    */
3901
            }           BIT;                                /*              */
3902
        }               USBIER0;                            /*              */
3903
        union {                                             /* USBIER1      *///FFFE7009
3904
            unsigned char BYTE;                             /*  Byte Access */
3905
            struct {                                        /*  Bit Access  */
3906
                unsigned char               : 3;            /*              */
3907
                unsigned char SOFE          : 1;            /*    SOFE      */
3908
                unsigned char SETUPTSE      : 1;            /*    SETUPTSE  */
3909
                unsigned char EP0oTSE       : 1;            /*    EP0oTSE   */
3910
                unsigned char EP0iTRE       : 1;            /*    EP0iTRE   */
3911
                unsigned char EP0iTSE       : 1;            /*    EP0iTSE   */
3912
            }           BIT;                                /*              */
3913
        }               USBIER1;                            /*              */
3914
        union {                                             /* USBIER2      *///FFFE700A
3915
            unsigned char BYTE;                             /*  Byte Access */
3916
            struct {                                        /*  Bit Access  */
3917
                unsigned char               : 2;            /*              */
3918
                unsigned char EP3TRE        : 1;            /*    EP3TRE    */
3919
                unsigned char EP3TSE        : 1;            /*    EP3TSE    */
3920
                unsigned char EP2TRE        : 1;            /*    EP2TRE    */
3921
                unsigned char EP2EMPTYE     : 1;            /*    EP2EMPTYE */
3922
                unsigned char EP2ALLEMPE    : 1;            /*    EP2ALLEMPE*/
3923
                unsigned char EP1FULLE      : 1;            /*    EP1FULLE  */
3924
            }           BIT;                                /*              */
3925
        }               USBIER2;                            /*              */
3926
        union {                                             /* USBIER3      *///FFFE700B
3927
            unsigned char BYTE;                             /*  Byte Access */
3928
            struct {                                        /*  Bit Access  */
3929
                unsigned char               : 2;            /*              */
3930
                unsigned char EP6TRE        : 1;            /*    EP6TRE    */
3931
                unsigned char EP6TSE        : 1;            /*    EP6TSE    */
3932
                unsigned char EP5TRE        : 1;            /*    EP5TRE    */
3933
                unsigned char EP5EMPTYE     : 1;            /*    EP5EMPTYE */
3934
                unsigned char EP5ALLEMPE    : 1;            /*    EP5ALLEMPE*/
3935
                unsigned char EP4FULLE      : 1;            /*    EP4FULLE  */
3936
            }           BIT;                                /*              */
3937
        }               USBIER3;                            /*              */
3938
        union {                                             /* USBIER4      *///FFFE700C
3939
            unsigned char BYTE;                             /*  Byte Access */
3940
            struct {                                        /*  Bit Access  */
3941
                unsigned char               : 2;            /*              */
3942
                unsigned char EP9TRE        : 1;            /*    EP9TRE    */
3943
                unsigned char EP9TSE        : 1;            /*    EP9TSE    */
3944
                unsigned char EP8TRE        : 1;            /*    EP8TRE    */
3945
                unsigned char EP8EMPTYE     : 1;            /*    EP8EMPTYE */
3946
                unsigned char               : 1;            /*              */
3947
                unsigned char EP7FULLE      : 1;            /*    EP7FULLE  */
3948
            }           BIT;                                /*              */
3949
        }               USBIER4;                            /*              */
3950
        char            wk2[3];                             /*              *///FFFE7010-FFFE700C-1
3951
        union {                                             /* USBISR0      *///FFFE7010
3952
            unsigned char BYTE;                             /*  Byte Access */
3953
            struct {                                        /*  Bit Access  */
3954
                unsigned char BRSTS         : 1;            /*    BRSTS     */
3955
                unsigned char CFDNS         : 1;            /*    CFDNS     */
3956
                unsigned char               : 2;            /*              */
3957
                unsigned char SETCS         : 1;            /*    SETCS     */
3958
                unsigned char SETIS         : 1;            /*    SETIS     */
3959
                unsigned char               : 1;            /*              */
3960
                unsigned char VBUSFS        : 1;            /*    VBUSFS    */
3961
            }           BIT;                                /*              */
3962
        }               USBISR0;                            /*              */
3963
        union {                                             /* USBISR1      *///FFFE7011
3964
            unsigned char BYTE;                             /*  Byte Access */
3965
            struct {                                        /*  Bit Access  */
3966
                unsigned char               : 3;            /*              */
3967
                unsigned char SOFS          : 1;            /*    SOFS      */
3968
                unsigned char SETUPTSS      : 1;            /*    SETUPTSS  */
3969
                unsigned char EP0oTSS       : 1;            /*    EP0oTSS   */
3970
                unsigned char EP0iTRS       : 1;            /*    EP0iTRS   */
3971
                unsigned char EP0iTSS       : 1;            /*    EP0iTSS   */
3972
            }           BIT;                                /*              */
3973
        }               USBISR1;                            /*              */
3974
        union {                                             /* USBISR2      *///FFFE7012
3975
            unsigned char BYTE;                             /*  Byte Access */
3976
            struct {                                        /*  Bit Access  */
3977
                unsigned char               : 2;            /*              */
3978
                unsigned char EP3TRS        : 1;            /*    EP3TRS    */
3979
                unsigned char EP3TSS        : 1;            /*    EP3TSS    */
3980
                unsigned char EP2TRS        : 1;            /*    EP2TRS    */
3981
                unsigned char EP2EMPTYS     : 1;            /*    EP2EMPTYS */
3982
                unsigned char EP2ALLEMPS    : 1;            /*    EP2ALLEMPS*/
3983
                unsigned char EP1FULLS      : 1;            /*    EP1FULLS  */
3984
            }           BIT;                                /*              */
3985
        }               USBISR2;                            /*              */
3986
        union {                                             /* USBISR3      *///FFFE7013
3987
            unsigned char BYTE;                             /*  Byte Access */
3988
            struct {                                        /*  Bit Access  */
3989
                unsigned char               : 2;            /*              */
3990
                unsigned char EP6TRS        : 1;            /*    EP6TRS    */
3991
                unsigned char EP6TSS        : 1;            /*    EP6TSS    */
3992
                unsigned char EP5TRS        : 1;            /*    EP5TRS    */
3993
                unsigned char EP5EMPTYS     : 1;            /*    EP5EMPTYS */
3994
                unsigned char EP5ALLEMPS    : 1;            /*    EP5ALLEMPS*/
3995
                unsigned char EP4FULLE      : 1;            /*    EP4FULLS  */
3996
            }           BIT;                                /*              */
3997
        }               USBISR3;                            /*              */
3998
        union {                                             /* USBISR4      *///FFFE7014
3999
            unsigned char BYTE;                             /*  Byte Access */
4000
            struct {                                        /*  Bit Access  */
4001
                unsigned char               : 2;            /*              */
4002
                unsigned char EP9TRS        : 1;            /*    EP9TRS    */
4003
                unsigned char EP9TSS        : 1;            /*    EP9TSS    */
4004
                unsigned char EP8TRS        : 1;            /*    EP8TRS    */
4005
                unsigned char EP8EMPTYS     : 1;            /*    EP8EMPTYS */
4006
                unsigned char               : 1;            /*              */
4007
                unsigned char EP7FULLS      : 1;            /*    EP7FULLS  */
4008
            }           BIT;                                /*              */
4009
        }               USBISR4;                            /*              */
4010
        char            wk3[11];                            /*              *///FFFE7020-FFFE7014-1
4011
        unsigned char   USBEPDR0i;                          /* USBEPDR0i    *///FFFE7020
4012
        char            wk4[3];                             /*              *///FFFE7024-FFFE7020-1
4013
        unsigned char   USBEPDR0o;                          /* USBEPDR0o    *///FFFE7024
4014
        char            wk5[3];                             /*              *///FFFE7028-FFFE7024-1
4015
        unsigned char   USBEPDR0s;                          /* USBEPDR0s    *///FFFE7028
4016
        char            wk6[7];                             /*              *///FFFE7030-FFFE7028-1
4017
        unsigned char   USBEPDR1;                           /* USBEPDR1     *///FFFE7030
4018
        char            wk7[3];                             /*              *///FFFE7034-FFFE7030-1
4019
        unsigned char   USBEPDR2;                           /* USBEPDR2     *///FFFE7034
4020
        char            wk8[3];                             /*              *///FFFE7038-FFFE7034-1
4021
        unsigned char   USBEPDR3;                           /* USBEPDR3     *///FFFE7038
4022
        char            wk9[7];                             /*              *///FFFE7040-FFFE7038-1
4023
        unsigned char   USBEPDR4;                           /* USBEPDR4     *///FFFE7040
4024
        char            wk10[3];                            /*              *///FFFE7044-FFFE7040-1
4025
        unsigned char   USBEPDR5;                           /* USBEPDR5     *///FFFE7044
4026
        char            wk11[3];                            /*              *///FFFE7048-FFFE7044-1
4027
        unsigned char   USBEPDR6;                           /* USBEPDR6     *///FFFE7048
4028
        char            wk12[7];                            /*              *///FFFE7050-FFFE7048-1
4029
        unsigned char   USBEPDR7;                           /* USBEPDR7     *///FFFE7050
4030
        char            wk13[3];                            /*              *///FFFE7054-FFFE7050-1
4031
        unsigned char   USBEPDR8;                           /* USBEPDR8     *///FFFE7054
4032
        char            wk14[3];                            /*              *///FFFE7058-FFFE7054-1
4033
        unsigned char   USBEPDR9;                           /* USBEPDR9     *///FFFE7058
4034
        char            wk15[39];                           /*              *///FFFE7080-FFFE7058-1
4035
        unsigned char   USBEPSZ0o;                          /* USBEPSZ0o    *///FFFE7080
4036
        unsigned char   USBEPSZ1;                           /* USBEPSZ1     *///FFFE7081
4037
        unsigned char   USBEPSZ4;                           /* USBEPSZ4     *///FFFE7082
4038
        unsigned char   USBEPSZ7;                           /* USBEPSZ7     *///FFFE7083
4039
        char            wk16[4];                            /*              *///FFFE7088-FFFE7083-1
4040
        union {                                             /* USBDASTS0    *///FFFE7088
4041
            unsigned char BYTE;                             /*  Byte Access */
4042
            struct {                                        /*  Bit Access  */
4043
                unsigned char               : 7;            /*              */
4044
                unsigned char EP0iDE        : 1;            /*    EP0iDE    */
4045
            }           BIT;                                /*              */
4046
        }               USBDASTS0;                          /*              */
4047
        union {                                             /* USBDASTS1    *///FFFE7089
4048
            unsigned char BYTE;                             /*  Byte Access */
4049
            struct {                                        /*  Bit Access  */
4050
                unsigned char               : 5;            /*              */
4051
                unsigned char EP3DE         : 1;            /*    EP3DE     */
4052
                unsigned char EP2DE         : 1;            /*    EP2DE     */
4053
                unsigned char               : 1;            /*              */
4054
            }           BIT;                                /*              */
4055
        }               USBDASTS1;                          /*              */
4056
        union {                                             /* USBDASTS2    *///FFFE708A
4057
            unsigned char BYTE;                             /*  Byte Access */
4058
            struct {                                        /*  Bit Access  */
4059
                unsigned char               : 5;            /*              */
4060
                unsigned char EP6DE         : 1;            /*    EP6DE     */
4061
                unsigned char EP5DE         : 1;            /*    EP5DE     */
4062
                unsigned char               : 1;            /*              */
4063
            }           BIT;                                /*              */
4064
        }               USBDASTS2;                          /*              */
4065
        union {                                             /* USBDASTS3    *///FFFE708B
4066
            unsigned char BYTE;                             /*  Byte Access */
4067
            struct {                                        /*  Bit Access  */
4068
                unsigned char               : 5;            /*              */
4069
                unsigned char EP9DE         : 1;            /*    EP9DE     */
4070
                unsigned char EP8DE         : 1;            /*    EP8DE     */
4071
                unsigned char               : 1;            /*              */
4072
            }           BIT;                                /*              */
4073
        }               USBDASTS3;                          /*              */
4074
        char            wk17[4];                            /*              *///FFFE7090-FFFE708B-1
4075
        union {                                             /* USBTRG0      *///FFFE7090
4076
            unsigned char BYTE;                             /*  Byte Access */
4077
            struct {                                        /*  Bit Access  */
4078
                unsigned char               : 5;            /*              */
4079
                unsigned char EP0sRDFN      : 1;            /*    EP0SRDFN  */
4080
                unsigned char EP0oRDFN      : 1;            /*    EP0ORDFN  */
4081
                unsigned char EP0iPKTE      : 1;            /*    EP0IPKTE  */
4082
            }           BIT;                                /*              */
4083
        }               USBTRG0;                            /*              */
4084
        union {                                             /* USBTRG1      *///FFFE7091
4085
            unsigned char BYTE;                             /*  Byte Access */
4086
            struct {                                        /*  Bit Access  */
4087
                unsigned char               : 5;            /*              */
4088
                unsigned char EP3PKTE       : 1;            /*    EP3PKTE   */
4089
                unsigned char EP2PKTE       : 1;            /*    EP2PKTE   */
4090
                unsigned char EP1RDFN       : 1;            /*    EP1RDFN   */
4091
            }           BIT;                                /*              */
4092
        }               USBTRG1;                            /*              */
4093
        union {                                             /* USBTRG2      *///FFFE7092
4094
            unsigned char BYTE;                             /*  Byte Access */
4095
            struct {                                        /*  Bit Access  */
4096
                unsigned char               : 5;            /*              */
4097
                unsigned char EP6PKTE       : 1;            /*    EP6PKTE   */
4098
                unsigned char EP5PKTE       : 1;            /*    EP5PKTE   */
4099
                unsigned char EP4RDFN       : 1;            /*    EP4RDFN   */
4100
            }           BIT;                                /*              */
4101
        }               USBTRG2;                            /*              */
4102
        union {                                             /* USBTRG3      *///FFFE7093
4103
            unsigned char BYTE;                             /*  Byte Access */
4104
            struct {                                        /*  Bit Access  */
4105
                unsigned char               : 5;            /*              */
4106
                unsigned char EP9PKTE       : 1;            /*    EP9PKTE   */
4107
                unsigned char EP8PKTE       : 1;            /*    EP8PKTE   */
4108
                unsigned char EP7RDFN       : 1;            /*    EP7RDFN   */
4109
            }           BIT;                                /*              */
4110
        }               USBTRG3;                            /*              */
4111
        char            wk18[4];                            /*              *///FFFE7098-FFFE7093-1
4112
        union {                                             /* USBFCLR0     *///FFFE7098
4113
            unsigned char BYTE;                             /*  Byte Access */
4114
            struct {                                        /*  Bit Access  */
4115
                unsigned char               : 6;            /*              */
4116
                unsigned char EP0oCLR       : 1;            /*    EP0oCLR   */
4117
                unsigned char EP0iCLR       : 1;            /*    EP0iCLR   */
4118
            }           BIT;                                /*              */
4119
        }               USBFCLR0;                           /*              */
4120
        union {                                             /* USBFCLR1     *///FFFE7099
4121
            unsigned char BYTE;                             /*  Byte Access */
4122
            struct {                                        /*  Bit Access  */
4123
                unsigned char               : 5;            /*              */
4124
                unsigned char EP3CLR        : 1;            /*    EP3CLR    */
4125
                unsigned char EP2CLR        : 1;            /*    EP2CLR    */
4126
                unsigned char EP1CLR        : 1;            /*    EP1CLR    */
4127
            }           BIT;                                /*              */
4128
        }               USBFCLR1;                           /*              */
4129
        union {                                             /* USBFCLR2     *///FFFE709A
4130
            unsigned char BYTE;                             /*  Byte Access */
4131
            struct {                                        /*  Bit Access  */
4132
                unsigned char               : 5;            /*              */
4133
                unsigned char EP6CLR        : 1;            /*    EP6CLR    */
4134
                unsigned char EP5CLR        : 1;            /*    EP5CLR    */
4135
                unsigned char EP4CLR        : 1;            /*    EP4CLR    */
4136
            }           BIT;                                /*              */
4137
        }               USBFCLR2;                           /*              */
4138
        union {                                             /* USBFCLR3     *///FFFE709B
4139
            unsigned char BYTE;                             /*  Byte Access */
4140
            struct {                                        /*  Bit Access  */
4141
                unsigned char               : 5;            /*              */
4142
                unsigned char EP9CLR        : 1;            /*    EP9CLR    */
4143
                unsigned char EP8CLR        : 1;            /*    EP8CLR    */
4144
                unsigned char EP7CLR        : 1;            /*    EP7CLR    */
4145
            }           BIT;                                /*              */
4146
        }               USBFCLR3;                           /*              */
4147
        char            wk19[4];                            /*              *///FFFE70A0-FFFE709B-1
4148
        union {                                             /* USBEPSTL0    *///FFFE70A0
4149
            unsigned char BYTE;                             /*  Byte Access */
4150
            struct {                                        /*  Bit Access  */
4151
                unsigned char               : 3;            /*              */
4152
                unsigned char EP0STLC       : 1;            /*    EP0STLC   */
4153
                unsigned char               : 3;            /*              */
4154
                unsigned char EP0STLS       : 1;            /*    EP0STLS   */
4155
            }           BIT;                                /*              */
4156
        }               USBEPSTL0;                          /*              */
4157
        union {                                             /* USBEPSTL1    *///FFFE70A1
4158
            unsigned char BYTE;                             /*  Byte Access */
4159
            struct {                                        /*  Bit Access  */
4160
                unsigned char               : 1;            /*              */
4161
                unsigned char EP3STLC       : 1;            /*    EP3STLC   */
4162
                unsigned char EP2STLC       : 1;            /*    EP2STLC   */
4163
                unsigned char EP1STLC       : 1;            /*    EP1STLC   */
4164
                unsigned char               : 1;            /*              */
4165
                unsigned char EP3STLS       : 1;            /*    EP3STLS   */
4166
                unsigned char EP2STLS       : 1;            /*    EP2STLS   */
4167
                unsigned char EP1STLS       : 1;            /*    EP1STLS   */
4168
            }           BIT;                                /*              */
4169
        }               USBEPSTL1;                          /*              */
4170
        union {                                             /* USBEPSTL2    *///FFFE70A2
4171
            unsigned char BYTE;                             /*  Byte Access */
4172
            struct {                                        /*  Bit Access  */
4173
                unsigned char               : 1;            /*              */
4174
                unsigned char EP6STLC       : 1;            /*    EP6STLC   */
4175
                unsigned char EP5STLC       : 1;            /*    EP5STLC   */
4176
                unsigned char EP4STLC       : 1;            /*    EP4STLC   */
4177
                unsigned char               : 1;            /*              */
4178
                unsigned char EP6STLS       : 1;            /*    EP6STLS   */
4179
                unsigned char EP5STLS       : 1;            /*    EP5STLS   */
4180
                unsigned char EP4STLS       : 1;            /*    EP4STLS   */
4181
            }           BIT;                                /*              */
4182
        }               USBEPSTL2;                          /*              */
4183
        union {                                             /* USBEPSTL3    *///FFFE70A3
4184
            unsigned char BYTE;                             /*  Byte Access */
4185
            struct {                                        /*  Bit Access  */
4186
                unsigned char               : 1;            /*              */
4187
                unsigned char EP9STLC       : 1;            /*    EP9STLC   */
4188
                unsigned char EP8STLC       : 1;            /*    EP8STLC   */
4189
                unsigned char EP7STLC       : 1;            /*    EP7STLC   */
4190
                unsigned char               : 1;            /*              */
4191
                unsigned char EP9STLS       : 1;            /*    EP9STLS   */
4192
                unsigned char EP8STLS       : 1;            /*    EP8STLS   */
4193
                unsigned char EP7STLS       : 1;            /*    EP7STLS   */
4194
            }           BIT;                                /*              */
4195
        }               USBEPSTL3;                          /*              */
4196
        char            wk20[5];                            /*              *///FFFE70A9-FFFE70A3-1
4197
        union {                                             /* USBSTLSR1    *///FFFE70A9
4198
            unsigned char BYTE;                             /*  Byte Access */
4199
            struct {                                        /*  Bit Access  */
4200
                unsigned char               : 1;            /*              */
4201
                unsigned char EP3ASCE       : 1;            /*    EP3ASCE   */
4202
                unsigned char EP2ASCE       : 1;            /*    EP2ASCE   */
4203
                unsigned char EP1ASCE       : 1;            /*    EP1ASCE   */
4204
                unsigned char               : 1;            /*              */
4205
                unsigned char EP3STLST      : 1;            /*    EP3STLST  */
4206
                unsigned char EP2STLST      : 1;            /*    EP2STLST  */
4207
                unsigned char EP1STLST      : 1;            /*    EP1STLST  */
4208
            }           BIT;                                /*              */
4209
        }               USBSTLSR1;                          /*              */
4210
        union {                                             /* USBSTLSR2    *///FFFE70AA
4211
            unsigned char BYTE;                             /*  Byte Access */
4212
            struct {                                        /*  Bit Access  */
4213
                unsigned char               : 1;            /*              */
4214
                unsigned char EP6ASCE       : 1;            /*    EP6ASCE   */
4215
                unsigned char EP5ASCE       : 1;            /*    EP5ASCE   */
4216
                unsigned char EP4ASCE       : 1;            /*    EP4ASCE   */
4217
                unsigned char               : 1;            /*              */
4218
                unsigned char EP6STLST      : 1;            /*    EP6STLST  */
4219
                unsigned char EP5STLST      : 1;            /*    EP5STLST  */
4220
                unsigned char EP4STLST      : 1;            /*    EP4STLST  */
4221
            }           BIT;                                /*              */
4222
        }               USBSTLSR2;                          /*              */
4223
        union {                                             /* USBSTLSR3    *///FFFE70AB
4224
            unsigned char BYTE;                             /*  Byte Access */
4225
            struct {                                        /*  Bit Access  */
4226
                unsigned char               : 1;            /*              */
4227
                unsigned char EP9ASCE       : 1;            /*    EP9ASCE   */
4228
                unsigned char EP8ASCE       : 1;            /*    EP8ASCE   */
4229
                unsigned char EP7ASCE       : 1;            /*    EP7ASCE   */
4230
                unsigned char               : 1;            /*              */
4231
                unsigned char EP9STLST      : 1;            /*    EP9STLST  */
4232
                unsigned char EP8STLST      : 1;            /*    EP8STLST  */
4233
                unsigned char EP7STLST      : 1;            /*    EP7STLST  */
4234
            }           BIT;                                /*              */
4235
        }               USBSTLSR3;                          /*              */
4236
        char            wk21[4];                            /*              *///FFFE70B0-FFFE70AB-1
4237
        union {                                             /* USBDMAR      *///FFFE70B0
4238
            unsigned char BYTE;                             /*  Byte Access */
4239
            struct {                                        /*  Bit Access  */
4240
                unsigned char               : 3;            /*              */
4241
                unsigned char EP5DMAE       : 1;            /*    EP5DMAE   */
4242
                unsigned char EP4DMAE       : 1;            /*    EP4DMAE   */
4243
                unsigned char               : 1;            /*              */
4244
                unsigned char EP2DMAE       : 1;            /*    EP2DMAE   */
4245
                unsigned char EP1DMAE       : 1;            /*    EP1DMAE   */
4246
            }           BIT;                                /*              */
4247
        }               USBDMAR;                            /*              */
4248
        char            wk22[3];                            /*              *///FFFE70B4-FFFE70B0-1
4249
        union {                                             /* USBCVR       *///FFFE70B4
4250
            unsigned char BYTE;                             /*  Byte Access */
4251
            struct {                                        /*  Bit Access  */
4252
                unsigned char CNFV          : 2;            /*    CNFV      */
4253
                unsigned char INTV          : 2;            /*    INTV      */
4254
                unsigned char               : 1;            /*              */
4255
                unsigned char ALTV          : 3;            /*    ALTV      */
4256
            }           BIT;                                /*              */
4257
        }               USBCVR;                             /*              */
4258
        char            wk23[3];                            /*              *///FFFE70B8-FFFE70B4-1
4259
        union {                                             /* USBCTLR      *///FFFE70B8
4260
            unsigned char BYTE;                             /*  Byte Access */
4261
            struct {                                        /*  Bit Access  */
4262
                unsigned char               : 6;            /*              */
4263
                unsigned char EP0ASCE       : 1;            /*    EP0ASCE   */
4264
                unsigned char PRTRST        : 1;            /*    PRTRST    */
4265
            }           BIT;                                /*              */
4266
        }               USBCTLR;                            /*              */
4267
        char            wk24[7];                            /*              *///FFFE70C0-FFFE70B8-1
4268
        unsigned char   USBEPIR;                            /* USBEPIR      *///FFFE70C0
4269
        char            wk25[15];                           /*              *///FFFE70D0-FFFE70C0-1
4270
        union {                                             /* USBTRNTREG0  *///FFFE70D0
4271
            unsigned char BYTE;                             /*  Byte Access */
4272
            struct {                                        /*  Bit Access  */
4273
                unsigned char PTSTE         : 1;            /*    PTSTE     */
4274
                unsigned char               : 3;            /*              */
4275
                unsigned char SUSPEND       : 1;            /*    SUSPEND   */
4276
                unsigned char txenl         : 1;            /*    txenl     */
4277
                unsigned char txse0         : 1;            /*    txse0     */
4278
                unsigned char txdata        : 1;            /*    txdata    */
4279
            }           BIT;                                /*              */
4280
        }               USBTRNTREG0;                        /*              */
4281
        union {                                             /* USBTRNTREG1  *///FFFE70D1
4282
            unsigned char BYTE;                             /*  Byte Access */
4283
            struct {                                        /*  Bit Access  */
4284
                unsigned char               : 5;            /*              */
4285
                unsigned char xver_data     : 1;            /*    xver_data */
4286
                unsigned char dpls          : 1;            /*    dpls      */
4287
                unsigned char dmns          : 1;            /*    dmns      */
4288
            }           BIT;                                /*              */
4289
        }               USBTRNTREG1;                        /*              */
4290
};                                                          /*              */
4291
struct st_etherc {                                          /* struct EtherC*/
4292
        union {                                             /* ECMR         *///FFFC3100
4293
            unsigned int LONG;                              /*  Long Access */
4294
            struct {                                        /*  Bit Access  */
4295
                unsigned int                :11;            /*              */
4296
                unsigned int TPC            : 1;            /*    TPC       */
4297
                unsigned int ZPF            : 1;            /*    ZPF       */
4298
                unsigned int PFR            : 1;            /*    PFR       */
4299
                unsigned int RXF            : 1;            /*    RXF       */
4300
                unsigned int TXF            : 1;            /*    TXF       */
4301
                unsigned int                : 3;            /*              */
4302
                unsigned int PRCEF          : 1;            /*    PRCEF     */
4303
                unsigned int                : 2;            /*              */
4304
                unsigned int MPDE           : 1;            /*    MPDE      */
4305
                unsigned int                : 2;            /*              */
4306
                unsigned int RE             : 1;            /*    RE        */
4307
                unsigned int TE             : 1;            /*    TE        */
4308
                unsigned int                : 1;            /*              */
4309
                unsigned int ILB            : 1;            /*    ILB       */
4310
                unsigned int ELB            : 1;            /*    ELB       */
4311
                unsigned int DM             : 1;            /*    DM        */
4312
                unsigned int PRM            : 1;            /*    PRM       */
4313
            }           BIT;                                /*              */
4314
        }               ECMR;                               /*              */
4315
        char            wk1[4];                             /*              *///FFFC3108-FFFC3100-4
4316
        union {                                             /* RFLR         *///FFFC3108
4317
            unsigned int LONG;                              /*  Long Access */
4318
            struct {                                        /*  Bit Access  */
4319
                unsigned int                :20;            /*              */
4320
                unsigned int RFL            :12;            /*    RFL       */
4321
            }           BIT;                                /*              */
4322
        }               RFLR;                               /*              */
4323
        char            wk2[4];                             /*              *///FFFC3110-FFFC3108-4
4324
        union {                                             /* ECSR         *///FFFC3110
4325
            unsigned int LONG;                              /*  Long Access */
4326
            struct {                                        /*  Bit Access  */
4327
                unsigned int                :26;            /*              */
4328
                unsigned int BFR            : 1;            /*    BFR       */
4329
                unsigned int PSRTO          : 1;            /*    PSRTO     */
4330
                unsigned int                : 1;            /*              */
4331
                unsigned int LCHNG          : 1;            /*    LCHNG     */
4332
                unsigned int MPD            : 1;            /*    MPD       */
4333
                unsigned int ICD            : 1;            /*    ICD       */
4334
            }           BIT;                                /*              */
4335
        }               ECSR;                               /*              */
4336
        char            wk3[4];                             /*              *///FFFC3118-FFFC3110-4
4337
        union {                                             /* ECSIPR       *///FFFC3118
4338
            unsigned int LONG;                              /*  Long Access */
4339
            struct {                                        /*  Bit Access  */
4340
                unsigned int                :26;            /*              */
4341
                unsigned int BFSIPR         : 1;            /*    BFSIPR    */
4342
                unsigned int PSRTOIP        : 1;            /*    PSRTOIP   */
4343
                unsigned int                : 1;            /*              */
4344
                unsigned int LCHNGIP        : 1;            /*    LCHNGIP   */
4345
                unsigned int MPDIP          : 1;            /*    MPDIP     */
4346
                unsigned int ICDIP          : 1;            /*    ICDIP     */
4347
            }           BIT;                                /*              */
4348
        }               ECSIPR;                             /*              */
4349
        char            wk4[4];                             /*              *///FFFC3120-FFFC3118-4
4350
        union {                                             /* PIR          *///FFFC3120
4351
            unsigned int LONG;                              /*  Long Access */
4352
            struct {                                        /*  Bit Access  */
4353
                unsigned int                :28;            /*              */
4354
                unsigned int MDI            : 1;            /*    MDI       */
4355
                unsigned int MDO            : 1;            /*    MDO       */
4356
                unsigned int MMD            : 1;            /*    MMD       */
4357
                unsigned int MDC            : 1;            /*    MDC       */
4358
            }           BIT;                                /*              */
4359
        }               PIR;                                /*              */
4360
        char            wk5[4];                             /*              *///FFFC3128-FFFC3120-4
4361
        union {                                             /* PSR          *///FFFC3128
4362
            unsigned int LONG;                              /*  Long Access */
4363
            struct {                                        /*  Bit Access  */
4364
                unsigned int                :31;            /*              */
4365
                unsigned int LMON           : 1;            /*    LMON      */
4366
            }           BIT;                                /*              */
4367
        }               PSR;                                /*              */
4368
        char            wk6[20];                            /*              *///FFFC3140-FFFC3128-4
4369
        union {                                             /* RDMLR        *///FFFC3140
4370
            unsigned int LONG;                              /*  Long Access */
4371
            struct {                                        /*  Bit Access  */
4372
                unsigned int                :12;            /*              */
4373
                unsigned int RMD            :20;            /*    RMD       */
4374
            }           BIT;                                /*              */
4375
        }               RDMLR;                              /*              */
4376
        char            wk7[12];                            /*              *///FFFC3150-FFFC3140-4
4377
        union {                                             /* IPGR         *///FFFC3150
4378
            unsigned int LONG;                              /*  Long Access */
4379
            struct {                                        /*  Bit Access  */
4380
                unsigned int                :27;            /*              */
4381
                unsigned int IPG            : 5;            /*    IPG       */
4382
            }           BIT;                                /*              */
4383
        }               IPGR;                               /*              */
4384
        union {                                             /* APR          *///FFFC3154
4385
            unsigned int LONG;                              /*  Long Access */
4386
            struct {                                        /*  Bit Access  */
4387
                unsigned int                :16;            /*              */
4388
                unsigned int AP             :16;            /*    AP        */
4389
            }           BIT;                                /*              */
4390
        }               APR;                                /*              */
4391
        union {                                             /* MPR          *///FFFC3158
4392
            unsigned int LONG;                              /*  Long Access */
4393
            struct {                                        /*  Bit Access  */
4394
                unsigned int                :16;            /*              */
4395
                unsigned int MP             :16;            /*    MP        */
4396
            }           BIT;                                /*              */
4397
        }               MPR;                                /*              */
4398
        char            wk8[4];                             /*              *///FFFC3160-FFFC3158-4
4399
        union {                                             /* RFCF         *///FFFC3160
4400
            unsigned int LONG;                              /*  Long Access */
4401
            struct {                                        /*  Bit Access  */
4402
                unsigned int                :24;            /*              */
4403
                unsigned int RPAUSE         : 8;            /*    RPAUSE    */
4404
            }           BIT;                                /*              */
4405
        }               RFCF;                               /*              */
4406
        union {                                             /* TPAUSER      *///FFFC3164
4407
            unsigned int LONG;                              /*  Long Access */
4408
            struct {                                        /*  Bit Access  */
4409
                unsigned int                :16;            /*              */
4410
                unsigned int TPAUSE         :16;            /*    TPAUSE    */
4411
            }           BIT;                                /*              */
4412
        }               TPAUSER;                            /*              */
4413
        union {                                             /* TPAUSECR     *///FFFC3168
4414
            unsigned int LONG;                              /*  Long Access */
4415
            struct {                                        /*  Bit Access  */
4416
                unsigned int                :24;            /*              */
4417
                unsigned int TXP            : 8;            /*    TXP       */
4418
            }           BIT;                                /*              */
4419
        }               TPAUSECR;                           /*              */
4420
        union {                                             /* BCFRR        *///FFFC316C
4421
            unsigned int LONG;                              /*  Long Access */
4422
            struct {                                        /*  Bit Access  */
4423
                unsigned int                :16;            /*              */
4424
                unsigned int BCF            :16;            /*    BCF       */
4425
            }           BIT;                                /*              */
4426
        }               BCFRR;                              /*              */
4427
        char            wk9[80];                            /*              *///FFFC31C0-FFFC316C-4
4428
        unsigned int    MAHR;                               /* MAHR         *///FFFC31C0
4429
        char            wk10[4];                            /*              *///FFFC31C8-FFFC31C0-4
4430
        union {                                             /* MALR         *///FFFC31C8
4431
            unsigned int LONG;                              /*  Long Access */
4432
            struct {                                        /*  Bit Access  */
4433
                unsigned int                :16;            /*              */
4434
                unsigned int MA             :16;            /*    MA        */
4435
            }           BIT;                                /*              */
4436
        }               MALR;                               /*              */
4437
        char            wk11[4];                            /*              *///FFFC31D0-FFFC31C8-4
4438
        unsigned int    TROCR;                              /* TROCR        *///FFFC31D0
4439
        unsigned int    CDCR;                               /* CDCR         *///FFFC31D4
4440
        unsigned int    LCCR;                               /* LCCR         *///FFFC31D8
4441
        unsigned int    CNDCR;                              /* CNDCR        *///FFFC31DC
4442
        char            wk12[4];                            /*              *///FFFC31E4-FFFC31DC-4
4443
        unsigned int    CEFCR;                              /* CEFCR        *///FFFC31E4
4444
        unsigned int    FRECR;                              /* FRECR        *///FFFC31E8
4445
        unsigned int    TSFRCR;                             /* TSFRCR       *///FFFC31EC
4446
        unsigned int    TLFRCR;                             /* TLFRCR       *///FFFC31F0
4447
        unsigned int    RFCR;                               /* RFCR         *///FFFC31F4
4448
        unsigned int    MAFCR;                              /* MAFCR        *///FFFC31F8
4449
};                                                          /*              */
4450
struct st_edmac {                                           /* struct EDMAC */
4451
        union {                                             /* EDMR         *///FFFC3000
4452
            unsigned int LONG;                              /*  Long Access */
4453
            struct {                                        /*  Bit Access  */
4454
                unsigned int                :25;            /*              */
4455
                unsigned int DE             : 1;            /*    DE        */
4456
                unsigned int DL             : 2;            /*    DL        */
4457
                unsigned int                : 3;            /*              */
4458
                unsigned int SWR            : 1;            /*    SWR       */
4459
            } BIT;                                          /*              */
4460
        } EDMR;                                             /*              */
4461
        char            wk1[4];                             /*              *///FFFC3008-FFFC3004-4
4462
        union {                                             /* EDTRR        *///FFFC3008
4463
            unsigned int LONG;                              /*  Long Access */
4464
            struct {                                        /*  Bit Access  */
4465
                unsigned int                :31;            /*              */
4466
                unsigned int TR             : 1;            /*    TR        */
4467
            } BIT;                                          /*              */
4468
        } EDTRR;                                            /*              */
4469
        char            wk2[4];                             /*              *///FFFC3010-FFFC3008-4
4470
        union {                                             /* EDRRR        *///FFFC3008
4471
            unsigned int LONG;                              /*  Long Access */
4472
            struct {                                        /*  Bit Access  */
4473
                unsigned int                :31;            /*              */
4474
                unsigned int RR             : 1;            /*    RR        */
4475
            } BIT;                                          /*              */
4476
        } EDRRR;                                            /*              */
4477
        char            wk3[4];                             /*              *///FFFC3018-FFFC3008-4
4478
        void            *TDLAR;                             /* TDLAR        *///FFFC3018
4479
        char            wk4[4];                             /*              *///FFFC3020-FFFC3018-4
4480
        void            *RDLAR;                             /* RDLAR        *///FFFC3020
4481
        char            wk5[4];                             /*              *///FFFC3028-FFFC3020-4
4482
        union {                                             /* EESR         *///FFFC3028
4483
            unsigned int LONG;                              /*  Long Access */
4484
            struct {                                        /*  Bit Access  */
4485
                unsigned int                : 1;            /*              */
4486
                unsigned int TWB            : 1;            /*    TWB       */
4487
                unsigned int                : 3;            /*              */
4488
                unsigned int TABT           : 1;            /*    TABT      */
4489
                unsigned int RABT           : 1;            /*    RABT      */
4490
                unsigned int RFCOF          : 1;            /*    RFCOF     */
4491
                unsigned int ADE            : 1;            /*    ADE       */
4492
                unsigned int ECI            : 1;            /*    ECI       */
4493
                unsigned int TC             : 1;            /*    TC        */
4494
                unsigned int TDE            : 1;            /*    TDE       */
4495
                unsigned int TFUF           : 1;            /*    TFUF      */
4496
                unsigned int FR             : 1;            /*    FR        */
4497
                unsigned int RDE            : 1;            /*    RDE       */
4498
                unsigned int RFOF           : 1;            /*    RFOF      */
4499
                unsigned int                : 4;            /*              */
4500
                unsigned int CND            : 1;            /*    CND       */
4501
                unsigned int DLC            : 1;            /*    DLC       */
4502
                unsigned int CD             : 1;            /*    CD        */
4503
                unsigned int TRO            : 1;            /*    TRO       */
4504
                unsigned int RMAF           : 1;            /*    RMAF      */
4505
                unsigned int                : 2;            /*              */
4506
                unsigned int RRF            : 1;            /*    RRF       */
4507
                unsigned int RTLF           : 1;            /*    RTLF      */
4508
                unsigned int RTSF           : 1;            /*    RTSF      */
4509
                unsigned int PRE            : 1;            /*    PRE       */
4510
                unsigned int CERF           : 1;            /*    CERF      */
4511
            }           BIT;                                /*              */
4512
        }               EESR;                               /*              */
4513
        char            wk6[4];                             /*              *///FFFC3030-FFFC3028-4
4514
        union {                                             /* EESIPR       *///FFFC3030
4515
            unsigned int LONG;                              /*  Long Access */
4516
            struct {                                        /*  Bit Access  */
4517
                unsigned int                : 1;            /*              */
4518
                unsigned int TWBIP          : 1;            /*    TWBIP     */
4519
                unsigned int                : 3;            /*              */
4520
                unsigned int TABTIP         : 1;            /*    TABTIP    */
4521
                unsigned int RABTIP         : 1;            /*    RABTIP    */
4522
                unsigned int RFCOFIP        : 1;            /*    RFCOFIP   */
4523
                unsigned int ADEIP          : 1;            /*    ADEIP     */
4524
                unsigned int ECIIP          : 1;            /*    ECIIP     */
4525
                unsigned int TCIP           : 1;            /*    TCIP      */
4526
                unsigned int TDEIP          : 1;            /*    TDEIP     */
4527
                unsigned int TFUFIP         : 1;            /*    TFUFIP    */
4528
                unsigned int FRIP           : 1;            /*    FRIP      */
4529
                unsigned int RDEIP          : 1;            /*    RDEIP     */
4530
                unsigned int RFOFIP         : 1;            /*    RFOFIP    */
4531
                unsigned int                : 4;            /*              */
4532
                unsigned int CNDIP          : 1;            /*    CNDIP     */
4533
                unsigned int DLCIP          : 1;            /*    DLCIP     */
4534
                unsigned int CDIP           : 1;            /*    CDIP      */
4535
                unsigned int TROIP          : 1;            /*    TROIP     */
4536
                unsigned int RMAFIP         : 1;            /*    RMAFIP    */
4537
                unsigned int                : 2;            /*              */
4538
                unsigned int RRFIP          : 1;            /*    RRFIP     */
4539
                unsigned int RTLFIP         : 1;            /*    RTLFIP    */
4540
                unsigned int RTSFIP         : 1;            /*    RTSFIP    */
4541
                unsigned int PREIP          : 1;            /*    PREIP     */
4542
                unsigned int CERFIP         : 1;            /*    CERFIP    */
4543
            }           BIT;                                /*              */
4544
        }               EESIPR;                             /*              */
4545
        char            wk7[4];                             /*              *///FFFC3038-FFFC3030-4
4546
        union {                                             /* TRSCER       *///FFFC3038
4547
            unsigned int LONG;                              /*  Long Access */
4548
            struct {                                        /*  Bit Access  */
4549
                unsigned int                :20;            /*              */
4550
                unsigned int CNDCE          : 1;            /*    CNDCE     */
4551
                unsigned int DLCCE          : 1;            /*    DLCCE     */
4552
                unsigned int CDCE           : 1;            /*    CDCE      */
4553
                unsigned int TROCE          : 1;            /*    TROCE     */
4554
                unsigned int RMAFCE         : 1;            /*    RMAFCE    */
4555
                unsigned int                : 2;            /*              */
4556
                unsigned int RRFCE          : 1;            /*    RRFCE     */
4557
                unsigned int RTLFCE         : 1;            /*    RTLFCE    */
4558
                unsigned int RTSFCE         : 1;            /*    RTSFCE    */
4559
                unsigned int PRECE          : 1;            /*    PRECE     */
4560
                unsigned int CERFCE         : 1;            /*    CERFCE    */
4561
            }           BIT;                                /*              */
4562
        }               TRSCER;                             /*              */
4563
        char            wk8[4];                             /*              *///FFFC3040-FFFC3038-4
4564
        union {                                             /* RMFCR        *///FFFC3040
4565
            unsigned int LONG;                              /*  Long Access */
4566
            struct {                                        /*  Bit Access  */
4567
                unsigned short              :16;            /*              */
4568
                unsigned short MFC          :16;            /*    MFC       */
4569
            }           BIT;                                /*              */
4570
        }               RMFCR;                              /*              */
4571
        char            wk9[4];                             /*              *///FFFC3048-FFFC3040-4
4572
        union {                                             /* TFTR         *///FFFC3048
4573
            unsigned int LONG;                              /*  Long Access */
4574
            struct {                                        /*  Bit Access  */
4575
                unsigned int                :21;            /*              */
4576
                unsigned int TFT            :11;            /*    TFT       */
4577
            }           BIT;                                /*              */
4578
        }               TFTR;                               /*              */
4579
        char            wk10[4];                            /*              *///FFFC3050-FFFC3048-4
4580
        union {                                             /* FDR          *///FFFC3050
4581
            unsigned int LONG;                              /*  Long Access */
4582
            struct {                                        /*  Bit Access  */
4583
                unsigned int                :19;            /*              */
4584
                unsigned int TFD            : 5;            /*    TFD       */
4585
                unsigned int                : 3;            /*              */
4586
                unsigned int RFD            : 5;            /*    RFD       */
4587
            }           BIT;                                /*              */
4588
        }               FDR;                                /*              */
4589
        char            wk11[4];                            /*              *///FFFC3058-FFFC3050-4
4590
        union {                                             /* RMCR         *///FFFC3058
4591
            unsigned int LONG;                              /*  Long Access */
4592
            struct {                                        /*  Bit Access  */
4593
                unsigned int                :30;            /*              */
4594
                unsigned int RNC            : 1;            /*    RNC       */
4595
                unsigned int RNR            : 1;            /*    RNR       */
4596
            }           BIT;                                /*              */
4597
        }               RMCR;                               /*              */
4598
        char            wk12[8];                            /*              *///FFFC3064-FFFC3058-4
4599
        union {                                             /* TFUCR        *///FFFC3064
4600
            unsigned int LONG;                              /*  Long Access */
4601
            struct {                                        /*  Bit Access  */
4602
                unsigned int                :16;            /*              */
4603
                unsigned int UNDER          :16;            /*    UNDER     */
4604
            }           BIT;                                /*              */
4605
        }               TFUCR;                              /*              */
4606
        union {                                             /* RFOCR        *///FFFC3068
4607
            unsigned int LONG;                              /*  Long Access */
4608
            struct {                                        /*  Bit Access  */
4609
                unsigned int                :16;            /*              */
4610
                unsigned int OVER           :16;            /*    OVER      */
4611
            }           BIT;                                /*              */
4612
        }               RFOCR;                              /*              */
4613
        union {                                             /* IOSR         *///FFFC306C
4614
            unsigned int LONG;                              /*  Long Access */
4615
            struct {                                        /*  Bit Access  */
4616
                unsigned int                :31;            /*              */
4617
                unsigned int ELB            : 1;            /*    ELB       */
4618
            }           BIT;                                /*              */
4619
        }               IOSR;                               /*              */
4620
        union {                                             /* FCFTR        *///FFFC3070
4621
            unsigned int LONG;                              /*  Long Access */
4622
            struct {                                        /*  Bit Access  */
4623
                unsigned int                :13;            /*              */
4624
                unsigned int RFFO           : 3;            /*    RFFO      */
4625
                unsigned int                :13;            /*              */
4626
                unsigned int RFDO           : 3;            /*    RFDO      */
4627
            }           BIT;                                /*              */
4628
        }               FCFTR;                              /*              */
4629
        char            wk13[8];                            /*              *///FFFC307C-FFFC3070-4
4630
        union {                                             /* TRIMD        *///FFFC307C
4631
            unsigned int LONG;                              /*  Long Access */
4632
            struct {                                        /*  Bit Access  */
4633
                unsigned int                :27;            /*              */
4634
                unsigned int TIM            : 1;            /*    TIM       */
4635
                unsigned int                : 3;            /*              */
4636
                unsigned int TIS            : 1;            /*    TIS       */
4637
            }           BIT;                                /*              */
4638
        }               TRIMD;                              /*              */
4639
        char            wk14[72];                           /*              *///FFFC30C8-FFFC307C-4
4640
        unsigned int    RBWAR;                              /* RBWAR        *///FFFC30C8
4641
        unsigned int    RDFAR;                              /* RDFAR        *///FFFC30CC
4642
        char            wk15[4];                            /*              *///FFFC30D4-FFFC30CC-4
4643
        unsigned int    TBRAR;                              /* TBRAR        *///FFFC30D4
4644
        unsigned int    TDFAR;                              /* TDFAR        *///FFFC30D8
4645
        char            wk16[8];                            /*              *///FFFC30E4-FFFC30D8-4
4646
        union {                                             /* EDOCR        *///FFFC30E4
4647
            unsigned int LONG;                              /*  Long Access */
4648
            struct {                                        /*  Bit Access  */
4649
                unsigned int                :28;            /*              */
4650
                unsigned int FEC            : 1;            /*    FEC       */
4651
                unsigned int AEC            : 1;            /*    AEC       */
4652
                unsigned int EDH            : 1;            /*    EDH       */
4653
                unsigned int NMIE           : 1;            /*    NMIE      */
4654
            }           BIT;                                /*              */
4655
        }               EDOCR;                              /*              */
4656
};                                                          /*              */
4657
struct st_fld {                                             /* struct FLD   */
4658
        union {                                             /* FPMON        *///FFFFA800
4659
            unsigned char BYTE;                             /*  Byte Access */
4660
            struct {                                        /*  Bit Access  */
4661
                unsigned char FWE           : 1;            /*    FWE       */
4662
            }           BIT;                                /*              */
4663
        }               FPMON;                              /*              */
4664
        char            wk1[1];                             /*              *///FFFFA802-FFFFA800-1
4665
        union {                                             /* FMODR        *///FFFFA802
4666
            unsigned char BYTE;                             /*  Byte Access */
4667
            struct {                                        /*  Bit Access  */
4668
                unsigned char               : 3;            /*              */
4669
                unsigned char FRDMD         : 1;            /*    FRDMD     */
4670
            }           BIT;                                /*              */
4671
        }               FMODR;                              /*              */
4672
        char            wk2[13];                            /*              *///FFFFA810-FFFFA802-1
4673
        union {                                             /* FASTAT       *///FFFFA810
4674
            unsigned char BYTE;                             /*  Byte Access */
4675
            struct {                                        /*  Bit Access  */
4676
                unsigned char ROMAE         : 1;            /*    ROMAE     */
4677
                unsigned char               : 2;            /*              */
4678
                unsigned char CMDLK         : 1;            /*    CMDLK     */
4679
                unsigned char EEPAE         : 1;            /*    EEPAE     */
4680
                unsigned char EEPIFE        : 1;            /*    EEPIFE    */
4681
                unsigned char EEPRPE        : 1;            /*    EEPRPE    */
4682
                unsigned char EEPWPE        : 1;            /*    EEPWPE    */
4683
            }           BIT;                                /*              */
4684
        }               FASTAT;                             /*              */
4685
        union {                                             /* FAEINT       *///FFFFA811
4686
            unsigned char BYTE;                             /*  Byte Access */
4687
            struct {                                        /*  Bit Access  */
4688
                unsigned char ROMAIE        : 1;            /*    ROMAIE    */
4689
                unsigned char               : 2;            /*              */
4690
                unsigned char CMDLKIE       : 1;            /*    CMDLKIE   */
4691
                unsigned char EEPAEIE       : 1;            /*    EEPAEIE   */
4692
                unsigned char EEPIFEIE      : 1;            /*    EEPIFEIE  */
4693
                unsigned char EEPRPEIE      : 1;            /*    EEPRPEIE  */
4694
                unsigned char EEPWPEIE      : 1;            /*    EEPWPEIE  */
4695
            }           BIT;                                /*              */
4696
        }               FAEINT;                             /*              */
4697
        char            wk3[14];                            /*              *///FFFFA820-FFFFA811-1
4698
        union {                                             /* ROMMAT       *///FFFFA820
4699
            unsigned short WORD;                            /*  Word Access */
4700
            struct {                                        /*  Bit Access  */
4701
                unsigned char KEY           : 8;            /*    KEY       */
4702
                unsigned char               : 7;            /*              */
4703
                unsigned char ROMSEL        : 1;            /*    ROMSEL    */
4704
            }           BIT;                                /*              */
4705
        }               ROMMAT;                             /*              */
4706
        char            wk4[30];                            /*              *///FFFFA840-FFFFA820-2
4707
        union {                                             /* EEPRE0       *///FFFFA840
4708
            unsigned short WORD;                            /*  Word Access */
4709
            struct {                                        /*  Bit Access  */
4710
                unsigned char KEY           : 8;            /*    KEY       */
4711
                unsigned char               : 4;            /*              */
4712
                unsigned char DBRE0         : 4;            /*    DBRE0     */
4713
            }           BIT;                                /*              */
4714
        }               EEPRE0;                             /*              */
4715
        char            wk5[14];                            /*              *///FFFFA850-FFFFA840-2
4716
        union {                                             /* EEPWE0       *///FFFFA850
4717
            unsigned short WORD;                            /*  Word Access */
4718
            struct {                                        /*  Bit Access  */
4719
                unsigned char KEY           : 8;            /*    KEY       */
4720
                unsigned char               : 4;            /*              */
4721
                unsigned char DBWE0         : 4;            /*    DBWE0     */
4722
            }           BIT;                                /*              */
4723
        }               EEPWE0;                             /*              */
4724
        char            wk6[2];                             /*              *///FFFFA854-FFFFA850-2
4725
        union {                                             /* FCURAME      *///FFFFA854
4726
            unsigned short WORD;                            /*  Word Access */
4727
            struct {                                        /*  Bit Access  */
4728
                unsigned char KEY           : 8;            /*    KEY       */
4729
                unsigned char               : 7;            /*              */
4730
                unsigned char FCRME         : 1;            /*    FCRME     */
4731
            }           BIT;                                /*              */
4732
        }               FCURAME;                            /*              */
4733
        char            wk7[170];                           /*              *///FFFFA900-FFFFA854-2
4734
        union {                                             /* FSTATR0      *///FFFFA900
4735
            unsigned char BYTE;                             /*  Byte Access */
4736
            struct {                                        /*  Bit Access  */
4737
                unsigned char FRDY          : 1;            /*    FRDY      */
4738
                unsigned char ILGERR        : 1;            /*    ILGERR    */
4739
                unsigned char ERSERR        : 1;            /*    ERSERR    */
4740
                unsigned char PRGERR        : 1;            /*    PRGERR    */
4741
                unsigned char SUSRDY        : 1;            /*    SUSRDY    */
4742
                unsigned char               : 1;            /*              */
4743
                unsigned char ERSSPD        : 1;            /*    ERSSPD    */
4744
                unsigned char PRGSPD        : 1;            /*    PRGSPD    */
4745
            }           BIT;                                /*              */
4746
        }               FSTATR0;                            /*              */
4747
        union {                                             /* FSTATR1      *///FFFFA901
4748
            unsigned char BYTE;                             /*  Byte Access */
4749
            struct {                                        /*  Bit Access  */
4750
                unsigned char FCUERR        : 1;            /*    FCUERR    */
4751
                unsigned char               : 2;            /*              */
4752
                unsigned char FLOCKST       : 1;            /*    FLOCKST   */
4753
                unsigned char               : 2;            /*              */
4754
                unsigned char FRDTCT        : 1;            /*    FRDTCT    */
4755
                unsigned char FRCRCT        : 1;            /*    FRCRCT    */
4756
            }           BIT;                                /*              */
4757
        }               FSTATR1;                            /*              */
4758
        union {                                             /* FENTRYR      *///FFFFA902
4759
            unsigned short WORD;                            /*  Word Access */
4760
            struct {                                        /*  Bit Access  */
4761
                unsigned char FKEY          : 8;            /*    FKEY      */
4762
                unsigned char FENTRYD       : 1;            /*    FENTRYD   */
4763
                unsigned char               : 6;            /*              */
4764
                unsigned char FENTRY0       : 1;            /*    FENTRY0   */
4765
            }           BIT;                                /*              */
4766
        }               FENTRYR;                            /*              */
4767
        union {                                             /* FPROTR       *///FFFFA904
4768
            unsigned short WORD;                            /*  Word Access */
4769
            struct {                                        /*  Bit Access  */
4770
                unsigned char FPKEY         : 8;            /*    FPKEY     */
4771
                unsigned char               : 7;            /*              */
4772
                unsigned char FPROTCN       : 1;            /*    FPROTCN   */
4773
            }           BIT;                                /*              */
4774
        }               FPROTR;                             /*              */
4775
        union {                                             /* FRESETR      *///FFFFA906
4776
            unsigned short WORD;                            /*  Word Access */
4777
            struct {                                        /*  Bit Access  */
4778
                unsigned char FPKEY         : 8;            /*    FPKEY     */
4779
                unsigned char               : 7;            /*              */
4780
                unsigned char FRESET        : 1;            /*    FRESET    */
4781
            }           BIT;                                /*              */
4782
        }               FRESETR;                            /*              */
4783
        char            wk8[2];                             /*              *///FFFFA90A-FFFFA906-2
4784
        union {                                             /* FCMDR        *///FFFFA90A
4785
            unsigned short WORD;                            /*  Word Access */
4786
            struct {                                        /*  Bit Access  */
4787
                unsigned char CMDR          : 8;            /*    CMDR      */
4788
                unsigned char PCMDR         : 8;            /*    PCMDR     */
4789
            }           BIT;                                /*              */
4790
        }               FCMDR;                              /*              */
4791
        union {                                             /* FRAMECCR     *///FFFFA90C
4792
            unsigned char BYTE;                             /*  Byte Access */
4793
            struct {                                        /*  Bit Access  */
4794
                unsigned char               : 7;            /*              */
4795
                unsigned char FRDCLE        : 1;            /*    FRDCLE    */
4796
                unsigned char FRCCLE        : 1;            /*    FRCCLE    */
4797
            }           BIT;                                /*              */
4798
        }               FRAMECCR;                           /*              */
4799
        char            wk9[10];                            /*              *///FFFFA918-FFFFA90C-2
4800
        union {                                             /* FCPSR        *///FFFFA918
4801
            unsigned short WORD;                            /*  Word Access */
4802
            struct {                                        /*  Bit Access  */
4803
                unsigned char               : 8;            /*              */
4804
                unsigned char               : 7;            /*              */
4805
                unsigned char ESUSPMD       : 1;            /*    ESUSPMD   */
4806
            }           BIT;                                /*              */
4807
        }               FCPSR;                              /*              */
4808
        union {                                             /* EEPBCCNT     *///FFFFA91A
4809
            unsigned short WORD;                            /*  Word Access */
4810
            struct {                                        /*  Bit Access  */
4811
                unsigned short              : 3;            /*              */
4812
                unsigned short BCADR        :10;            /*    BCADR     */
4813
                unsigned short              : 2;            /*              */
4814
                unsigned short BCSIZE       : 1;            /*    BCSIZE    */
4815
            }           BIT;                                /*              */
4816
        }               EEPBCCNT;                           /*              */
4817
        union {                                             /* FPESTAT      *///FFFFA91C
4818
            unsigned short WORD;                            /*  Word Access */
4819
            struct {                                        /*  Bit Access  */
4820
                unsigned char               : 8;            /*              */
4821
                unsigned char PEERRST       : 8;            /*    PEERRST   */
4822
            }           BIT;                                /*              */
4823
        }               FPESTAT;                            /*              */
4824
        union {                                             /* EEPBCSTAT    *///FFFFA91E
4825
            unsigned short WORD;                            /*  Word Access */
4826
            struct {                                        /*  Bit Access  */
4827
                unsigned char               : 8;            /*              */
4828
                unsigned char               : 7;            /*              */
4829
                unsigned char BCST          : 1;            /*    BCST      */
4830
            }           BIT;                                /*              */
4831
        }               EEPBCSTAT;                          /*              */
4832
};                                                          /*              */
4833
struct st_romccr {                                          /* struct ROMCCR*/
4834
        union {                                             /* RCCR         *///FFFC1400
4835
            unsigned int    LONG;                           /*  Long Access */
4836
            struct {                                        /*  Bit Access  */
4837
                unsigned int                :28;            /*              */
4838
                unsigned int RCF            : 1;            /*    RCF       */
4839
                unsigned int                : 3;            /*              */
4840
            }           BIT;                                /*              */
4841
        }               RCCR;                               /*              */
4842
};                                                          /*              */
4843
struct st_stb {                                             /* struct STB   */
4844
        union {                                             /* STBCR        *///FFFE0014
4845
            unsigned char BYTE;                             /*  Byte Access */
4846
            struct {                                        /*  Bit Access  */
4847
                unsigned char STBY          : 1;            /*    STBY      */
4848
            }           BIT;                                /*              */
4849
        }               CR;                                 /*              */
4850
        char            wk1[3];                             /*              *///FFFE0018-FFFE0014-1
4851
        union {                                             /* STBCR2       *///FFFE0018
4852
            unsigned char BYTE;                             /*  Byte Access */
4853
            struct {                                        /*  Bit Access  */
4854
                unsigned char _HUDI         : 1;            /*    H-UDI     */
4855
                unsigned char _UBC          : 1;            /*    UBC       */
4856
                unsigned char _DMAC         : 1;            /*    DMAC      */
4857
                unsigned char               : 3;            /*              */
4858
                unsigned char _DTC          : 1;            /*    DTC       */
4859
            }           BIT;                                /*              */
4860
        }               CR2;                                /*              */
4861
        char            wk2[1007];                          /*              *///FFFE0408-FFFE0018-1
4862
        union {                                             /* STBCR3       *///FFFE0408
4863
            unsigned char BYTE;                             /*  Byte Access */
4864
            struct {                                        /*  Bit Access  */
4865
                unsigned char HIZ           : 1;            /*    HIZ       */
4866
                unsigned char _MTU2S        : 1;            /*    MTU2S     */
4867
                unsigned char _MTU2         : 1;            /*    MTU2      */
4868
                unsigned char _POE2         : 1;            /*    POE2      */
4869
                unsigned char _IIC3         : 1;            /*    IIC3      */
4870
                unsigned char _ADC0         : 1;            /*    ADC0      */
4871
                unsigned char               : 1;            /*              */
4872
                unsigned char _FLASH        : 1;            /*    FLASH     */
4873
            }           BIT;                                /*              */
4874
        }               CR3;                                /*              */
4875
        char            wk3[3];                             /*              *///FFFE040C-FFFE0408-1
4876
        union {                                             /* STBCR4       *///FFFE040C
4877
            unsigned char BYTE;                             /*  Byte Access */
4878
            struct {                                        /*  Bit Access  */
4879
                unsigned char               : 3;            /*              */
4880
                unsigned char _SCIF3        : 1;            /*    SCIF3     */
4881
                unsigned char               : 1;            /*              */
4882
                unsigned char _CMT          : 1;            /*    CMT       */
4883
                unsigned char               : 1;            /*              */
4884
                unsigned char _ETHER        : 1;            /*    ETHER     */
4885
            }           BIT;                                /*              */
4886
        }               CR4;                                /*              */
4887
        char            wk4[11];                            /*              *///FFFE0418-FFFE040C-1
4888
        union {                                             /* STBCR5       *///FFFE0418
4889
            unsigned char BYTE;                             /*  Byte Access */
4890
            struct {                                        /*  Bit Access  */
4891
                unsigned char _SCI0         : 1;            /*    SCI0      */
4892
                unsigned char _SCI1         : 1;            /*    SCI1      */
4893
                unsigned char _SCI2         : 1;            /*    SCI2      */
4894
                unsigned char               : 1;            /*              */
4895
                unsigned char _SCI4         : 1;            /*    SCI4      */
4896
                unsigned char _ADC1         : 1;            /*    ADC1      */
4897
                unsigned char               : 1;            /*              */
4898
                unsigned char _RSPI         : 1;            /*    RSPI      */
4899
            }           BIT;                                /*              */
4900
        }               CR5;                                /*              */
4901
        char            wk5[3];                             /*              *///FFFE041C-FFFE0418-1
4902
        union {                                             /* STBCR6       *///FFFE041C
4903
            unsigned char BYTE;                             /*  Byte Access */
4904
            struct {                                        /*  Bit Access  */
4905
                unsigned char USBSEL        : 1;            /*    USBSEL    */
4906
                unsigned char _USB          : 1;            /*    USB       */
4907
                unsigned char USBCLK        : 1;            /*    USBCLK    */
4908
                unsigned char _RCAN         : 1;            /*    RCAN      */
4909
            }           BIT;                                /*              */
4910
        }               CR6;                                /*              */
4911
};                                                          /*              */
4912
struct st_sys {                                             /* struct SYS   */
4913
        union {                                             /* SYSCR1       *///FFFE0402
4914
            unsigned char BYTE;                             /*  Byte Access */
4915
            struct {                                        /*  Bit Access  */
4916
                unsigned char               : 4;            /*              */
4917
                unsigned char RAME3         : 1;            /*    RAME3     */
4918
                unsigned char RAME2         : 1;            /*    RAME2     */
4919
                unsigned char RAME1         : 1;            /*    RAME1     */
4920
                unsigned char RAME0         : 1;            /*    RAME0     */
4921
            }           BIT;                                /*              */
4922
        }               CR1;                                /*              */
4923
        char            wk1[1];                             /*              *///FFFE0404-FFFE0402-1
4924
        union {                                             /* SYSCR2       *///FFFE0404
4925
            unsigned char BYTE;                             /*  Byte Access */
4926
            struct {                                        /*  Bit Access  */
4927
                unsigned char               : 4;            /*              */
4928
                unsigned char RAMWE3        : 1;            /*    RAMWE3    */
4929
                unsigned char RAMWE2        : 1;            /*    RAMWE2    */
4930
                unsigned char RAMWE1        : 1;            /*    RAMWE1    */
4931
                unsigned char RAMWE0        : 1;            /*    RAMWE0    */
4932
            }           BIT;                                /*              */
4933
        }               CR2;                                /*              */
4934
};                                                          /*              */
4935
struct st_hudi {                                            /* struct H-UDI */
4936
        union {                                             /* SDIR         *///FFFE2000
4937
            unsigned short WORD;                            /*  Word Access */
4938
            struct {                                        /*  Bit Access  */
4939
                unsigned short TI           : 4;            /*    TI        */
4940
            }           BIT;                                /*              */
4941
        }               SDIR;                               /*              */
4942
};                                                          /*              */
4943
 
4944
#define CPG    (*(volatile struct st_cpg    *)0xFFFE0010)   /* CPG    Address*/
4945
#define INTC   (*(volatile struct st_intc   *)0xFFFE0800)   /* INTC   Address*/
4946
#define UBC    (*(volatile struct st_ubc    *)0xFFFC04C0)   /* UBC    Address*/
4947
#define UBC0   (*(volatile struct st_ubc0   *)0xFFFC0400)   /* UBC0   Address*/
4948
#define UBC1   (*(volatile struct st_ubc0   *)0xFFFC0410)   /* UBC1   Address*/
4949
#define UBC2   (*(volatile struct st_ubc2   *)0xFFFC0420)   /* UBC2   Address*/
4950
#define UBC3   (*(volatile struct st_ubc2   *)0xFFFC0430)   /* UBC3   Address*/
4951
#define DTC    (*(volatile struct st_dtc    *)0xFFFE6000)   /* DTC    Address*/
4952
#define BSC    (*(volatile struct st_bsc    *)0xFFFC0000)   /* BSC    Address*/
4953
#define DMAC   (*(volatile struct st_dmac   *)0xFFFE1200)   /* DMAC   Address*/
4954
#define DMAC0  (*(volatile struct st_dmac0  *)0xFFFE1000)   /* DMAC0  Address*/
4955
#define DMAC1  (*(volatile struct st_dmac0  *)0xFFFE1010)   /* DMAC1  Address*/
4956
#define DMAC2  (*(volatile struct st_dmac2  *)0xFFFE1020)   /* DMAC2  Address*/
4957
#define DMAC3  (*(volatile struct st_dmac2  *)0xFFFE1030)   /* DMAC3  Address*/
4958
#define DMAC4  (*(volatile struct st_dmac4  *)0xFFFE1040)   /* DMAC4  Address*/
4959
#define DMAC5  (*(volatile struct st_dmac4  *)0xFFFE1050)   /* DMAC5  Address*/
4960
#define DMAC6  (*(volatile struct st_dmac4  *)0xFFFE1060)   /* DMAC6  Address*/
4961
#define DMAC7  (*(volatile struct st_dmac4  *)0xFFFE1070)   /* DMAC7  Address*/
4962
#define MTU2   (*(volatile struct st_mtu2   *)0xFFFE420A)   /* MTU2   Address*/
4963
#define MTU20  (*(volatile struct st_mtu20  *)0xFFFE4300)   /* MTU20  Address*/
4964
#define MTU21  (*(volatile struct st_mtu21  *)0xFFFE4380)   /* MTU21  Address*/
4965
#define MTU22  (*(volatile struct st_mtu22  *)0xFFFE4000)   /* MTU22  Address*/
4966
#define MTU23  (*(volatile struct st_mtu23  *)0xFFFE4200)   /* MTU23  Address*/
4967
#define MTU24  (*(volatile struct st_mtu24  *)0xFFFE4200)   /* MTU24  Address*/
4968
#define MTU25  (*(volatile struct st_mtu25  *)0xFFFE4080)   /* MTU25  Address*/
4969
#define MTU2S  (*(volatile struct st_mtu2s  *)0xFFFE4A0A)   /* MTU2S  Address*/
4970
#define MTU2S3 (*(volatile struct st_mtu23  *)0xFFFE4A00)   /* MTU2S3 Address*/
4971
#define MTU2S4 (*(volatile struct st_mtu24  *)0xFFFE4A00)   /* MTU2S4 Address*/
4972
#define MTU2S5 (*(volatile struct st_mtu25  *)0xFFFE4880)   /* MTU2S5 Address*/
4973
#define POE2   (*(volatile struct st_poe2   *)0xFFFE5000)   /* POE    Address*/
4974
#define CMT    (*(volatile struct st_cmt    *)0xFFFEC000)   /* CMT    Address*/
4975
#define CMT0   (*(volatile struct st_cmt0   *)0xFFFEC002)   /* CMT0   Address*/
4976
#define CMT1   (*(volatile struct st_cmt0   *)0xFFFEC008)   /* CMT1   Address*/
4977
#define WDT    (*(volatile union  un_wdt    *)0xFFFE0000)   /* WDT    Address*/
4978
#define SCI0   (*(volatile struct st_sci    *)0xFFFF8000)   /* SCI0   Address*/
4979
#define SCI1   (*(volatile struct st_sci    *)0xFFFF8800)   /* SCI1   Address*/
4980
#define SCI2   (*(volatile struct st_sci    *)0xFFFF9000)   /* SCI2   Address*/
4981
#define SCI4   (*(volatile struct st_sci    *)0xFFFFA000)   /* SCI4   Address*/
4982
#define SCIF3  (*(volatile struct st_scif   *)0xFFFE9800)   /* SCIF3  Address*/
4983
#define RSPI   (*(volatile struct st_rspi   *)0xFFFFB000)   /* RSPI   Address*/
4984
#define IIC3   (*(volatile struct st_iic3   *)0xFFFEE000)   /* IIC3   Address*/
4985
#define ADC0   (*(volatile struct st_adc0   *)0xFFFFE800)   /* ADC0   Address*/
4986
#define ADC1   (*(volatile struct st_adc1   *)0xFFFFEC00)   /* ADC1   Address*/
4987
#define RCANET (*(volatile struct st_rcanet *)0xFFFFD000)   /* RCAN   Address*/
4988
#define PFC    (*(volatile struct st_pfc    *)0xFFFE3804)   /* PFC    Address*/
4989
#define PA     (*(volatile struct st_pa     *)0xFFFE3800)   /* PA     Address*/
4990
#define PB     (*(volatile struct st_pb     *)0xFFFE3880)   /* PB     Address*/
4991
#define PC     (*(volatile struct st_pc     *)0xFFFE3900)   /* PC     Address*/
4992
#define PD     (*(volatile struct st_pd     *)0xFFFE3980)   /* PD     Address*/
4993
#define PE     (*(volatile struct st_pe     *)0xFFFE3A00)   /* PE     Address*/
4994
#define PF     (*(volatile struct st_pf     *)0xFFFE3A80)   /* PF     Address*/
4995
#define USB    (*(volatile struct st_usb    *)0xFFFE7000)   /* USB    Address*/
4996
#define EtherC (*(volatile struct st_etherc *)0xFFFC3100)   /* EtherC Address*/
4997
#define EDMAC  (*(volatile struct st_edmac  *)0xFFFC3000)   /* EDMAC  Address*/
4998
#define FLD    (*(volatile struct st_fld    *)0xFFFFA800)   /* FLD    Address*/
4999
#define ROMCCR (*(volatile struct st_romccr *)0xFFFC1400)   /* ROMCCR Address*/
5000
#define STB    (*(volatile struct st_stb    *)0xFFFE0014)   /* STB    Address*/
5001
#define SYS    (*(volatile struct st_sys    *)0xFFFE0402)   /* SYS    Address*/
5002
#define HUDI   (*(volatile struct st_hudi   *)0xFFFE2000)   /* H-UDI  Address*/
5003
 
5004
#endif      /* _IODEFINE_H_ */
5005
 
5006
/* End of File */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.