]> git.sur5r.net Git - freertos/commitdiff
Add interrupt nesting test code into RX64M demo.
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 28 Mar 2014 13:05:29 +0000 (13:05 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Fri, 28 Mar 2014 13:05:29 +0000 (13:05 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2231 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/IntQueueTimer.c
FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.c [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.h [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/cg_src/r_cg_iodefine.h
FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/main_full.c

index 805bcabe635438cb2c093820ad6f4b9c2802b355..32bf5e0fb2f64f49ad439540fdc32ab7d6d4140e 100644 (file)
@@ -64,7 +64,7 @@
 */\r
 \r
 /*\r
- * This file contains the non-portable and therefore RX62N specific parts of\r
+ * This file contains the non-portable and therefore RX64M specific parts of\r
  * the IntQueue standard demo task - namely the configuration of the timers\r
  * that generate the interrupts and the interrupt entry points.\r
  */\r
 \r
 /* Renesas includes. */\r
 #include "r_cg_macrodriver.h"\r
+#include "RegisterWriteProtect.h"\r
 \r
 #define tmrTIMER_0_1_FREQUENCY ( 2000UL )\r
 #define tmrTIMER_2_3_FREQUENCY ( 2001UL )\r
 \r
 void vInitialiseTimerForIntQueueTest( void )\r
 {\r
-#if 0\r
        /* Ensure interrupts do not start until full configuration is complete. */\r
        portENTER_CRITICAL();\r
        {\r
+               EnablePRCR( PRC1_BIT );\r
+\r
                /* Cascade two 8bit timer channels to generate the interrupts. \r
                8bit timer unit 1 (TMR0 and TMR1) and 8bit timer unit 2 (TMR2 and TMR3 are\r
                utilised for this test. */\r
@@ -120,41 +122,41 @@ void vInitialiseTimerForIntQueueTest( void )
                /* Divide PCLK by 8. */\r
                TMR1.TCCR.BIT.CKS = 2;\r
                TMR3.TCCR.BIT.CKS = 2;\r
-#warning Need to enable and configure interrupts here.\r
-               /* Enable TMR 0, 2 interrupts. */\r
-//             IEN( TMR0, CMIA0 ) = 1;\r
-//             IEN( TMR2, CMIA2 ) = 1;\r
-// CMT         _IEN( _CMT0_CMI0 ) = 1;\r
-\r
-               /* ...and set its priority to the application defined kernel priority. */\r
-// CMT         _IPR( _CMT0_CMI0 ) = configKERNEL_INTERRUPT_PRIORITY;\r
-\r
 \r
+               /* Enable TMR 0, 2 interrupts. */\r
+               TMR0.TCR.BIT.CMIEA = 1;\r
+               TMR2.TCR.BIT.CMIEA = 1;\r
 \r
-               /* Set the timer interrupts to be above the kernel.  The interrupts are\r
-               assigned different priorities so they nest with each other. */\r
-//             IPR( TMR0, CMIA0 ) = configMAX_SYSCALL_INTERRUPT_PRIORITY - 1;\r
-//             IPR( TMR2, CMIA2 ) = ( configMAX_SYSCALL_INTERRUPT_PRIORITY - 2 );\r
+               /* Map TMR0 CMIA0 interrupt to vector slot B number 128 and set\r
+               priority above the kernel's priority, but below the max syscall\r
+               priority. */\r
+           ICU.SLIBXR128.BYTE = 3; /* Three is TMR0 compare match A. */\r
+           IPR( PERIB, INTB128 ) = configMAX_SYSCALL_INTERRUPT_PRIORITY - 1;\r
+               IEN( PERIB, INTB128 ) = 1;\r
+\r
+               /* Ensure that the flag is set to 0, otherwise the interrupt will not be\r
+               accepted. */\r
+               IR( PERIB, INTB128 ) = 0;\r
+\r
+               /* Do the same for TMR2, but to vector 129. */\r
+           ICU.SLIBXR129.BYTE = 9; /* Nine is TMR2 compare match A. */\r
+           IPR( PERIB, INTB129 ) = configMAX_SYSCALL_INTERRUPT_PRIORITY - 2;\r
+               IEN( PERIB, INTB129 ) = 1;\r
+               IR( PERIB, INTB129 ) = 0;\r
        }\r
        portEXIT_CRITICAL();\r
-       \r
-       /* Ensure the interrupts are clear as they are edge detected. */\r
-//     IR( TMR0, CMIA0 ) = 0;\r
-//     IR( TMR2, CMIA2 ) = 0;\r
-#endif\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-//#pragma interrupt ( vT0_1InterruptHandler( vect = VECT_TMR0_CMIA0, enable ) )\r
-// CMT#pragma interrupt (vT0_1InterruptHandler( vect = _VECT( _CMT0_CMI0 ), enable ) )\r
-void vT0_1InterruptHandler( void )\r
+#pragma interrupt ( Excep_PERIB_INTB128( vect = 128 ) )\r
+void Excep_PERIB_INTB128( void )\r
 {\r
        portYIELD_FROM_ISR( xFirstTimerHandler() );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-//#pragma interrupt ( vT2_3InterruptHandler( vect = VECT_TMR2_CMIA2, enable ) )\r
-void vT2_3InterruptHandler( void )\r
+#pragma interrupt ( Excep_PERIB_INTB129( vect = 129 ) )\r
+void Excep_PERIB_INTB129( void )\r
 {\r
        portYIELD_FROM_ISR( xSecondTimerHandler() );\r
 }\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.c b/FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.c
new file mode 100644 (file)
index 0000000..d87b251
--- /dev/null
@@ -0,0 +1,72 @@
+/*\r
+ * RegisterWriteProtect.c\r
+ *\r
+ *  Created on: 4 Mar 2014\r
+ *      Author: WarnerR\r
+ */\r
+\r
+#include "r_cg_iodefine.h"\r
+#include "stdint.h"\r
+\r
+#define        PRC0_BIT        0x0001\r
+#define        PRC1_BIT        0x0002\r
+#define        PRC3_BIT        0x0008\r
+\r
+\r
+void EnablePRCR( uint16_t protect )\r
+{\r
+       /*\r
+        * PRCR         Bit Register to be Protected\r
+        * -----------------------------------------------------------------------------------------------------------------------------------------\r
+        * PRC0         Registers related to the clock generation circuit:\r
+        *                      SCKCR, SCKCR2, SCKCR3, PLLCR, PLLCR2, BCKCR, MOSCCR, SOSCCR, LOCOCR, ILOCOCR, HOCOCR, HOCOCR2, OSTDCR, OSTDSR\r
+        *\r
+        * PRC1         Registers related to the operating modes:\r
+        *                      SYSCR0, SYSCR1\r
+        *\r
+        *                      Registers related to the low power consumption functions:\r
+        *                      SBYCR, MSTPCRA, MSTPCRB, MSTPCRC, MSTPCRD, OPCCR, RSTCKCR, DPSBYCR, DPSIER0 to DPSIER3, DPSIFR0 to DPSIFR3, DPSIEGR0 to DPSIEGR3\r
+        *\r
+        *                      Registers related to clock generation circuit:\r
+        *                      MOSCWTCR, SOSCWTCR, MOFCR, HOCOPCR\r
+        *\r
+        *                      Software reset register:\r
+        *                      SWRR\r
+        *\r
+        * PRC3         Registers related to the LVD:\r
+        *                      LVCMPCR, LVDLVLR, LVD1CR0, LVD1CR1, LVD1SR, LVD2CR0, LVD2CR1, LVD2SR\r
+        */\r
+       SYSTEM.PRCR.WORD = (uint16_t)( 0xA500 | protect );\r
+}\r
+\r
+void DisablePRCR( uint16_t protect )\r
+{\r
+       /*\r
+        * PRCR         Bit Register to be Protected\r
+        * -----------------------------------------------------------------------------------------------------------------------------------------\r
+        * PRC0         Registers related to the clock generation circuit:\r
+        *                      SCKCR, SCKCR2, SCKCR3, PLLCR, PLLCR2, BCKCR, MOSCCR, SOSCCR, LOCOCR, ILOCOCR, HOCOCR, HOCOCR2, OSTDCR, OSTDSR\r
+        *\r
+        * PRC1         Registers related to the operating modes:\r
+        *                      SYSCR0, SYSCR1\r
+        *\r
+        *                      Registers related to the low power consumption functions:\r
+        *                      SBYCR, MSTPCRA, MSTPCRB, MSTPCRC, MSTPCRD, OPCCR, RSTCKCR, DPSBYCR, DPSIER0 to DPSIER3, DPSIFR0 to DPSIFR3, DPSIEGR0 to DPSIEGR3\r
+        *\r
+        *                      Registers related to clock generation circuit:\r
+        *                      MOSCWTCR, SOSCWTCR, MOFCR, HOCOPCR\r
+        *\r
+        *                      Software reset register:\r
+        *                      SWRR\r
+        *\r
+        * PRC3         Registers related to the LVD:\r
+        *                      LVCMPCR, LVDLVLR, LVD1CR0, LVD1CR1, LVD1SR, LVD2CR0, LVD2CR1, LVD2SR\r
+        */\r
+       uint16_t current_value;\r
+\r
+       current_value = (uint16_t)( SYSTEM.PRCR.WORD & 0x00ff );\r
+       current_value = (uint16_t)( current_value & ~protect );\r
+\r
+       SYSTEM.PRCR.WORD = (uint16_t)( 0xA500 | current_value );\r
+}\r
+\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.h b/FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/RegisterWriteProtect.h
new file mode 100644 (file)
index 0000000..2dd5207
--- /dev/null
@@ -0,0 +1,22 @@
+/*\r
+ * RegisterWriteProtect.h\r
+ *\r
+ *  Created on: 4 Mar 2014\r
+ *      Author: WarnerR\r
+ */\r
+\r
+#ifndef REGISTERWRITEPROTECT_H_\r
+#define REGISTERWRITEPROTECT_H_\r
+\r
+#include "stdint.h"\r
+\r
+#define        PRC0_BIT        0x0001\r
+#define        PRC1_BIT        0x0002\r
+#define        PRC3_BIT        0x0008\r
+\r
+\r
+extern void EnablePRCR( uint16_t protect );\r
+extern void DisablePRCR( uint16_t protect );\r
+\r
+\r
+#endif /* REGISTERWRITEPROTECT_H_ */\r
index 3d7ede8319946bab415d8ecd3ba42272d5855970..b8f28645baf74941ab6143277dc83e51884ed94f 100644 (file)
@@ -1,19 +1,15 @@
-/********************************************************************************\r
-*\r
-* Device     : RX/RX600/RX64M\r
-*\r
-* File Name  : iodefine.h\r
-*\r
-* Abstract   : Definition of I/O Register\r
-*\r
-* History    : 0.20 (2013-05-30)  [Hardware Manual Revision : 0.40]\r
-*\r
-* Note       : This is a typical example.\r
-*\r
-* Copyright (C) 2013 Renesas Electronics Corporation and\r
-* Renesas Solutions Corp. All rights reserved.\r
-*\r
-*********************************************************************************/\r
+/********************************************************************************/\r
+/*                                                                              */\r
+/* Device     : RX/RX600/RX64M                                                  */\r
+/* File Name  : iodefine.h                                                      */\r
+/* Abstract   : Definition of I/O Register.                                     */\r
+/* History    : V0.8A  (2014-02-18)  [Hardware Manual Revision : 0.80]          */\r
+/* Note       : This is a typical example.                                      */\r
+/*                                                                              */\r
+/*  Copyright(c) 2014 Renesas Electronics Corp.                                 */\r
+/*                  And Renesas Solutions Corp. ,All Rights Reserved.           */\r
+/*                                                                              */\r
+/********************************************************************************/\r
 /*                                                                              */\r
 /*  DESCRIPTION : Definition of ICU Register                                    */\r
 /*  CPU TYPE    : RX64M                                                         */\r
 /*     The bit access operation is "MSTP(name)".                                */\r
 /*     The name that can be used is a macro name defined with "iodefine.h".     */\r
 /*     for example :                                                            */\r
-/*       MSTP(TMR2) = 0;    // TMR2,TMR3                          expands to :  */\r
+/*       MSTP(TMR2) = 0;    // TMR2,TMR3,TMR23                    expands to :  */\r
 /*         SYSTEM.MSTPCRA.BIT.MSTPA4  = 0;                                      */\r
 /*       MSTP(SCI0) = 0;    // SCI0,SMCI0                         expands to :  */\r
 /*         SYSTEM.MSTPCRB.BIT.MSTPB31 = 0;                                      */\r
+/*       MSTP(MTU4) = 0;    // MTU,MTU0,MTU1,MTU2,MTU3,MTU4,...   expands to :  */\r
+/*         SYSTEM.MSTPCRA.BIT.MSTPA9  = 0;                                      */\r
 /*       MSTP(TPU4) = 0;    // TPU0,TPU1,TPU2,TPU3,TPU4,TPU5      expands to :  */\r
 /*         SYSTEM.MSTPCRA.BIT.MSTPA13 = 0;                                      */\r
 /*       MSTP(CMT3) = 0;    // CMT2,CMT3                          expands to :  */\r
@@ -889,9 +887,9 @@ struct st_can {
                                unsigned long EID:18;\r
                        } BIT;\r
                } ID;\r
-               unsigned short DLC;             \r
+               unsigned short DLC;\r
                unsigned char  DATA[8];\r
-               unsigned short TS;              \r
+               unsigned short TS;\r
        } MB[32];\r
        union {\r
                unsigned long LONG;\r
@@ -1278,7 +1276,7 @@ struct st_cmtw {
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned short CLLR:3;\r
+                       unsigned short CCLR:3;\r
                        unsigned short :3;\r
                        unsigned short CMS:1;\r
                        unsigned short :1;\r
@@ -1286,7 +1284,7 @@ struct st_cmtw {
                        unsigned short OC0IE:1;\r
                        unsigned short IC1IE:1;\r
                        unsigned short IC0IE:1;\r
-                       unsigned short CM2IE:1;\r
+                       unsigned short CMWIE:1;\r
                        unsigned short :1;\r
                        unsigned short CKS:2;\r
                } BIT;\r
@@ -1295,7 +1293,7 @@ struct st_cmtw {
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned short CM2E:1;\r
+                       unsigned short CMWE:1;\r
                        unsigned short :1;\r
                        unsigned short OC1E:1;\r
                        unsigned short OC0E:1;\r
@@ -1332,44 +1330,8 @@ struct st_crc {
 };\r
 \r
 struct st_da {\r
-//     union {\r
-//             unsigned short WORD;\r
-//             struct {\r
-//                     unsigned short :4;\r
-//                     unsigned short B11:1;\r
-//                     unsigned short B10:1;\r
-//                     unsigned short B9:1;\r
-//                     unsigned short B8:1;\r
-//                     unsigned short B7:1;\r
-//                     unsigned short B6:1;\r
-//                     unsigned short B5:1;\r
-//                     unsigned short B4:1;\r
-//                     unsigned short B3:1;\r
-//                     unsigned short B2:1;\r
-//                     unsigned short B1:1;\r
-//                     unsigned short B0:1;\r
-//             } BIT;\r
-//     } DADR0;\r
-//     union {\r
-//             unsigned short WORD;\r
-//             struct {\r
-//                     unsigned short :4;\r
-//                     unsigned short B11:1;\r
-//                     unsigned short B10:1;\r
-//                     unsigned short B9:1;\r
-//                     unsigned short B8:1;\r
-//                     unsigned short B7:1;\r
-//                     unsigned short B6:1;\r
-//                     unsigned short B5:1;\r
-//                     unsigned short B4:1;\r
-//                     unsigned short B3:1;\r
-//                     unsigned short B2:1;\r
-//                     unsigned short B1:1;\r
-//                     unsigned short B0:1;\r
-//             } BIT;\r
-//     } DADR1;\r
        unsigned short DADR0;\r
-       unsigned short DADR1;   \r
+       unsigned short DADR1;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -1398,6 +1360,14 @@ struct st_da {
                        unsigned char DAAMP0:1;\r
                } BIT;\r
        } DAAMPCR;\r
+       char           wk1[17783];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char AMADSEL1:1;\r
+               } BIT;\r
+       } DAADUSR;\r
 };\r
 \r
 struct st_dmac {\r
@@ -1421,10 +1391,8 @@ struct st_dmac {
 };\r
 \r
 struct st_dmac0 {\r
-//     unsigned long  DMSAR;\r
-//     unsigned long  DMDAR;\r
        void          *DMSAR;\r
-       void          *DMDAR;   \r
+       void          *DMDAR;\r
        unsigned long  DMCRA;\r
        unsigned short DMCRB;\r
        char           wk0[2];\r
@@ -1499,11 +1467,9 @@ struct st_dmac0 {
        } DMCSL;\r
 };\r
 \r
-struct st_dmac1 {      \r
-//     unsigned long  DMSAR;\r
-//     unsigned long  DMDAR;\r
+struct st_dmac1 {\r
        void          *DMSAR;\r
-       void          *DMDAR;   \r
+       void          *DMDAR;\r
        unsigned long  DMCRA;\r
        unsigned short DMCRB;\r
        char           wk0[2];\r
@@ -1604,8 +1570,7 @@ struct st_dtc {
                } BIT;\r
        } DTCCR;\r
        char           wk0[3];\r
-//     unsigned long  DTCVBR;\r
-       void          *DTCVBR;  \r
+       void          *DTCVBR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -1644,34 +1609,55 @@ struct st_eccram {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char :7;\r
-                       unsigned char RAMERR:1;\r
+                       unsigned char ECC2ERR:1;\r
                } BIT;\r
-       } ECCRAMSTS;\r
-       char           wk0[2];\r
+       } ECCRAM2STS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char KW:7;\r
-                       unsigned char RAMPRCR:1;\r
+                       unsigned char :7;\r
+                       unsigned char ECC1STSEN:1;\r
                } BIT;\r
-       } ECCRAMPRCR;\r
-       char           wk1[3];\r
+       } ECCRAM1STSEN;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char ECC1ERR:1;\r
+               } BIT;\r
+       } ECCRAM1STS;\r
+//     union {\r
+//             unsigned char BYTE;\r
+//             struct {\r
+//                     unsigned char KW:7;\r
+//                     unsigned char PRCR:1;\r
+//             } BIT;\r
+//     } ECCRAMPRCR;\r
+       unsigned char ECCRAMPRCR;\r
+       char           wk0[3];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :13;\r
-                       unsigned long READ:16;\r
+                       unsigned long :17;\r
+                       unsigned long ECC2EAD:12;\r
                } BIT;\r
-       } ECCRAMECAD;\r
-       char           wk2[4];\r
+       } ECCRAM2ECAD;\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char KW2:7;\r
-                       unsigned char RAMPRCR2:1;\r
+                       unsigned long :17;\r
+                       unsigned long ECC1EAD:12;\r
                } BIT;\r
-       } ECCRAMPRCR2;\r
-       char           wk3[3];\r
+       } ECCRAM1ECAD;\r
+//     union {\r
+//             unsigned char BYTE;\r
+//             struct {\r
+//                     unsigned char KW2:7;\r
+//                     unsigned char PRCR2:1;\r
+//             } BIT;\r
+//     } ECCRAMPRCR2;\r
+       unsigned char ECCRAMPRCR2;\r
+       char           wk1[3];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -1709,10 +1695,8 @@ struct st_edmac {
                } BIT;\r
        } EDRRR;\r
        char           wk2[4];\r
-//     unsigned long  TDLAR;\r
        void          *TDLAR;\r
        char           wk3[4];\r
-//     unsigned long  RDLAR;\r
        void          *RDLAR;\r
        char           wk4[4];\r
        union {\r
@@ -1782,18 +1766,8 @@ struct st_edmac {
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :20;\r
-                       unsigned long CNDCE:1;\r
-                       unsigned long DLCCE:1;\r
-                       unsigned long CDCE:1;\r
-                       unsigned long TROCE:1;\r
+                       unsigned long :24;\r
                        unsigned long RMAFCE:1;\r
-                       unsigned long :2;\r
-                       unsigned long RRFCE:1;\r
-                       unsigned long RTLFCE:1;\r
-                       unsigned long RTSFCE:1;\r
-                       unsigned long PRECE:1;\r
-                       unsigned long CERFCE:1;\r
                } BIT;\r
        } TRSCER;\r
        char           wk7[4];\r
@@ -1826,8 +1800,7 @@ struct st_edmac {
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :30;\r
-                       unsigned long RNC:1;\r
+                       unsigned long :31;\r
                        unsigned long RNR:1;\r
                } BIT;\r
        } RMCR;\r
@@ -1882,197 +1855,11 @@ struct st_edmac {
                } BIT;\r
        } TRIMD;\r
        char           wk13[72];\r
-//     unsigned long  RBWAR;\r
        void          *RBWAR;\r
-//     unsigned long  RDFAR;\r
        void          *RDFAR;\r
        char           wk14[4];\r
-//     unsigned long  TBRAR;\r
-       void          *TBRAR;   \r
-//     unsigned long  TDFAR;\r
-       void          *TDFAR;   \r
-};\r
-\r
-struct st_edmacp {\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :25;\r
-                       unsigned long DE:1;\r
-                       unsigned long DL:2;\r
-                       unsigned long :3;\r
-                       unsigned long SWR:1;\r
-               } BIT;\r
-       } EDMR;\r
-       char           wk0[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :31;\r
-                       unsigned long TR:1;\r
-               } BIT;\r
-       } EDTRR;\r
-       char           wk1[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :31;\r
-                       unsigned long RR:1;\r
-               } BIT;\r
-       } EDRRR;\r
-       char           wk2[4];\r
-       unsigned long  TDLAR;\r
-       char           wk3[4];\r
-       unsigned long  RDLAR;\r
-       char           wk4[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long TWB:1;\r
-                       unsigned long :3;\r
-                       unsigned long TABT:1;\r
-                       unsigned long RABT:1;\r
-                       unsigned long RFCOF:1;\r
-                       unsigned long ADE:1;\r
-                       unsigned long ECI:1;\r
-                       unsigned long TC:1;\r
-                       unsigned long TDE:1;\r
-                       unsigned long TFUF:1;\r
-                       unsigned long FR:1;\r
-                       unsigned long RDE:1;\r
-                       unsigned long RFOF:1;\r
-               } BIT;\r
-       } EESR;\r
-       char           wk5[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long TWBIP:1;\r
-                       unsigned long :3;\r
-                       unsigned long TABTIP:1;\r
-                       unsigned long RABTIP:1;\r
-                       unsigned long RFCOFIP:1;\r
-                       unsigned long ADEIP:1;\r
-                       unsigned long ECIIP:1;\r
-                       unsigned long TCIP:1;\r
-                       unsigned long TDEIP:1;\r
-                       unsigned long TFUFIP:1;\r
-                       unsigned long FRIP:1;\r
-                       unsigned long RDEIP:1;\r
-                       unsigned long RFOFIP:1;\r
-               } BIT;\r
-       } EESIPR;\r
-       char           wk6[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :20;\r
-                       unsigned long CNDCE:1;\r
-                       unsigned long DLCCE:1;\r
-                       unsigned long CDCE:1;\r
-                       unsigned long TROCE:1;\r
-                       unsigned long RMAFCE:1;\r
-                       unsigned long :2;\r
-                       unsigned long RRFCE:1;\r
-                       unsigned long RTLFCE:1;\r
-                       unsigned long RTSFCE:1;\r
-                       unsigned long PRECE:1;\r
-                       unsigned long CERFCE:1;\r
-               } BIT;\r
-       } TRSCER;\r
-       char           wk7[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long MFC:16;\r
-               } BIT;\r
-       } RMFCR;\r
-       char           wk8[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :21;\r
-                       unsigned long TFT:11;\r
-               } BIT;\r
-       } TFTR;\r
-       char           wk9[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :19;\r
-                       unsigned long TFD:5;\r
-                       unsigned long :3;\r
-                       unsigned long RFD:5;\r
-               } BIT;\r
-       } FDR;\r
-       char           wk10[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :30;\r
-                       unsigned long RNC:1;\r
-                       unsigned long RNR:1;\r
-               } BIT;\r
-       } RMCR;\r
-       char           wk11[8];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long UNDER:16;\r
-               } BIT;\r
-       } TFUCR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long OVER:16;\r
-               } BIT;\r
-       } RFOCR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :31;\r
-                       unsigned long ELB:1;\r
-               } BIT;\r
-       } IOSR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :13;\r
-                       unsigned long RFFO:3;\r
-                       unsigned long :13;\r
-                       unsigned long RFDO:3;\r
-               } BIT;\r
-       } FCFTR;\r
-       char           wk12[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :14;\r
-                       unsigned long PADS:2;\r
-                       unsigned long :10;\r
-                       unsigned long PADR:6;\r
-               } BIT;\r
-       } RPADIR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :27;\r
-                       unsigned long TIM:1;\r
-                       unsigned long :3;\r
-                       unsigned long TIS:1;\r
-               } BIT;\r
-       } TRIMD;\r
-       char           wk13[72];\r
-       unsigned long  RBWAR;\r
-       unsigned long  RDFAR;\r
-       char           wk14[4];\r
-       unsigned long  TBRAR;\r
-       unsigned long  TDFAR;\r
+       void          *TBRAR;\r
+       void          *TDFAR;\r
 };\r
 \r
 struct st_elc {\r
@@ -2355,12 +2142,12 @@ struct st_elc {
        } PEL3;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char WI:1;\r
-                       unsigned char WE:1;\r
-                       unsigned char :5;\r
-                       unsigned char SEG:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char WI:1;\r
+//                     unsigned char WE:1;\r
+//                     unsigned char :5;\r
+//                     unsigned char SEG:1;\r
+//             } BIT;\r
        } ELSEGR;\r
        char           wk6[3];\r
        union {\r
@@ -2481,23 +2268,24 @@ struct st_eptpc {
                } BIT;\r
        } STCSELR;\r
        char           wk0[15096];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :10;\r
-                       unsigned long CYC5:1;\r
-                       unsigned long CYC4:1;\r
-                       unsigned long CYC3:1;\r
-                       unsigned long CYC2:1;\r
-                       unsigned long CYC1:1;\r
-                       unsigned long CYC0:1;\r
-                       unsigned long :12;\r
-                       unsigned long PRC:1;\r
-                       unsigned long SY1:1;\r
-                       unsigned long SY0:1;\r
-                       unsigned long ST:1;\r
-               } BIT;\r
-       } MIESR;\r
+//     union {\r
+//     unsigned long LONG;\r
+//             struct {\r
+//                     unsigned long :10;\r
+//                     unsigned long CYC5:1;\r
+//                     unsigned long CYC4:1;\r
+//                     unsigned long CYC3:1;\r
+//                     unsigned long CYC2:1;\r
+//                     unsigned long CYC1:1;\r
+//                     unsigned long CYC0:1;\r
+//                     unsigned long :12;\r
+//                     unsigned long PRC:1;\r
+//                     unsigned long SY1:1;\r
+//                     unsigned long SY0:1;\r
+//                     unsigned long ST:1;\r
+//             } BIT;\r
+//     } MIESR;\r
+       unsigned long MIESR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -2515,14 +2303,7 @@ struct st_eptpc {
                        unsigned long ST:1;\r
                } BIT;\r
        } MIEIPR;\r
-       char           wk1[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long VER:16;\r
-                       unsigned long REV:16;\r
-               } BIT;\r
-       } PTVRR;\r
+       char           wk1[8];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -2570,6 +2351,18 @@ struct st_eptpc {
                } BIT;\r
        } ELIPACR;\r
        char           wk2[40];\r
+//     union {\r
+//             unsigned long LONG;\r
+//             struct {\r
+//                     unsigned long :27;\r
+//                     unsigned long W10D:1;\r
+//                     unsigned long SYNTOUT:1;\r
+//                     unsigned long :1;\r
+//                     unsigned long SYNCOUT:1;\r
+//                     unsigned long SYNC:1;\r
+//             } BIT;\r
+//     } STSR;\r
+       unsigned long STSR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -2580,26 +2373,8 @@ struct st_eptpc {
                        unsigned long SYNCOUT:1;\r
                        unsigned long SYNC:1;\r
                } BIT;\r
-       } STSR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :27;\r
-                       unsigned long W10D:1;\r
-                       unsigned long SYNTOUT:1;\r
-                       unsigned long :1;\r
-                       unsigned long SYNCOUT:1;\r
-                       unsigned long SYNC:1;\r
-               } BIT;\r
-       } STIPR;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long VER:16;\r
-                       unsigned long REV:16;\r
-               } BIT;\r
-       } STVRR;\r
+       } STIPR;\r
+       char           wk3[8];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -2860,52 +2635,29 @@ struct st_eptpc {
                } BIT;\r
        } TMSTARTR;\r
        char           wk14[128];\r
+//     union {\r
+//             unsigned long LONG;\r
+//             struct {\r
+//                     unsigned long :2;\r
+//                     unsigned long URE1:1;\r
+//                     unsigned long URE0:1;\r
+//                     unsigned long :19;\r
+//                     unsigned long MACE:1;\r
+//                     unsigned long :4;\r
+//                     unsigned long OVRE3:1;\r
+//                     unsigned long OVRE2:1;\r
+//                     unsigned long OVRE1:1;\r
+//                     unsigned long OVRE0:1;\r
+//             } BIT;\r
+//     } PRSR;\r
+       unsigned long PRSR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
                        unsigned long :2;\r
                        unsigned long URE1:1;\r
                        unsigned long URE0:1;\r
-                       unsigned long PRTE13:1;\r
-                       unsigned long PRTE12:1;\r
-                       unsigned long PRTE11:1;\r
-                       unsigned long PRTE10:1;\r
-                       unsigned long PRTE03:1;\r
-                       unsigned long PRTE02:1;\r
-                       unsigned long PRTE01:1;\r
-                       unsigned long PRTE00:1;\r
-                       unsigned long PRRE3:1;\r
-                       unsigned long PRRE2:1;\r
-                       unsigned long PRRE1:1;\r
-                       unsigned long PRRE0:1;\r
-                       unsigned long :7;\r
-                       unsigned long MACE:1;\r
-                       unsigned long :4;\r
-                       unsigned long OVRE3:1;\r
-                       unsigned long OVRE2:1;\r
-                       unsigned long OVRE1:1;\r
-                       unsigned long OVRE0:1;\r
-               } BIT;\r
-       } PRSR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :2;\r
-                       unsigned long URE1:1;\r
-                       unsigned long URE0:1;\r
-                       unsigned long PRTE13:1;\r
-                       unsigned long PRTE12:1;\r
-                       unsigned long PRTE11:1;\r
-                       unsigned long PRTE10:1;\r
-                       unsigned long PRTE03:1;\r
-                       unsigned long PRTE02:1;\r
-                       unsigned long PRTE01:1;\r
-                       unsigned long PRTE00:1;\r
-                       unsigned long PRRE3:1;\r
-                       unsigned long PRRE2:1;\r
-                       unsigned long PRRE1:1;\r
-                       unsigned long PRRE0:1;\r
-                       unsigned long :7;\r
+                       unsigned long :19;\r
                        unsigned long MACE:1;\r
                        unsigned long :4;\r
                        unsigned long OVRE3:1;\r
@@ -2914,14 +2666,7 @@ struct st_eptpc {
                        unsigned long OVRE0:1;\r
                } BIT;\r
        } PRIPR;\r
-       char           wk15[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long VER:16;\r
-                       unsigned long REV:16;\r
-               } BIT;\r
-       } PRVRR;\r
+       char           wk15[8];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -2961,7 +2706,10 @@ struct st_eptpc {
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :31;\r
+                       unsigned long :22;\r
+                       unsigned long FWD1:1;\r
+                       unsigned long FWD0:1;\r
+                       unsigned long :7;\r
                        unsigned long MOD:1;\r
                } BIT;\r
        } TRNMR;\r
@@ -2974,43 +2722,34 @@ struct st_eptpc {
        } TRNCTTDR;\r
 };\r
 \r
-struct st_eptpcs {\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :8;\r
-                       unsigned long PRE3:1;\r
-                       unsigned long PRE2:1;\r
-                       unsigned long PRE1:1;\r
-                       unsigned long PRE0:1;\r
-                       unsigned long :2;\r
-                       unsigned long GENDN:1;\r
-                       unsigned long RESDN:1;\r
-                       unsigned long :1;\r
-                       unsigned long INFABT:1;\r
-                       unsigned long SRTABT:1;\r
-                       unsigned long RECLP:1;\r
-                       unsigned long :2;\r
-                       unsigned long PDRPMR:1;\r
-                       unsigned long :2;\r
-                       unsigned long DRQOVR:1;\r
-                       unsigned long INTDEV:1;\r
-                       unsigned long DRPTO:1;\r
-                       unsigned long :1;\r
-                       unsigned long MPDUD:1;\r
-                       unsigned long INTCHG:1;\r
-                       unsigned long OFMUD:1;\r
-               } BIT;\r
-       } SYSR;\r
+struct st_eptpc0 {\r
+//     union {\r
+//             unsigned long LONG;\r
+//             struct {\r
+//                     unsigned long :14;\r
+//                     unsigned long GENDN:1;\r
+//                     unsigned long RESDN:1;\r
+//                     unsigned long :1;\r
+//                     unsigned long INFABT:1;\r
+//                     unsigned long SRTABT:1;\r
+//                     unsigned long RECLP:1;\r
+//                     unsigned long :2;\r
+//                     unsigned long PDRPMR:1;\r
+//                     unsigned long :2;\r
+//                     unsigned long DRQOVR:1;\r
+//                     unsigned long INTDEV:1;\r
+//                     unsigned long DRPTO:1;\r
+//                     unsigned long :1;\r
+//                     unsigned long MPDUD:1;\r
+//                     unsigned long INTCHG:1;\r
+//                     unsigned long OFMUD:1;\r
+//             } BIT;\r
+//     } SYSR;\r
+       unsigned long SYSR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :8;\r
-                       unsigned long PRE3:1;\r
-                       unsigned long PRE2:1;\r
-                       unsigned long PRE1:1;\r
-                       unsigned long PRE0:1;\r
-                       unsigned long :2;\r
+                       unsigned long :14;\r
                        unsigned long GENDN:1;\r
                        unsigned long RESDN:1;\r
                        unsigned long :1;\r
@@ -3029,14 +2768,7 @@ struct st_eptpcs {
                        unsigned long OFMUD:1;\r
                } BIT;\r
        } SYIPR;\r
-       char           wk0[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long VER:16;\r
-                       unsigned long REV:16;\r
-               } BIT;\r
-       } SYVRR;\r
+       char           wk0[8];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -3051,14 +2783,8 @@ struct st_eptpcs {
                        unsigned long MACL:24;\r
                } BIT;\r
        } SYMACRL;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :24;\r
-                       unsigned long LLC:8;\r
-               } BIT;\r
-       } SYLLCCTLR;\r
-       unsigned long  SYIPR2;\r
+       char           wk0a[1];\r
+       unsigned long  SYIPADDRR;\r
        char           wk1[32];\r
        union {\r
                unsigned long LONG;\r
@@ -3080,88 +2806,88 @@ struct st_eptpcs {
                unsigned long LONG;\r
                struct {\r
                        unsigned long :16;\r
-                       unsigned long FLG15:1;\r
-                       unsigned long FLG14:1;\r
-                       unsigned long FLG13:1;\r
-                       unsigned long FLG12:1;\r
-                       unsigned long FLG11:1;\r
-                       unsigned long FLG10:1;\r
-                       unsigned long FLG9:1;\r
-                       unsigned long FLG8:1;\r
-                       unsigned long FLG7:1;\r
-                       unsigned long FLG6:1;\r
-                       unsigned long FLG5:1;\r
-                       unsigned long FLG4:1;\r
-                       unsigned long FLG3:1;\r
-                       unsigned long FLG2:1;\r
-                       unsigned long FLG1:1;\r
-                       unsigned long FLG0:1;\r
+                       unsigned long FLAG15:1;\r
+                       unsigned long FLAG14:1;\r
+                       unsigned long FLAG13:1;\r
+                       unsigned long FLAG12:1;\r
+                       unsigned long FLAG11:1;\r
+                       unsigned long FLAG10:1;\r
+                       unsigned long FLAG9:1;\r
+                       unsigned long FLAG8:1;\r
+                       unsigned long FLAG7:1;\r
+                       unsigned long FLAG6:1;\r
+                       unsigned long FLAG5:1;\r
+                       unsigned long FLAG4:1;\r
+                       unsigned long FLAG3:1;\r
+                       unsigned long FLAG2:1;\r
+                       unsigned long FLAG1:1;\r
+                       unsigned long FLAG0:1;\r
                } BIT;\r
        } ANFR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
                        unsigned long :16;\r
-                       unsigned long FLG15:1;\r
-                       unsigned long FLG14:1;\r
-                       unsigned long FLG13:1;\r
-                       unsigned long FLG12:1;\r
-                       unsigned long FLG11:1;\r
-                       unsigned long FLG10:1;\r
-                       unsigned long FLG9:1;\r
-                       unsigned long FLG8:1;\r
-                       unsigned long FLG7:1;\r
-                       unsigned long FLG6:1;\r
-                       unsigned long FLG5:1;\r
-                       unsigned long FLG4:1;\r
-                       unsigned long FLG3:1;\r
-                       unsigned long FLG2:1;\r
-                       unsigned long FLG1:1;\r
-                       unsigned long FLG0:1;\r
+                       unsigned long FLAG15:1;\r
+                       unsigned long FLAG14:1;\r
+                       unsigned long FLAG13:1;\r
+                       unsigned long FLAG12:1;\r
+                       unsigned long FLAG11:1;\r
+                       unsigned long FLAG10:1;\r
+                       unsigned long FLAG9:1;\r
+                       unsigned long FLAG8:1;\r
+                       unsigned long FLAG7:1;\r
+                       unsigned long FLAG6:1;\r
+                       unsigned long FLAG5:1;\r
+                       unsigned long FLAG4:1;\r
+                       unsigned long FLAG3:1;\r
+                       unsigned long FLAG2:1;\r
+                       unsigned long FLAG1:1;\r
+                       unsigned long FLAG0:1;\r
                } BIT;\r
        } SYNFR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
                        unsigned long :16;\r
-                       unsigned long FLG15:1;\r
-                       unsigned long FLG14:1;\r
-                       unsigned long FLG13:1;\r
-                       unsigned long FLG12:1;\r
-                       unsigned long FLG11:1;\r
-                       unsigned long FLG10:1;\r
-                       unsigned long FLG9:1;\r
-                       unsigned long FLG8:1;\r
-                       unsigned long FLG7:1;\r
-                       unsigned long FLG6:1;\r
-                       unsigned long FLG5:1;\r
-                       unsigned long FLG4:1;\r
-                       unsigned long FLG3:1;\r
-                       unsigned long FLG2:1;\r
-                       unsigned long FLG1:1;\r
-                       unsigned long FLG0:1;\r
+                       unsigned long FLAG15:1;\r
+                       unsigned long FLAG14:1;\r
+                       unsigned long FLAG13:1;\r
+                       unsigned long FLAG12:1;\r
+                       unsigned long FLAG11:1;\r
+                       unsigned long FLAG10:1;\r
+                       unsigned long FLAG9:1;\r
+                       unsigned long FLAG8:1;\r
+                       unsigned long FLAG7:1;\r
+                       unsigned long FLAG6:1;\r
+                       unsigned long FLAG5:1;\r
+                       unsigned long FLAG4:1;\r
+                       unsigned long FLAG3:1;\r
+                       unsigned long FLAG2:1;\r
+                       unsigned long FLAG1:1;\r
+                       unsigned long FLAG0:1;\r
                } BIT;\r
        } DYRQFR;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
                        unsigned long :16;\r
-                       unsigned long FLG15:1;\r
-                       unsigned long FLG14:1;\r
-                       unsigned long FLG13:1;\r
-                       unsigned long FLG12:1;\r
-                       unsigned long FLG11:1;\r
-                       unsigned long FLG10:1;\r
-                       unsigned long FLG9:1;\r
-                       unsigned long FLG8:1;\r
-                       unsigned long FLG7:1;\r
-                       unsigned long FLG6:1;\r
-                       unsigned long FLG5:1;\r
-                       unsigned long FLG4:1;\r
-                       unsigned long FLG3:1;\r
-                       unsigned long FLG2:1;\r
-                       unsigned long FLG1:1;\r
-                       unsigned long FLG0:1;\r
+                       unsigned long FLAG15:1;\r
+                       unsigned long FLAG14:1;\r
+                       unsigned long FLAG13:1;\r
+                       unsigned long FLAG12:1;\r
+                       unsigned long FLAG11:1;\r
+                       unsigned long FLAG10:1;\r
+                       unsigned long FLAG9:1;\r
+                       unsigned long FLAG8:1;\r
+                       unsigned long FLAG7:1;\r
+                       unsigned long FLAG6:1;\r
+                       unsigned long FLAG5:1;\r
+                       unsigned long FLAG4:1;\r
+                       unsigned long FLAG3:1;\r
+                       unsigned long FLAG2:1;\r
+                       unsigned long FLAG1:1;\r
+                       unsigned long FLAG0:1;\r
                } BIT;\r
        } DYRPFR;\r
        unsigned long  SYCIDRU;\r
@@ -3188,50 +2914,32 @@ struct st_eptpcs {
                unsigned long LONG;\r
                struct {\r
                        unsigned long :1;\r
-                       unsigned long PDFUP2:1;\r
-                       unsigned long PDFUP1:1;\r
-                       unsigned long PDFUP0:1;\r
+                       unsigned long PDFUP:3;\r
                        unsigned long :1;\r
-                       unsigned long PDRP2:1;\r
-                       unsigned long PDRP1:1;\r
-                       unsigned long PDRP0:1;\r
+                       unsigned long PDRP:3;\r
                        unsigned long :1;\r
-                       unsigned long PDRQ2:1;\r
-                       unsigned long PDRQ1:1;\r
-                       unsigned long PDRQ0:1;\r
+                       unsigned long PDRQ:3;\r
                        unsigned long :1;\r
-                       unsigned long DRP2:1;\r
-                       unsigned long DRP1:1;\r
-                       unsigned long DRP0:1;\r
+                       unsigned long DRP:3;\r
                        unsigned long :1;\r
-                       unsigned long DRQ2:1;\r
-                       unsigned long DRQ1:1;\r
-                       unsigned long DRQ0:1;\r
+                       unsigned long DRQ:3;\r
                        unsigned long :1;\r
-                       unsigned long FUP2:1;\r
-                       unsigned long FUP1:1;\r
-                       unsigned long FUP0:1;\r
+                       unsigned long FUP:3;\r
                        unsigned long :1;\r
-                       unsigned long SYNC2:1;\r
-                       unsigned long SYNC1:1;\r
-                       unsigned long SYNC0:1;\r
+                       unsigned long SYNC:3;\r
                        unsigned long :2;\r
-                       unsigned long ANCE1:1;\r
-                       unsigned long ANCE0:1;\r
+                       unsigned long ANCE:2;\r
                } BIT;\r
        } SYRFL1R;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
                        unsigned long :2;\r
-                       unsigned long ILL1:1;\r
-                       unsigned long ILL0:1;\r
+                       unsigned long ILL:2;\r
                        unsigned long :22;\r
-                       unsigned long SIG1:1;\r
-                       unsigned long SIG0:1;\r
+                       unsigned long SIG:2;\r
                        unsigned long :2;\r
-                       unsigned long MAN1:1;\r
-                       unsigned long MAN0:1;\r
+                       unsigned long MAN:2;\r
                } BIT;\r
        } SYRFL2R;\r
        union {\r
@@ -3262,7 +2970,7 @@ struct st_eptpcs {
                unsigned long LONG;\r
                struct {\r
                        unsigned long :8;\r
-                       unsigned long DRQ:8;\r
+                       unsigned long DREQ:8;\r
                        unsigned long SYNC:8;\r
                        unsigned long ANCE:8;\r
                } BIT;\r
@@ -3271,7 +2979,7 @@ struct st_eptpcs {
                unsigned long LONG;\r
                struct {\r
                        unsigned long :8;\r
-                       unsigned long DRP:8;\r
+                       unsigned long DRESP:8;\r
                        unsigned long SYNC:8;\r
                        unsigned long ANCE:8;\r
                } BIT;\r
@@ -3392,7 +3100,9 @@ struct st_eptpcs {
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :29;\r
+                       unsigned long :15;\r
+                       unsigned long EXTPRM:1;\r
+                       unsigned long :13;\r
                        unsigned long ENB:1;\r
                        unsigned long PRT:1;\r
                        unsigned long SEL:1;\r
@@ -3446,9 +3156,7 @@ struct st_eptpcs {
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :7;\r
-                       unsigned long TRAN:1;\r
-                       unsigned long :3;\r
+                       unsigned long :11;\r
                        unsigned long TCMOD:1;\r
                        unsigned long :3;\r
                        unsigned long FILDIS:1;\r
@@ -3649,10 +3357,8 @@ struct st_exdmac {
 };\r
 \r
 struct st_exdmac0 {\r
-//     unsigned long  EDMSAR;\r
-//     unsigned long  EDMDAR;\r
        void          *EDMSAR;\r
-       void          *EDMDAR;  \r
+       void          *EDMDAR;\r
        unsigned long  EDMCRA;\r
        unsigned short EDMCRB;\r
        char           wk0[2];\r
@@ -3754,10 +3460,8 @@ struct st_exdmac0 {
 };\r
 \r
 struct st_exdmac1 {\r
-//     unsigned long  EDMSAR;\r
-//     unsigned long  EDMDAR;\r
        void          *EDMSAR;\r
-       void          *EDMDAR;  \r
+       void          *EDMDAR;\r
        unsigned long  EDMCRA;\r
        unsigned short EDMCRB;\r
        char           wk0[2];\r
@@ -3858,20 +3562,191 @@ struct st_exdmac1 {
        } EDMPRF;\r
 };\r
 \r
-struct st_gpt {\r
+struct st_flash {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char FLWE:2;\r
+               } BIT;\r
+       } FWEPROR;\r
+       char           wk0[7806329];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CFAE:1;\r
+                       unsigned char :2;\r
+                       unsigned char CMDLK:1;\r
+                       unsigned char DFAE:1;\r
+                       unsigned char :2;\r
+                       unsigned char ECRCT:1;\r
+               } BIT;\r
+       } FASTAT;\r
+       char           wk1[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CFAEIE:1;\r
+                       unsigned char :2;\r
+                       unsigned char CMDLKIE:1;\r
+                       unsigned char DFAEIE:1;\r
+                       unsigned char :2;\r
+                       unsigned char ECRCTIE:1;\r
+               } BIT;\r
+       } FAEINT;\r
+       char           wk2[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char FRDYIE:1;\r
+               } BIT;\r
+       } FRDYIE;\r
+       char           wk3[23];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long FSADDR:32;\r
+               } BIT;\r
+       } FSADDR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long FEADDR:32;\r
+               } BIT;\r
+       } FEADDR;\r
+       char           wk4[28];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
+                       unsigned short KEY:8;\r
+                       unsigned short :6;\r
+                       unsigned short FRAMTRAN:1;\r
+                       unsigned short FCRME:1;\r
+               } BIT;\r
+       } FCURAME;\r
+       char           wk5[42];\r
+       union {\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char :8;\r
-                       unsigned char :4;\r
-                       unsigned char CST3:1;\r
-                       unsigned char CST2:1;\r
-                       unsigned char CST1:1;\r
-                       unsigned char CST0:1;\r
+                       unsigned long :16;\r
+                       unsigned long FRDY:1;\r
+                       unsigned long ILGLERR:1;\r
+                       unsigned long ERSERR:1;\r
+                       unsigned long PRGERR:1;\r
+                       unsigned long SUSRDY:1;\r
+                       unsigned long DBFULL:1;\r
+                       unsigned long ERSSPD:1;\r
+                       unsigned long PRGSPD:1;\r
+                       unsigned long FCUERR:1;\r
+                       unsigned long FLWEERR:1;\r
+                       unsigned long :4;\r
+                       unsigned long FRDTCT:1;\r
+                       unsigned long FRCRCT:1;\r
+               } BIT;\r
+       } FSTATR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short FENTRYD:1;\r
+                       unsigned short :6;\r
+                       unsigned short FENTRYC:1;\r
+               } BIT;\r
+       } FENTRYR;\r
+       char           wk6[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FPROTCN:1;\r
+               } BIT;\r
+       } FPROTR;\r
+       char           wk7[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short SUINIT:1;\r
+               } BIT;\r
+       } FSUINITR;\r
+       char           wk8[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char FLOCKST:1;\r
+               } BIT;\r
+       } FLKSTAT;\r
+       char           wk9[15];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short CMDR:8;\r
+                       unsigned short PCMDR:8;\r
+               } BIT;\r
+       } FCMDR;\r
+       char           wk10[30];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short PEERRST:8;\r
+               } BIT;\r
+       } FPESTAT;\r
+       char           wk11[14];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char BCDIR:1;\r
+               } BIT;\r
+       } FBCCNT;\r
+       char           wk12[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char BCST:1;\r
+               } BIT;\r
+       } FBCSTAT;\r
+       char           wk13[3];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :13;\r
+                       unsigned long PSADR:19;\r
+               } BIT;\r
+       } FPSADDR;\r
+       char           wk14[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short ESUSPMD:1;\r
+               } BIT;\r
+       } FCPSR;\r
+       char           wk15[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short PCKA:8;\r
+               } BIT;\r
+       } FPCKAR;\r
+};\r
+\r
+struct st_gpt {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :12;\r
+                       unsigned short CST3:1;\r
+                       unsigned short CST2:1;\r
+                       unsigned short CST1:1;\r
+                       unsigned short CST0:1;\r
                } BIT;\r
        } GTSTR;\r
        union {\r
@@ -3894,153 +3769,112 @@ struct st_gpt {
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char CPHW3:2;\r
-                       unsigned char CPHW2:2;\r
-                       unsigned char CPHW1:2;\r
-                       unsigned char CPHW0:2;\r
-                       unsigned char CSHW3:2;\r
-                       unsigned char CSHW2:2;\r
-                       unsigned char CSHW1:2;\r
-                       unsigned char CSHW0:2;\r
+                       unsigned short CPHW3:2;\r
+                       unsigned short CPHW2:2;\r
+                       unsigned short CPHW1:2;\r
+                       unsigned short CPHW0:2;\r
+                       unsigned short CSHW3:2;\r
+                       unsigned short CSHW2:2;\r
+                       unsigned short CSHW1:2;\r
+                       unsigned short CSHW0:2;\r
                } BIT;\r
        } GTHSCR;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char CCSW3:1;\r
-                       unsigned char CCSW2:1;\r
-                       unsigned char CCSW1:1;\r
-                       unsigned char CCSW0:1;\r
-                       unsigned char CCHW3:2;\r
-                       unsigned char CCHW2:2;\r
-                       unsigned char CCHW1:2;\r
-                       unsigned char CCHW0:2;\r
+                       unsigned short :4;\r
+                       unsigned short CCSW3:1;\r
+                       unsigned short CCSW2:1;\r
+                       unsigned short CCSW1:1;\r
+                       unsigned short CCSW0:1;\r
+                       unsigned short CCHW3:2;\r
+                       unsigned short CCHW2:2;\r
+                       unsigned short CCHW1:2;\r
+                       unsigned short CCHW0:2;\r
                } BIT;\r
        } GTHCCR;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char CSHSL3:4;\r
-                       unsigned char CSHSL2:4;\r
-                       unsigned char CSHSL1:4;\r
-                       unsigned char CSHSL0:4;\r
+                       unsigned short CSHSL3:4;\r
+                       unsigned short CSHSL2:4;\r
+                       unsigned short CSHSL1:4;\r
+                       unsigned short CSHSL0:4;\r
                } BIT;\r
        } GTHSSR;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char CSHPL3:4;\r
-                       unsigned char CSHPL2:4;\r
-                       unsigned char CSHPL1:4;\r
-                       unsigned char CSHPL0:4;\r
+                       unsigned short CSHPL3:4;\r
+                       unsigned short CSHPL2:4;\r
+                       unsigned short CSHPL1:4;\r
+                       unsigned short CSHPL0:4;\r
                } BIT;\r
        } GTHPSR;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :8;\r
-                       unsigned char :4;\r
-                       unsigned char WP3:1;\r
-                       unsigned char WP2:1;\r
-                       unsigned char WP1:1;\r
-                       unsigned char WP0:1;\r
+                       unsigned short :12;\r
+                       unsigned short WP3:1;\r
+                       unsigned short WP2:1;\r
+                       unsigned short WP1:1;\r
+                       unsigned short WP0:1;\r
                } BIT;\r
        } GTWP;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char SYNC3:2;\r
-                       unsigned char :2;\r
-                       unsigned char SYNC2:2;\r
-                       unsigned char :2;\r
-                       unsigned char SYNC1:2;\r
-                       unsigned char :2;\r
-                       unsigned char SYNC0:2;\r
+                       unsigned short :2;\r
+                       unsigned short SYNC3:2;\r
+                       unsigned short :2;\r
+                       unsigned short SYNC2:2;\r
+                       unsigned short :2;\r
+                       unsigned short SYNC1:2;\r
+                       unsigned short :2;\r
+                       unsigned short SYNC0:2;\r
                } BIT;\r
        } GTSYNC;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char GTETRGEN:1;\r
-                       unsigned char GTENFCS:2;\r
-                       unsigned char :3;\r
-                       unsigned char ETINF:1;\r
-                       unsigned char ETIPF:1;\r
-                       unsigned char :6;\r
-                       unsigned char ETINEN:1;\r
-                       unsigned char ETIPEN:1;\r
+                       unsigned short GTETRGEN:1;\r
+                       unsigned short GTENFCS:2;\r
+                       unsigned short :11;\r
+                       unsigned short ETINEN:1;\r
+                       unsigned short ETIPEN:1;\r
                } BIT;\r
        } GTETINT;\r
        char           wk0[2];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char BD33:1;\r
-                       unsigned char BD32:1;\r
-                       unsigned char BD31:1;\r
-                       unsigned char BD30:1;\r
-                       unsigned char BD23:1;\r
-                       unsigned char BD22:1;\r
-                       unsigned char BD21:1;\r
-                       unsigned char BD20:1;\r
-                       unsigned char BD13:1;\r
-                       unsigned char BD12:1;\r
-                       unsigned char BD11:1;\r
-                       unsigned char BD10:1;\r
-                       unsigned char BD03:1;\r
-                       unsigned char BD02:1;\r
-                       unsigned char BD01:1;\r
-                       unsigned char BD00:1;\r
+                       unsigned short BD33:1;\r
+                       unsigned short BD32:1;\r
+                       unsigned short BD31:1;\r
+                       unsigned short BD30:1;\r
+                       unsigned short BD23:1;\r
+                       unsigned short BD22:1;\r
+                       unsigned short BD21:1;\r
+                       unsigned short BD20:1;\r
+                       unsigned short BD13:1;\r
+                       unsigned short BD12:1;\r
+                       unsigned short BD11:1;\r
+                       unsigned short BD10:1;\r
+                       unsigned short BD03:1;\r
+                       unsigned short BD02:1;\r
+                       unsigned short BD01:1;\r
+                       unsigned short BD00:1;\r
                } BIT;\r
        } GTBDR;\r
        char           wk1[2];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :8;\r
-                       unsigned char :4;\r
-                       unsigned char SWP3:1;\r
-                       unsigned char SWP2:1;\r
-                       unsigned char SWP1:1;\r
-                       unsigned char SWP0:1;\r
+                       unsigned short :12;\r
+                       unsigned short SWP3:1;\r
+                       unsigned short SWP2:1;\r
+                       unsigned short SWP1:1;\r
+                       unsigned short SWP0:1;\r
                } BIT;\r
        } GTSWP;\r
 };\r
@@ -4049,129 +3883,92 @@ struct st_gpt0 {
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char OBHLD:1;\r
-                       unsigned char OBDFLT:1;\r
-                       unsigned char GTIOB:6;\r
-                       unsigned char OAHLD:1;\r
-                       unsigned char OADFLT:1;\r
-                       unsigned char GTIOA:6;\r
+                       unsigned short OBHLD:1;\r
+                       unsigned short OBDFLT:1;\r
+                       unsigned short GTIOB:6;\r
+                       unsigned short OAHLD:1;\r
+                       unsigned short OADFLT:1;\r
+                       unsigned short GTIOA:6;\r
                } BIT;\r
        } GTIOR;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char ADTRBDEN:1;\r
-                       unsigned char ADTRBUEN:1;\r
-                       unsigned char ADTRADEN:1;\r
-                       unsigned char ADTRAUEN:1;\r
-                       unsigned char EINT:1;\r
-                       unsigned char :3;\r
-                       unsigned char GTINTPR:2;\r
-                       unsigned char GTINTF:1;\r
-                       unsigned char GTINTE:1;\r
-                       unsigned char GTINTD:1;\r
-                       unsigned char GTINTC:1;\r
-                       unsigned char GTINTB:1;\r
-                       unsigned char GTINTA:1;\r
+                       unsigned short ADTRBDEN:1;\r
+                       unsigned short ADTRBUEN:1;\r
+                       unsigned short ADTRADEN:1;\r
+                       unsigned short ADTRAUEN:1;\r
+                       unsigned short EINT:1;\r
+                       unsigned short :3;\r
+                       unsigned short GTINTPR:2;\r
+                       unsigned short GTINTF:1;\r
+                       unsigned short GTINTE:1;\r
+                       unsigned short GTINTD:1;\r
+                       unsigned short GTINTC:1;\r
+                       unsigned short GTINTB:1;\r
+                       unsigned short GTINTA:1;\r
                } BIT;\r
        } GTINTAD;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char CCLR:2;\r
-                       unsigned char :2;\r
-                       unsigned char TPCS:2;\r
-                       unsigned char :5;\r
-                       unsigned char MD:3;\r
+                       unsigned short :2;\r
+                       unsigned short CCLR:2;\r
+                       unsigned short :2;\r
+                       unsigned short TPCS:2;\r
+                       unsigned short :5;\r
+                       unsigned short MD:3;\r
                } BIT;\r
        } GTCR;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ADTDB:1;\r
-                       unsigned char ADTTB:2;\r
-                       unsigned char :1;\r
-                       unsigned char ADTDA:1;\r
-                       unsigned char ADTTA:2;\r
-                       unsigned char :1;\r
-                       unsigned char CCRSWT:1;\r
-                       unsigned char PR:2;\r
-                       unsigned char CCRB:2;\r
-                       unsigned char CCRA:2;\r
+                       unsigned short :1;\r
+                       unsigned short ADTDB:1;\r
+                       unsigned short ADTTB:2;\r
+                       unsigned short :1;\r
+                       unsigned short ADTDA:1;\r
+                       unsigned short ADTTA:2;\r
+                       unsigned short :1;\r
+                       unsigned short CCRSWT:1;\r
+                       unsigned short PR:2;\r
+                       unsigned short CCRB:2;\r
+                       unsigned short CCRA:2;\r
                } BIT;\r
        } GTBER;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :8;\r
-                       unsigned char :6;\r
-                       unsigned char UDF:1;\r
-                       unsigned char UD:1;\r
+                       unsigned short :14;\r
+                       unsigned short UDF:1;\r
+                       unsigned short UD:1;\r
                } BIT;\r
        } GTUDC;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ADTBL:1;\r
-                       unsigned char :1;\r
-                       unsigned char ADTAL:1;\r
-                       unsigned char :1;\r
-                       unsigned char IVTT:3;\r
-                       unsigned char IVTC:2;\r
-                       unsigned char ITLF:1;\r
-                       unsigned char ITLE:1;\r
-                       unsigned char ITLD:1;\r
-                       unsigned char ITLC:1;\r
-                       unsigned char ITLB:1;\r
-                       unsigned char ITLA:1;\r
+                       unsigned short :1;\r
+                       unsigned short ADTBL:1;\r
+                       unsigned short :1;\r
+                       unsigned short ADTAL:1;\r
+                       unsigned short :1;\r
+                       unsigned short IVTT:3;\r
+                       unsigned short IVTC:2;\r
+                       unsigned short ITLF:1;\r
+                       unsigned short ITLE:1;\r
+                       unsigned short ITLD:1;\r
+                       unsigned short ITLC:1;\r
+                       unsigned short ITLB:1;\r
+                       unsigned short ITLA:1;\r
                } BIT;\r
        } GTITC;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char TUCF:1;\r
-                       unsigned char :3;\r
-                       unsigned char DTEF:1;\r
-                       unsigned char ITCNT:3;\r
-                       unsigned char TCFPU:1;\r
-                       unsigned char TCFPO:1;\r
-                       unsigned char TCFF:1;\r
-                       unsigned char TCFE:1;\r
-                       unsigned char TCFD:1;\r
-                       unsigned char TCFC:1;\r
-                       unsigned char TCFB:1;\r
-                       unsigned char TCFA:1;\r
+                       unsigned short TUCF:1;\r
+                       unsigned short :3;\r
+                       unsigned short DTEF:1;\r
+                       unsigned short ITCNT:3;\r
                } BIT;\r
        } GTST;\r
        unsigned short GTCNT;\r
@@ -4317,62 +4114,6 @@ struct st_icu {
        char           wk9[3];\r
        unsigned char  DMRSR7;\r
        char           wk10[227];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR0;\r
-//     char           wk3[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR1;\r
-//     char           wk4[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR2;\r
-//     char           wk5[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR3;\r
-//     char           wk6[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR4;\r
-//     char           wk7[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR5;\r
-//     char           wk8[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR6;\r
-//     char           wk9[3];\r
-//     union {\r
-//             unsigned char BYTE;\r
-//             struct {\r
-//                     unsigned char DMRS:8;\r
-//             } BIT;\r
-//     } DMRSR7;\r
-//     char           wk10[227];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -4464,8 +4205,7 @@ struct st_icu {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ECCRAMCLR:1;\r
+                       unsigned char :2;\r
                        unsigned char LVD2CLR:1;\r
                        unsigned char LVD1CLR:1;\r
                        unsigned char IWDTCLR:1;\r
@@ -4535,44 +4275,7 @@ struct st_icu {
                        unsigned long IS0:1;\r
                } BIT;\r
        } GRPBE0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long IS31:1;\r
-                       unsigned long IS30:1;\r
-                       unsigned long IS29:1;\r
-                       unsigned long IS28:1;\r
-                       unsigned long IS27:1;\r
-                       unsigned long IS26:1;\r
-                       unsigned long IS25:1;\r
-                       unsigned long IS24:1;\r
-                       unsigned long IS23:1;\r
-                       unsigned long IS22:1;\r
-                       unsigned long IS21:1;\r
-                       unsigned long IS20:1;\r
-                       unsigned long IS19:1;\r
-                       unsigned long IS18:1;\r
-                       unsigned long IS17:1;\r
-                       unsigned long IS16:1;\r
-                       unsigned long IS15:1;\r
-                       unsigned long IS14:1;\r
-                       unsigned long IS13:1;\r
-                       unsigned long IS12:1;\r
-                       unsigned long IS11:1;\r
-                       unsigned long IS10:1;\r
-                       unsigned long IS9:1;\r
-                       unsigned long IS8:1;\r
-                       unsigned long IS7:1;\r
-                       unsigned long IS6:1;\r
-                       unsigned long IS5:1;\r
-                       unsigned long IS4:1;\r
-                       unsigned long IS3:1;\r
-                       unsigned long IS2:1;\r
-                       unsigned long IS1:1;\r
-                       unsigned long IS0:1;\r
-               } BIT;\r
-       } GRPBE1;\r
-       char           wk17[40];\r
+       char           wk17[44];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -4685,44 +4388,7 @@ struct st_icu {
                        unsigned long EN0:1;\r
                } BIT;\r
        } GENBE0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long EN31:1;\r
-                       unsigned long EN30:1;\r
-                       unsigned long EN29:1;\r
-                       unsigned long EN28:1;\r
-                       unsigned long EN27:1;\r
-                       unsigned long EN26:1;\r
-                       unsigned long EN25:1;\r
-                       unsigned long EN24:1;\r
-                       unsigned long EN23:1;\r
-                       unsigned long EN22:1;\r
-                       unsigned long EN21:1;\r
-                       unsigned long EN20:1;\r
-                       unsigned long EN19:1;\r
-                       unsigned long EN18:1;\r
-                       unsigned long EN17:1;\r
-                       unsigned long EN16:1;\r
-                       unsigned long EN15:1;\r
-                       unsigned long EN14:1;\r
-                       unsigned long EN13:1;\r
-                       unsigned long EN12:1;\r
-                       unsigned long EN11:1;\r
-                       unsigned long EN10:1;\r
-                       unsigned long EN9:1;\r
-                       unsigned long EN8:1;\r
-                       unsigned long EN7:1;\r
-                       unsigned long EN6:1;\r
-                       unsigned long EN5:1;\r
-                       unsigned long EN4:1;\r
-                       unsigned long EN3:1;\r
-                       unsigned long EN2:1;\r
-                       unsigned long EN1:1;\r
-                       unsigned long EN0:1;\r
-               } BIT;\r
-       } GENBE1;\r
-       char           wk19[40];\r
+       char           wk19[44];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -4834,187 +4500,150 @@ struct st_icu {
                        unsigned long CLR1:1;\r
                        unsigned long CLR0:1;\r
                } BIT;\r
-       } GCREBE0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long CLR31:1;\r
-                       unsigned long CLR30:1;\r
-                       unsigned long CLR29:1;\r
-                       unsigned long CLR28:1;\r
-                       unsigned long CLR27:1;\r
-                       unsigned long CLR26:1;\r
-                       unsigned long CLR25:1;\r
-                       unsigned long CLR24:1;\r
-                       unsigned long CLR23:1;\r
-                       unsigned long CLR22:1;\r
-                       unsigned long CLR21:1;\r
-                       unsigned long CLR20:1;\r
-                       unsigned long CLR19:1;\r
-                       unsigned long CLR18:1;\r
-                       unsigned long CLR17:1;\r
-                       unsigned long CLR16:1;\r
-                       unsigned long CLR15:1;\r
-                       unsigned long CLR14:1;\r
-                       unsigned long CLR13:1;\r
-                       unsigned long CLR12:1;\r
-                       unsigned long CLR11:1;\r
-                       unsigned long CLR10:1;\r
-                       unsigned long CLR9:1;\r
-                       unsigned long CLR8:1;\r
-                       unsigned long CLR7:1;\r
-                       unsigned long CLR6:1;\r
-                       unsigned long CLR5:1;\r
-                       unsigned long CLR4:1;\r
-                       unsigned long CLR3:1;\r
-                       unsigned long CLR2:1;\r
-                       unsigned long CLR1:1;\r
-                       unsigned long CLR0:1;\r
-               } BIT;\r
-       } GCREBE1;\r
-       char           wk21[120];\r
+       } GCRBE0;\r
+       char           wk21[124];\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR0;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR1;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR2;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR3;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR4;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR5;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR6;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR7;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR8;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBR9;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIBRA;\r
        char           wk22[117];\r
        union {\r
@@ -5497,7 +5126,7 @@ struct st_icu {
                        unsigned char SLI:8;\r
                } BIT;\r
        } SLIBR207;\r
-       char           wk23[48];\r
+       char           wk23[96];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -5534,7 +5163,7 @@ struct st_icu {
                        unsigned long IS1:1;\r
                        unsigned long IS0:1;\r
                } BIT;\r
-       } GRPAE0;\r
+       } GRPAL0;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -5571,158 +5200,8 @@ struct st_icu {
                        unsigned long IS1:1;\r
                        unsigned long IS0:1;\r
                } BIT;\r
-       } GRPAE1;\r
-       char           wk24[40];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long IS31:1;\r
-                       unsigned long IS30:1;\r
-                       unsigned long IS29:1;\r
-                       unsigned long IS28:1;\r
-                       unsigned long IS27:1;\r
-                       unsigned long IS26:1;\r
-                       unsigned long IS25:1;\r
-                       unsigned long IS24:1;\r
-                       unsigned long IS23:1;\r
-                       unsigned long IS22:1;\r
-                       unsigned long IS21:1;\r
-                       unsigned long IS20:1;\r
-                       unsigned long IS19:1;\r
-                       unsigned long IS18:1;\r
-                       unsigned long IS17:1;\r
-                       unsigned long IS16:1;\r
-                       unsigned long IS15:1;\r
-                       unsigned long IS14:1;\r
-                       unsigned long IS13:1;\r
-                       unsigned long IS12:1;\r
-                       unsigned long IS11:1;\r
-                       unsigned long IS10:1;\r
-                       unsigned long IS9:1;\r
-                       unsigned long IS8:1;\r
-                       unsigned long IS7:1;\r
-                       unsigned long IS6:1;\r
-                       unsigned long IS5:1;\r
-                       unsigned long IS4:1;\r
-                       unsigned long IS3:1;\r
-                       unsigned long IS2:1;\r
-                       unsigned long IS1:1;\r
-                       unsigned long IS0:1;\r
-               } BIT;\r
-       } GRPAL0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long IS31:1;\r
-                       unsigned long IS30:1;\r
-                       unsigned long IS29:1;\r
-                       unsigned long IS28:1;\r
-                       unsigned long IS27:1;\r
-                       unsigned long IS26:1;\r
-                       unsigned long IS25:1;\r
-                       unsigned long IS24:1;\r
-                       unsigned long IS23:1;\r
-                       unsigned long IS22:1;\r
-                       unsigned long IS21:1;\r
-                       unsigned long IS20:1;\r
-                       unsigned long IS19:1;\r
-                       unsigned long IS18:1;\r
-                       unsigned long IS17:1;\r
-                       unsigned long IS16:1;\r
-                       unsigned long IS15:1;\r
-                       unsigned long IS14:1;\r
-                       unsigned long IS13:1;\r
-                       unsigned long IS12:1;\r
-                       unsigned long IS11:1;\r
-                       unsigned long IS10:1;\r
-                       unsigned long IS9:1;\r
-                       unsigned long IS8:1;\r
-                       unsigned long IS7:1;\r
-                       unsigned long IS6:1;\r
-                       unsigned long IS5:1;\r
-                       unsigned long IS4:1;\r
-                       unsigned long IS3:1;\r
-                       unsigned long IS2:1;\r
-                       unsigned long IS1:1;\r
-                       unsigned long IS0:1;\r
-               } BIT;\r
-       } GRPAL1;\r
-       char           wk25[8];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long EN31:1;\r
-                       unsigned long EN30:1;\r
-                       unsigned long EN29:1;\r
-                       unsigned long EN28:1;\r
-                       unsigned long EN27:1;\r
-                       unsigned long EN26:1;\r
-                       unsigned long EN25:1;\r
-                       unsigned long EN24:1;\r
-                       unsigned long EN23:1;\r
-                       unsigned long EN22:1;\r
-                       unsigned long EN21:1;\r
-                       unsigned long EN20:1;\r
-                       unsigned long EN19:1;\r
-                       unsigned long EN18:1;\r
-                       unsigned long EN17:1;\r
-                       unsigned long EN16:1;\r
-                       unsigned long EN15:1;\r
-                       unsigned long EN14:1;\r
-                       unsigned long EN13:1;\r
-                       unsigned long EN12:1;\r
-                       unsigned long EN11:1;\r
-                       unsigned long EN10:1;\r
-                       unsigned long EN9:1;\r
-                       unsigned long EN8:1;\r
-                       unsigned long EN7:1;\r
-                       unsigned long EN6:1;\r
-                       unsigned long EN5:1;\r
-                       unsigned long EN4:1;\r
-                       unsigned long EN3:1;\r
-                       unsigned long EN2:1;\r
-                       unsigned long EN1:1;\r
-                       unsigned long EN0:1;\r
-               } BIT;\r
-       } GENAE0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long EN31:1;\r
-                       unsigned long EN30:1;\r
-                       unsigned long EN29:1;\r
-                       unsigned long EN28:1;\r
-                       unsigned long EN27:1;\r
-                       unsigned long EN26:1;\r
-                       unsigned long EN25:1;\r
-                       unsigned long EN24:1;\r
-                       unsigned long EN23:1;\r
-                       unsigned long EN22:1;\r
-                       unsigned long EN21:1;\r
-                       unsigned long EN20:1;\r
-                       unsigned long EN19:1;\r
-                       unsigned long EN18:1;\r
-                       unsigned long EN17:1;\r
-                       unsigned long EN16:1;\r
-                       unsigned long EN15:1;\r
-                       unsigned long EN14:1;\r
-                       unsigned long EN13:1;\r
-                       unsigned long EN12:1;\r
-                       unsigned long EN11:1;\r
-                       unsigned long EN10:1;\r
-                       unsigned long EN9:1;\r
-                       unsigned long EN8:1;\r
-                       unsigned long EN7:1;\r
-                       unsigned long EN6:1;\r
-                       unsigned long EN5:1;\r
-                       unsigned long EN4:1;\r
-                       unsigned long EN3:1;\r
-                       unsigned long EN2:1;\r
-                       unsigned long EN1:1;\r
-                       unsigned long EN0:1;\r
-               } BIT;\r
-       } GENAE1;\r
-       char           wk26[40];\r
+       } GRPAL1;\r
+       char           wk24[56];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -5797,239 +5276,164 @@ struct st_icu {
                        unsigned long EN0:1;\r
                } BIT;\r
        } GENAL1;\r
-       char           wk27[8];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long CLR31:1;\r
-                       unsigned long CLR30:1;\r
-                       unsigned long CLR29:1;\r
-                       unsigned long CLR28:1;\r
-                       unsigned long CLR27:1;\r
-                       unsigned long CLR26:1;\r
-                       unsigned long CLR25:1;\r
-                       unsigned long CLR24:1;\r
-                       unsigned long CLR23:1;\r
-                       unsigned long CLR22:1;\r
-                       unsigned long CLR21:1;\r
-                       unsigned long CLR20:1;\r
-                       unsigned long CLR19:1;\r
-                       unsigned long CLR18:1;\r
-                       unsigned long CLR17:1;\r
-                       unsigned long CLR16:1;\r
-                       unsigned long CLR15:1;\r
-                       unsigned long CLR14:1;\r
-                       unsigned long CLR13:1;\r
-                       unsigned long CLR12:1;\r
-                       unsigned long CLR11:1;\r
-                       unsigned long CLR10:1;\r
-                       unsigned long CLR9:1;\r
-                       unsigned long CLR8:1;\r
-                       unsigned long CLR7:1;\r
-                       unsigned long CLR6:1;\r
-                       unsigned long CLR5:1;\r
-                       unsigned long CLR4:1;\r
-                       unsigned long CLR3:1;\r
-                       unsigned long CLR2:1;\r
-                       unsigned long CLR1:1;\r
-                       unsigned long CLR0:1;\r
-               } BIT;\r
-       } GCREAE0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long CLR31:1;\r
-                       unsigned long CLR30:1;\r
-                       unsigned long CLR29:1;\r
-                       unsigned long CLR28:1;\r
-                       unsigned long CLR27:1;\r
-                       unsigned long CLR26:1;\r
-                       unsigned long CLR25:1;\r
-                       unsigned long CLR24:1;\r
-                       unsigned long CLR23:1;\r
-                       unsigned long CLR22:1;\r
-                       unsigned long CLR21:1;\r
-                       unsigned long CLR20:1;\r
-                       unsigned long CLR19:1;\r
-                       unsigned long CLR18:1;\r
-                       unsigned long CLR17:1;\r
-                       unsigned long CLR16:1;\r
-                       unsigned long CLR15:1;\r
-                       unsigned long CLR14:1;\r
-                       unsigned long CLR13:1;\r
-                       unsigned long CLR12:1;\r
-                       unsigned long CLR11:1;\r
-                       unsigned long CLR10:1;\r
-                       unsigned long CLR9:1;\r
-                       unsigned long CLR8:1;\r
-                       unsigned long CLR7:1;\r
-                       unsigned long CLR6:1;\r
-                       unsigned long CLR5:1;\r
-                       unsigned long CLR4:1;\r
-                       unsigned long CLR3:1;\r
-                       unsigned long CLR2:1;\r
-                       unsigned long CLR1:1;\r
-                       unsigned long CLR0:1;\r
-               } BIT;\r
-       } GCREAE1;\r
-       char           wk28[120];\r
+       char           wk25[136];\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR0;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR1;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR2;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR3;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR4;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR5;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR6;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR7;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR8;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIAR9;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIARA;\r
        union {\r
                unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIR7:1;\r
-                       unsigned char PIR6:1;\r
-                       unsigned char PIR5:1;\r
-                       unsigned char PIR4:1;\r
-                       unsigned char PIR3:1;\r
-                       unsigned char PIR2:1;\r
-                       unsigned char PIR1:1;\r
-                       unsigned char PIR0:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned char PIR7:1;\r
+//                     unsigned char PIR6:1;\r
+//                     unsigned char PIR5:1;\r
+//                     unsigned char PIR4:1;\r
+//                     unsigned char PIR3:1;\r
+//                     unsigned char PIR2:1;\r
+//                     unsigned char PIR1:1;\r
+//                     unsigned char PIR0:1;\r
+//             } BIT;\r
        } PIARB;\r
-       char           wk29[196];\r
+       char           wk26[196];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -6373,7 +5777,7 @@ struct st_iwdt {
        } IWDTCSTPR;\r
 };\r
 \r
-struct st_mmc {\r
+struct st_mmcif {\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -6425,7 +5829,7 @@ struct st_mmc {
                unsigned long LONG;\r
                struct {\r
                        unsigned long BLKCNT:16;\r
-                       unsigned long BLKSZ:16;\r
+                       unsigned long BLKSIZ:16;\r
                } BIT;\r
        } CEBLOCKSET;\r
        union {\r
@@ -6437,7 +5841,7 @@ struct st_mmc {
                        unsigned long :4;\r
                        unsigned long CLKDIV:4;\r
                        unsigned long :2;\r
-                       unsigned long SRSTPO:2;\r
+                       unsigned long SRSPTO:2;\r
                        unsigned long SRBSYTO:4;\r
                        unsigned long SRWDTO:4;\r
                } BIT;\r
@@ -6475,39 +5879,40 @@ struct st_mmc {
                struct {\r
                        unsigned long SBTCLKDIV:4;\r
                        unsigned long SBTACKTO:4;\r
-                       unsigned long S1STBTDATTO:4;\r
+                       unsigned long SFSTBTDATTO:4;\r
                        unsigned long SBTDATTO:4;\r
                } BIT;\r
        } CEBOOT;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :5;\r
-                       unsigned long CMD12DRE:1;\r
-                       unsigned long CMD12RBE:1;\r
-                       unsigned long CMD12CRE:1;\r
-                       unsigned long DTRANE:1;\r
-                       unsigned long BUFRE:1;\r
-                       unsigned long BUFWEN:1;\r
-                       unsigned long BUFREN:1;\r
-                       unsigned long :2;\r
-                       unsigned long RBSYE:1;\r
-                       unsigned long CRSPE:1;\r
-                       unsigned long CMDVIO:1;\r
-                       unsigned long BUFVIO:1;\r
-                       unsigned long :2;\r
-                       unsigned long WDATERR:1;\r
-                       unsigned long RDATERR:1;\r
-                       unsigned long RIDXERR:1;\r
-                       unsigned long RSPERR:1;\r
-                       unsigned long :3;\r
-                       unsigned long CRCSTO:1;\r
-                       unsigned long WDATTO:1;\r
-                       unsigned long RDATTO:1;\r
-                       unsigned long RBSYTO:1;\r
-                       unsigned long RSPTO:1;\r
-               } BIT;\r
-       } CEINT;\r
+//     union {\r
+//             unsigned long LONG;\r
+//             struct {\r
+//                     unsigned long :5;\r
+//                     unsigned long CMD12DRE:1;\r
+//                     unsigned long CMD12RBE:1;\r
+//                     unsigned long CMD12CRE:1;\r
+//                     unsigned long DTRANE:1;\r
+//                     unsigned long BUFRE:1;\r
+//                     unsigned long BUFWEN:1;\r
+//                     unsigned long BUFREN:1;\r
+//                     unsigned long :2;\r
+//                     unsigned long RBSYE:1;\r
+//                     unsigned long CRSPE:1;\r
+//                     unsigned long CMDVIO:1;\r
+//                     unsigned long BUFVIO:1;\r
+//                     unsigned long :2;\r
+//                     unsigned long WDATERR:1;\r
+//                     unsigned long RDATERR:1;\r
+//                     unsigned long RIDXERR:1;\r
+//                     unsigned long RSPERR:1;\r
+//                     unsigned long :3;\r
+//                     unsigned long CRCSTO:1;\r
+//                     unsigned long WDATTO:1;\r
+//                     unsigned long RDATTO:1;\r
+//                     unsigned long RBSYTO:1;\r
+//                     unsigned long RSPTO:1;\r
+//             } BIT;\r
+//     } CEINT;\r
+               unsigned long CEINT;\r
        union {\r
                unsigned long LONG;\r
                struct {\r
@@ -6573,7 +5978,7 @@ struct st_mmc {
                        unsigned long AC12RSPTO:1;\r
                        unsigned long STRSPTO:1;\r
                        unsigned long BTACKTO:1;\r
-                       unsigned long STBTDATTO:1;\r
+                       unsigned long FSTBTDATTO:1;\r
                        unsigned long BTDATTO:1;\r
                } BIT;\r
        } CEHOSTSTS2;\r
@@ -6678,7 +6083,7 @@ struct st_mpc {
                        unsigned char DH32E:1;\r
                        unsigned char DHE:1;\r
                        unsigned char BCLKO:1;\r
-                       unsigned char :1;\r
+                       unsigned char ADRHMS2:1;\r
                        unsigned char ADRHMS:1;\r
                        unsigned char ADRLE:1;\r
                } BIT;\r
@@ -6742,7 +6147,6 @@ struct st_mpc {
                struct {\r
                        unsigned char ASEL:1;\r
                        unsigned char ISEL:1;\r
-                       unsigned char PSEL:6;\r
                } BIT;\r
        } P03PFS;\r
        char           wk4[1];\r
@@ -6751,14 +6155,13 @@ struct st_mpc {
                struct {\r
                        unsigned char ASEL:1;\r
                        unsigned char ISEL:1;\r
-                       unsigned char PSEL:6;\r
                } BIT;\r
        } P05PFS;\r
        char           wk5[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char ASEL:1;\r
+                       unsigned char :1;\r
                        unsigned char ISEL:1;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
@@ -6846,48 +6249,42 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P22PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P23PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P24PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P25PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P26PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P27PFS;\r
@@ -6991,24 +6388,21 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P50PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P51PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P52PFS;\r
@@ -7016,8 +6410,7 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P54PFS;\r
@@ -7032,8 +6425,7 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P56PFS;\r
@@ -7041,25 +6433,15 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P60PFS;\r
+       char           wk9[5];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char PSEL:6;\r
-               } BIT;\r
-       } P61PFS;\r
-       char           wk9[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P66PFS;\r
@@ -7071,13 +6453,7 @@ struct st_mpc {
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P67PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:6;\r
-               } BIT;\r
-       } P70PFS;\r
+       char           wk10[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -7155,7 +6531,7 @@ struct st_mpc {
                        unsigned char PSEL:6;\r
                } BIT;\r
        } P83PFS;\r
-       char           wk10[2];\r
+       char           wk11[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -7237,8 +6613,7 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PA0PFS;\r
@@ -7253,8 +6628,7 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PA2PFS;\r
@@ -7277,24 +6651,21 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PA5PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PA6PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PA7PFS;\r
@@ -7317,48 +6688,42 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PB2PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PB3PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PB4PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PB5PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PB6PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PB7PFS;\r
@@ -7381,32 +6746,28 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PC2PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PC3PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PC4PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PC5PFS;\r
@@ -7494,7 +6855,7 @@ struct st_mpc {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PE0PFS;\r
@@ -7502,7 +6863,7 @@ struct st_mpc {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PE1PFS;\r
@@ -7518,7 +6879,7 @@ struct st_mpc {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PE3PFS;\r
@@ -7526,7 +6887,7 @@ struct st_mpc {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PE4PFS;\r
@@ -7557,37 +6918,33 @@ struct st_mpc {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PF0PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PF1PFS;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PF2PFS;\r
-       char           wk11[2];\r
+       char           wk12[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
+                       unsigned char :2;\r
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PF5PFS;\r
-       char           wk12[2];\r
+       char           wk13[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -7644,7 +7001,7 @@ struct st_mpc {
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PG7PFS;\r
-       char           wk13[11];\r
+       char           wk14[11];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -7652,7 +7009,7 @@ struct st_mpc {
                        unsigned char PSEL:6;\r
                } BIT;\r
        } PJ3PFS;\r
-       char           wk14[1];\r
+       char           wk15[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -7802,8 +7159,8 @@ struct st_mpu {
                struct {\r
                        unsigned long :29;\r
                        unsigned long DRW:1;\r
-                       unsigned long DA:1;\r
-                       unsigned long IA:1;\r
+                       unsigned long DMPER:1;\r
+                       unsigned long IMPER:1;\r
                } BIT;\r
        } MPESTS;\r
        char           wk1[4];\r
@@ -8268,23 +7625,13 @@ struct st_mtu0 {
                        unsigned char TGIEA:1;\r
                } BIT;\r
        } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
+       char           wk2[1];\r
        unsigned short TCNT;\r
        unsigned short TGRA;\r
        unsigned short TGRB;\r
        unsigned short TGRC;\r
        unsigned short TGRD;\r
-       char           wk2[16];\r
+       char           wk3[16];\r
        unsigned short TGRE;\r
        unsigned short TGRF;\r
        union {\r
@@ -8296,14 +7643,7 @@ struct st_mtu0 {
                        unsigned char TGIEE:1;\r
                } BIT;\r
        } TIER2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TGFF:1;\r
-                       unsigned char TGFE:1;\r
-               } BIT;\r
-       } TSR2;\r
+       char           wk4[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8313,7 +7653,7 @@ struct st_mtu0 {
                        unsigned char TTSA:1;\r
                } BIT;\r
        } TBTM;\r
-       char           wk3[1];\r
+       char           wk5[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8377,12 +7717,6 @@ struct st_mtu1 {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TCFD:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCFU:1;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char :2;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
                } BIT;\r
        } TSR;\r
        unsigned short TCNT;\r
@@ -8475,12 +7809,6 @@ struct st_mtu2 {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TCFD:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCFU:1;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char :2;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
                } BIT;\r
        } TSR;\r
        unsigned short TCNT;\r
@@ -8556,12 +7884,6 @@ struct st_mtu3 {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TCFD:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
                } BIT;\r
        } TSR;\r
        char           wk7[11];\r
@@ -8659,12 +7981,6 @@ struct st_mtu4 {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TCFD:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
                } BIT;\r
        } TSR;\r
        char           wk8[11];\r
@@ -8735,7 +8051,7 @@ struct st_mtu5 {
                        unsigned char NFUEN:1;\r
                } BIT;\r
        } NFCR5;\r
-       char           wk1[2538];\r
+       char           wk1[490];\r
        unsigned short TCNTU;\r
        unsigned short TGRU;\r
        union {\r
@@ -8810,17 +8126,7 @@ struct st_mtu5 {
                        unsigned char IOC:5;\r
                } BIT;\r
        } TIORW;\r
-       char           wk4[9];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char CMFU5:1;\r
-                       unsigned char CMFV5:1;\r
-                       unsigned char CMFW5:1;\r
-               } BIT;\r
-       } TSR;\r
-       char           wk5[1];\r
+       char           wk4[11];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8830,7 +8136,7 @@ struct st_mtu5 {
                        unsigned char TGIE5W:1;\r
                } BIT;\r
        } TIER;\r
-       char           wk6[1];\r
+       char           wk5[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8840,7 +8146,7 @@ struct st_mtu5 {
                        unsigned char CSTW5:1;\r
                } BIT;\r
        } TSTR;\r
-       char           wk7[1];\r
+       char           wk6[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8853,19 +8159,6 @@ struct st_mtu5 {
 };\r
 \r
 struct st_mtu6 {\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFCS:2;\r
-                       unsigned char NFDEN:1;\r
-                       unsigned char NFCEN:1;\r
-                       unsigned char NFBEN:1;\r
-                       unsigned char NFAEN:1;\r
-               } BIT;\r
-       } NFCR6;\r
-       char           wk1[1884];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8874,7 +8167,7 @@ struct st_mtu6 {
                        unsigned char TPSC:3;\r
                } BIT;\r
        } TCR;\r
-       char           wk2[1];\r
+       char           wk0[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8884,7 +8177,7 @@ struct st_mtu6 {
                        unsigned char MD:4;\r
                } BIT;\r
        } TMDR1;\r
-       char           wk3[1];\r
+       char           wk1[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8899,7 +8192,7 @@ struct st_mtu6 {
                        unsigned char IOC:4;\r
                } BIT;\r
        } TIORL;\r
-       char           wk4[2];\r
+       char           wk2[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8912,28 +8205,22 @@ struct st_mtu6 {
                        unsigned char TGIEA:1;\r
                } BIT;\r
        } TIER;\r
-       char           wk5[7];\r
+       char           wk3[7];\r
        unsigned short TCNT;\r
-       char           wk6[6];\r
+       char           wk4[6];\r
        unsigned short TGRA;\r
        unsigned short TGRB;\r
-       char           wk7[8];\r
+       char           wk5[8];\r
        unsigned short TGRC;\r
        unsigned short TGRD;\r
-       char           wk8[4];\r
+       char           wk6[4];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TCFD:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
                } BIT;\r
        } TSR;\r
-       char           wk9[11];\r
+       char           wk7[11];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8942,7 +8229,7 @@ struct st_mtu6 {
                        unsigned char TTSA:1;\r
                } BIT;\r
        } TBTM;\r
-       char           wk10[19];\r
+       char           wk8[19];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8950,7 +8237,7 @@ struct st_mtu6 {
                        unsigned char TPSC2:3;\r
                } BIT;\r
        } TCR2;\r
-       char           wk11[3];\r
+       char           wk9[3];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8964,11 +8251,9 @@ struct st_mtu6 {
                        unsigned char CE2B:1;\r
                } BIT;\r
        } TSYCR;\r
-       char           wk12[33];\r
+       char           wk10[33];\r
        unsigned short TGRE;\r
-};\r
-\r
-struct st_mtu7 {\r
+       char           wk11[31];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -8979,8 +8264,11 @@ struct st_mtu7 {
                        unsigned char NFBEN:1;\r
                        unsigned char NFAEN:1;\r
                } BIT;\r
-       } NFCR7;\r
-       char           wk0[1884];\r
+       } NFCR6;\r
+};\r
+\r
+struct st_mtu7 {\r
+       char           wk0[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -9041,12 +8329,6 @@ struct st_mtu7 {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TCFD:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
                } BIT;\r
        } TSR;\r
        char           wk8[11];\r
@@ -9090,9 +8372,7 @@ struct st_mtu7 {
        char           wk12[38];\r
        unsigned short TGRE;\r
        unsigned short TGRF;\r
-};\r
-\r
-struct st_mtu8 {\r
+       char           wk13[28];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -9103,11 +8383,25 @@ struct st_mtu8 {
                        unsigned char NFBEN:1;\r
                        unsigned char NFAEN:1;\r
                } BIT;\r
-       } NFCR8;\r
-       char           wk0[871];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
+       } NFCR7;\r
+};\r
+\r
+struct st_mtu8 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFCS:2;\r
+                       unsigned char NFDEN:1;\r
+                       unsigned char NFCEN:1;\r
+                       unsigned char NFBEN:1;\r
+                       unsigned char NFAEN:1;\r
+               } BIT;\r
+       } NFCR8;\r
+       char           wk0[871];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
                        unsigned char CCLR:3;\r
                        unsigned char CKEG:2;\r
                        unsigned char TPSC:3;\r
@@ -9139,8 +8433,7 @@ struct st_mtu8 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :2;\r
-                       unsigned char TCIEU:1;\r
+                       unsigned char :3;\r
                        unsigned char TCIEV:1;\r
                        unsigned char TGIED:1;\r
                        unsigned char TGIEC:1;\r
@@ -9148,26 +8441,15 @@ struct st_mtu8 {
                        unsigned char TGIEA:1;\r
                } BIT;\r
        } TIER;\r
+       char           wk1[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :3;\r
-                       unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PCB:2;\r
+                       unsigned char :5;\r
                        unsigned char TPSC2:3;\r
                } BIT;\r
        } TCR2;\r
-       char           wk1[1];\r
+       char           wk2[1];\r
        unsigned long  TCNT;\r
        unsigned long  TGRA;\r
        unsigned long  TGRB;\r
@@ -9225,40 +8507,6 @@ struct st_pdc {
        } PCMONR;\r
        union {\r
                unsigned long LONG;\r
-               struct {\r
-                       unsigned long B31:1;\r
-                       unsigned long B30:1;\r
-                       unsigned long B29:1;\r
-                       unsigned long B28:1;\r
-                       unsigned long B27:1;\r
-                       unsigned long B26:1;\r
-                       unsigned long B25:1;\r
-                       unsigned long B24:1;\r
-                       unsigned long B23:1;\r
-                       unsigned long B22:1;\r
-                       unsigned long B21:1;\r
-                       unsigned long B20:1;\r
-                       unsigned long B19:1;\r
-                       unsigned long B18:1;\r
-                       unsigned long B17:1;\r
-                       unsigned long B16:1;\r
-                       unsigned long B15:1;\r
-                       unsigned long B14:1;\r
-                       unsigned long B13:1;\r
-                       unsigned long B12:1;\r
-                       unsigned long B11:1;\r
-                       unsigned long B10:1;\r
-                       unsigned long B9:1;\r
-                       unsigned long B8:1;\r
-                       unsigned long B7:1;\r
-                       unsigned long B6:1;\r
-                       unsigned long B5:1;\r
-                       unsigned long B4:1;\r
-                       unsigned long B3:1;\r
-                       unsigned long B2:1;\r
-                       unsigned long B1:1;\r
-                       unsigned long B0:1;\r
-               } BIT;\r
        } PCDR;\r
        union {\r
                unsigned long LONG;\r
@@ -9284,73 +8532,53 @@ struct st_poe {
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char POE0F:1;\r
-                       unsigned char :3;\r
-                       unsigned char PIE1:1;\r
-                       unsigned char :6;\r
-                       unsigned char POE0M:2;\r
+                       unsigned short :3;\r
+                       unsigned short POE0F:1;\r
+                       unsigned short :3;\r
+                       unsigned short PIE1:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE0M:2;\r
                } BIT;\r
        } ICSR1;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char OSF1:1;\r
-                       unsigned char :5;\r
-                       unsigned char OCE1:1;\r
-                       unsigned char OIE1:1;\r
+                       unsigned short OSF1:1;\r
+                       unsigned short :5;\r
+                       unsigned short OCE1:1;\r
+                       unsigned short OIE1:1;\r
                } BIT;\r
        } OCSR1;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char POE4F:1;\r
-                       unsigned char :3;\r
-                       unsigned char PIE2:1;\r
-                       unsigned char :6;\r
-                       unsigned char POE4M:2;\r
+                       unsigned short :3;\r
+                       unsigned short POE4F:1;\r
+                       unsigned short :3;\r
+                       unsigned short PIE2:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE4M:2;\r
                } BIT;\r
        } ICSR2;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char OSF2:1;\r
-                       unsigned char :5;\r
-                       unsigned char OCE2:1;\r
-                       unsigned char OIE2:1;\r
+                       unsigned short OSF2:1;\r
+                       unsigned short :5;\r
+                       unsigned short OCE2:1;\r
+                       unsigned short OIE2:1;\r
                } BIT;\r
        } OCSR2;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char POE8F:1;\r
-                       unsigned char :2;\r
-                       unsigned char POE8E:1;\r
-                       unsigned char PIE3:1;\r
-                       unsigned char :6;\r
-                       unsigned char POE8M:2;\r
+                       unsigned short :3;\r
+                       unsigned short POE8F:1;\r
+                       unsigned short :2;\r
+                       unsigned short POE8E:1;\r
+                       unsigned short PIE3:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE8M:2;\r
                } BIT;\r
        } ICSR3;\r
        union {\r
@@ -9431,77 +8659,61 @@ struct st_poe {
                        unsigned short :3;\r
                        unsigned short IC4ADDGPT23ZE:1;\r
                        unsigned short IC3ADDGPT23ZE:1;\r
-                       unsigned short IC2ADDGPT23Z:1;\r
+                       unsigned short IC2ADDGPT23ZE:1;\r
                        unsigned short IC1ADDGPT23ZE:1;\r
                        unsigned short :3;\r
                        unsigned short IC5ADDGPT01ZE:1;\r
                        unsigned short :1;\r
                        unsigned short IC3ADDGPT01ZE:1;\r
-                       unsigned short IC2ADDGPT01Z:1;\r
+                       unsigned short IC2ADDGPT01ZE:1;\r
                        unsigned short IC1ADDGPT01ZE:1;\r
                } BIT;\r
        } POECR6;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char POE10F:1;\r
-                       unsigned char :2;\r
-                       unsigned char POE10E:1;\r
-                       unsigned char PIE4:1;\r
-                       unsigned char :6;\r
-                       unsigned char POE10M:2;\r
+                       unsigned short :3;\r
+                       unsigned short POE10F:1;\r
+                       unsigned short :2;\r
+                       unsigned short POE10E:1;\r
+                       unsigned short PIE4:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE10M:2;\r
                } BIT;\r
        } ICSR4;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char POE11F:1;\r
-                       unsigned char :2;\r
-                       unsigned char POE11E:1;\r
-                       unsigned char PIE5:1;\r
-                       unsigned char :6;\r
-                       unsigned char POE11M:2;\r
+                       unsigned short :3;\r
+                       unsigned short POE11F:1;\r
+                       unsigned short :2;\r
+                       unsigned short POE11E:1;\r
+                       unsigned short PIE5:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE11M:2;\r
                } BIT;\r
        } ICSR5;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :8;\r
-                       unsigned char OLSEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char OLSG2B:1;\r
-                       unsigned char OLSG2A:1;\r
-                       unsigned char OLSG1B:1;\r
-                       unsigned char OLSG1A:1;\r
-                       unsigned char OLSG0B:1;\r
-                       unsigned char OLSG0A:1;\r
+                       unsigned short :8;\r
+                       unsigned short OLSEN:1;\r
+                       unsigned short :1;\r
+                       unsigned short OLSG2B:1;\r
+                       unsigned short OLSG2A:1;\r
+                       unsigned short OLSG1B:1;\r
+                       unsigned short OLSG1A:1;\r
+                       unsigned short OLSG0B:1;\r
+                       unsigned short OLSG0A:1;\r
                } BIT;\r
        } ALR1;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char OSTSTF:1;\r
-                       unsigned char :2;\r
-                       unsigned char OSTSTE:1;\r
+                       unsigned short :3;\r
+                       unsigned short OSTSTF:1;\r
+                       unsigned short :2;\r
+                       unsigned short OSTSTE:1;\r
                } BIT;\r
        } ICSR6;\r
        char           wk0[2];\r
@@ -9574,7 +8786,7 @@ struct st_poe {
                        unsigned char :5;\r
                        unsigned char M4G2SEL:1;\r
                        unsigned char M4G1SEL:1;\r
-                       unsigned char M4G0SEL:1;\r
+                       unsigned char M3G0SEL:1;\r
                } BIT;\r
        } MGSELR;\r
 };\r
@@ -9937,7 +9149,7 @@ struct st_port3 {
                struct {\r
                        unsigned char B7:1;\r
                        unsigned char B6:1;\r
-                       unsigned char B5:1;\r
+                       unsigned char :1;\r
                        unsigned char B4:1;\r
                        unsigned char B3:1;\r
                        unsigned char B2:1;\r
@@ -9966,9 +9178,7 @@ struct st_port3 {
                        unsigned char B6:1;\r
                        unsigned char :1;\r
                        unsigned char B4:1;\r
-                       unsigned char :1;\r
-                       unsigned char B2:1;\r
-                       unsigned char :1;\r
+                       unsigned char :3;\r
                        unsigned char B0:1;\r
                } BIT;\r
        } ODR1;\r
@@ -9978,7 +9188,7 @@ struct st_port3 {
                struct {\r
                        unsigned char B7:1;\r
                        unsigned char B6:1;\r
-                       unsigned char B5:1;\r
+                       unsigned char :1;\r
                        unsigned char B4:1;\r
                        unsigned char B3:1;\r
                        unsigned char B2:1;\r
@@ -10469,10 +9679,6 @@ struct st_port8 {
                        unsigned char B6:1;\r
                        unsigned char :1;\r
                        unsigned char B4:1;\r
-                       unsigned char :1;\r
-                       unsigned char B2:1;\r
-                       unsigned char :1;\r
-                       unsigned char B0:1;\r
                } BIT;\r
        } ODR1;\r
        char           wk4[54];\r
@@ -11687,115 +10893,274 @@ struct st_ppg1 {
        } NDRL2;\r
 };\r
 \r
-struct st_qspi {\r
+struct st_ptpedmac {\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char SPRIE:1;\r
-                       unsigned char SPE:1;\r
-                       unsigned char SPTIE:1;\r
-                       unsigned char :3;\r
-                       unsigned char SPSSLIE:1;\r
+                       unsigned long :25;\r
+                       unsigned long DE:1;\r
+                       unsigned long DL:2;\r
+                       unsigned long :3;\r
+                       unsigned long SWR:1;\r
                } BIT;\r
-       } SPCR;\r
+       } EDMR;\r
+       char           wk0[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char :7;\r
-                       unsigned char SSLP:1;\r
+                       unsigned long :31;\r
+                       unsigned long TR:1;\r
                } BIT;\r
-       } SSLP;\r
+       } EDTRR;\r
+       char           wk1[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char :2;\r
-                       unsigned char MOIFE:1;\r
-                       unsigned char MOIFV:1;\r
-                       unsigned char :1;\r
-                       unsigned char IO3FV:1;\r
-                       unsigned char IO2FV:1;\r
-                       unsigned char SPLP:1;\r
+                       unsigned long :31;\r
+                       unsigned long RR:1;\r
                } BIT;\r
-       } SPPCR;\r
+       } EDRRR;\r
+       char           wk2[4];\r
+       unsigned long  TDLAR;\r
+       char           wk3[4];\r
+       unsigned long  RDLAR;\r
+       char           wk4[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char SPRFF:1;\r
-                       unsigned char TREND:1;\r
-                       unsigned char SPTEF:1;\r
-                       unsigned char SPSSLF:1;\r
+                       unsigned long :1;\r
+                       unsigned long TWB:1;\r
+                       unsigned long :3;\r
+                       unsigned long TABT:1;\r
+                       unsigned long :1;\r
+                       unsigned long RFCOF:1;\r
+                       unsigned long ADE:1;\r
+                       unsigned long :1;\r
+                       unsigned long TC:1;\r
+                       unsigned long TDE:1;\r
+                       unsigned long TFUF:1;\r
+                       unsigned long FR:1;\r
+                       unsigned long RDE:1;\r
+                       unsigned long RFOF:1;\r
+                       unsigned long :7;\r
+                       unsigned long MACE:1;\r
+                       unsigned long RPORT:1;\r
+                       unsigned long :2;\r
+                       unsigned long PVER:1;\r
+                       unsigned long TYPE:4;\r
                } BIT;\r
-       } SPSR;\r
+       } EESR;\r
+       char           wk5[4];\r
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long SPD31:1;\r
-                       unsigned long SPD30:1;\r
-                       unsigned long SPD29:1;\r
-                       unsigned long SPD28:1;\r
-                       unsigned long SPD27:1;\r
-                       unsigned long SPD26:1;\r
-                       unsigned long SPD25:1;\r
-                       unsigned long SPD24:1;\r
-                       unsigned long SPD23:1;\r
-                       unsigned long SPD22:1;\r
-                       unsigned long SPD21:1;\r
-                       unsigned long SPD20:1;\r
-                       unsigned long SPD19:1;\r
-                       unsigned long SPD18:1;\r
-                       unsigned long SPD17:1;\r
-                       unsigned long SPD16:1;\r
-                       unsigned long SPD15:1;\r
-                       unsigned long SPD14:1;\r
-                       unsigned long SPD13:1;\r
-                       unsigned long SPD12:1;\r
-                       unsigned long SPD11:1;\r
-                       unsigned long SPD10:1;\r
-                       unsigned long SPD9:1;\r
-                       unsigned long SPD8:1;\r
-                       unsigned long SPD7:1;\r
-                       unsigned long SPD6:1;\r
-                       unsigned long SPD5:1;\r
-                       unsigned long SPD4:1;\r
-                       unsigned long SPD3:1;\r
-                       unsigned long SPD2:1;\r
-                       unsigned long SPD1:1;\r
-                       unsigned long SPD0:1;\r
+                       unsigned long :1;\r
+                       unsigned long TWBIP:1;\r
+                       unsigned long :3;\r
+                       unsigned long TABTIP:1;\r
+                       unsigned long :1;\r
+                       unsigned long RFCOFIP:1;\r
+                       unsigned long ADEIP:1;\r
+                       unsigned long :1;\r
+                       unsigned long TCIP:1;\r
+                       unsigned long TDEIP:1;\r
+                       unsigned long TFUFIP:1;\r
+                       unsigned long FRIP:1;\r
+                       unsigned long RDEIP:1;\r
+                       unsigned long RFOFIP:1;\r
+                       unsigned long :7;\r
+                       unsigned long MACEIP:1;\r
+                       unsigned long RPORTIP:1;\r
+                       unsigned long :2;\r
+                       unsigned long PVERIP:1;\r
                } BIT;\r
-       } SPDR;\r
+       } EESIPR;\r
+       char           wk6[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char :6;\r
-                       unsigned char SPSC:2;\r
+                       unsigned long :24;\r
+                       unsigned long RPORTCE:1;\r
+                       unsigned long :2;\r
+                       unsigned long PVERCE:1;\r
+                       unsigned long TYPECE:4;\r
                } BIT;\r
-       } SPSCR;\r
+       } TRSCER;\r
+       char           wk7[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char :6;\r
-                       unsigned char SPSS:2;\r
+                       unsigned long :16;\r
+                       unsigned long MFC:16;\r
                } BIT;\r
-       } SPSSR;\r
+       } RMFCR;\r
+       char           wk8[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char SPBR7:1;\r
-                       unsigned char SPBR6:1;\r
-                       unsigned char SPBR5:1;\r
-                       unsigned char SPBR4:1;\r
-                       unsigned char SPBR3:1;\r
-                       unsigned char SPBR2:1;\r
-                       unsigned char SPBR1:1;\r
-                       unsigned char SPBR0:1;\r
+                       unsigned long :21;\r
+                       unsigned long TFT:11;\r
                } BIT;\r
-       } SPBR;\r
+       } TFTR;\r
+       char           wk9[4];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char TXDMY:1;\r
-               } BIT;\r
-       } SPDCR;\r
+                       unsigned long :19;\r
+                       unsigned long TFD:5;\r
+                       unsigned long :3;\r
+                       unsigned long RFD:5;\r
+               } BIT;\r
+       } FDR;\r
+       char           wk10[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :31;\r
+                       unsigned long RNR:1;\r
+               } BIT;\r
+       } RMCR;\r
+       char           wk11[8];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long UNDER:16;\r
+               } BIT;\r
+       } TFUCR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long OVER:16;\r
+               } BIT;\r
+       } RFOCR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :31;\r
+                       unsigned long ELB:1;\r
+               } BIT;\r
+       } IOSR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :13;\r
+                       unsigned long RFFO:3;\r
+                       unsigned long :13;\r
+                       unsigned long RFDO:3;\r
+               } BIT;\r
+       } FCFTR;\r
+       char           wk12[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :14;\r
+                       unsigned long PADS:2;\r
+                       unsigned long :10;\r
+                       unsigned long PADR:6;\r
+               } BIT;\r
+       } RPADIR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :27;\r
+                       unsigned long TIM:1;\r
+                       unsigned long :3;\r
+                       unsigned long TIS:1;\r
+               } BIT;\r
+       } TRIMD;\r
+       char           wk13[72];\r
+       unsigned long  RBWAR;\r
+       unsigned long  RDFAR;\r
+       char           wk14[4];\r
+       unsigned long  TBRAR;\r
+       unsigned long  TDFAR;\r
+};\r
+\r
+struct st_qspi {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SPRIE:1;\r
+                       unsigned char SPE:1;\r
+                       unsigned char SPTIE:1;\r
+                       unsigned char :1;\r
+                       unsigned char SPMST:1;\r
+                       unsigned char :1;\r
+                       unsigned char SPSSLIE:1;\r
+               } BIT;\r
+       } SPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SSLP:1;\r
+               } BIT;\r
+       } SSLP;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char MOIFE:1;\r
+                       unsigned char MOIFV:1;\r
+                       unsigned char :1;\r
+                       unsigned char IO3FV:1;\r
+                       unsigned char IO2FV:1;\r
+                       unsigned char SPLP:1;\r
+               } BIT;\r
+       } SPPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SPRFF:1;\r
+                       unsigned char TREND:1;\r
+                       unsigned char SPTEF:1;\r
+                       unsigned char SPSSLF:1;\r
+               } BIT;\r
+       } SPSR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+               } BYTE;\r
+       } SPDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char SPSC:2;\r
+               } BIT;\r
+       } SPSCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char SPSS:2;\r
+               } BIT;\r
+       } SPSSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SPBR7:1;\r
+                       unsigned char SPBR6:1;\r
+                       unsigned char SPBR5:1;\r
+                       unsigned char SPBR4:1;\r
+                       unsigned char SPBR3:1;\r
+                       unsigned char SPBR2:1;\r
+                       unsigned char SPBR1:1;\r
+                       unsigned char SPBR0:1;\r
+               } BIT;\r
+       } SPBR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TXDMY:1;\r
+               } BIT;\r
+       } SPDCR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -11902,21 +11267,13 @@ struct st_qspi {
                        unsigned short RXBC:6;\r
                } BIT;\r
        } SPBDCR;\r
-       union {\r
-               unsigned long LONG;\r
-       } SPBMUL0;\r
-       union {\r
-               unsigned long LONG;\r
-       } SPBMUL1;\r
-       union {\r
-               unsigned long LONG;\r
-       } SPBMUL2;\r
-       union {\r
-               unsigned long LONG;\r
-       } SPBMUL3;\r
+       unsigned long SPBMUL0;\r
+       unsigned long SPBMUL1;\r
+       unsigned long SPBMUL2;\r
+       unsigned long SPBMUL3;\r
 };\r
 \r
-struct st_riic0 {\r
+struct st_riic {\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -12102,260 +11459,74 @@ struct st_riic0 {
        unsigned char  ICDRR;\r
 };\r
 \r
-struct st_riic2 {\r
+struct st_rspi {\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char ICE:1;\r
-                       unsigned char IICRST:1;\r
-                       unsigned char CLO:1;\r
-                       unsigned char SOWP:1;\r
-                       unsigned char SCLO:1;\r
-                       unsigned char SDAO:1;\r
-                       unsigned char SCLI:1;\r
-                       unsigned char SDAI:1;\r
+                       unsigned char SPRIE:1;\r
+                       unsigned char SPE:1;\r
+                       unsigned char SPTIE:1;\r
+                       unsigned char SPEIE:1;\r
+                       unsigned char MSTR:1;\r
+                       unsigned char MODFEN:1;\r
+                       unsigned char TXMD:1;\r
+                       unsigned char SPMS:1;\r
                } BIT;\r
-       } ICCR1;\r
+       } SPCR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char BBSY:1;\r
-                       unsigned char MST:1;\r
-                       unsigned char TRS:1;\r
-                       unsigned char :1;\r
-                       unsigned char SP:1;\r
-                       unsigned char RS:1;\r
-                       unsigned char ST:1;\r
+                       unsigned char :4;\r
+                       unsigned char SSL3P:1;\r
+                       unsigned char SSL2P:1;\r
+                       unsigned char SSL1P:1;\r
+                       unsigned char SSL0P:1;\r
                } BIT;\r
-       } ICCR2;\r
+       } SSLP;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char MTWP:1;\r
-                       unsigned char CKS:3;\r
-                       unsigned char BCWP:1;\r
-                       unsigned char BC:3;\r
+                       unsigned char :2;\r
+                       unsigned char MOIFE:1;\r
+                       unsigned char MOIFV:1;\r
+                       unsigned char :2;\r
+                       unsigned char SPLP2:1;\r
+                       unsigned char SPLP:1;\r
                } BIT;\r
-       } ICMR1;\r
+       } SPPCR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char DLCS:1;\r
-                       unsigned char SDDL:3;\r
-                       unsigned char :1;\r
-                       unsigned char TMOH:1;\r
-                       unsigned char TMOL:1;\r
-                       unsigned char TMOS:1;\r
+                       unsigned char :4;\r
+                       unsigned char PERF:1;\r
+                       unsigned char MODF:1;\r
+                       unsigned char IDLNF:1;\r
+                       unsigned char OVRF:1;\r
                } BIT;\r
-       } ICMR2;\r
+       } SPSR;\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned char SMBS:1;\r
-                       unsigned char WAIT:1;\r
-                       unsigned char RDRFS:1;\r
-                       unsigned char ACKWP:1;\r
-                       unsigned char ACKBT:1;\r
-                       unsigned char ACKBR:1;\r
-                       unsigned char NF:2;\r
-               } BIT;\r
-       } ICMR3;\r
+                       unsigned short H;\r
+               } WORD;\r
+       } SPDR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char :1;\r
-                       unsigned char SCLE:1;\r
-                       unsigned char NFE:1;\r
-                       unsigned char NACKE:1;\r
-                       unsigned char SALE:1;\r
-                       unsigned char NALE:1;\r
-                       unsigned char MALE:1;\r
-                       unsigned char TMOE:1;\r
+                       unsigned char :5;\r
+                       unsigned char SPSLN:3;\r
                } BIT;\r
-       } ICFER;\r
+       } SPSCR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char HOAE:1;\r
                        unsigned char :1;\r
-                       unsigned char DIDE:1;\r
+                       unsigned char SPECM:3;\r
                        unsigned char :1;\r
-                       unsigned char GCAE:1;\r
-                       unsigned char SAR2E:1;\r
-                       unsigned char SAR1E:1;\r
-                       unsigned char SAR0E:1;\r
+                       unsigned char SPCP:3;\r
                } BIT;\r
-       } ICSER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TIE:1;\r
-                       unsigned char TEIE:1;\r
-                       unsigned char RIE:1;\r
-                       unsigned char NAKIE:1;\r
-                       unsigned char SPIE:1;\r
-                       unsigned char STIE:1;\r
-                       unsigned char ALIE:1;\r
-                       unsigned char TMOIE:1;\r
-               } BIT;\r
-       } ICIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char HOA:1;\r
-                       unsigned char :1;\r
-                       unsigned char DID:1;\r
-                       unsigned char :1;\r
-                       unsigned char GCA:1;\r
-                       unsigned char AAS2:1;\r
-                       unsigned char AAS1:1;\r
-                       unsigned char AAS0:1;\r
-               } BIT;\r
-       } ICSR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TDRE:1;\r
-                       unsigned char TEND:1;\r
-                       unsigned char RDRF:1;\r
-                       unsigned char NACKF:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char START:1;\r
-                       unsigned char AL:1;\r
-                       unsigned char TMOF:1;\r
-               } BIT;\r
-       } ICSR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SVA:7;\r
-                       unsigned char SVA0:1;\r
-               } BIT;\r
-       } SARL0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SVA:2;\r
-                       unsigned char FS:1;\r
-               } BIT;\r
-       } SARU0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SVA:7;\r
-                       unsigned char SVA0:1;\r
-               } BIT;\r
-       } SARL1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SVA:2;\r
-                       unsigned char FS:1;\r
-               } BIT;\r
-       } SARU1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SVA:7;\r
-                       unsigned char SVA0:1;\r
-               } BIT;\r
-       } SARL2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SVA:2;\r
-                       unsigned char FS:1;\r
-               } BIT;\r
-       } SARU2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char BRL:5;\r
-               } BIT;\r
-       } ICBRL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char BRH:5;\r
-               } BIT;\r
-       } ICBRH;\r
-       unsigned char  ICDRT;\r
-       unsigned char  ICDRR;\r
-};\r
-\r
-struct st_rspi0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SPRIE:1;\r
-                       unsigned char SPE:1;\r
-                       unsigned char SPTIE:1;\r
-                       unsigned char SPEIE:1;\r
-                       unsigned char MSTR:1;\r
-                       unsigned char MODFEN:1;\r
-                       unsigned char TXMD:1;\r
-                       unsigned char SPMS:1;\r
-               } BIT;\r
-       } SPCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char SSL3P:1;\r
-                       unsigned char SSL2P:1;\r
-                       unsigned char SSL1P:1;\r
-                       unsigned char SSL0P:1;\r
-               } BIT;\r
-       } SSLP;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char MOIFE:1;\r
-                       unsigned char MOIFV:1;\r
-                       unsigned char :2;\r
-                       unsigned char SPLP2:1;\r
-                       unsigned char SPLP:1;\r
-               } BIT;\r
-       } SPPCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PERF:1;\r
-                       unsigned char MODF:1;\r
-                       unsigned char IDLNF:1;\r
-                       unsigned char OVRF:1;\r
-               } BIT;\r
-       } SPSR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-               } WORD;\r
-       } SPDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SPSLN:3;\r
-               } BIT;\r
-       } SPSCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SPECM:3;\r
-                       unsigned char :1;\r
-                       unsigned char SPCP:3;\r
-               } BIT;\r
-       } SPSSR;\r
-       unsigned char SPBR;\r
+       } SPSSR;\r
+       unsigned char SPBR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -12390,7 +11561,7 @@ struct st_rspi0 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char SPTDDL:3;\r
+                       unsigned char :3;\r
                        unsigned char SCKASE:1;\r
                        unsigned char PTE:1;\r
                        unsigned char SPIIE:1;\r
@@ -12536,40 +11707,72 @@ struct st_rtc {
        } R64CNT;\r
        char           wk0[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SEC10:3;\r
-                       unsigned char SEC1:4;\r
-               } BIT;\r
-       } RSECCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char SEC10:3;\r
+                               unsigned char SEC1:4;\r
+                       } BIT;\r
+               } RSECCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNT:8;\r
+                       } BIT;\r
+               } BCNT0;\r
+       };\r
        char           wk1[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char MIN10:3;\r
-                       unsigned char MIN1:4;\r
-               } BIT;\r
-       } RMINCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char MIN10:3;\r
+                               unsigned char MIN1:4;\r
+                       } BIT;\r
+               } RMINCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNT:8;\r
+                       } BIT;\r
+               } BCNT1;\r
+       };\r
        char           wk2[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PM:1;\r
-                       unsigned char HR10:2;\r
-                       unsigned char HR1:4;\r
-               } BIT;\r
-       } RHRCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char PM:1;\r
+                               unsigned char HR10:2;\r
+                               unsigned char HR1:4;\r
+                       } BIT;\r
+               } RHRCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNT:8;\r
+                       } BIT;\r
+               } BCNT2;\r
+       };\r
        char           wk3[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char DAYW:3;\r
-               } BIT;\r
-       } RWKCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :5;\r
+                               unsigned char DAYW:3;\r
+                       } BIT;\r
+               } RWKCNT;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNT:8;\r
+                       } BIT;\r
+               } BCNT3;\r
+       };\r
        char           wk4[1];\r
        union {\r
                unsigned char BYTE;\r
@@ -12598,76 +11801,141 @@ struct st_rtc {
                } BIT;\r
        } RYRCNT;\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-                       unsigned char SEC10:3;\r
-                       unsigned char SEC1:4;\r
-               } BIT;\r
-       } RSECAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                               unsigned char SEC10:3;\r
+                               unsigned char SEC1:4;\r
+                       } BIT;\r
+               } RSECAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNTAR:8;\r
+                       } BIT;\r
+               } BCNT0AR;\r
+       };\r
        char           wk7[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-                       unsigned char MIN10:3;\r
-                       unsigned char MIN1:4;\r
-               } BIT;\r
-       } RMINAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                               unsigned char MIN10:3;\r
+                               unsigned char MIN1:4;\r
+                       } BIT;\r
+               } RMINAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNTAR:8;\r
+                       } BIT;\r
+               } BCNT1AR;\r
+       };\r
        char           wk8[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char HR10:2;\r
-                       unsigned char HR1:4;\r
-               } BIT;\r
-       } RHRAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                               unsigned char PM:1;\r
+                               unsigned char HR10:2;\r
+                               unsigned char HR1:4;\r
+                       } BIT;\r
+               } RHRAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNTAR:8;\r
+                       } BIT;\r
+               } BCNT2AR;\r
+       };\r
        char           wk9[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-                       unsigned char :4;\r
-                       unsigned char DAYW:3;\r
-               } BIT;\r
-       } RWKAR;\r
-       char           wk10[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:2;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                               unsigned char :4;\r
+                               unsigned char DAYW:3;\r
+                       } BIT;\r
+               } RWKAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNTAR:8;\r
+                       } BIT;\r
+               } BCNT3AR;\r
+       };\r
+       char           wk10[1];\r
+       union {\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                               unsigned char :1;\r
+                               unsigned char DATE10:2;\r
+                               unsigned char DATE1:4;\r
+                       } BIT;\r
+               } RDAYAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:8;\r
+                       } BIT;\r
+               } BCNT0AER;\r
+       };\r
        char           wk11[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-                       unsigned char :2;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                               unsigned char :2;\r
+                               unsigned char MON10:1;\r
+                               unsigned char MON1:4;\r
+                       } BIT;\r
+               } RMONAR;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:8;\r
+                       } BIT;\r
+               } BCNT1AER;\r
+       };\r
        char           wk12[1];\r
        union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short YR10:4;\r
-                       unsigned short YR1:4;\r
-               } BIT;\r
-       } RYRAR;\r
+               union {\r
+                       unsigned short WORD;\r
+                       struct {\r
+                               unsigned short :8;\r
+                               unsigned short YR10:4;\r
+                               unsigned short YR1:4;\r
+                       } BIT;\r
+               } RYRAR;\r
+               union {\r
+                       unsigned short WORD;\r
+                       struct {\r
+                               unsigned short :8;\r
+                               unsigned short ENB:8;\r
+                       } BIT;\r
+               } BCNT2AER;\r
+       };\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-               } BIT;\r
-       } RYRAREN;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:1;\r
+                       } BIT;\r
+               } RYRAREN;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char ENB:8;\r
+                       } BIT;\r
+               } BCNT3AER;\r
+       };\r
        char           wk13[3];\r
        union {\r
                unsigned char BYTE;\r
@@ -12769,41 +12037,73 @@ struct st_rtc {
        } RTCCR2;\r
        char           wk21[13];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SEC10:3;\r
-                       unsigned char SEC1:4;\r
-               } BIT;\r
-       } RSECCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char SEC10:3;\r
+                               unsigned char SEC1:4;\r
+                       } BIT;\r
+               } RSECCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP0:8;\r
+                       } BIT;\r
+               } BCNT0CP0;\r
+       };\r
        char           wk22[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char MIN10:3;\r
-                       unsigned char MIN1:4;\r
-               } BIT;\r
-       } RMINCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char MIN10:3;\r
+                               unsigned char MIN1:4;\r
+                       } BIT;\r
+               } RMINCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP0:8;\r
+                       } BIT;\r
+               } BCNT1CP0;\r
+       };\r
        char           wk23[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PM:1;\r
-                       unsigned char HR10:2;\r
-                       unsigned char HR1:4;\r
-               } BIT;\r
-       } RHRCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char PM:1;\r
+                               unsigned char HR10:2;\r
+                               unsigned char HR1:4;\r
+                       } BIT;\r
+               } RHRCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP0:8;\r
+                       } BIT;\r
+               } BCNT2CP0;\r
+       };\r
        char           wk24[3];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char DATE10:2;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :2;\r
+                               unsigned char DATE10:2;\r
+                               unsigned char DATE1:4;\r
+                       } BIT;\r
+               } RDAYCP0;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP0:8;\r
+                       } BIT;\r
+               } BCNT3CP0;\r
+       };\r
        char           wk25[1];\r
        union {\r
                unsigned char BYTE;\r
@@ -12815,41 +12115,73 @@ struct st_rtc {
        } RMONCP0;\r
        char           wk26[5];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SEC10:3;\r
-                       unsigned char SEC1:4;\r
-               } BIT;\r
-       } RSECCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char SEC10:3;\r
+                               unsigned char SEC1:4;\r
+                       } BIT;\r
+               } RSECCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP1:8;\r
+                       } BIT;\r
+               } BCNT0CP1;\r
+       };\r
        char           wk27[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char MIN10:3;\r
-                       unsigned char MIN1:4;\r
-               } BIT;\r
-       } RMINCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char MIN10:3;\r
+                               unsigned char MIN1:4;\r
+                       } BIT;\r
+               } RMINCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP1:8;\r
+                       } BIT;\r
+               } BCNT1CP1;\r
+       };\r
        char           wk28[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PM:1;\r
-                       unsigned char HR10:2;\r
-                       unsigned char HR1:4;\r
-               } BIT;\r
-       } RHRCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char PM:1;\r
+                               unsigned char HR10:2;\r
+                               unsigned char HR1:4;\r
+                       } BIT;\r
+               } RHRCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP1:8;\r
+                       } BIT;\r
+               } BCNT2CP1;\r
+       };\r
        char           wk29[3];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char DATE10:2;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :2;\r
+                               unsigned char DATE10:2;\r
+                               unsigned char DATE1:4;\r
+                       } BIT;\r
+               } RDAYCP1;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP1:8;\r
+                       } BIT;\r
+               } BCNT3CP1;\r
+       };\r
        char           wk30[1];\r
        union {\r
                unsigned char BYTE;\r
@@ -12861,41 +12193,73 @@ struct st_rtc {
        } RMONCP1;\r
        char           wk31[5];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SEC10:3;\r
-                       unsigned char SEC1:4;\r
-               } BIT;\r
-       } RSECCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char SEC10:3;\r
+                               unsigned char SEC1:4;\r
+                       } BIT;\r
+               } RSECCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP2:8;\r
+                       } BIT;\r
+               } BCNT0CP2;\r
+       };\r
        char           wk32[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char MIN10:3;\r
-                       unsigned char MIN1:4;\r
-               } BIT;\r
-       } RMINCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char MIN10:3;\r
+                               unsigned char MIN1:4;\r
+                       } BIT;\r
+               } RMINCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP2:8;\r
+                       } BIT;\r
+               } BCNT1CP2;\r
+       };\r
        char           wk33[1];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PM:1;\r
-                       unsigned char HR10:2;\r
-                       unsigned char HR1:4;\r
-               } BIT;\r
-       } RHRCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :1;\r
+                               unsigned char PM:1;\r
+                               unsigned char HR10:2;\r
+                               unsigned char HR1:4;\r
+                       } BIT;\r
+               } RHRCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP2:8;\r
+                       } BIT;\r
+               } BCNT2CP2;\r
+       };\r
        char           wk34[3];\r
        union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char DATE10:2;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char :2;\r
+                               unsigned char DATE10:2;\r
+                               unsigned char DATE1:4;\r
+                       } BIT;\r
+               } RDAYCP2;\r
+               union {\r
+                       unsigned char BYTE;\r
+                       struct {\r
+                               unsigned char BCNCP2:8;\r
+                       } BIT;\r
+               } BCNT3CP2;\r
+       };\r
        char           wk35[1];\r
        union {\r
                unsigned char BYTE;\r
@@ -12907,244 +12271,60 @@ struct st_rtc {
        } RMONCP2;\r
 };\r
 \r
-struct st_rtcb {\r
+struct st_s12ad {\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned short WORD;\r
                struct {\r
-                       unsigned char BCNT:8;\r
+                       unsigned short ADST:1;\r
+                       unsigned short ADCS:2;\r
+                       unsigned short ADIE:1;\r
+                       unsigned short :2;\r
+                       unsigned short TRGE:1;\r
+                       unsigned short EXTRG:1;\r
+                       unsigned short DBLE:1;\r
+                       unsigned short GBADIE:1;\r
+                       unsigned short :1;\r
+                       unsigned short DBLANS:5;\r
                } BIT;\r
-       } BCNT0;\r
-       char           wk0[1];\r
+       } ADCSR;\r
+       char           wk0[2];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned short WORD;\r
                struct {\r
-                       unsigned char BCNT:8;\r
+                       unsigned short ANSA0:16;\r
                } BIT;\r
-       } BCNT1;\r
-       char           wk1[1];\r
+       } ADANSA0;\r
+       char           wk1[2];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned short WORD;\r
                struct {\r
-                       unsigned char BCNT:8;\r
+                       unsigned short ADS0:16;\r
                } BIT;\r
-       } BCNT2;\r
-       char           wk2[1];\r
+       } ADADS0;\r
+       char           wk2[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char BCNT:8;\r
+                       unsigned char AVEE:1;\r
+                       unsigned char :5;\r
+                       unsigned char ADC:2;\r
                } BIT;\r
-       } BCNT3;\r
-       char           wk3[7];\r
+       } ADADC;\r
+       char           wk3[1];\r
        union {\r
-               unsigned char BYTE;\r
+               unsigned short WORD;\r
                struct {\r
-                       unsigned char BCNTAR:8;\r
+                       unsigned short ADRFMT:1;\r
+                       unsigned short :3;\r
+                       unsigned short DIAGM:1;\r
+                       unsigned short DIAGLD:1;\r
+                       unsigned short DIAGVAL:2;\r
+                       unsigned short :2;\r
+                       unsigned short ACE:1;\r
+                       unsigned short :2;\r
+                       unsigned short ADPRC:2;\r
                } BIT;\r
-       } BCNT0AR;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNTAR:8;\r
-               } BIT;\r
-       } BCNT1AR;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNTAR:8;\r
-               } BIT;\r
-       } BCNT2AR;\r
-       char           wk6[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNTAR:8;\r
-               } BIT;\r
-       } BCNT3AR;\r
-       char           wk7[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:8;\r
-               } BIT;\r
-       } BCNT0AER;\r
-       char           wk8[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:8;\r
-               } BIT;\r
-       } BCNT1AER;\r
-       char           wk9[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short ENB:8;\r
-               } BIT;\r
-       } BCNT2AER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ENB:8;\r
-               } BIT;\r
-       } BCNT3AER;\r
-       char           wk10[5];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CNTMD:1;\r
-                       unsigned char :1;\r
-                       unsigned char AADJP:1;\r
-                       unsigned char AADJE:1;\r
-                       unsigned char RTCOE:1;\r
-                       unsigned char :1;\r
-                       unsigned char RESET:1;\r
-                       unsigned char START:1;\r
-               } BIT;\r
-       } BRCR2;\r
-       char           wk11[45];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP0:8;\r
-               } BIT;\r
-       } BCNT0CP0;\r
-       char           wk12[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP0:8;\r
-               } BIT;\r
-       } BCNT1CP0;\r
-       char           wk13[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP0:8;\r
-               } BIT;\r
-       } BCNT2CP0;\r
-       char           wk14[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP0:8;\r
-               } BIT;\r
-       } BCNT3CP0;\r
-       char           wk15[7];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP1:8;\r
-               } BIT;\r
-       } BCNT0CP1;\r
-       char           wk16[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP1:8;\r
-               } BIT;\r
-       } BCNT1CP1;\r
-       char           wk17[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP1:8;\r
-               } BIT;\r
-       } BCNT2CP1;\r
-       char           wk18[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP1:8;\r
-               } BIT;\r
-       } BCNT3CP1;\r
-       char           wk19[7];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP2:8;\r
-               } BIT;\r
-       } BCNT0CP2;\r
-       char           wk20[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP2:8;\r
-               } BIT;\r
-       } BCNT1CP2;\r
-       char           wk21[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP2:8;\r
-               } BIT;\r
-       } BCNT2CP2;\r
-       char           wk22[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCNCP2:8;\r
-               } BIT;\r
-       } BCNT3CP2;\r
-};\r
-\r
-struct st_s12ad {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADST:1;\r
-                       unsigned short ADCS:2;\r
-                       unsigned short ADIE:1;\r
-                       unsigned short :2;\r
-                       unsigned short TRGE:1;\r
-                       unsigned short EXTRG:1;\r
-                       unsigned short DBLE:1;\r
-                       unsigned short GBADIE:1;\r
-                       unsigned short :1;\r
-                       unsigned short DBLANS:5;\r
-               } BIT;\r
-       } ADCSR;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ANSA0:16;\r
-               } BIT;\r
-       } ADANSA0;\r
-       char           wk1[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADS0:16;\r
-               } BIT;\r
-       } ADADS0;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char AVEE:1;\r
-                       unsigned char :5;\r
-                       unsigned char ADC:2;\r
-               } BIT;\r
-       } ADADC;\r
-       char           wk3[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADRFMT:1;\r
-                       unsigned short :3;\r
-                       unsigned short DIAGM:1;\r
-                       unsigned short DIAGLD:1;\r
-                       unsigned short DIAGVAL:2;\r
-                       unsigned short :2;\r
-                       unsigned short ACE:1;\r
-                       unsigned short :2;\r
-                       unsigned short ADPRC:2;\r
-               } BIT;\r
-       } ADCER;\r
+       } ADCER;\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13154,26 +12334,14 @@ struct st_s12ad {
                        unsigned short TRSB:6;\r
                } BIT;\r
        } ADSTRGR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short EXOEN:1;\r
-                       unsigned short EXSEL:2;\r
-                       unsigned short :3;\r
-                       unsigned short OCS:1;\r
-                       unsigned short TSS:1;\r
-                       unsigned short :6;\r
-                       unsigned short OCSAD:1;\r
-                       unsigned short TSSAD:1;\r
-               } BIT;\r
-       } ADEXICR;\r
+       char           wk4[2];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
                        unsigned short ANSB0:16;\r
                } BIT;\r
        } ADANSB0;\r
-       char           wk4[2];\r
+       char           wk5[2];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13181,7 +12349,7 @@ struct st_s12ad {
                        unsigned short AD:12;\r
                } BIT;\r
        } ADDBLDR;\r
-       char           wk5[4];\r
+       char           wk6[4];\r
        union {\r
                unsigned short WORD;\r
                union {\r
@@ -13205,10 +12373,10 @@ struct st_s12ad {
        unsigned short ADDR5;\r
        unsigned short ADDR6;\r
        unsigned short ADDR7;\r
-       char           wk6[48];\r
+       char           wk7[48];\r
        unsigned char  ADSSTR0;\r
        unsigned char  ADSSTRL;\r
-       char           wk7[4];\r
+       char           wk8[4];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13217,7 +12385,7 @@ struct st_s12ad {
                        unsigned short SSTSH:8;\r
                } BIT;\r
        } ADSHCR;\r
-       char           wk8[11];\r
+       char           wk9[11];\r
        unsigned char  ADSSTR1;\r
        unsigned char  ADSSTR2;\r
        unsigned char  ADSSTR3;\r
@@ -13232,7 +12400,7 @@ struct st_s12ad {
                        unsigned char ADNDIS:5;\r
                } BIT;\r
        } ADDISCR;\r
-       char           wk9[5];\r
+       char           wk10[5];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13242,10 +12410,10 @@ struct st_s12ad {
                        unsigned short PGS:1;\r
                } BIT;\r
        } ADGSPCR;\r
-       char           wk10[2];\r
+       char           wk11[2];\r
        unsigned short ADDBLDRA;\r
        unsigned short ADDBLDRB;\r
-       char           wk11[8];\r
+       char           wk12[8];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -13253,21 +12421,21 @@ struct st_s12ad {
                        unsigned char WCMPE:1;\r
                } BIT;\r
        } ADCMPCR;\r
-       char           wk12[3];\r
+       char           wk13[3];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
                        unsigned short CMPS0:16;\r
                } BIT;\r
        } ADCMPANSR0;\r
-       char           wk13[2];\r
+       char           wk14[2];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
                        unsigned short CMPL0:16;\r
                } BIT;\r
        } ADCMPLR0;\r
-       char           wk14[2];\r
+       char           wk15[2];\r
        unsigned short ADCMPDR0;\r
        unsigned short ADCMPDR1;\r
        union {\r
@@ -13279,6 +12447,22 @@ struct st_s12ad {
 };\r
 \r
 struct st_s12ad1 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADST:1;\r
+                       unsigned short ADCS:2;\r
+                       unsigned short ADIE:1;\r
+                       unsigned short :2;\r
+                       unsigned short TRGE:1;\r
+                       unsigned short EXTRG:1;\r
+                       unsigned short DBLE:1;\r
+                       unsigned short GBADIE:1;\r
+                       unsigned short :1;\r
+                       unsigned short DBLANS:5;\r
+               } BIT;\r
+       } ADCSR;\r
+       char           wk0[2];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13313,7 +12497,7 @@ struct st_s12ad1 {
                        unsigned char ADC:2;\r
                } BIT;\r
        } ADADC;\r
-       char           wk0[1];\r
+       char           wk1[1];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13342,9 +12526,11 @@ struct st_s12ad1 {
                struct {\r
                        unsigned short EXOEN:1;\r
                        unsigned short EXSEL:2;\r
-                       unsigned short :3;\r
-                       unsigned short OCS:1;\r
-                       unsigned short TSS:1;\r
+                       unsigned short :1;\r
+                       unsigned short OCSB:1;\r
+                       unsigned short TSSB:1;\r
+                       unsigned short OCSA:1;\r
+                       unsigned short TSSA:1;\r
                        unsigned short :6;\r
                        unsigned short OCSAD:1;\r
                        unsigned short TSSAD:1;\r
@@ -13402,13 +12588,13 @@ struct st_s12ad1 {
        unsigned short ADDR18;\r
        unsigned short ADDR19;\r
        unsigned short ADDR20;\r
-       char           wk1[22];\r
+       char           wk2[22];\r
        unsigned char  ADSSTR0;\r
        unsigned char  ADSSTRL;\r
-       char           wk2[14];\r
+       char           wk3[14];\r
        unsigned char  ADSSTRT;\r
        unsigned char  ADSSTRO;\r
-       char           wk3[1];\r
+       char           wk4[1];\r
        unsigned char  ADSSTR1;\r
        unsigned char  ADSSTR2;\r
        unsigned char  ADSSTR3;\r
@@ -13423,7 +12609,7 @@ struct st_s12ad1 {
                        unsigned char ADNDIS:5;\r
                } BIT;\r
        } ADDISCR;\r
-       char           wk4[5];\r
+       char           wk5[5];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13433,10 +12619,10 @@ struct st_s12ad1 {
                        unsigned short PGS:1;\r
                } BIT;\r
        } ADGSPCR;\r
-       char           wk5[2];\r
+       char           wk6[2];\r
        unsigned short ADDBLDRA;\r
        unsigned short ADDBLDRB;\r
-       char           wk6[8];\r
+       char           wk7[8];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -13444,7 +12630,7 @@ struct st_s12ad1 {
                        unsigned char WCMPE:1;\r
                } BIT;\r
        } ADCMPCR;\r
-       char           wk7[1];\r
+       char           wk8[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -13633,10 +12819,20 @@ struct st_sci0 {
                        unsigned char SSE:1;\r
                } BIT;\r
        } SPMR;\r
-       unsigned char  TDRH;\r
-       unsigned char  TDRL;\r
-       unsigned char  RDRH;\r
-       unsigned char  RDRL;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char TDRH;\r
+                       unsigned char TDRL;\r
+               } BYTE;\r
+       } TDRHL;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char RDRH;\r
+                       unsigned char RDRL;\r
+               } BYTE;\r
+       } RDRHL;\r
        unsigned char  MDDR;\r
 };\r
 \r
@@ -13761,10 +12957,20 @@ struct st_sci12 {
                        unsigned char SSE:1;\r
                } BIT;\r
        } SPMR;\r
-       unsigned char  TDRH;\r
-       unsigned char  TDRL;\r
-       unsigned char  RDRH;\r
-       unsigned char  RDRL;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char TDRH;\r
+                       unsigned char TDRL;\r
+               } BYTE;\r
+       } TDRHL;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char RDRH;\r
+                       unsigned char RDRL;\r
+               } BYTE;\r
+       } RDRHL;\r
        unsigned char  MDDR;\r
        char           wk0[13];\r
        union {\r
@@ -13907,11 +13113,7 @@ struct st_sci12 {
        unsigned char  TCNT;\r
 };\r
 \r
-//struct st_scia {\r
-//     unsigned char  MDDR;\r
-//};\r
-\r
-struct st_scif {\r
+struct st_scifa {\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -13928,7 +13130,7 @@ struct st_scif {
 //     unsigned char  BRR;\r
        union {\r
                unsigned char  BRR;\r
-               unsigned char  MDDR;    \r
+               unsigned char  MDDR;\r
        };\r
        char           wk0[1];\r
        union {\r
@@ -14013,7 +13215,7 @@ struct st_scif {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char BGDM:1;\r
-                       unsigned char ACS0:1;\r
+                       unsigned char :1;\r
                        unsigned char BRME:1;\r
                        unsigned char MDDRS:1;\r
                        unsigned char DIR:1;\r
@@ -14036,7 +13238,7 @@ struct st_scif {
        } FTCR;\r
 };\r
 \r
-struct st_smci {\r
+struct st_smci0 {\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14048,13 +13250,7 @@ struct st_smci {
                        unsigned char CKS:2;\r
                } BIT;\r
        } SMR;\r
-       char           wk0[3];\r
-//     unsigned char  BRR;\r
-       union {\r
-               unsigned char  BRR;\r
-               unsigned char  MDDR;    \r
-       };\r
-       char           wk1[3];\r
+       unsigned char  BRR;\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14067,9 +13263,7 @@ struct st_smci {
                        unsigned char CKE:2;\r
                } BIT;\r
        } SCR;\r
-       char           wk2[3];\r
        unsigned char  TDR;\r
-       char           wk3[3];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14082,9 +13276,7 @@ struct st_smci {
                        unsigned char MPBT:1;\r
                } BIT;\r
        } SSR;\r
-       char           wk4[3];\r
        unsigned char  RDR;\r
-       char           wk5[3];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14097,157 +13289,18 @@ struct st_smci {
                        unsigned char SMIF:1;\r
                } BIT;\r
        } SCMR;\r
-       char           wk6[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BRME:1;\r
-                       unsigned char MDDRS:1;\r
-                       unsigned char :1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :1;\r
-                       unsigned char RSDMOS:1;\r
-                       unsigned char :1;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-};\r
-\r
-struct st_smci0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char GM:1;\r
-                       unsigned char BLK:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char BCP:2;\r
-                       unsigned char CKS:2;\r
-               } BIT;\r
-       } SMR;\r
-       unsigned char  BRR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TIE:1;\r
-                       unsigned char RIE:1;\r
-                       unsigned char TE:1;\r
-                       unsigned char RE:1;\r
-                       unsigned char MPIE:1;\r
-                       unsigned char TEIE:1;\r
-                       unsigned char CKE:2;\r
-               } BIT;\r
-       } SCR;\r
-       unsigned char  TDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char ORER:1;\r
-                       unsigned char ERS:1;\r
-                       unsigned char PER:1;\r
-                       unsigned char TEND:1;\r
-                       unsigned char MPB:1;\r
-                       unsigned char MPBT:1;\r
-               } BIT;\r
-       } SSR;\r
-       unsigned char  RDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCP2:1;\r
-                       unsigned char :2;\r
-                       unsigned char CHR1:1;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-};\r
-\r
-struct st_src {\r
+};\r
+\r
+struct st_src {\r
        union {\r
                unsigned long LONG;\r
-               struct {\r
-                       unsigned long :10;\r
-                       unsigned long SRCFCTR:22;\r
-               } BIT;\r
        } SRCFCTR[5552];\r
        char           wk0[2352];\r
        union {\r
                unsigned long LONG;\r
-               struct {\r
-                       unsigned long B31:1;\r
-                       unsigned long B30:1;\r
-                       unsigned long B29:1;\r
-                       unsigned long B28:1;\r
-                       unsigned long B27:1;\r
-                       unsigned long B26:1;\r
-                       unsigned long B25:1;\r
-                       unsigned long B24:1;\r
-                       unsigned long B23:1;\r
-                       unsigned long B22:1;\r
-                       unsigned long B21:1;\r
-                       unsigned long B20:1;\r
-                       unsigned long B19:1;\r
-                       unsigned long B18:1;\r
-                       unsigned long B17:1;\r
-                       unsigned long B16:1;\r
-                       unsigned long B15:1;\r
-                       unsigned long B14:1;\r
-                       unsigned long B13:1;\r
-                       unsigned long B12:1;\r
-                       unsigned long B11:1;\r
-                       unsigned long B10:1;\r
-                       unsigned long B9:1;\r
-                       unsigned long B8:1;\r
-                       unsigned long B7:1;\r
-                       unsigned long B6:1;\r
-                       unsigned long B5:1;\r
-                       unsigned long B4:1;\r
-                       unsigned long B3:1;\r
-                       unsigned long B2:1;\r
-                       unsigned long B1:1;\r
-                       unsigned long B0:1;\r
-               } BIT;\r
        } SRCID;\r
        union {\r
                unsigned long LONG;\r
-               struct {\r
-                       unsigned long B31:1;\r
-                       unsigned long B30:1;\r
-                       unsigned long B29:1;\r
-                       unsigned long B28:1;\r
-                       unsigned long B27:1;\r
-                       unsigned long B26:1;\r
-                       unsigned long B25:1;\r
-                       unsigned long B24:1;\r
-                       unsigned long B23:1;\r
-                       unsigned long B22:1;\r
-                       unsigned long B21:1;\r
-                       unsigned long B20:1;\r
-                       unsigned long B19:1;\r
-                       unsigned long B18:1;\r
-                       unsigned long B17:1;\r
-                       unsigned long B16:1;\r
-                       unsigned long B15:1;\r
-                       unsigned long B14:1;\r
-                       unsigned long B13:1;\r
-                       unsigned long B12:1;\r
-                       unsigned long B11:1;\r
-                       unsigned long B10:1;\r
-                       unsigned long B9:1;\r
-                       unsigned long B8:1;\r
-                       unsigned long B7:1;\r
-                       unsigned long B6:1;\r
-                       unsigned long B5:1;\r
-                       unsigned long B4:1;\r
-                       unsigned long B3:1;\r
-                       unsigned long B2:1;\r
-                       unsigned long B1:1;\r
-                       unsigned long B0:1;\r
-               } BIT;\r
        } SRCOD;\r
        union {\r
                unsigned short WORD;\r
@@ -14290,13 +13343,13 @@ struct st_src {
                unsigned short WORD;\r
                struct {\r
                        unsigned short OFDN:5;\r
-                       unsigned short IFDN:3;\r
-                       unsigned short :2;\r
+                       unsigned short IFDN:4;\r
+                       unsigned short :1;\r
                        unsigned short CEF:1;\r
                        unsigned short FLF:1;\r
                        unsigned short UDF:1;\r
                        unsigned short OVF:1;\r
-                       unsigned short IINIT:1;\r
+                       unsigned short IINT:1;\r
                        unsigned short OINT:1;\r
                } BIT;\r
        } SRCSTAT;\r
@@ -14357,7 +13410,7 @@ struct st_ssi {
                        unsigned long :23;\r
                        unsigned long TTRG:2;\r
                        unsigned long RTRG:2;\r
-                       unsigned long TUE:1;\r
+                       unsigned long TIE:1;\r
                        unsigned long RIE:1;\r
                        unsigned long TFRST:1;\r
                        unsigned long RFRST:1;\r
@@ -14439,7 +13492,9 @@ struct st_system {
                        unsigned long MSTPA29:1;\r
                        unsigned long MSTPA28:1;\r
                        unsigned long MSTPA27:1;\r
-                       unsigned long :7;\r
+                       unsigned long :2;\r
+                       unsigned long MSTPA24:1;\r
+                       unsigned long :4;\r
                        unsigned long MSTPA19:1;\r
                        unsigned long :1;\r
                        unsigned long MSTPA17:1;\r
@@ -14512,9 +13567,8 @@ struct st_system {
                        unsigned long MSTPC17:1;\r
                        unsigned long :9;\r
                        unsigned long MSTPC7:1;\r
-                       unsigned long :4;\r
-                       unsigned long MSTPC2:1;\r
-                       unsigned long :1;\r
+                       unsigned long MSTPC6:1;\r
+                       unsigned long :5;\r
                        unsigned long MSTPC0:1;\r
                } BIT;\r
        } MSTPCRC;\r
@@ -14534,6 +13588,15 @@ struct st_system {
                        unsigned long :3;\r
                        unsigned long MSTPD15:1;\r
                        unsigned long MSTPD14:1;\r
+                       unsigned long :6;\r
+                       unsigned long MSTPD7:1;\r
+                       unsigned long MSTPD6:1;\r
+                       unsigned long MSTPD5:1;\r
+                       unsigned long MSTPD4:1;\r
+                       unsigned long MSTPD3:1;\r
+                       unsigned long MSTPD2:1;\r
+                       unsigned long MSTPD1:1;\r
+                       unsigned long MSTPD0:1;\r
                } BIT;\r
        } MSTPCRD;\r
        union {\r
@@ -14634,7 +13697,7 @@ struct st_system {
                        unsigned char HCFRQ:2;\r
                } BIT;\r
        } HOCOCR2;\r
-       char           wk6[4];\r
+       char           wk5[4];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14646,7 +13709,7 @@ struct st_system {
                        unsigned char MOOVF:1;\r
                } BIT;\r
        } OSCOVFSR;\r
-       char           wk7[3];\r
+       char           wk6[3];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14662,7 +13725,7 @@ struct st_system {
                        unsigned char OSTDF:1;\r
                } BIT;\r
        } OSTDSR;\r
-       char           wk8[94];\r
+       char           wk7[94];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14692,19 +13755,19 @@ struct st_system {
                        unsigned char SSTS:8;\r
                } BIT;\r
        } SOSCWTCR;\r
-       char           wk9[28];\r
+       char           wk8[28];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
                        unsigned char :5;\r
                        unsigned char SWRF:1;\r
                        unsigned char WDTRF:1;\r
-                       unsigned char IWTDRF:1;\r
+                       unsigned char IWDTRF:1;\r
                } BIT;\r
        } RSTSR2;\r
-       char           wk10[1];\r
+       char           wk9[1];\r
        unsigned short SWRR;\r
-       char           wk11[28];\r
+       char           wk10[28];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14737,7 +13800,7 @@ struct st_system {
                        unsigned char LVD2DET:1;\r
                } BIT;\r
        } LVD2SR;\r
-       char           wk12[794];\r
+       char           wk11[794];\r
        union {\r
                unsigned short WORD;\r
                struct {\r
@@ -14749,7 +13812,7 @@ struct st_system {
                        unsigned short PRC0:1;\r
                } BIT;\r
        } PRCR;\r
-       char           wk13[48768];\r
+       char           wk12[48768];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14759,7 +13822,7 @@ struct st_system {
                        unsigned char DEEPCUT:2;\r
                } BIT;\r
        } DPSBYCR;\r
-       char           wk14[1];\r
+       char           wk13[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14897,7 +13960,7 @@ struct st_system {
                        unsigned char DCANIEG:1;\r
                } BIT;\r
        } DPSIEGR3;\r
-       char           wk15[2];\r
+       char           wk14[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14916,14 +13979,14 @@ struct st_system {
                        unsigned char CWSF:1;\r
                } BIT;\r
        } RSTSR1;\r
-       char           wk16[1];\r
+       char           wk15[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
                        unsigned char :1;\r
                        unsigned char MOSEL:1;\r
                        unsigned char MODRV2:2;\r
-                       unsigned char MODRV:3;\r
+                       unsigned char :3;\r
                        unsigned char MOFXIN:1;\r
                } BIT;\r
        } MOFCR;\r
@@ -14934,7 +13997,7 @@ struct st_system {
                        unsigned char HOCOPCNT:1;\r
                } BIT;\r
        } HOCOPCR;\r
-       char           wk17[2];\r
+       char           wk16[2];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14950,7 +14013,7 @@ struct st_system {
                        unsigned char LVD1LVL:4;\r
                } BIT;\r
        } LVDLVLR;\r
-       char           wk18[1];\r
+       char           wk17[1];\r
        union {\r
                unsigned char BYTE;\r
                struct {\r
@@ -14975,62 +14038,8 @@ struct st_system {
                        unsigned char LVD2RIE:1;\r
                } BIT;\r
        } LVD2CR0;\r
-       char           wk19[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char VBATTMNSEL:1;\r
-               } BIT;\r
-       } VBATTMNSELR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char VBATTMON:1;\r
-               } BIT;\r
-       } VBATTMONR;\r
-       char           wk20[1];\r
+       char           wk18[4];\r
        unsigned char  DPSBKR[32];\r
-       char           wk21[7794020];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :29;\r
-                       unsigned long MDE:3;\r
-               } BIT;\r
-       } MDE;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long WDTRSTIRQS:1;\r
-                       unsigned long WDTRPSS:2;\r
-                       unsigned long WDTRPES:2;\r
-                       unsigned long WDTCKS:4;\r
-                       unsigned long WDTTOPS:2;\r
-                       unsigned long WDTSTRT:1;\r
-                       unsigned long :2;\r
-                       unsigned long IWDTSLCSTP:1;\r
-                       unsigned long :1;\r
-                       unsigned long IWDTRSTIRQS:1;\r
-                       unsigned long IWDTRPSS:2;\r
-                       unsigned long IWDTRPES:2;\r
-                       unsigned long IWDTCKS:4;\r
-                       unsigned long IWDTTOPS:2;\r
-                       unsigned long IWDTSTRT:1;\r
-               } BIT;\r
-       } OFS0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :23;\r
-                       unsigned long HOCOEN:1;\r
-                       unsigned long :5;\r
-                       unsigned long LVDAS:1;\r
-                       unsigned long VDSEL:2;\r
-               } BIT;\r
-       } OFS1;\r
 };\r
 \r
 struct st_temps {\r
@@ -15125,6 +14134,14 @@ struct st_tmr1 {
                        unsigned char CKS:3;\r
                } BIT;\r
        } TCCR;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char TCS:1;\r
+               } BIT;\r
+       } TCSTR;\r
 };\r
 \r
 struct st_tmr01 {\r
@@ -15194,9 +14211,7 @@ struct st_tpu0 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char TCFD:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCFU:1;\r
+                       unsigned char :3;\r
                        unsigned char TCFV:1;\r
                        unsigned char TGFD:1;\r
                        unsigned char TGFC:1;\r
@@ -15218,8 +14233,7 @@ struct st_tpu1 {
                struct {\r
                        unsigned char :2;\r
                        unsigned char NFCS:2;\r
-                       unsigned char NFDEN:1;\r
-                       unsigned char NFCEN:1;\r
+                       unsigned char :2;\r
                        unsigned char NFBEN:1;\r
                        unsigned char NFAEN:1;\r
                } BIT;\r
@@ -15228,7 +14242,8 @@ struct st_tpu1 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char CCLR:3;\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
                        unsigned char CKEG:2;\r
                        unsigned char TPSC:3;\r
                } BIT;\r
@@ -15236,10 +14251,9 @@ struct st_tpu1 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char ICSELD:1;\r
+                       unsigned char :1;\r
                        unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
+                       unsigned char :2;\r
                        unsigned char MD:4;\r
                } BIT;\r
        } TMDR;\r
@@ -15258,8 +14272,7 @@ struct st_tpu1 {
                        unsigned char :1;\r
                        unsigned char TCIEU:1;\r
                        unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGIEB:1;\r
                        unsigned char TGIEA:1;\r
                } BIT;\r
@@ -15271,8 +14284,7 @@ struct st_tpu1 {
                        unsigned char :1;\r
                        unsigned char TCFU:1;\r
                        unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGFB:1;\r
                        unsigned char TGFA:1;\r
                } BIT;\r
@@ -15288,8 +14300,7 @@ struct st_tpu2 {
                struct {\r
                        unsigned char :2;\r
                        unsigned char NFCS:2;\r
-                       unsigned char NFDEN:1;\r
-                       unsigned char NFCEN:1;\r
+                       unsigned char :2;\r
                        unsigned char NFBEN:1;\r
                        unsigned char NFAEN:1;\r
                } BIT;\r
@@ -15298,7 +14309,8 @@ struct st_tpu2 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char CCLR:3;\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
                        unsigned char CKEG:2;\r
                        unsigned char TPSC:3;\r
                } BIT;\r
@@ -15306,10 +14318,9 @@ struct st_tpu2 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char ICSELD:1;\r
+                       unsigned char :1;\r
                        unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
+                       unsigned char :2;\r
                        unsigned char MD:4;\r
                } BIT;\r
        } TMDR;\r
@@ -15328,8 +14339,7 @@ struct st_tpu2 {
                        unsigned char :1;\r
                        unsigned char TCIEU:1;\r
                        unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGIEB:1;\r
                        unsigned char TGIEA:1;\r
                } BIT;\r
@@ -15341,8 +14351,7 @@ struct st_tpu2 {
                        unsigned char :1;\r
                        unsigned char TCFU:1;\r
                        unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGFB:1;\r
                        unsigned char TGFA:1;\r
                } BIT;\r
@@ -15402,8 +14411,7 @@ struct st_tpu3 {
                unsigned char BYTE;\r
                struct {\r
                        unsigned char TTGE:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEU:1;\r
+                       unsigned char :2;\r
                        unsigned char TCIEV:1;\r
                        unsigned char TGIED:1;\r
                        unsigned char TGIEC:1;\r
@@ -15414,9 +14422,7 @@ struct st_tpu3 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char TCFD:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCFU:1;\r
+                       unsigned char :3;\r
                        unsigned char TCFV:1;\r
                        unsigned char TGFD:1;\r
                        unsigned char TGFC:1;\r
@@ -15437,8 +14443,7 @@ struct st_tpu4 {
                struct {\r
                        unsigned char :2;\r
                        unsigned char NFCS:2;\r
-                       unsigned char NFDEN:1;\r
-                       unsigned char NFCEN:1;\r
+                       unsigned char :2;\r
                        unsigned char NFBEN:1;\r
                        unsigned char NFAEN:1;\r
                } BIT;\r
@@ -15447,7 +14452,8 @@ struct st_tpu4 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char CCLR:3;\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
                        unsigned char CKEG:2;\r
                        unsigned char TPSC:3;\r
                } BIT;\r
@@ -15455,10 +14461,9 @@ struct st_tpu4 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char ICSELD:1;\r
+                       unsigned char :1;\r
                        unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
+                       unsigned char :2;\r
                        unsigned char MD:4;\r
                } BIT;\r
        } TMDR;\r
@@ -15477,8 +14482,7 @@ struct st_tpu4 {
                        unsigned char :1;\r
                        unsigned char TCIEU:1;\r
                        unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGIEB:1;\r
                        unsigned char TGIEA:1;\r
                } BIT;\r
@@ -15490,8 +14494,7 @@ struct st_tpu4 {
                        unsigned char :1;\r
                        unsigned char TCFU:1;\r
                        unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGFB:1;\r
                        unsigned char TGFA:1;\r
                } BIT;\r
@@ -15508,8 +14511,7 @@ struct st_tpu5 {
                struct {\r
                        unsigned char :2;\r
                        unsigned char NFCS:2;\r
-                       unsigned char NFDEN:1;\r
-                       unsigned char NFCEN:1;\r
+                       unsigned char :2;\r
                        unsigned char NFBEN:1;\r
                        unsigned char NFAEN:1;\r
                } BIT;\r
@@ -15518,7 +14520,8 @@ struct st_tpu5 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char CCLR:3;\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
                        unsigned char CKEG:2;\r
                        unsigned char TPSC:3;\r
                } BIT;\r
@@ -15526,10 +14529,9 @@ struct st_tpu5 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char ICSELD:1;\r
+                       unsigned char :1;\r
                        unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
+                       unsigned char :2;\r
                        unsigned char MD:4;\r
                } BIT;\r
        } TMDR;\r
@@ -15544,12 +14546,10 @@ struct st_tpu5 {
        union {\r
                unsigned char BYTE;\r
                struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :1;\r
+                       unsigned char :2;\r
                        unsigned char TCIEU:1;\r
                        unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGIEB:1;\r
                        unsigned char TGIEA:1;\r
                } BIT;\r
@@ -15561,8 +14561,7 @@ struct st_tpu5 {
                        unsigned char :1;\r
                        unsigned char TCFU:1;\r
                        unsigned char TCFV:1;\r
-                       unsigned char TGFD:1;\r
-                       unsigned char TGFC:1;\r
+                       unsigned char :2;\r
                        unsigned char TGFB:1;\r
                        unsigned char TGFA:1;\r
                } BIT;\r
@@ -15663,7 +14662,8 @@ struct st_usb0 {
                        unsigned short OVCMON:2;\r
                        unsigned short :7;\r
                        unsigned short HTACT:1;\r
-                       unsigned short :3;\r
+                       unsigned short SOFEA:1;\r
+                       unsigned short :2;\r
                        unsigned short IDMON:1;\r
                        unsigned short LNST:2;\r
                } BIT;\r
@@ -15686,11 +14686,29 @@ struct st_usb0 {
                } BIT;\r
        } DVSTCTR0;\r
        char           wk2[10];\r
-       unsigned short CFIFO;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char L;\r
+                       unsigned char H;\r
+               } BYTE;\r
+       } CFIFO;\r
        char           wk3[2];\r
-       unsigned short D0FIFO;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char L;\r
+                       unsigned char H;\r
+               } BYTE;\r
+       } D0FIFO;\r
        char           wk4[2];\r
-       unsigned short D1FIFO;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char L;\r
+                       unsigned char H;\r
+               } BYTE;\r
+       } D1FIFO;\r
        char           wk5[2];\r
        union {\r
                unsigned short WORD;\r
@@ -16275,37 +15293,35 @@ struct st_usb0 {
        union {\r
                unsigned long LONG;\r
                struct {\r
-                       unsigned long :24;\r
-                       unsigned long USBSPD:2;\r
-                       unsigned long :2;\r
+                       unsigned long :28;\r
                        unsigned long SLEWF01:1;\r
                        unsigned long SLEWF00:1;\r
                        unsigned long SLEWR01:1;\r
                        unsigned long SLEWR00:1;\r
                } BIT;\r
-       } DPUSR2R;\r
+       } PHYSLEW;\r
 };\r
 \r
-struct st_usbhs {\r
+struct st_usba {\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :7;\r
-                       unsigned short CNEN:1;\r
-                       unsigned short HSE:1;\r
-                       unsigned short DCFM:1;\r
-                       unsigned short DRPD:1;\r
-                       unsigned short DPRPU:1;\r
-                       unsigned short :3;\r
-                       unsigned short USBE:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :7;\r
+//                     unsigned short CNEN:1;\r
+//                     unsigned short HSE:1;\r
+//                     unsigned short DCFM:1;\r
+//                     unsigned short DRPD:1;\r
+//                     unsigned short DPRPU:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short USBE:1;\r
+//             } BIT;\r
        } SYSCFG;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :12;\r
-                       unsigned short BWAIT:4;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :12;\r
+//                     unsigned short BWAIT:4;\r
+//             } BIT;\r
        } BUSWAIT;\r
        union {\r
                unsigned short WORD;\r
@@ -16313,7 +15329,8 @@ struct st_usbhs {
                        unsigned short OVCMON:2;\r
                        unsigned short :7;\r
                        unsigned short HTACT:1;\r
-                       unsigned short :3;\r
+                       unsigned short SOFEA:1;\r
+                       unsigned short :2;\r
                        unsigned short IDMON:1;\r
                        unsigned short LNST:2;\r
                } BIT;\r
@@ -16327,158 +15344,173 @@ struct st_usbhs {
        } PLLSTA;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short HNPBTOA:1;\r
-                       unsigned short EXICEN:1;\r
-                       unsigned short VBUSEN:1;\r
-                       unsigned short WKUP:1;\r
-                       unsigned short RWUPE:1;\r
-                       unsigned short USBRST:1;\r
-                       unsigned short RESUME:1;\r
-                       unsigned short UACT:1;\r
-                       unsigned short :1;\r
-                       unsigned short RHST:3;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :4;\r
+//                     unsigned short HNPBTOA:1;\r
+//                     unsigned short EXICEN:1;\r
+//                     unsigned short VBUSEN:1;\r
+//                     unsigned short WKUP:1;\r
+//                     unsigned short RWUPE:1;\r
+//                     unsigned short USBRST:1;\r
+//                     unsigned short RESUME:1;\r
+//                     unsigned short UACT:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short RHST:3;\r
+//             } BIT;\r
        } DVSTCTR0;\r
        char           wk0[2];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :12;\r
-                       unsigned short UTST:4;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :12;\r
+//                     unsigned short UTST:4;\r
+//             } BIT;\r
        } TESTMODE;\r
-       char           wk1[2];\r
+       char           wk1[6];\r
        union {\r
-               unsigned short WORD;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned short :2;\r
-                       unsigned short DFACC:2;\r
-                       unsigned short :7;\r
-                       unsigned short TENDE:1;\r
-               } BIT;\r
-       } D0FBCFG;\r
+                       unsigned short L;\r
+                       unsigned short H;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char LL;\r
+                       unsigned char LH;\r
+                       unsigned char HL;\r
+                       unsigned char HH;\r
+               } BYTE;\r
+       } CFIFO;\r
        union {\r
-               unsigned short WORD;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned short :2;\r
-                       unsigned short DFACC:2;\r
-                       unsigned short :7;\r
-                       unsigned short TENDE:1;\r
-               } BIT;\r
-       } D1FBCFG;\r
-       unsigned short CFIFO;\r
-       unsigned short CFIFO1;\r
-       unsigned short D0FIFO;\r
-       unsigned short D0FIFO1;\r
-       unsigned short D1FIFO;\r
-       unsigned short D1FIFO1;\r
+                       unsigned short L;\r
+                       unsigned short H;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char LL;\r
+                       unsigned char LH;\r
+                       unsigned char HL;\r
+                       unsigned char HH;\r
+               } BYTE;\r
+       } D0FIFO;\r
        union {\r
-               unsigned short WORD;\r
+               unsigned long LONG;\r
                struct {\r
-                       unsigned short RCNT:1;\r
-                       unsigned short REW:1;\r
-                       unsigned short :2;\r
-                       unsigned short MBW:2;\r
-                       unsigned short :1;\r
-                       unsigned short BIGEND:1;\r
-                       unsigned short :2;\r
-                       unsigned short ISEL:1;\r
-                       unsigned short :1;\r
-                       unsigned short CURPIPE:4;\r
-               } BIT;\r
+                       unsigned short L;\r
+                       unsigned short H;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char LL;\r
+                       unsigned char LH;\r
+                       unsigned char HL;\r
+                       unsigned char HH;\r
+               } BYTE;\r
+       } D1FIFO;\r
+       union {\r
+               unsigned short WORD;\r
+//             struct {\r
+//                     unsigned short RCNT:1;\r
+//                     unsigned short REW:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short MBW:2;\r
+//                     unsigned short :1;\r
+//                     unsigned short BIGEND:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short ISEL:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short CURPIPE:4;\r
+//             } BIT;\r
        } CFIFOSEL;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BVAL:1;\r
-                       unsigned short BCLR:1;\r
-                       unsigned short FRDY:1;\r
-                       unsigned short :1;\r
-                       unsigned short DTLN:12;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BVAL:1;\r
+//                     unsigned short BCLR:1;\r
+//                     unsigned short FRDY:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short DTLN:12;\r
+//             } BIT;\r
        } CFIFOCTR;\r
        char           wk2[4];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short RCNT:1;\r
-                       unsigned short REW:1;\r
-                       unsigned short DCLRM:1;\r
-                       unsigned short DREQE:1;\r
-                       unsigned short MBW:2;\r
-                       unsigned short :1;\r
-                       unsigned short BIGEND:1;\r
-                       unsigned short :4;\r
-                       unsigned short CURPIPE:4;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short RCNT:1;\r
+//                     unsigned short REW:1;\r
+//                     unsigned short DCLRM:1;\r
+//                     unsigned short DREQE:1;\r
+//                     unsigned short MBW:2;\r
+//                     unsigned short :1;\r
+//                     unsigned short BIGEND:1;\r
+//                     unsigned short :4;\r
+//                     unsigned short CURPIPE:4;\r
+//             } BIT;\r
        } D0FIFOSEL;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BVAL:1;\r
-                       unsigned short BCLR:1;\r
-                       unsigned short FRDY:1;\r
-                       unsigned short :1;\r
-                       unsigned short DTLN:12;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BVAL:1;\r
+//                     unsigned short BCLR:1;\r
+//                     unsigned short FRDY:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short DTLN:12;\r
+//             } BIT;\r
        } D0FIFOCTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short RCNT:1;\r
-                       unsigned short REW:1;\r
-                       unsigned short DCLRM:1;\r
-                       unsigned short DREQE:1;\r
-                       unsigned short MBW:2;\r
-                       unsigned short :1;\r
-                       unsigned short BIGEND:1;\r
-                       unsigned short :4;\r
-                       unsigned short CURPIPE:4;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short RCNT:1;\r
+//                     unsigned short REW:1;\r
+//                     unsigned short DCLRM:1;\r
+//                     unsigned short DREQE:1;\r
+//                     unsigned short MBW:2;\r
+//                     unsigned short :1;\r
+//                     unsigned short BIGEND:1;\r
+//                     unsigned short :4;\r
+//                     unsigned short CURPIPE:4;\r
+//             } BIT;\r
        } D1FIFOSEL;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BVAL:1;\r
-                       unsigned short BCLR:1;\r
-                       unsigned short FRDY:1;\r
-                       unsigned short :1;\r
-                       unsigned short DTLN:12;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BVAL:1;\r
+//                     unsigned short BCLR:1;\r
+//                     unsigned short FRDY:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short DTLN:12;\r
+//             } BIT;\r
        } D1FIFOCTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short VBSE:1;\r
-                       unsigned short RSME:1;\r
-                       unsigned short SOFE:1;\r
-                       unsigned short DVSE:1;\r
-                       unsigned short CTRE:1;\r
-                       unsigned short BEMPE:1;\r
-                       unsigned short NRDYE:1;\r
-                       unsigned short BRDYE:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short VBSE:1;\r
+//                     unsigned short RSME:1;\r
+//                     unsigned short SOFE:1;\r
+//                     unsigned short DVSE:1;\r
+//                     unsigned short CTRE:1;\r
+//                     unsigned short BEMPE:1;\r
+//                     unsigned short NRDYE:1;\r
+//                     unsigned short BRDYE:1;\r
+//             } BIT;\r
        } INTENB0;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short OVRCRE:1;\r
-                       unsigned short BCHGE:1;\r
-                       unsigned short :1;\r
-                       unsigned short DTCHE:1;\r
-                       unsigned short ATTCHE:1;\r
-                       unsigned short :1;\r
-                       unsigned short L1RSMENDE:1;\r
-                       unsigned short LPMENDE:1;\r
-                       unsigned short :1;\r
-                       unsigned short EOFERRE:1;\r
-                       unsigned short SIGNE:1;\r
-                       unsigned short SACKE:1;\r
-                       unsigned short :3;\r
-                       unsigned short PDDETINTE:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short OVRCRE:1;\r
+//                     unsigned short BCHGE:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short DTCHE:1;\r
+//                     unsigned short ATTCHE:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short L1RSMENDE:1;\r
+//                     unsigned short LPMENDE:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short EOFERRE:1;\r
+//                     unsigned short SIGNE:1;\r
+//                     unsigned short SACKE:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PDDETINTE:1;\r
+//             } BIT;\r
        } INTENB1;\r
        char           wk3[2];\r
        union {\r
@@ -16531,127 +15563,97 @@ struct st_usbhs {
        } BEMPENB;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :7;\r
-                       unsigned short TRNENSEL:1;\r
-                       unsigned short :1;\r
-                       unsigned short BRDYM:1;\r
-                       unsigned short INTL:1;\r
-                       unsigned short EDGESTS:1;\r
-                       unsigned short SOFM:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :7;\r
+//                     unsigned short TRNENSEL:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short BRDYM:1;\r
+//                     unsigned short INTL:1;\r
+//                     unsigned short EDGESTS:1;\r
+//             } BIT;\r
        } SOFCFG;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short HSEB:1;\r
-                       unsigned short :3;\r
-                       unsigned short repstart:1;\r
-                       unsigned short :1;\r
-                       unsigned short repsel1:1;\r
-                       unsigned short repsel0:1;\r
-                       unsigned short :2;\r
-                       unsigned short clksel1:1;\r
-                       unsigned short clksel0:1;\r
-                       unsigned short cdpen:1;\r
-                       unsigned short :1;\r
-                       unsigned short pllreset:1;\r
-                       unsigned short dirpd:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short HSEB:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short REPSTART:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short REPSEL:2;\r
+//                     unsigned short :2;\r
+//                     unsigned short CLKSEL:2;\r
+//                     unsigned short CDPEN:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short PLLRESET:1;\r
+//                     unsigned short DIRPD:1;\r
+//             } BIT;\r
        } PHYSET;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short VBINT:1;\r
-                       unsigned short RESM:1;\r
-                       unsigned short SOFR:1;\r
-                       unsigned short DVST:1;\r
-                       unsigned short CTRT:1;\r
-                       unsigned short BEMP:1;\r
-                       unsigned short NRDY:1;\r
-                       unsigned short BRDY:1;\r
-                       unsigned short VBSTS:1;\r
-                       unsigned short DVSQ:3;\r
-                       unsigned short VALID:1;\r
-                       unsigned short CTSQ:3;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short VBINT:1;\r
+//                     unsigned short RESM:1;\r
+//                     unsigned short SOFR:1;\r
+//                     unsigned short DVST:1;\r
+//                     unsigned short CTRT:1;\r
+//                     unsigned short BEMP:1;\r
+//                     unsigned short NRDY:1;\r
+//                     unsigned short BRDY:1;\r
+//                     unsigned short VBSTS:1;\r
+//                     unsigned short DVSQ:3;\r
+//                     unsigned short VALID:1;\r
+//                     unsigned short CTSQ:3;\r
+//             } BIT;\r
        } INTSTS0;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short OVRCR:1;\r
-                       unsigned short BCHG:1;\r
-                       unsigned short :1;\r
-                       unsigned short DTCH:1;\r
-                       unsigned short ATTCH:1;\r
-                       unsigned short :1;\r
-                       unsigned short L1RSMEND:1;\r
-                       unsigned short LPMEND:1;\r
-                       unsigned short :1;\r
-                       unsigned short EOFERR:1;\r
-                       unsigned short SIGN:1;\r
-                       unsigned short SACK:1;\r
-                       unsigned short :3;\r
-                       unsigned short PDDETINT:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short OVRCR:1;\r
+//                     unsigned short BCHG:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short DTCH:1;\r
+//                     unsigned short ATTCH:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short L1RSMEND:1;\r
+//                     unsigned short LPMEND:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short EOFERR:1;\r
+//                     unsigned short SIGN:1;\r
+//                     unsigned short SACK:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PDDETINT:1;\r
+//             } BIT;\r
        } INTSTS1;\r
        char           wk4[2];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short PIPE9BRDY:1;\r
-                       unsigned short PIPE8BRDY:1;\r
-                       unsigned short PIPE7BRDY:1;\r
-                       unsigned short PIPE6BRDY:1;\r
-                       unsigned short PIPE5BRDY:1;\r
-                       unsigned short PIPE4BRDY:1;\r
-                       unsigned short PIPE3BRDY:1;\r
-                       unsigned short PIPE2BRDY:1;\r
-                       unsigned short PIPE1BRDY:1;\r
-                       unsigned short PIPE0BRDY:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short PIPEBRDY:10;\r
+//             } BIT;\r
        } BRDYSTS;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short PIPE9NRDYE:1;\r
-                       unsigned short PIPE8NRDYE:1;\r
-                       unsigned short PIPE7NRDYE:1;\r
-                       unsigned short PIPE6NRDYE:1;\r
-                       unsigned short PIPE5NRDYE:1;\r
-                       unsigned short PIPE4NRDYE:1;\r
-                       unsigned short PIPE3NRDYE:1;\r
-                       unsigned short PIPE2NRDYE:1;\r
-                       unsigned short PIPE1NRDYE:1;\r
-                       unsigned short PIPE0NRDYE:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short PIPENRDY:10;\r
+//             } BIT;\r
        } NRDYSTS;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short PIPE9BEMPE:1;\r
-                       unsigned short PIPE8BEMPE:1;\r
-                       unsigned short PIPE7BENP:1;\r
-                       unsigned short PIPE6BENP:1;\r
-                       unsigned short PIPE5BENP:1;\r
-                       unsigned short PIPE4BENP:1;\r
-                       unsigned short PIPE3BENP:1;\r
-                       unsigned short PIPE2BENP:1;\r
-                       unsigned short PIPE1BENP:1;\r
-                       unsigned short PIPE0BENP:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short PIPEBEMP:10;\r
+//             } BIT;\r
        } BEMPSTS;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short OVRN:1;\r
-                       unsigned short CRCE:1;\r
-                       unsigned short :3;\r
-                       unsigned short FRNM:11;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short OVRN:1;\r
+//                     unsigned short CRCE:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short FRNM:11;\r
+//             } BIT;\r
        } FRMNUM;\r
        union {\r
                unsigned short WORD;\r
@@ -16680,257 +15682,260 @@ struct st_usbhs {
        unsigned short USBLENG;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :11;\r
-                       unsigned short DIR:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :7;\r
+//                     unsigned short CNTMD:1;\r
+//                     unsigned short SHTNAK:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short DIR:1;\r
+//             } BIT;\r
        } DCPCFG;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short DEVSEL:4;\r
-                       unsigned short :5;\r
-                       unsigned short MXPS:7;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short DEVSEL:4;\r
+//                     unsigned short :5;\r
+//                     unsigned short MXPS:7;\r
+//             } BIT;\r
        } DCPMAXP;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short SUREQ:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short SUREQCLR:1;\r
-                       unsigned short :2;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short PINGE:1;\r
-                       unsigned short :1;\r
-                       unsigned short CCPL:1;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short SUREQ:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short SUREQCLR:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short PINGE:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short CCPL:1;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } DCPCTR;\r
        char           wk6[2];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :12;\r
-                       unsigned short PIPESEL:4;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :12;\r
+//                     unsigned short PIPESEL:4;\r
+//             } BIT;\r
        } PIPESEL;\r
        char           wk7[2];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short TYPE:2;\r
-                       unsigned short :3;\r
-                       unsigned short BFRE:1;\r
-                       unsigned short DBLB:1;\r
-                       unsigned short CNTMD:1;\r
-                       unsigned short SHTNAK:1;\r
-                       unsigned short :2;\r
-                       unsigned short DIR:1;\r
-                       unsigned short EPNUM:4;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short TYPE:2;\r
+//                     unsigned short :3;\r
+//                     unsigned short BFRE:1;\r
+//                     unsigned short DBLB:1;\r
+//                     unsigned short CNTMD:1;\r
+//                     unsigned short SHTNAK:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short DIR:1;\r
+//                     unsigned short EPNUM:4;\r
+//             } BIT;\r
        } PIPECFG;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short BUFSIZE:5;\r
-                       unsigned short :2;\r
-                       unsigned short BUFNMB:8;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short BUFSIZE:5;\r
+//                     unsigned short :2;\r
+//                     unsigned short BUFNMB:8;\r
+//             } BIT;\r
        } PIPEBUF;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short DEVSEL:4;\r
-                       unsigned short :1;\r
-                       unsigned short MXPS:11;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short DEVSEL:4;\r
+//                     unsigned short :1;\r
+//                     unsigned short MXPS:11;\r
+//             } BIT;\r
        } PIPEMAXP;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short IFIS:1;\r
-                       unsigned short :9;\r
-                       unsigned short IITV:3;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :3;\r
+//                     unsigned short IFIS:1;\r
+//                     unsigned short :9;\r
+//                     unsigned short IITV:3;\r
+//             } BIT;\r
        } PIPEPERI;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
-       } PIPE1CTR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
+       } PIPE1CTR;\r
+       union {\r
+               unsigned short WORD;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE2CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE3CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE4CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE5CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE6CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE7CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE8CTR;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short CSCLR:1;\r
-                       unsigned short CSSTS:1;\r
-                       unsigned short :1;\r
-                       unsigned short ATREPM:1;\r
-                       unsigned short ACLRM:1;\r
-                       unsigned short SQCLR:1;\r
-                       unsigned short SQSET:1;\r
-                       unsigned short SQMON:1;\r
-                       unsigned short PBUSY:1;\r
-                       unsigned short :3;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short BSTS:1;\r
+//                     unsigned short INBUFM:1;\r
+//                     unsigned short CSCLR:1;\r
+//                     unsigned short CSSTS:1;\r
+//                     unsigned short :1;\r
+//                     unsigned short ATREPM:1;\r
+//                     unsigned short ACLRM:1;\r
+//                     unsigned short SQCLR:1;\r
+//                     unsigned short SQSET:1;\r
+//                     unsigned short SQMON:1;\r
+//                     unsigned short PBUSY:1;\r
+//                     unsigned short :3;\r
+//                     unsigned short PID:2;\r
+//             } BIT;\r
        } PIPE9CTR;\r
        char           wk8[14];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short TRENB:1;\r
-                       unsigned short TRCLR:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short TRENB:1;\r
+//                     unsigned short TRCLR:1;\r
+//             } BIT;\r
        } PIPE1TRE;\r
        union {\r
                unsigned short WORD;\r
@@ -16940,11 +15945,11 @@ struct st_usbhs {
        } PIPE1TRN;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short TRENB:1;\r
-                       unsigned short TRCLR:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short TRENB:1;\r
+//                     unsigned short TRCLR:1;\r
+//             } BIT;\r
        } PIPE2TRE;\r
        union {\r
                unsigned short WORD;\r
@@ -16954,11 +15959,11 @@ struct st_usbhs {
        } PIPE2TRN;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short TRENB:1;\r
-                       unsigned short TRCLR:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short TRENB:1;\r
+//                     unsigned short TRCLR:1;\r
+//             } BIT;\r
        } PIPE3TRE;\r
        union {\r
                unsigned short WORD;\r
@@ -16968,11 +15973,11 @@ struct st_usbhs {
        } PIPE3TRN;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short TRENB:1;\r
-                       unsigned short TRCLR:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short TRENB:1;\r
+//                     unsigned short TRCLR:1;\r
+//             } BIT;\r
        } PIPE4TRE;\r
        union {\r
                unsigned short WORD;\r
@@ -16982,11 +15987,11 @@ struct st_usbhs {
        } PIPE4TRN;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short TRENB:1;\r
-                       unsigned short TRCLR:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short TRENB:1;\r
+//                     unsigned short TRCLR:1;\r
+//             } BIT;\r
        } PIPE5TRE;\r
        union {\r
                unsigned short WORD;\r
@@ -16997,185 +16002,155 @@ struct st_usbhs {
        char           wk9[44];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short UPPHUB:4;\r
-                       unsigned short HUBPORT:3;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short UPPHUB:4;\r
+//                     unsigned short HUBPORT:3;\r
+//                     unsigned short USBSPD:2;\r
+//             } BIT;\r
        } DEVADD0;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short UPPHUB:4;\r
-                       unsigned short HUBPORT:3;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short UPPHUB:4;\r
+//                     unsigned short HUBPORT:3;\r
+//                     unsigned short USBSPD:2;\r
+//             } BIT;\r
        } DEVADD1;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short UPPHUB:4;\r
-                       unsigned short HUBPORT:3;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short UPPHUB:4;\r
+//                     unsigned short HUBPORT:3;\r
+//                     unsigned short USBSPD:2;\r
+//             } BIT;\r
        } DEVADD2;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short UPPHUB:4;\r
-                       unsigned short HUBPORT:3;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short UPPHUB:4;\r
+//                     unsigned short HUBPORT:3;\r
+//                     unsigned short USBSPD:2;\r
+//             } BIT;\r
        } DEVADD3;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short UPPHUB:4;\r
-                       unsigned short HUBPORT:3;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short UPPHUB:4;\r
+//                     unsigned short HUBPORT:3;\r
+//                     unsigned short USBSPD:2;\r
+//             } BIT;\r
        } DEVADD4;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short UPPHUB:4;\r
-                       unsigned short HUBPORT:3;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short UPPHUB:4;\r
+//                     unsigned short HUBPORT:3;\r
+//                     unsigned short USBSPD:2;\r
+//             } BIT;\r
        } DEVADD5;\r
        char           wk10[36];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short HWLPM:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :8;\r
+//                     unsigned short HWUPM:1;\r
+//             } BIT;\r
        } LPCTRL;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short SUSPENDM:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short SUSPENDM:1;\r
+//             } BIT;\r
        } LPSTS;\r
+       char           wk11[60];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short SUSMON:1;\r
-                       unsigned short :1;\r
-                       unsigned short OPMODE:2;\r
-                       unsigned short TERMSEL:1;\r
-                       unsigned short XCVRSEL:2;\r
-               } BIT;\r
-       } PHYFUNCTR;\r
-       char           wk11[4];\r
+//             struct {\r
+//                     unsigned short :6;\r
+//                     unsigned short PDDETSTS:1;\r
+//                     unsigned short CHGDETSTS:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short DCPMODE:1;\r
+//                     unsigned short VDMSRCE:1;\r
+//                     unsigned short IDPSINKE:1;\r
+//                     unsigned short VDPSRCE:1;\r
+//                     unsigned short IDMSINKE:1;\r
+//                     unsigned short IDPSRCE:1;\r
+//             } BIT;\r
+       } BCCTRL;\r
+       char           wk12[2];\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short DMPUDWN:1;\r
-                       unsigned short DPPUDWN:1;\r
-               } BIT;\r
-       } PHYOTGCTR;\r
-       char           wk12[52];\r
+//             struct {\r
+//                     unsigned short :1;\r
+//                     unsigned short L1EXTMD:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short HIRDTHR:4;\r
+//                     unsigned short DVSQ:4;\r
+//                     unsigned short L1NEGOMD:1;\r
+//                     unsigned short L1RESPMD:2;\r
+//                     unsigned short L1RESPEN:1;\r
+//             } BIT;\r
+       } PL1CTRL1;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short PDDETSTS:1;\r
-                       unsigned short CHGDETSTS:1;\r
-                       unsigned short :2;\r
-                       unsigned short DCPMODE:1;\r
-                       unsigned short VDMSRCE:1;\r
-                       unsigned short IDPSINKE:1;\r
-                       unsigned short VDPSRCE:1;\r
-                       unsigned short IDMSINKE:1;\r
-                       unsigned short IDPSRCE:1;\r
-               } BIT;\r
-       } BCCTRL;\r
-       char           wk13[14];\r
+//             struct {\r
+//                     unsigned short :3;\r
+//                     unsigned short RWEMON:1;\r
+//                     unsigned short HIRDMON:4;\r
+//             } BIT;\r
+       } PL1CTRL2;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short impoffset2:1;\r
-                       unsigned short impoffset1:1;\r
-                       unsigned short impoffset0:1;\r
-                       unsigned short hsiup3:1;\r
-                       unsigned short hsiup2:1;\r
-                       unsigned short hsiup1:1;\r
-                       unsigned short hsiup0:1;\r
-                       unsigned short pcompenb:1;\r
-                       unsigned short :3;\r
-                       unsigned short dfall1:1;\r
-                       unsigned short dfall0:1;\r
-                       unsigned short drise1:1;\r
-                       unsigned short drise0:1;\r
-               } BIT;\r
-       } PHYTRIM1;\r
+//             struct {\r
+//                     unsigned short :13;\r
+//                     unsigned short L1STATUS:2;\r
+//                     unsigned short L1REQ:1;\r
+//             } BIT;\r
+       } HL1CTRL1;\r
        union {\r
                unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short dis2:1;\r
-                       unsigned short dis1:1;\r
-                       unsigned short dis0:1;\r
-                       unsigned short :2;\r
-                       unsigned short prd1:1;\r
-                       unsigned short prd0:1;\r
-                       unsigned short hsrxenmode:1;\r
-                       unsigned short :3;\r
-                       unsigned short squ3:1;\r
-                       unsigned short squ2:1;\r
-                       unsigned short squ1:1;\r
-                       unsigned short squ0:1;\r
-               } BIT;\r
-       } PHYTRIM2;\r
-       char           wk14[12];\r
+//             struct {\r
+//                     unsigned short BESL:1;\r
+//                     unsigned short :2;\r
+//                     unsigned short L1RWE:1;\r
+//                     unsigned short HIRD:4;\r
+//                     unsigned short :4;\r
+//                     unsigned short L1ADDR:4;\r
+//             } BIT;\r
+       } HL1CTRL2;\r
+       char           wk13[20];\r
        union {\r
                unsigned long LONG;\r
-               struct {\r
-                       unsigned long :8;\r
-                       unsigned long DVBSTS:1;\r
-                       unsigned long :1;\r
-                       unsigned long DOVCB:1;\r
-                       unsigned long DOVCA:1;\r
-                       unsigned long :2;\r
-                       unsigned long DM:1;\r
-                       unsigned long DP:1;\r
-                       unsigned long :11;\r
-                       unsigned long FIXPHY:1;\r
-                       unsigned long :3;\r
-                       unsigned long SRPC:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned long :8;\r
+//                     unsigned long DVBSTSHM:1;\r
+//                     unsigned long :1;\r
+//                     unsigned long DOVCBHM:1;\r
+//                     unsigned long DOVCAHM:1;\r
+//             } BIT;\r
        } DPUSR0R;\r
        union {\r
                unsigned long LONG;\r
-               struct {\r
-                       unsigned long :8;\r
-                       unsigned long DVBINT:1;\r
-                       unsigned long :1;\r
-                       unsigned long DOVRCRB:1;\r
-                       unsigned long DOVRCRA:1;\r
-                       unsigned long :2;\r
-                       unsigned long DMINT:1;\r
-                       unsigned long DPINT:1;\r
-                       unsigned long :8;\r
-                       unsigned long DVBSE:1;\r
-                       unsigned long :1;\r
-                       unsigned long DOVRCRBE:1;\r
-                       unsigned long DOVRCRAE:1;\r
-                       unsigned long :2;\r
-                       unsigned long DMINTE:1;\r
-                       unsigned long DPINTE:1;\r
-               } BIT;\r
+//             struct {\r
+//                     unsigned long :8;\r
+//                     unsigned long DVBSTSH:1;\r
+//                     unsigned long :1;\r
+//                     unsigned long DOVCBH:1;\r
+//                     unsigned long DOVCAH:1;\r
+//                     unsigned long :12;\r
+//                     unsigned long DVBSTSHE:1;\r
+//                     unsigned long :1;\r
+//                     unsigned long DOVCBHE:1;\r
+//                     unsigned long DOVCAHE:1;\r
+//             } BIT;\r
        } DPUSR1R;\r
 };\r
 \r
@@ -17217,171 +16192,71 @@ IR_ICU_SWINT2=26,IR_ICU_SWINT,
 IR_CMT0_CMI0,\r
 IR_CMT1_CMI1,\r
 IR_CMTW0_CMWI0,\r
-IR_CMTW_CMWI1,\r
-IR_USBHS_D0FIFO2,IR_USBHS_D1FIFO2,\r
+IR_CMTW1_CMWI1,\r
+IR_USBA_D0FIFO2,IR_USBA_D1FIFO2,\r
 IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,\r
 IR_RSPI0_SPRI0=38,IR_RSPI0_SPTI0,\r
 IR_QSPI_SPRI=42,IR_QSPI_SPTI,\r
 IR_SDHI_SBFAI,\r
-IR_MMC_MBFAI,\r
+IR_MMCIF_MBFAI,\r
 IR_SSI0_SSITXI0,IR_SSI0_SSIRXI0,\r
 IR_SSI1_SSIRTI1,\r
-IR_SRC0_IDEI0=50,IR_SRC0_ODFI0,\r
+IR_SRC_IDEI=50,IR_SRC_ODFI,\r
 IR_RIIC0_RXI0,IR_RIIC0_TXI0,\r
 IR_RIIC2_RXI2,IR_RIIC2_TXI2,\r
 IR_SCI0_RXI0=58,IR_SCI0_TXI0,\r
 IR_SCI1_RXI1,IR_SCI1_TXI1,\r
 IR_SCI2_RXI2,IR_SCI2_TXI2,\r
-IR_ICU_IRQ0,IR_ICU_IRQ1,IR_ICU_IRQ2,IR_ICU_IRQ3,IR_ICU_IRQ4,IR_ICU_IRQ5,IR_ICU_IRQ6,IR_ICU_IRQ7,IR_ICU_IRQ8,IR_ICU_IRQ9,IR_ICU_IRQ10,IR_ICU_IRQ11,IR_ICU_IRQ12,IR_ICU_IRQ13,IR_ICU_IRQ14,IR_ICU_IRQ15,\r
+IR_ICU_IRQ0,IR_ICU_IRQ1,IR_ICU_IRQ2,IR_ICU_IRQ3,IR_ICU_IRQ4,IR_ICU_IRQ5,IR_ICU_IRQ6,IR_ICU_IRQ7,\r
+IR_ICU_IRQ8,IR_ICU_IRQ9,IR_ICU_IRQ10,IR_ICU_IRQ11,IR_ICU_IRQ12,IR_ICU_IRQ13,IR_ICU_IRQ14,IR_ICU_IRQ15,\r
 IR_SCI3_RXI3,IR_SCI3_TXI3,\r
 IR_SCI4_RXI4,IR_SCI4_TXI4,\r
 IR_SCI5_RXI5,IR_SCI5_TXI5,\r
 IR_SCI6_RXI6,IR_SCI6_TXI6,\r
-IR_LVD1_COMPA1,\r
-IR_LVD2_COMPA2,\r
+IR_LVD1_LVD1,\r
+IR_LVD2_LVD2,\r
 IR_USB0_USBR0,\r
-IR_RTC_ALARM,IR_RTC_PRD,\r
-IR_USBHS_HSUSBR,\r
+IR_RTC_ALM=92,IR_RTC_PRD,\r
+IR_USBA_USBAR,\r
 IR_IWDT_IWUNI,\r
 IR_WDT_WUNI,\r
+IR_PDC_PCDFI,\r
 IR_SCI7_RXI7,IR_SCI7_TXI7,\r
-IR_SCIF8_RXIF8,IR_SCIF8_TXIF8,\r
-IR_SCIF9_RXIF9,IR_SCIF9_TXIF9,\r
-IR_SCIF10_RXIF10,IR_SCIF10_TXIF10,\r
-IR_ICU_GROUPBE0,IR_ICU_GROUPBE1,IR_ICU_GROUPAE0,IR_ICU_GROUPAE1,IR_ICU_GROUPBL0,IR_ICU_GROUPBL1,IR_ICU_GROUPAL0,IR_ICU_GROUPAL1,\r
-IR_SCIF11_RXIF11,IR_SCIF11_TXIF11,\r
+IR_SCIFA8_RXIF8,IR_SCIFA8_TXIF8,\r
+IR_SCIFA9_RXIF9,IR_SCIFA9_TXIF9,\r
+IR_SCIFA10_RXIF10,IR_SCIFA10_TXIF10,\r
+IR_ICU_GROUPBE0,IR_ICU_GROUPBL0=110,IR_ICU_GROUPBL1,IR_ICU_GROUPAL0,IR_ICU_GROUPAL1,\r
+IR_SCIFA11_RXIF11,IR_SCIFA11_TXIF11,\r
 IR_SCI12_RXI12,IR_SCI12_TXI12,\r
 IR_DMAC_DMAC0I=120,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,IR_DMAC_DMAC74I,\r
-IR_ICU_OST,\r
+IR_OST_OST,\r
 IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
-IR_PERIB128_INTB128,\r
-IR_PERIB129_INTB129,\r
-IR_PERIB130_INTB130,\r
-IR_PERIB131_INTB131,\r
-IR_PERIB132_INTB132,\r
-IR_PERIB133_INTB133,\r
-IR_PERIB134_INTB134,\r
-IR_PERIB135_INTB135,\r
-IR_PERIB136_INTB136,\r
-IR_PERIB137_INTB137,\r
-IR_PERIB138_INTB138,\r
-IR_PERIB139_INTB139,\r
-IR_PERIB140_INTB140,\r
-IR_PERIB141_INTB141,\r
-IR_PERIB142_INTB142,\r
-IR_PERIB143_INTB143,\r
-IR_PERIB144_INTB144,\r
-IR_PERIB145_INTB145,\r
-IR_PERIB146_INTB146,\r
-IR_PERIB147_INTB147,\r
-IR_PERIB148_INTB148,\r
-IR_PERIB149_INTB149,\r
-IR_PERIB150_INTB150,\r
-IR_PERIB151_INTB151,\r
-IR_PERIB152_INTB152,\r
-IR_PERIB153_INTB153,\r
-IR_PERIB154_INTB154,\r
-IR_PERIB155_INTB155,\r
-IR_PERIB156_INTB156,\r
-IR_PERIB157_INTB157,\r
-IR_PERIB158_INTB158,\r
-IR_PERIB159_INTB159,\r
-IR_PERIB160_INTB160,\r
-IR_PERIB161_INTB161,\r
-IR_PERIB162_INTB162,\r
-IR_PERIB163_INTB163,\r
-IR_PERIB164_INTB164,\r
-IR_PERIB165_INTB165,\r
-IR_PERIB166_INTB166,\r
-IR_PERIB167_INTB167,\r
-IR_PERIB168_INTB168,\r
-IR_PERIB169_INTB169,\r
-IR_PERIB170_INTB170,\r
-IR_PERIB171_INTB171,\r
-IR_PERIB172_INTB172,\r
-IR_PERIB173_INTB173,\r
-IR_PERIB174_INTB174,\r
-IR_PERIB175_INTB175,\r
-IR_PERIB176_INTB176,\r
-IR_PERIB177_INTB177,\r
-IR_PERIB178_INTB178,\r
-IR_PERIB179_INTB179,\r
-IR_PERIB180_INTB180,\r
-IR_PERIB181_INTB181,\r
-IR_PERIB182_INTB182,\r
-IR_PERIB183_INTB183,\r
-IR_PERIB184_INTB184,\r
-IR_PERIB185_INTB185,\r
-IR_PERIB186_INTB186,\r
-IR_PERIB187_INTB187,\r
-IR_PERIB188_INTB188,\r
-IR_PERIB189_INTB189,\r
-IR_PERIB190_INTB190,\r
-IR_PERIB191_INTB191,\r
-IR_PERIB192_INTB192,\r
-IR_PERIB193_INTB193,\r
-IR_PERIB194_INTB194,\r
-IR_PERIB195_INTB195,\r
-IR_PERIB196_INTB196,\r
-IR_PERIB197_INTB197,\r
-IR_PERIB198_INTB198,\r
-IR_PERIB199_INTB199,\r
-IR_PERIB200_INTB200,\r
-IR_PERIB201_INTB201,\r
-IR_PERIB202_INTB202,\r
-IR_PERIB203_INTB203,\r
-IR_PERIB204_INTB204,\r
-IR_PERIB205_INTB205,\r
-IR_PERIB206_INTB206,\r
-IR_PERIB207_INTB207,\r
-IR_PERIA208_INTA208,\r
-IR_PERIA209_INTA209,\r
-IR_PERIA210_INTA210,\r
-IR_PERIA211_INTA211,\r
-IR_PERIA212_INTA212,\r
-IR_PERIA213_INTA213,\r
-IR_PERIA214_INTA214,\r
-IR_PERIA215_INTA215,\r
-IR_PERIA216_INTA216,\r
-IR_PERIA217_INTA217,\r
-IR_PERIA218_INTA218,\r
-IR_PERIA219_INTA219,\r
-IR_PERIA220_INTA220,\r
-IR_PERIA221_INTA221,\r
-IR_PERIA222_INTA222,\r
-IR_PERIA223_INTA223,\r
-IR_PERIA224_INTA224,\r
-IR_PERIA225_INTA225,\r
-IR_PERIA226_INTA226,\r
-IR_PERIA227_INTA227,\r
-IR_PERIA228_INTA228,\r
-IR_PERIA229_INTA229,\r
-IR_PERIA230_INTA230,\r
-IR_PERIA231_INTA231,\r
-IR_PERIA232_INTA232,\r
-IR_PERIA233_INTA233,\r
-IR_PERIA234_INTA234,\r
-IR_PERIA235_INTA235,\r
-IR_PERIA236_INTA236,\r
-IR_PERIA237_INTA237,\r
-IR_PERIA238_INTA238,\r
-IR_PERIA239_INTA239,\r
-IR_PERIA240_INTA240,\r
-IR_PERIA241_INTA241,\r
-IR_PERIA242_INTA242,\r
-IR_PERIA243_INTA243,\r
-IR_PERIA244_INTA244,\r
-IR_PERIA245_INTA245,\r
-IR_PERIA246_INTA246,\r
-IR_PERIA247_INTA247,\r
-IR_PERIA248_INTA248,\r
-IR_PERIA249_INTA249,\r
-IR_PERIA250_INTA250,\r
-IR_PERIA251_INTA251,\r
-IR_PERIA252_INTA252,\r
-IR_PERIA253_INTA253,\r
-IR_PERIA254_INTA254,\r
-IR_PERIA255_INTA255\r
+IR_PERIB_INTB128,IR_PERIB_INTB129,IR_PERIB_INTB130,IR_PERIB_INTB131,IR_PERIB_INTB132,\r
+IR_PERIB_INTB133,IR_PERIB_INTB134,IR_PERIB_INTB135,IR_PERIB_INTB136,IR_PERIB_INTB137,\r
+IR_PERIB_INTB138,IR_PERIB_INTB139,IR_PERIB_INTB140,IR_PERIB_INTB141,IR_PERIB_INTB142,\r
+IR_PERIB_INTB143,IR_PERIB_INTB144,IR_PERIB_INTB145,IR_PERIB_INTB146,IR_PERIB_INTB147,\r
+IR_PERIB_INTB148,IR_PERIB_INTB149,IR_PERIB_INTB150,IR_PERIB_INTB151,IR_PERIB_INTB152,\r
+IR_PERIB_INTB153,IR_PERIB_INTB154,IR_PERIB_INTB155,IR_PERIB_INTB156,IR_PERIB_INTB157,\r
+IR_PERIB_INTB158,IR_PERIB_INTB159,IR_PERIB_INTB160,IR_PERIB_INTB161,IR_PERIB_INTB162,\r
+IR_PERIB_INTB163,IR_PERIB_INTB164,IR_PERIB_INTB165,IR_PERIB_INTB166,IR_PERIB_INTB167,\r
+IR_PERIB_INTB168,IR_PERIB_INTB169,IR_PERIB_INTB170,IR_PERIB_INTB171,IR_PERIB_INTB172,\r
+IR_PERIB_INTB173,IR_PERIB_INTB174,IR_PERIB_INTB175,IR_PERIB_INTB176,IR_PERIB_INTB177,\r
+IR_PERIB_INTB178,IR_PERIB_INTB179,IR_PERIB_INTB180,IR_PERIB_INTB181,IR_PERIB_INTB182,\r
+IR_PERIB_INTB183,IR_PERIB_INTB184,IR_PERIB_INTB185,IR_PERIB_INTB186,IR_PERIB_INTB187,\r
+IR_PERIB_INTB188,IR_PERIB_INTB189,IR_PERIB_INTB190,IR_PERIB_INTB191,IR_PERIB_INTB192,\r
+IR_PERIB_INTB193,IR_PERIB_INTB194,IR_PERIB_INTB195,IR_PERIB_INTB196,IR_PERIB_INTB197,\r
+IR_PERIB_INTB198,IR_PERIB_INTB199,IR_PERIB_INTB200,IR_PERIB_INTB201,IR_PERIB_INTB202,\r
+IR_PERIB_INTB203,IR_PERIB_INTB204,IR_PERIB_INTB205,IR_PERIB_INTB206,IR_PERIB_INTB207,\r
+IR_PERIA_INTA208,IR_PERIA_INTA209,IR_PERIA_INTA210,IR_PERIA_INTA211,IR_PERIA_INTA212,\r
+IR_PERIA_INTA213,IR_PERIA_INTA214,IR_PERIA_INTA215,IR_PERIA_INTA216,IR_PERIA_INTA217,\r
+IR_PERIA_INTA218,IR_PERIA_INTA219,IR_PERIA_INTA220,IR_PERIA_INTA221,IR_PERIA_INTA222,\r
+IR_PERIA_INTA223,IR_PERIA_INTA224,IR_PERIA_INTA225,IR_PERIA_INTA226,IR_PERIA_INTA227,\r
+IR_PERIA_INTA228,IR_PERIA_INTA229,IR_PERIA_INTA230,IR_PERIA_INTA231,IR_PERIA_INTA232,\r
+IR_PERIA_INTA233,IR_PERIA_INTA234,IR_PERIA_INTA235,IR_PERIA_INTA236,IR_PERIA_INTA237,\r
+IR_PERIA_INTA238,IR_PERIA_INTA239,IR_PERIA_INTA240,IR_PERIA_INTA241,IR_PERIA_INTA242,\r
+IR_PERIA_INTA243,IR_PERIA_INTA244,IR_PERIA_INTA245,IR_PERIA_INTA246,IR_PERIA_INTA247,\r
+IR_PERIA_INTA248,IR_PERIA_INTA249,IR_PERIA_INTA250,IR_PERIA_INTA251,IR_PERIA_INTA252,\r
+IR_PERIA_INTA253,IR_PERIA_INTA254,IR_PERIA_INTA255\r
 };\r
 \r
 enum enum_dtce {\r
@@ -17389,163 +16264,62 @@ DTCE_ICU_SWINT2=26,DTCE_ICU_SWINT,
 DTCE_CMT0_CMI0,\r
 DTCE_CMT1_CMI1,\r
 DTCE_CMTW0_CMWI0,\r
-DTCE_CMTW_CMWI1,\r
-DTCE_USBHS_D0FIFO2,DTCE_USBHS_D1FIFO2,\r
+DTCE_CMTW1_CMWI1,\r
+DTCE_USBA_D0FIFO2,DTCE_USBA_D1FIFO2,\r
 DTCE_USB0_D0FIFO0,DTCE_USB0_D1FIFO0,\r
 DTCE_RSPI0_SPRI0=38,DTCE_RSPI0_SPTI0,\r
 DTCE_QSPI_SPRI=42,DTCE_QSPI_SPTI,\r
 DTCE_SDHI_SBFAI,\r
-DTCE_MMC_MBFAI,\r
+DTCE_MMCIF_MBFAI,\r
 DTCE_SSI0_SSITXI0,DTCE_SSI0_SSIRXI0,\r
 DTCE_SSI1_SSIRTI1,\r
-DTCE_SRC0_IDEI0=50,DTCE_SRC0_ODFI0,\r
+DTCE_SRC_IDEI=50,DTCE_SRC_ODFI,\r
 DTCE_RIIC0_RXI0,DTCE_RIIC0_TXI0,\r
 DTCE_RIIC2_RXI2,DTCE_RIIC2_TXI2,\r
 DTCE_SCI0_RXI0=58,DTCE_SCI0_TXI0,\r
 DTCE_SCI1_RXI1,DTCE_SCI1_TXI1,\r
 DTCE_SCI2_RXI2,DTCE_SCI2_TXI2,\r
-DTCE_ICU_IRQ0,DTCE_ICU_IRQ1,DTCE_ICU_IRQ2,DTCE_ICU_IRQ3,DTCE_ICU_IRQ4,DTCE_ICU_IRQ5,DTCE_ICU_IRQ6,DTCE_ICU_IRQ7,DTCE_ICU_IRQ8,DTCE_ICU_IRQ9,DTCE_ICU_IRQ10,DTCE_ICU_IRQ11,DTCE_ICU_IRQ12,DTCE_ICU_IRQ13,DTCE_ICU_IRQ14,DTCE_ICU_IRQ15,\r
+DTCE_ICU_IRQ0,DTCE_ICU_IRQ1,DTCE_ICU_IRQ2,DTCE_ICU_IRQ3,DTCE_ICU_IRQ4,DTCE_ICU_IRQ5,DTCE_ICU_IRQ6,DTCE_ICU_IRQ7,\r
+DTCE_ICU_IRQ8,DTCE_ICU_IRQ9,DTCE_ICU_IRQ10,DTCE_ICU_IRQ11,DTCE_ICU_IRQ12,DTCE_ICU_IRQ13,DTCE_ICU_IRQ14,DTCE_ICU_IRQ15,\r
 DTCE_SCI3_RXI3,DTCE_SCI3_TXI3,\r
 DTCE_SCI4_RXI4,DTCE_SCI4_TXI4,\r
 DTCE_SCI5_RXI5,DTCE_SCI5_TXI5,\r
 DTCE_SCI6_RXI6,DTCE_SCI6_TXI6,\r
 DTCE_PDC_PCDFI=97,\r
 DTCE_SCI7_RXI7,DTCE_SCI7_TXI7,\r
-DTCE_SCIF8_RXIF8,DTCE_SCIF8_TXIF8,\r
-DTCE_SCIF9_RXIF9,DTCE_SCIF9_TXIF9,\r
-DTCE_SCIF10_RXIF10,DTCE_SCIF10_TXIF10,\r
-DTCE_SCIF11_RXIF11=114,DTCE_SCIF11_TXIF11,\r
+DTCE_SCIFA8_RXIF8,DTCE_SCIFA8_TXIF8,\r
+DTCE_SCIFA9_RXIF9,DTCE_SCIFA9_TXIF9,\r
+DTCE_SCIFA10_RXIF10,DTCE_SCIFA10_TXIF10,\r
+DTCE_SCIFA11_RXIF11=114,DTCE_SCIFA11_TXIF11,\r
 DTCE_SCI12_RXI12,DTCE_SCI12_TXI12,\r
 DTCE_DMAC_DMAC0I=120,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
 DTCE_EXDMAC_EXDMAC0I=126,DTCE_EXDMAC_EXDMAC1I,\r
-DTCE_PERIB128_INTB128,\r
-DTCE_PERIB129_INTB129,\r
-DTCE_PERIB130_INTB130,\r
-DTCE_PERIB131_INTB131,\r
-DTCE_PERIB132_INTB132,\r
-DTCE_PERIB133_INTB133,\r
-DTCE_PERIB134_INTB134,\r
-DTCE_PERIB135_INTB135,\r
-DTCE_PERIB136_INTB136,\r
-DTCE_PERIB137_INTB137,\r
-DTCE_PERIB138_INTB138,\r
-DTCE_PERIB139_INTB139,\r
-DTCE_PERIB140_INTB140,\r
-DTCE_PERIB141_INTB141,\r
-DTCE_PERIB142_INTB142,\r
-DTCE_PERIB143_INTB143,\r
-DTCE_PERIB144_INTB144,\r
-DTCE_PERIB145_INTB145,\r
-DTCE_PERIB146_INTB146,\r
-DTCE_PERIB147_INTB147,\r
-DTCE_PERIB148_INTB148,\r
-DTCE_PERIB149_INTB149,\r
-DTCE_PERIB150_INTB150,\r
-DTCE_PERIB151_INTB151,\r
-DTCE_PERIB152_INTB152,\r
-DTCE_PERIB153_INTB153,\r
-DTCE_PERIB154_INTB154,\r
-DTCE_PERIB155_INTB155,\r
-DTCE_PERIB156_INTB156,\r
-DTCE_PERIB157_INTB157,\r
-DTCE_PERIB158_INTB158,\r
-DTCE_PERIB159_INTB159,\r
-DTCE_PERIB160_INTB160,\r
-DTCE_PERIB161_INTB161,\r
-DTCE_PERIB162_INTB162,\r
-DTCE_PERIB163_INTB163,\r
-DTCE_PERIB164_INTB164,\r
-DTCE_PERIB165_INTB165,\r
-DTCE_PERIB166_INTB166,\r
-DTCE_PERIB167_INTB167,\r
-DTCE_PERIB168_INTB168,\r
-DTCE_PERIB169_INTB169,\r
-DTCE_PERIB170_INTB170,\r
-DTCE_PERIB171_INTB171,\r
-DTCE_PERIB172_INTB172,\r
-DTCE_PERIB173_INTB173,\r
-DTCE_PERIB174_INTB174,\r
-DTCE_PERIB175_INTB175,\r
-DTCE_PERIB176_INTB176,\r
-DTCE_PERIB177_INTB177,\r
-DTCE_PERIB178_INTB178,\r
-DTCE_PERIB179_INTB179,\r
-DTCE_PERIB180_INTB180,\r
-DTCE_PERIB181_INTB181,\r
-DTCE_PERIB182_INTB182,\r
-DTCE_PERIB183_INTB183,\r
-DTCE_PERIB184_INTB184,\r
-DTCE_PERIB185_INTB185,\r
-DTCE_PERIB186_INTB186,\r
-DTCE_PERIB187_INTB187,\r
-DTCE_PERIB188_INTB188,\r
-DTCE_PERIB189_INTB189,\r
-DTCE_PERIB190_INTB190,\r
-DTCE_PERIB191_INTB191,\r
-DTCE_PERIB192_INTB192,\r
-DTCE_PERIB193_INTB193,\r
-DTCE_PERIB194_INTB194,\r
-DTCE_PERIB195_INTB195,\r
-DTCE_PERIB196_INTB196,\r
-DTCE_PERIB197_INTB197,\r
-DTCE_PERIB198_INTB198,\r
-DTCE_PERIB199_INTB199,\r
-DTCE_PERIB200_INTB200,\r
-DTCE_PERIB201_INTB201,\r
-DTCE_PERIB202_INTB202,\r
-DTCE_PERIB203_INTB203,\r
-DTCE_PERIB204_INTB204,\r
-DTCE_PERIB205_INTB205,\r
-DTCE_PERIB206_INTB206,\r
-DTCE_PERIB207_INTB207,\r
-DTCE_PERIA208_INTA208,\r
-DTCE_PERIA209_INTA209,\r
-DTCE_PERIA210_INTA210,\r
-DTCE_PERIA211_INTA211,\r
-DTCE_PERIA212_INTA212,\r
-DTCE_PERIA213_INTA213,\r
-DTCE_PERIA214_INTA214,\r
-DTCE_PERIA215_INTA215,\r
-DTCE_PERIA216_INTA216,\r
-DTCE_PERIA217_INTA217,\r
-DTCE_PERIA218_INTA218,\r
-DTCE_PERIA219_INTA219,\r
-DTCE_PERIA220_INTA220,\r
-DTCE_PERIA221_INTA221,\r
-DTCE_PERIA222_INTA222,\r
-DTCE_PERIA223_INTA223,\r
-DTCE_PERIA224_INTA224,\r
-DTCE_PERIA225_INTA225,\r
-DTCE_PERIA226_INTA226,\r
-DTCE_PERIA227_INTA227,\r
-DTCE_PERIA228_INTA228,\r
-DTCE_PERIA229_INTA229,\r
-DTCE_PERIA230_INTA230,\r
-DTCE_PERIA231_INTA231,\r
-DTCE_PERIA232_INTA232,\r
-DTCE_PERIA233_INTA233,\r
-DTCE_PERIA234_INTA234,\r
-DTCE_PERIA235_INTA235,\r
-DTCE_PERIA236_INTA236,\r
-DTCE_PERIA237_INTA237,\r
-DTCE_PERIA238_INTA238,\r
-DTCE_PERIA239_INTA239,\r
-DTCE_PERIA240_INTA240,\r
-DTCE_PERIA241_INTA241,\r
-DTCE_PERIA242_INTA242,\r
-DTCE_PERIA243_INTA243,\r
-DTCE_PERIA244_INTA244,\r
-DTCE_PERIA245_INTA245,\r
-DTCE_PERIA246_INTA246,\r
-DTCE_PERIA247_INTA247,\r
-DTCE_PERIA248_INTA248,\r
-DTCE_PERIA249_INTA249,\r
-DTCE_PERIA250_INTA250,\r
-DTCE_PERIA251_INTA251,\r
-DTCE_PERIA252_INTA252,\r
-DTCE_PERIA253_INTA253,\r
-DTCE_PERIA254_INTA254,\r
-DTCE_PERIA255_INTA255\r
+DTCE_PERIB_INTB128,DTCE_PERIB_INTB129,DTCE_PERIB_INTB130,DTCE_PERIB_INTB131,DTCE_PERIB_INTB132,\r
+DTCE_PERIB_INTB133,DTCE_PERIB_INTB134,DTCE_PERIB_INTB135,DTCE_PERIB_INTB136,DTCE_PERIB_INTB137,\r
+DTCE_PERIB_INTB138,DTCE_PERIB_INTB139,DTCE_PERIB_INTB140,DTCE_PERIB_INTB141,DTCE_PERIB_INTB142,\r
+DTCE_PERIB_INTB143,DTCE_PERIB_INTB144,DTCE_PERIB_INTB145,DTCE_PERIB_INTB146,DTCE_PERIB_INTB147,\r
+DTCE_PERIB_INTB148,DTCE_PERIB_INTB149,DTCE_PERIB_INTB150,DTCE_PERIB_INTB151,DTCE_PERIB_INTB152,\r
+DTCE_PERIB_INTB153,DTCE_PERIB_INTB154,DTCE_PERIB_INTB155,DTCE_PERIB_INTB156,DTCE_PERIB_INTB157,\r
+DTCE_PERIB_INTB158,DTCE_PERIB_INTB159,DTCE_PERIB_INTB160,DTCE_PERIB_INTB161,DTCE_PERIB_INTB162,\r
+DTCE_PERIB_INTB163,DTCE_PERIB_INTB164,DTCE_PERIB_INTB165,DTCE_PERIB_INTB166,DTCE_PERIB_INTB167,\r
+DTCE_PERIB_INTB168,DTCE_PERIB_INTB169,DTCE_PERIB_INTB170,DTCE_PERIB_INTB171,DTCE_PERIB_INTB172,\r
+DTCE_PERIB_INTB173,DTCE_PERIB_INTB174,DTCE_PERIB_INTB175,DTCE_PERIB_INTB176,DTCE_PERIB_INTB177,\r
+DTCE_PERIB_INTB178,DTCE_PERIB_INTB179,DTCE_PERIB_INTB180,DTCE_PERIB_INTB181,DTCE_PERIB_INTB182,\r
+DTCE_PERIB_INTB183,DTCE_PERIB_INTB184,DTCE_PERIB_INTB185,DTCE_PERIB_INTB186,DTCE_PERIB_INTB187,\r
+DTCE_PERIB_INTB188,DTCE_PERIB_INTB189,DTCE_PERIB_INTB190,DTCE_PERIB_INTB191,DTCE_PERIB_INTB192,\r
+DTCE_PERIB_INTB193,DTCE_PERIB_INTB194,DTCE_PERIB_INTB195,DTCE_PERIB_INTB196,DTCE_PERIB_INTB197,\r
+DTCE_PERIB_INTB198,DTCE_PERIB_INTB199,DTCE_PERIB_INTB200,DTCE_PERIB_INTB201,DTCE_PERIB_INTB202,\r
+DTCE_PERIB_INTB203,DTCE_PERIB_INTB204,DTCE_PERIB_INTB205,DTCE_PERIB_INTB206,DTCE_PERIB_INTB207,\r
+DTCE_PERIA_INTA208,DTCE_PERIA_INTA209,DTCE_PERIA_INTA210,DTCE_PERIA_INTA211,DTCE_PERIA_INTA212,\r
+DTCE_PERIA_INTA213,DTCE_PERIA_INTA214,DTCE_PERIA_INTA215,DTCE_PERIA_INTA216,DTCE_PERIA_INTA217,\r
+DTCE_PERIA_INTA218,DTCE_PERIA_INTA219,DTCE_PERIA_INTA220,DTCE_PERIA_INTA221,DTCE_PERIA_INTA222,\r
+DTCE_PERIA_INTA223,DTCE_PERIA_INTA224,DTCE_PERIA_INTA225,DTCE_PERIA_INTA226,DTCE_PERIA_INTA227,\r
+DTCE_PERIA_INTA228,DTCE_PERIA_INTA229,DTCE_PERIA_INTA230,DTCE_PERIA_INTA231,DTCE_PERIA_INTA232,\r
+DTCE_PERIA_INTA233,DTCE_PERIA_INTA234,DTCE_PERIA_INTA235,DTCE_PERIA_INTA236,DTCE_PERIA_INTA237,\r
+DTCE_PERIA_INTA238,DTCE_PERIA_INTA239,DTCE_PERIA_INTA240,DTCE_PERIA_INTA241,DTCE_PERIA_INTA242,\r
+DTCE_PERIA_INTA243,DTCE_PERIA_INTA244,DTCE_PERIA_INTA245,DTCE_PERIA_INTA246,DTCE_PERIA_INTA247,\r
+DTCE_PERIA_INTA248,DTCE_PERIA_INTA249,DTCE_PERIA_INTA250,DTCE_PERIA_INTA251,DTCE_PERIA_INTA252,\r
+DTCE_PERIA_INTA253,DTCE_PERIA_INTA254,DTCE_PERIA_INTA255\r
 };\r
 \r
 enum enum_ier {\r
@@ -17556,172 +16330,71 @@ IER_ICU_SWINT2=0x03,IER_ICU_SWINT=0x03,
 IER_CMT0_CMI0=0x03,\r
 IER_CMT1_CMI1=0x03,\r
 IER_CMTW0_CMWI0=0x03,\r
-IER_CMTW_CMWI1=0x03,\r
-IER_USBHS_D0FIFO2=0x04,IER_USBHS_D1FIFO2=0x04,\r
+IER_CMTW1_CMWI1=0x03,\r
+IER_USBA_D0FIFO2=0x04,IER_USBA_D1FIFO2=0x04,\r
 IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,\r
 IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x04,\r
 IER_QSPI_SPRI=0x05,IER_QSPI_SPTI=0x05,\r
 IER_SDHI_SBFAI=0x05,\r
-IER_MMC_MBFAI=0x05,\r
+IER_MMCIF_MBFAI=0x05,\r
 IER_SSI0_SSITXI0=0x05,IER_SSI0_SSIRXI0=0x05,\r
 IER_SSI1_SSIRTI1=0x06,\r
-IER_SRC0_IDEI0=0x06,IER_SRC0_ODFI0=0x06,\r
+IER_SRC_IDEI=0x06,IER_SRC_ODFI=0x06,\r
 IER_RIIC0_RXI0=0x06,IER_RIIC0_TXI0=0x06,\r
 IER_RIIC2_RXI2=0x06,IER_RIIC2_TXI2=0x06,\r
 IER_SCI0_RXI0=0x07,IER_SCI0_TXI0=0x07,\r
 IER_SCI1_RXI1=0x07,IER_SCI1_TXI1=0x07,\r
 IER_SCI2_RXI2=0x07,IER_SCI2_TXI2=0x07,\r
-IER_ICU_IRQ0=0x08,IER_ICU_IRQ1=0x08,IER_ICU_IRQ2=0x08,IER_ICU_IRQ3=0x08,IER_ICU_IRQ4=0x08,IER_ICU_IRQ5=0x08,IER_ICU_IRQ6=0x08,IER_ICU_IRQ7=0x08,IER_ICU_IRQ8=0x09,IER_ICU_IRQ9=0x09,IER_ICU_IRQ10=0x09,IER_ICU_IRQ11=0x09,IER_ICU_IRQ12=0x09,IER_ICU_IRQ13=0x09,IER_ICU_IRQ14=0x09,IER_ICU_IRQ15=0x09,\r
+IER_ICU_IRQ0=0x08,IER_ICU_IRQ1=0x08,IER_ICU_IRQ2=0x08,IER_ICU_IRQ3=0x08,IER_ICU_IRQ4=0x08,IER_ICU_IRQ5=0x08,IER_ICU_IRQ6=0x08,IER_ICU_IRQ7=0x08,\r
+IER_ICU_IRQ8=0x09,IER_ICU_IRQ9=0x09,IER_ICU_IRQ10=0x09,IER_ICU_IRQ11=0x09,IER_ICU_IRQ12=0x09,IER_ICU_IRQ13=0x09,IER_ICU_IRQ14=0x09,IER_ICU_IRQ15=0x09,\r
 IER_SCI3_RXI3=0x0A,IER_SCI3_TXI3=0x0A,\r
 IER_SCI4_RXI4=0x0A,IER_SCI4_TXI4=0x0A,\r
 IER_SCI5_RXI5=0x0A,IER_SCI5_TXI5=0x0A,\r
 IER_SCI6_RXI6=0x0A,IER_SCI6_TXI6=0x0A,\r
-IER_LVD1_COMPA1=0x0B,\r
-IER_LVD2_COMPA2=0x0B,\r
+IER_LVD1_LVD1=0x0B,\r
+IER_LVD2_LVD2=0x0B,\r
 IER_USB0_USBR0=0x0B,\r
-IER_RTC_ALARM=0x0B,IER_RTC_PRD=0x0B,\r
-IER_USBHS_HSUSBR=0x0B,\r
+IER_RTC_ALM=0x0B,IER_RTC_PRD=0x0B,\r
+IER_USBA_USBAR=0x0B,\r
 IER_IWDT_IWUNI=0x0B,\r
 IER_WDT_WUNI=0x0C,\r
 IER_PDC_PCDFI=0x0C,\r
 IER_SCI7_RXI7=0x0C,IER_SCI7_TXI7=0x0C,\r
-IER_SCIF8_RXIF8=0x0C,IER_SCIF8_TXIF8=0x0C,\r
-IER_SCIF9_RXIF9=0x0C,IER_SCIF9_TXIF9=0x0C,\r
-IER_SCIF10_RXIF10=0x0D,IER_SCIF10_TXIF10=0x0D,\r
-IER_ICU_GROUPBE0=0x0D,IER_ICU_GROUPBE1=0x0D,IER_ICU_GROUPAE0=0x0D,IER_ICU_GROUPAE1=0x0D,IER_ICU_GROUPBL0=0x0D,IER_ICU_GROUPBL1=0x0D,IER_ICU_GROUPAL0=0x0E,IER_ICU_GROUPAL1=0x0E,\r
-IER_SCIF11_RXIF11=0x0E,IER_SCIF11_TXIF11=0x0E,\r
+IER_SCIFA8_RXIF8=0x0C,IER_SCIFA8_TXIF8=0x0C,\r
+IER_SCIFA9_RXIF9=0x0C,IER_SCIFA9_TXIF9=0x0C,\r
+IER_SCIFA10_RXIF10=0x0D,IER_SCIFA10_TXIF10=0x0D,\r
+IER_ICU_GROUPBE0=0x0D,IER_ICU_GROUPBL0=0x0D,IER_ICU_GROUPBL1=0x0D,IER_ICU_GROUPAL0=0x0E,IER_ICU_GROUPAL1=0x0E,\r
+IER_SCIFA11_RXIF11=0x0E,IER_SCIFA11_TXIF11=0x0E,\r
 IER_SCI12_RXI12=0x0E,IER_SCI12_TXI12=0x0E,\r
 IER_DMAC_DMAC0I=0x0F,IER_DMAC_DMAC1I=0x0F,IER_DMAC_DMAC2I=0x0F,IER_DMAC_DMAC3I=0x0F,IER_DMAC_DMAC74I=0x0F,\r
-IER_ICU_OST=0x0F,\r
+IER_OST_OST=0x0F,\r
 IER_EXDMAC_EXDMAC0I=0x0F,IER_EXDMAC_EXDMAC1I=0x0F,\r
-IER_PERIB128_INTB128=0x10,\r
-IER_PERIB129_INTB129=0x10,\r
-IER_PERIB130_INTB130=0x10,\r
-IER_PERIB131_INTB131=0x10,\r
-IER_PERIB132_INTB132=0x10,\r
-IER_PERIB133_INTB133=0x10,\r
-IER_PERIB134_INTB134=0x10,\r
-IER_PERIB135_INTB135=0x10,\r
-IER_PERIB136_INTB136=0x11,\r
-IER_PERIB137_INTB137=0x11,\r
-IER_PERIB138_INTB138=0x11,\r
-IER_PERIB139_INTB139=0x11,\r
-IER_PERIB140_INTB140=0x11,\r
-IER_PERIB141_INTB141=0x11,\r
-IER_PERIB142_INTB142=0x11,\r
-IER_PERIB143_INTB143=0x11,\r
-IER_PERIB144_INTB144=0x12,\r
-IER_PERIB145_INTB145=0x12,\r
-IER_PERIB146_INTB146=0x12,\r
-IER_PERIB147_INTB147=0x12,\r
-IER_PERIB148_INTB148=0x12,\r
-IER_PERIB149_INTB149=0x12,\r
-IER_PERIB150_INTB150=0x12,\r
-IER_PERIB151_INTB151=0x12,\r
-IER_PERIB152_INTB152=0x13,\r
-IER_PERIB153_INTB153=0x13,\r
-IER_PERIB154_INTB154=0x13,\r
-IER_PERIB155_INTB155=0x13,\r
-IER_PERIB156_INTB156=0x13,\r
-IER_PERIB157_INTB157=0x13,\r
-IER_PERIB158_INTB158=0x13,\r
-IER_PERIB159_INTB159=0x13,\r
-IER_PERIB160_INTB160=0x14,\r
-IER_PERIB161_INTB161=0x14,\r
-IER_PERIB162_INTB162=0x14,\r
-IER_PERIB163_INTB163=0x14,\r
-IER_PERIB164_INTB164=0x14,\r
-IER_PERIB165_INTB165=0x14,\r
-IER_PERIB166_INTB166=0x14,\r
-IER_PERIB167_INTB167=0x14,\r
-IER_PERIB168_INTB168=0x15,\r
-IER_PERIB169_INTB169=0x15,\r
-IER_PERIB170_INTB170=0x15,\r
-IER_PERIB171_INTB171=0x15,\r
-IER_PERIB172_INTB172=0x15,\r
-IER_PERIB173_INTB173=0x15,\r
-IER_PERIB174_INTB174=0x15,\r
-IER_PERIB175_INTB175=0x15,\r
-IER_PERIB176_INTB176=0x16,\r
-IER_PERIB177_INTB177=0x16,\r
-IER_PERIB178_INTB178=0x16,\r
-IER_PERIB179_INTB179=0x16,\r
-IER_PERIB180_INTB180=0x16,\r
-IER_PERIB181_INTB181=0x16,\r
-IER_PERIB182_INTB182=0x16,\r
-IER_PERIB183_INTB183=0x16,\r
-IER_PERIB184_INTB184=0x17,\r
-IER_PERIB185_INTB185=0x17,\r
-IER_PERIB186_INTB186=0x17,\r
-IER_PERIB187_INTB187=0x17,\r
-IER_PERIB188_INTB188=0x17,\r
-IER_PERIB189_INTB189=0x17,\r
-IER_PERIB190_INTB190=0x17,\r
-IER_PERIB191_INTB191=0x17,\r
-IER_PERIB192_INTB192=0x18,\r
-IER_PERIB193_INTB193=0x18,\r
-IER_PERIB194_INTB194=0x18,\r
-IER_PERIB195_INTB195=0x18,\r
-IER_PERIB196_INTB196=0x18,\r
-IER_PERIB197_INTB197=0x18,\r
-IER_PERIB198_INTB198=0x18,\r
-IER_PERIB199_INTB199=0x18,\r
-IER_PERIB200_INTB200=0x19,\r
-IER_PERIB201_INTB201=0x19,\r
-IER_PERIB202_INTB202=0x19,\r
-IER_PERIB203_INTB203=0x19,\r
-IER_PERIB204_INTB204=0x19,\r
-IER_PERIB205_INTB205=0x19,\r
-IER_PERIB206_INTB206=0x19,\r
-IER_PERIB207_INTB207=0x19,\r
-IER_PERIA208_INTA208=0x1A,\r
-IER_PERIA209_INTA209=0x1A,\r
-IER_PERIA210_INTA210=0x1A,\r
-IER_PERIA211_INTA211=0x1A,\r
-IER_PERIA212_INTA212=0x1A,\r
-IER_PERIA213_INTA213=0x1A,\r
-IER_PERIA214_INTA214=0x1A,\r
-IER_PERIA215_INTA215=0x1A,\r
-IER_PERIA216_INTA216=0x1B,\r
-IER_PERIA217_INTA217=0x1B,\r
-IER_PERIA218_INTA218=0x1B,\r
-IER_PERIA219_INTA219=0x1B,\r
-IER_PERIA220_INTA220=0x1B,\r
-IER_PERIA221_INTA221=0x1B,\r
-IER_PERIA222_INTA222=0x1B,\r
-IER_PERIA223_INTA223=0x1B,\r
-IER_PERIA224_INTA224=0x1C,\r
-IER_PERIA225_INTA225=0x1C,\r
-IER_PERIA226_INTA226=0x1C,\r
-IER_PERIA227_INTA227=0x1C,\r
-IER_PERIA228_INTA228=0x1C,\r
-IER_PERIA229_INTA229=0x1C,\r
-IER_PERIA230_INTA230=0x1C,\r
-IER_PERIA231_INTA231=0x1C,\r
-IER_PERIA232_INTA232=0x1D,\r
-IER_PERIA233_INTA233=0x1D,\r
-IER_PERIA234_INTA234=0x1D,\r
-IER_PERIA235_INTA235=0x1D,\r
-IER_PERIA236_INTA236=0x1D,\r
-IER_PERIA237_INTA237=0x1D,\r
-IER_PERIA238_INTA238=0x1D,\r
-IER_PERIA239_INTA239=0x1D,\r
-IER_PERIA240_INTA240=0x1E,\r
-IER_PERIA241_INTA241=0x1E,\r
-IER_PERIA242_INTA242=0x1E,\r
-IER_PERIA243_INTA243=0x1E,\r
-IER_PERIA244_INTA244=0x1E,\r
-IER_PERIA245_INTA245=0x1E,\r
-IER_PERIA246_INTA246=0x1E,\r
-IER_PERIA247_INTA247=0x1E,\r
-IER_PERIA248_INTA248=0x1F,\r
-IER_PERIA249_INTA249=0x1F,\r
-IER_PERIA250_INTA250=0x1F,\r
-IER_PERIA251_INTA251=0x1F,\r
-IER_PERIA252_INTA252=0x1F,\r
-IER_PERIA253_INTA253=0x1F,\r
-IER_PERIA254_INTA254=0x1F,\r
-IER_PERIA255_INTA255=0x1F\r
+IER_PERIB_INTB128=0x10,IER_PERIB_INTB129=0x10,IER_PERIB_INTB130=0x10,IER_PERIB_INTB131=0x10,IER_PERIB_INTB132=0x10,\r
+IER_PERIB_INTB133=0x10,IER_PERIB_INTB134=0x10,IER_PERIB_INTB135=0x10,IER_PERIB_INTB136=0x11,IER_PERIB_INTB137=0x11,\r
+IER_PERIB_INTB138=0x11,IER_PERIB_INTB139=0x11,IER_PERIB_INTB140=0x11,IER_PERIB_INTB141=0x11,IER_PERIB_INTB142=0x11,\r
+IER_PERIB_INTB143=0x11,IER_PERIB_INTB144=0x12,IER_PERIB_INTB145=0x12,IER_PERIB_INTB146=0x12,IER_PERIB_INTB147=0x12,\r
+IER_PERIB_INTB148=0x12,IER_PERIB_INTB149=0x12,IER_PERIB_INTB150=0x12,IER_PERIB_INTB151=0x12,IER_PERIB_INTB152=0x13,\r
+IER_PERIB_INTB153=0x13,IER_PERIB_INTB154=0x13,IER_PERIB_INTB155=0x13,IER_PERIB_INTB156=0x13,IER_PERIB_INTB157=0x13,\r
+IER_PERIB_INTB158=0x13,IER_PERIB_INTB159=0x13,IER_PERIB_INTB160=0x14,IER_PERIB_INTB161=0x14,IER_PERIB_INTB162=0x14,\r
+IER_PERIB_INTB163=0x14,IER_PERIB_INTB164=0x14,IER_PERIB_INTB165=0x14,IER_PERIB_INTB166=0x14,IER_PERIB_INTB167=0x14,\r
+IER_PERIB_INTB168=0x15,IER_PERIB_INTB169=0x15,IER_PERIB_INTB170=0x15,IER_PERIB_INTB171=0x15,IER_PERIB_INTB172=0x15,\r
+IER_PERIB_INTB173=0x15,IER_PERIB_INTB174=0x15,IER_PERIB_INTB175=0x15,IER_PERIB_INTB176=0x16,IER_PERIB_INTB177=0x16,\r
+IER_PERIB_INTB178=0x16,IER_PERIB_INTB179=0x16,IER_PERIB_INTB180=0x16,IER_PERIB_INTB181=0x16,IER_PERIB_INTB182=0x16,\r
+IER_PERIB_INTB183=0x16,IER_PERIB_INTB184=0x17,IER_PERIB_INTB185=0x17,IER_PERIB_INTB186=0x17,IER_PERIB_INTB187=0x17,\r
+IER_PERIB_INTB188=0x17,IER_PERIB_INTB189=0x17,IER_PERIB_INTB190=0x17,IER_PERIB_INTB191=0x17,IER_PERIB_INTB192=0x18,\r
+IER_PERIB_INTB193=0x18,IER_PERIB_INTB194=0x18,IER_PERIB_INTB195=0x18,IER_PERIB_INTB196=0x18,IER_PERIB_INTB197=0x18,\r
+IER_PERIB_INTB198=0x18,IER_PERIB_INTB199=0x18,IER_PERIB_INTB200=0x19,IER_PERIB_INTB201=0x19,IER_PERIB_INTB202=0x19,\r
+IER_PERIB_INTB203=0x19,IER_PERIB_INTB204=0x19,IER_PERIB_INTB205=0x19,IER_PERIB_INTB206=0x19,IER_PERIB_INTB207=0x19,\r
+IER_PERIA_INTA208=0x1A,IER_PERIA_INTA209=0x1A,IER_PERIA_INTA210=0x1A,IER_PERIA_INTA211=0x1A,IER_PERIA_INTA212=0x1A,\r
+IER_PERIA_INTA213=0x1A,IER_PERIA_INTA214=0x1A,IER_PERIA_INTA215=0x1A,IER_PERIA_INTA216=0x1B,IER_PERIA_INTA217=0x1B,\r
+IER_PERIA_INTA218=0x1B,IER_PERIA_INTA219=0x1B,IER_PERIA_INTA220=0x1B,IER_PERIA_INTA221=0x1B,IER_PERIA_INTA222=0x1B,\r
+IER_PERIA_INTA223=0x1B,IER_PERIA_INTA224=0x1C,IER_PERIA_INTA225=0x1C,IER_PERIA_INTA226=0x1C,IER_PERIA_INTA227=0x1C,\r
+IER_PERIA_INTA228=0x1C,IER_PERIA_INTA229=0x1C,IER_PERIA_INTA230=0x1C,IER_PERIA_INTA231=0x1C,IER_PERIA_INTA232=0x1D,\r
+IER_PERIA_INTA233=0x1D,IER_PERIA_INTA234=0x1D,IER_PERIA_INTA235=0x1D,IER_PERIA_INTA236=0x1D,IER_PERIA_INTA237=0x1D,\r
+IER_PERIA_INTA238=0x1D,IER_PERIA_INTA239=0x1D,IER_PERIA_INTA240=0x1E,IER_PERIA_INTA241=0x1E,IER_PERIA_INTA242=0x1E,\r
+IER_PERIA_INTA243=0x1E,IER_PERIA_INTA244=0x1E,IER_PERIA_INTA245=0x1E,IER_PERIA_INTA246=0x1E,IER_PERIA_INTA247=0x1E,\r
+IER_PERIA_INTA248=0x1F,IER_PERIA_INTA249=0x1F,IER_PERIA_INTA250=0x1F,IER_PERIA_INTA251=0x1F,IER_PERIA_INTA252=0x1F,\r
+IER_PERIA_INTA253=0x1F,IER_PERIA_INTA254=0x1F,IER_PERIA_INTA255=0x1F\r
 };\r
 \r
 enum enum_ipr {\r
@@ -17732,16 +16405,16 @@ IPR_ICU_SWINT2=3,IPR_ICU_SWINT=3,
 IPR_CMT0_CMI0=4,\r
 IPR_CMT1_CMI1=5,\r
 IPR_CMTW0_CMWI0=6,\r
-IPR_CMTW_CMWI1=7,\r
-IPR_USBHS_D0FIFO2=32,IPR_USBHS_D1FIFO2=33,\r
+IPR_CMTW1_CMWI1=7,\r
+IPR_USBA_D0FIFO2=32,IPR_USBA_D1FIFO2=33,\r
 IPR_USB0_D0FIFO0=34,IPR_USB0_D1FIFO0=35,\r
 IPR_RSPI0_SPRI0=38,IPR_RSPI0_SPTI0=39,\r
 IPR_QSPI_SPRI=42,IPR_QSPI_SPTI=43,\r
 IPR_SDHI_SBFAI=44,\r
-IPR_MMC_MBFAI=45,\r
+IPR_MMCIF_MBFAI=45,\r
 IPR_SSI0_SSITXI0=46,IPR_SSI0_SSIRXI0=47,\r
 IPR_SSI1_SSIRTI1=48,\r
-IPR_SRC0_IDEI0=50,IPR_SRC0_ODFI0=51,\r
+IPR_SRC_IDEI=50,IPR_SRC_ODFI=51,\r
 IPR_RIIC0_RXI0=52,IPR_RIIC0_TXI0=53,\r
 IPR_RIIC2_RXI2=54,IPR_RIIC2_TXI2=55,\r
 IPR_SCI0_RXI0=58,IPR_SCI0_TXI0=59,\r
@@ -17752,152 +16425,50 @@ IPR_SCI3_RXI3=80,IPR_SCI3_TXI3=81,
 IPR_SCI4_RXI4=82,IPR_SCI4_TXI4=83,\r
 IPR_SCI5_RXI5=84,IPR_SCI5_TXI5=85,\r
 IPR_SCI6_RXI6=86,IPR_SCI6_TXI6=87,\r
-IPR_LVD1_COMPA1=88,\r
-IPR_LVD2_COMPA2=89,\r
+IPR_LVD1_LVD1=88,\r
+IPR_LVD2_LVD2=89,\r
 IPR_USB0_USBR0=90,\r
-IPR_RTC_ALARM=92,IPR_RTC_PRD=93,\r
-IPR_USBHS_HSUSBR=94,\r
+IPR_RTC_ALM=92,IPR_RTC_PRD=93,\r
+IPR_USBA_USBAR=94,\r
 IPR_IWDT_IWUNI=95,\r
 IPR_WDT_WUNI=96,\r
 IPR_PDC_PCDFI=97,\r
 IPR_SCI7_RXI7=98,IPR_SCI7_TXI7=99,\r
-IPR_SCIF8_RXIF8=100,IPR_SCIF8_TXIF8=101,\r
-IPR_SCIF9_RXIF9=102,IPR_SCIF9_TXIF9=103,\r
-IPR_SCIF10_RXIF10=104,IPR_SCIF10_TXIF10=105,\r
-IPR_ICU_GROUPBE0=106,IPR_ICU_GROUPBE1=107,IPR_ICU_GROUPAE0=108,IPR_ICU_GROUPAE1=109,IPR_ICU_GROUPBL0=110,IPR_ICU_GROUPBL1=111,IPR_ICU_GROUPAL0=112,IPR_ICU_GROUPAL1=113,\r
-IPR_SCIF11_RXIF11=114,IPR_SCIF11_TXIF11=115,\r
+IPR_SCIFA8_RXIF8=100,IPR_SCIFA8_TXIF8=101,\r
+IPR_SCIFA9_RXIF9=102,IPR_SCIFA9_TXIF9=103,\r
+IPR_SCIFA10_RXIF10=104,IPR_SCIFA10_TXIF10=105,\r
+IPR_ICU_GROUPBE0=106,IPR_ICU_GROUPBL0=110,IPR_ICU_GROUPBL1=111,IPR_ICU_GROUPAL0=112,IPR_ICU_GROUPAL1=113,\r
+IPR_SCIFA11_RXIF11=114,IPR_SCIFA11_TXIF11=115,\r
 IPR_SCI12_RXI12=116,IPR_SCI12_TXI12=117,\r
 IPR_DMAC_DMAC0I=120,IPR_DMAC_DMAC1I=121,IPR_DMAC_DMAC2I=122,IPR_DMAC_DMAC3I=123,IPR_DMAC_DMAC74I=124,\r
-IPR_ICU_OST=125,\r
+IPR_OST_OST=125,\r
 IPR_EXDMAC_EXDMAC0I=126,IPR_EXDMAC_EXDMAC1I=127,\r
-IPR_PERIB128_INTB128=128,\r
-IPR_PERIB129_INTB129=129,\r
-IPR_PERIB130_INTB130=130,\r
-IPR_PERIB131_INTB131=131,\r
-IPR_PERIB132_INTB132=132,\r
-IPR_PERIB133_INTB133=133,\r
-IPR_PERIB134_INTB134=134,\r
-IPR_PERIB135_INTB135=135,\r
-IPR_PERIB136_INTB136=136,\r
-IPR_PERIB137_INTB137=137,\r
-IPR_PERIB138_INTB138=138,\r
-IPR_PERIB139_INTB139=139,\r
-IPR_PERIB140_INTB140=140,\r
-IPR_PERIB141_INTB141=141,\r
-IPR_PERIB142_INTB142=142,\r
-IPR_PERIB143_INTB143=143,\r
-IPR_PERIB144_INTB144=144,\r
-IPR_PERIB145_INTB145=145,\r
-IPR_PERIB146_INTB146=146,\r
-IPR_PERIB147_INTB147=147,\r
-IPR_PERIB148_INTB148=148,\r
-IPR_PERIB149_INTB149=149,\r
-IPR_PERIB150_INTB150=150,\r
-IPR_PERIB151_INTB151=151,\r
-IPR_PERIB152_INTB152=152,\r
-IPR_PERIB153_INTB153=153,\r
-IPR_PERIB154_INTB154=154,\r
-IPR_PERIB155_INTB155=155,\r
-IPR_PERIB156_INTB156=156,\r
-IPR_PERIB157_INTB157=157,\r
-IPR_PERIB158_INTB158=158,\r
-IPR_PERIB159_INTB159=159,\r
-IPR_PERIB160_INTB160=160,\r
-IPR_PERIB161_INTB161=161,\r
-IPR_PERIB162_INTB162=162,\r
-IPR_PERIB163_INTB163=163,\r
-IPR_PERIB164_INTB164=164,\r
-IPR_PERIB165_INTB165=165,\r
-IPR_PERIB166_INTB166=166,\r
-IPR_PERIB167_INTB167=167,\r
-IPR_PERIB168_INTB168=168,\r
-IPR_PERIB169_INTB169=169,\r
-IPR_PERIB170_INTB170=170,\r
-IPR_PERIB171_INTB171=171,\r
-IPR_PERIB172_INTB172=172,\r
-IPR_PERIB173_INTB173=173,\r
-IPR_PERIB174_INTB174=174,\r
-IPR_PERIB175_INTB175=175,\r
-IPR_PERIB176_INTB176=176,\r
-IPR_PERIB177_INTB177=177,\r
-IPR_PERIB178_INTB178=178,\r
-IPR_PERIB179_INTB179=179,\r
-IPR_PERIB180_INTB180=180,\r
-IPR_PERIB181_INTB181=181,\r
-IPR_PERIB182_INTB182=182,\r
-IPR_PERIB183_INTB183=183,\r
-IPR_PERIB184_INTB184=184,\r
-IPR_PERIB185_INTB185=185,\r
-IPR_PERIB186_INTB186=186,\r
-IPR_PERIB187_INTB187=187,\r
-IPR_PERIB188_INTB188=188,\r
-IPR_PERIB189_INTB189=189,\r
-IPR_PERIB190_INTB190=190,\r
-IPR_PERIB191_INTB191=191,\r
-IPR_PERIB192_INTB192=192,\r
-IPR_PERIB193_INTB193=193,\r
-IPR_PERIB194_INTB194=194,\r
-IPR_PERIB195_INTB195=195,\r
-IPR_PERIB196_INTB196=196,\r
-IPR_PERIB197_INTB197=197,\r
-IPR_PERIB198_INTB198=198,\r
-IPR_PERIB199_INTB199=199,\r
-IPR_PERIB200_INTB200=200,\r
-IPR_PERIB201_INTB201=201,\r
-IPR_PERIB202_INTB202=202,\r
-IPR_PERIB203_INTB203=203,\r
-IPR_PERIB204_INTB204=204,\r
-IPR_PERIB205_INTB205=205,\r
-IPR_PERIB206_INTB206=206,\r
-IPR_PERIB207_INTB207=207,\r
-IPR_PERIA208_INTA208=208,\r
-IPR_PERIA209_INTA209=209,\r
-IPR_PERIA210_INTA210=210,\r
-IPR_PERIA211_INTA211=211,\r
-IPR_PERIA212_INTA212=212,\r
-IPR_PERIA213_INTA213=213,\r
-IPR_PERIA214_INTA214=214,\r
-IPR_PERIA215_INTA215=215,\r
-IPR_PERIA216_INTA216=216,\r
-IPR_PERIA217_INTA217=217,\r
-IPR_PERIA218_INTA218=218,\r
-IPR_PERIA219_INTA219=219,\r
-IPR_PERIA220_INTA220=220,\r
-IPR_PERIA221_INTA221=221,\r
-IPR_PERIA222_INTA222=222,\r
-IPR_PERIA223_INTA223=223,\r
-IPR_PERIA224_INTA224=224,\r
-IPR_PERIA225_INTA225=225,\r
-IPR_PERIA226_INTA226=226,\r
-IPR_PERIA227_INTA227=227,\r
-IPR_PERIA228_INTA228=228,\r
-IPR_PERIA229_INTA229=229,\r
-IPR_PERIA230_INTA230=230,\r
-IPR_PERIA231_INTA231=231,\r
-IPR_PERIA232_INTA232=232,\r
-IPR_PERIA233_INTA233=233,\r
-IPR_PERIA234_INTA234=234,\r
-IPR_PERIA235_INTA235=235,\r
-IPR_PERIA236_INTA236=236,\r
-IPR_PERIA237_INTA237=237,\r
-IPR_PERIA238_INTA238=238,\r
-IPR_PERIA239_INTA239=239,\r
-IPR_PERIA240_INTA240=240,\r
-IPR_PERIA241_INTA241=241,\r
-IPR_PERIA242_INTA242=242,\r
-IPR_PERIA243_INTA243=243,\r
-IPR_PERIA244_INTA244=244,\r
-IPR_PERIA245_INTA245=245,\r
-IPR_PERIA246_INTA246=246,\r
-IPR_PERIA247_INTA247=247,\r
-IPR_PERIA248_INTA248=248,\r
-IPR_PERIA249_INTA249=249,\r
-IPR_PERIA250_INTA250=250,\r
-IPR_PERIA251_INTA251=251,\r
-IPR_PERIA252_INTA252=252,\r
-IPR_PERIA253_INTA253=253,\r
-IPR_PERIA254_INTA254=254,\r
-IPR_PERIA255_INTA255=255\r
+IPR_PERIB_INTB128=128,IPR_PERIB_INTB129=129,IPR_PERIB_INTB130=130,IPR_PERIB_INTB131=131,IPR_PERIB_INTB132=132,\r
+IPR_PERIB_INTB133=133,IPR_PERIB_INTB134=134,IPR_PERIB_INTB135=135,IPR_PERIB_INTB136=136,IPR_PERIB_INTB137=137,\r
+IPR_PERIB_INTB138=138,IPR_PERIB_INTB139=139,IPR_PERIB_INTB140=140,IPR_PERIB_INTB141=141,IPR_PERIB_INTB142=142,\r
+IPR_PERIB_INTB143=143,IPR_PERIB_INTB144=144,IPR_PERIB_INTB145=145,IPR_PERIB_INTB146=146,IPR_PERIB_INTB147=147,\r
+IPR_PERIB_INTB148=148,IPR_PERIB_INTB149=149,IPR_PERIB_INTB150=150,IPR_PERIB_INTB151=151,IPR_PERIB_INTB152=152,\r
+IPR_PERIB_INTB153=153,IPR_PERIB_INTB154=154,IPR_PERIB_INTB155=155,IPR_PERIB_INTB156=156,IPR_PERIB_INTB157=157,\r
+IPR_PERIB_INTB158=158,IPR_PERIB_INTB159=159,IPR_PERIB_INTB160=160,IPR_PERIB_INTB161=161,IPR_PERIB_INTB162=162,\r
+IPR_PERIB_INTB163=163,IPR_PERIB_INTB164=164,IPR_PERIB_INTB165=165,IPR_PERIB_INTB166=166,IPR_PERIB_INTB167=167,\r
+IPR_PERIB_INTB168=168,IPR_PERIB_INTB169=169,IPR_PERIB_INTB170=170,IPR_PERIB_INTB171=171,IPR_PERIB_INTB172=172,\r
+IPR_PERIB_INTB173=173,IPR_PERIB_INTB174=174,IPR_PERIB_INTB175=175,IPR_PERIB_INTB176=176,IPR_PERIB_INTB177=177,\r
+IPR_PERIB_INTB178=178,IPR_PERIB_INTB179=179,IPR_PERIB_INTB180=180,IPR_PERIB_INTB181=181,IPR_PERIB_INTB182=182,\r
+IPR_PERIB_INTB183=183,IPR_PERIB_INTB184=184,IPR_PERIB_INTB185=185,IPR_PERIB_INTB186=186,IPR_PERIB_INTB187=187,\r
+IPR_PERIB_INTB188=188,IPR_PERIB_INTB189=189,IPR_PERIB_INTB190=190,IPR_PERIB_INTB191=191,IPR_PERIB_INTB192=192,\r
+IPR_PERIB_INTB193=193,IPR_PERIB_INTB194=194,IPR_PERIB_INTB195=195,IPR_PERIB_INTB196=196,IPR_PERIB_INTB197=197,\r
+IPR_PERIB_INTB198=198,IPR_PERIB_INTB199=199,IPR_PERIB_INTB200=200,IPR_PERIB_INTB201=201,IPR_PERIB_INTB202=202,\r
+IPR_PERIB_INTB203=203,IPR_PERIB_INTB204=204,IPR_PERIB_INTB205=205,IPR_PERIB_INTB206=206,IPR_PERIB_INTB207=207,\r
+IPR_PERIA_INTA208=208,IPR_PERIA_INTA209=209,IPR_PERIA_INTA210=210,IPR_PERIA_INTA211=211,IPR_PERIA_INTA212=212,\r
+IPR_PERIA_INTA213=213,IPR_PERIA_INTA214=214,IPR_PERIA_INTA215=215,IPR_PERIA_INTA216=216,IPR_PERIA_INTA217=217,\r
+IPR_PERIA_INTA218=218,IPR_PERIA_INTA219=219,IPR_PERIA_INTA220=220,IPR_PERIA_INTA221=221,IPR_PERIA_INTA222=222,\r
+IPR_PERIA_INTA223=223,IPR_PERIA_INTA224=224,IPR_PERIA_INTA225=225,IPR_PERIA_INTA226=226,IPR_PERIA_INTA227=227,\r
+IPR_PERIA_INTA228=228,IPR_PERIA_INTA229=229,IPR_PERIA_INTA230=230,IPR_PERIA_INTA231=231,IPR_PERIA_INTA232=232,\r
+IPR_PERIA_INTA233=233,IPR_PERIA_INTA234=234,IPR_PERIA_INTA235=235,IPR_PERIA_INTA236=236,IPR_PERIA_INTA237=237,\r
+IPR_PERIA_INTA238=238,IPR_PERIA_INTA239=239,IPR_PERIA_INTA240=240,IPR_PERIA_INTA241=241,IPR_PERIA_INTA242=242,\r
+IPR_PERIA_INTA243=243,IPR_PERIA_INTA244=244,IPR_PERIA_INTA245=245,IPR_PERIA_INTA246=246,IPR_PERIA_INTA247=247,\r
+IPR_PERIA_INTA248=248,IPR_PERIA_INTA249=249,IPR_PERIA_INTA250=250,IPR_PERIA_INTA251=251,IPR_PERIA_INTA252=252,\r
+IPR_PERIA_INTA253=253,IPR_PERIA_INTA254=254,IPR_PERIA_INTA255=255\r
 };\r
 \r
 #define        IEN_BSC_BUSERR          IEN0\r
@@ -17909,9 +16480,9 @@ IPR_PERIA255_INTA255=255
 #define        IEN_CMT0_CMI0           IEN4\r
 #define        IEN_CMT1_CMI1           IEN5\r
 #define        IEN_CMTW0_CMWI0         IEN6\r
-#define        IEN_CMTW_CMWI1          IEN7\r
-#define        IEN_USBHS_D0FIFO2       IEN0\r
-#define        IEN_USBHS_D1FIFO2       IEN1\r
+#define        IEN_CMTW1_CMWI1         IEN7\r
+#define        IEN_USBA_D0FIFO2        IEN0\r
+#define        IEN_USBA_D1FIFO2        IEN1\r
 #define        IEN_USB0_D0FIFO0        IEN2\r
 #define        IEN_USB0_D1FIFO0        IEN3\r
 #define        IEN_RSPI0_SPRI0         IEN6\r
@@ -17919,12 +16490,12 @@ IPR_PERIA255_INTA255=255
 #define        IEN_QSPI_SPRI           IEN2\r
 #define        IEN_QSPI_SPTI           IEN3\r
 #define        IEN_SDHI_SBFAI          IEN4\r
-#define        IEN_MMC_MBFAI           IEN5\r
+#define        IEN_MMCIF_MBFAI         IEN5\r
 #define        IEN_SSI0_SSITXI0        IEN6\r
 #define        IEN_SSI0_SSIRXI0        IEN7\r
 #define        IEN_SSI1_SSIRTI1        IEN0\r
-#define        IEN_SRC0_IDEI0          IEN2\r
-#define        IEN_SRC0_ODFI0          IEN3\r
+#define        IEN_SRC_IDEI            IEN2\r
+#define        IEN_SRC_ODFI            IEN3\r
 #define        IEN_RIIC0_RXI0          IEN4\r
 #define        IEN_RIIC0_TXI0          IEN5\r
 #define        IEN_RIIC2_RXI2          IEN6\r
@@ -17959,33 +16530,30 @@ IPR_PERIA255_INTA255=255
 #define        IEN_SCI5_TXI5           IEN5\r
 #define        IEN_SCI6_RXI6           IEN6\r
 #define        IEN_SCI6_TXI6           IEN7\r
-#define        IEN_LVD1_COMPA1         IEN0\r
-#define        IEN_LVD2_COMPA2         IEN1\r
+#define        IEN_LVD1_LVD1           IEN0\r
+#define        IEN_LVD2_LVD2           IEN1\r
 #define        IEN_USB0_USBR0          IEN2\r
-#define        IEN_RTC_ALARM           IEN4\r
+#define        IEN_RTC_ALM                     IEN4\r
 #define        IEN_RTC_PRD                     IEN5\r
-#define        IEN_USBHS_HSUSBR        IEN6\r
+#define        IEN_USBA_USBAR  IEN6\r
 #define        IEN_IWDT_IWUNI          IEN7\r
 #define        IEN_WDT_WUNI            IEN0\r
 #define        IEN_PDC_PCDFI           IEN1\r
 #define        IEN_SCI7_RXI7           IEN2\r
 #define        IEN_SCI7_TXI7           IEN3\r
-#define        IEN_SCIF8_RXIF8         IEN4\r
-#define        IEN_SCIF8_TXIF8         IEN5\r
-#define        IEN_SCIF9_RXIF9         IEN6\r
-#define        IEN_SCIF9_TXIF9         IEN7\r
-#define        IEN_SCIF10_RXIF10       IEN0\r
-#define        IEN_SCIF10_TXIF10       IEN1\r
+#define        IEN_SCIFA8_RXIF8        IEN4\r
+#define        IEN_SCIFA8_TXIF8        IEN5\r
+#define        IEN_SCIFA9_RXIF9        IEN6\r
+#define        IEN_SCIFA9_TXIF9        IEN7\r
+#define        IEN_SCIFA10_RXIF10      IEN0\r
+#define        IEN_SCIFA10_TXIF10      IEN1\r
 #define        IEN_ICU_GROUPBE0        IEN2\r
-#define        IEN_ICU_GROUPBE1        IEN3\r
-#define        IEN_ICU_GROUPAE0        IEN4\r
-#define        IEN_ICU_GROUPAE1        IEN5\r
 #define        IEN_ICU_GROUPBL0        IEN6\r
 #define        IEN_ICU_GROUPBL1        IEN7\r
 #define        IEN_ICU_GROUPAL0        IEN0\r
 #define        IEN_ICU_GROUPAL1        IEN1\r
-#define        IEN_SCIF11_RXIF11       IEN2\r
-#define        IEN_SCIF11_TXIF11       IEN3\r
+#define        IEN_SCIFA11_RXIF11      IEN2\r
+#define        IEN_SCIFA11_TXIF11      IEN3\r
 #define        IEN_SCI12_RXI12         IEN4\r
 #define        IEN_SCI12_TXI12         IEN5\r
 #define        IEN_DMAC_DMAC0I         IEN0\r
@@ -17993,137 +16561,137 @@ IPR_PERIA255_INTA255=255
 #define        IEN_DMAC_DMAC2I         IEN2\r
 #define        IEN_DMAC_DMAC3I         IEN3\r
 #define        IEN_DMAC_DMAC74I        IEN4\r
-#define        IEN_ICU_OST                     IEN5\r
+#define        IEN_OST_OST                     IEN5\r
 #define        IEN_EXDMAC_EXDMAC0I     IEN6\r
 #define        IEN_EXDMAC_EXDMAC1I     IEN7\r
-#define        IEN_PERIB128_INTB128    IEN0\r
-#define        IEN_PERIB129_INTB129    IEN1\r
-#define        IEN_PERIB130_INTB130    IEN2\r
-#define        IEN_PERIB131_INTB131    IEN3\r
-#define        IEN_PERIB132_INTB132    IEN4\r
-#define        IEN_PERIB133_INTB133    IEN5\r
-#define        IEN_PERIB134_INTB134    IEN6\r
-#define        IEN_PERIB135_INTB135    IEN7\r
-#define        IEN_PERIB136_INTB136    IEN0\r
-#define        IEN_PERIB137_INTB137    IEN1\r
-#define        IEN_PERIB138_INTB138    IEN2\r
-#define        IEN_PERIB139_INTB139    IEN3\r
-#define        IEN_PERIB140_INTB140    IEN4\r
-#define        IEN_PERIB141_INTB141    IEN5\r
-#define        IEN_PERIB142_INTB142    IEN6\r
-#define        IEN_PERIB143_INTB143    IEN7\r
-#define        IEN_PERIB144_INTB144    IEN0\r
-#define        IEN_PERIB145_INTB145    IEN1\r
-#define        IEN_PERIB146_INTB146    IEN2\r
-#define        IEN_PERIB147_INTB147    IEN3\r
-#define        IEN_PERIB148_INTB148    IEN4\r
-#define        IEN_PERIB149_INTB149    IEN5\r
-#define        IEN_PERIB150_INTB150    IEN6\r
-#define        IEN_PERIB151_INTB151    IEN7\r
-#define        IEN_PERIB152_INTB152    IEN0\r
-#define        IEN_PERIB153_INTB153    IEN1\r
-#define        IEN_PERIB154_INTB154    IEN2\r
-#define        IEN_PERIB155_INTB155    IEN3\r
-#define        IEN_PERIB156_INTB156    IEN4\r
-#define        IEN_PERIB157_INTB157    IEN5\r
-#define        IEN_PERIB158_INTB158    IEN6\r
-#define        IEN_PERIB159_INTB159    IEN7\r
-#define        IEN_PERIB160_INTB160    IEN0\r
-#define        IEN_PERIB161_INTB161    IEN1\r
-#define        IEN_PERIB162_INTB162    IEN2\r
-#define        IEN_PERIB163_INTB163    IEN3\r
-#define        IEN_PERIB164_INTB164    IEN4\r
-#define        IEN_PERIB165_INTB165    IEN5\r
-#define        IEN_PERIB166_INTB166    IEN6\r
-#define        IEN_PERIB167_INTB167    IEN7\r
-#define        IEN_PERIB168_INTB168    IEN0\r
-#define        IEN_PERIB169_INTB169    IEN1\r
-#define        IEN_PERIB170_INTB170    IEN2\r
-#define        IEN_PERIB171_INTB171    IEN3\r
-#define        IEN_PERIB172_INTB172    IEN4\r
-#define        IEN_PERIB173_INTB173    IEN5\r
-#define        IEN_PERIB174_INTB174    IEN6\r
-#define        IEN_PERIB175_INTB175    IEN7\r
-#define        IEN_PERIB176_INTB176    IEN0\r
-#define        IEN_PERIB177_INTB177    IEN1\r
-#define        IEN_PERIB178_INTB178    IEN2\r
-#define        IEN_PERIB179_INTB179    IEN3\r
-#define        IEN_PERIB180_INTB180    IEN4\r
-#define        IEN_PERIB181_INTB181    IEN5\r
-#define        IEN_PERIB182_INTB182    IEN6\r
-#define        IEN_PERIB183_INTB183    IEN7\r
-#define        IEN_PERIB184_INTB184    IEN0\r
-#define        IEN_PERIB185_INTB185    IEN1\r
-#define        IEN_PERIB186_INTB186    IEN2\r
-#define        IEN_PERIB187_INTB187    IEN3\r
-#define        IEN_PERIB188_INTB188    IEN4\r
-#define        IEN_PERIB189_INTB189    IEN5\r
-#define        IEN_PERIB190_INTB190    IEN6\r
-#define        IEN_PERIB191_INTB191    IEN7\r
-#define        IEN_PERIB192_INTB192    IEN0\r
-#define        IEN_PERIB193_INTB193    IEN1\r
-#define        IEN_PERIB194_INTB194    IEN2\r
-#define        IEN_PERIB195_INTB195    IEN3\r
-#define        IEN_PERIB196_INTB196    IEN4\r
-#define        IEN_PERIB197_INTB197    IEN5\r
-#define        IEN_PERIB198_INTB198    IEN6\r
-#define        IEN_PERIB199_INTB199    IEN7\r
-#define        IEN_PERIB200_INTB200    IEN0\r
-#define        IEN_PERIB201_INTB201    IEN1\r
-#define        IEN_PERIB202_INTB202    IEN2\r
-#define        IEN_PERIB203_INTB203    IEN3\r
-#define        IEN_PERIB204_INTB204    IEN4\r
-#define        IEN_PERIB205_INTB205    IEN5\r
-#define        IEN_PERIB206_INTB206    IEN6\r
-#define        IEN_PERIB207_INTB207    IEN7\r
-#define        IEN_PERIA208_INTA208    IEN0\r
-#define        IEN_PERIA209_INTA209    IEN1\r
-#define        IEN_PERIA210_INTA210    IEN2\r
-#define        IEN_PERIA211_INTA211    IEN3\r
-#define        IEN_PERIA212_INTA212    IEN4\r
-#define        IEN_PERIA213_INTA213    IEN5\r
-#define        IEN_PERIA214_INTA214    IEN6\r
-#define        IEN_PERIA215_INTA215    IEN7\r
-#define        IEN_PERIA216_INTA216    IEN0\r
-#define        IEN_PERIA217_INTA217    IEN1\r
-#define        IEN_PERIA218_INTA218    IEN2\r
-#define        IEN_PERIA219_INTA219    IEN3\r
-#define        IEN_PERIA220_INTA220    IEN4\r
-#define        IEN_PERIA221_INTA221    IEN5\r
-#define        IEN_PERIA222_INTA222    IEN6\r
-#define        IEN_PERIA223_INTA223    IEN7\r
-#define        IEN_PERIA224_INTA224    IEN0\r
-#define        IEN_PERIA225_INTA225    IEN1\r
-#define        IEN_PERIA226_INTA226    IEN2\r
-#define        IEN_PERIA227_INTA227    IEN3\r
-#define        IEN_PERIA228_INTA228    IEN4\r
-#define        IEN_PERIA229_INTA229    IEN5\r
-#define        IEN_PERIA230_INTA230    IEN6\r
-#define        IEN_PERIA231_INTA231    IEN7\r
-#define        IEN_PERIA232_INTA232    IEN0\r
-#define        IEN_PERIA233_INTA233    IEN1\r
-#define        IEN_PERIA234_INTA234    IEN2\r
-#define        IEN_PERIA235_INTA235    IEN3\r
-#define        IEN_PERIA236_INTA236    IEN4\r
-#define        IEN_PERIA237_INTA237    IEN5\r
-#define        IEN_PERIA238_INTA238    IEN6\r
-#define        IEN_PERIA239_INTA239    IEN7\r
-#define        IEN_PERIA240_INTA240    IEN0\r
-#define        IEN_PERIA241_INTA241    IEN1\r
-#define        IEN_PERIA242_INTA242    IEN2\r
-#define        IEN_PERIA243_INTA243    IEN3\r
-#define        IEN_PERIA244_INTA244    IEN4\r
-#define        IEN_PERIA245_INTA245    IEN5\r
-#define        IEN_PERIA246_INTA246    IEN6\r
-#define        IEN_PERIA247_INTA247    IEN7\r
-#define        IEN_PERIA248_INTA248    IEN0\r
-#define        IEN_PERIA249_INTA249    IEN1\r
-#define        IEN_PERIA250_INTA250    IEN2\r
-#define        IEN_PERIA251_INTA251    IEN3\r
-#define        IEN_PERIA252_INTA252    IEN4\r
-#define        IEN_PERIA253_INTA253    IEN5\r
-#define        IEN_PERIA254_INTA254    IEN6\r
-#define        IEN_PERIA255_INTA255    IEN7\r
+#define        IEN_PERIB_INTB128       IEN0\r
+#define        IEN_PERIB_INTB129       IEN1\r
+#define        IEN_PERIB_INTB130       IEN2\r
+#define        IEN_PERIB_INTB131       IEN3\r
+#define        IEN_PERIB_INTB132       IEN4\r
+#define        IEN_PERIB_INTB133       IEN5\r
+#define        IEN_PERIB_INTB134       IEN6\r
+#define        IEN_PERIB_INTB135       IEN7\r
+#define        IEN_PERIB_INTB136       IEN0\r
+#define        IEN_PERIB_INTB137       IEN1\r
+#define        IEN_PERIB_INTB138       IEN2\r
+#define        IEN_PERIB_INTB139       IEN3\r
+#define        IEN_PERIB_INTB140       IEN4\r
+#define        IEN_PERIB_INTB141       IEN5\r
+#define        IEN_PERIB_INTB142       IEN6\r
+#define        IEN_PERIB_INTB143       IEN7\r
+#define        IEN_PERIB_INTB144       IEN0\r
+#define        IEN_PERIB_INTB145       IEN1\r
+#define        IEN_PERIB_INTB146       IEN2\r
+#define        IEN_PERIB_INTB147       IEN3\r
+#define        IEN_PERIB_INTB148       IEN4\r
+#define        IEN_PERIB_INTB149       IEN5\r
+#define        IEN_PERIB_INTB150       IEN6\r
+#define        IEN_PERIB_INTB151       IEN7\r
+#define        IEN_PERIB_INTB152       IEN0\r
+#define        IEN_PERIB_INTB153       IEN1\r
+#define        IEN_PERIB_INTB154       IEN2\r
+#define        IEN_PERIB_INTB155       IEN3\r
+#define        IEN_PERIB_INTB156       IEN4\r
+#define        IEN_PERIB_INTB157       IEN5\r
+#define        IEN_PERIB_INTB158       IEN6\r
+#define        IEN_PERIB_INTB159       IEN7\r
+#define        IEN_PERIB_INTB160       IEN0\r
+#define        IEN_PERIB_INTB161       IEN1\r
+#define        IEN_PERIB_INTB162       IEN2\r
+#define        IEN_PERIB_INTB163       IEN3\r
+#define        IEN_PERIB_INTB164       IEN4\r
+#define        IEN_PERIB_INTB165       IEN5\r
+#define        IEN_PERIB_INTB166       IEN6\r
+#define        IEN_PERIB_INTB167       IEN7\r
+#define        IEN_PERIB_INTB168       IEN0\r
+#define        IEN_PERIB_INTB169       IEN1\r
+#define        IEN_PERIB_INTB170       IEN2\r
+#define        IEN_PERIB_INTB171       IEN3\r
+#define        IEN_PERIB_INTB172       IEN4\r
+#define        IEN_PERIB_INTB173       IEN5\r
+#define        IEN_PERIB_INTB174       IEN6\r
+#define        IEN_PERIB_INTB175       IEN7\r
+#define        IEN_PERIB_INTB176       IEN0\r
+#define        IEN_PERIB_INTB177       IEN1\r
+#define        IEN_PERIB_INTB178       IEN2\r
+#define        IEN_PERIB_INTB179       IEN3\r
+#define        IEN_PERIB_INTB180       IEN4\r
+#define        IEN_PERIB_INTB181       IEN5\r
+#define        IEN_PERIB_INTB182       IEN6\r
+#define        IEN_PERIB_INTB183       IEN7\r
+#define        IEN_PERIB_INTB184       IEN0\r
+#define        IEN_PERIB_INTB185       IEN1\r
+#define        IEN_PERIB_INTB186       IEN2\r
+#define        IEN_PERIB_INTB187       IEN3\r
+#define        IEN_PERIB_INTB188       IEN4\r
+#define        IEN_PERIB_INTB189       IEN5\r
+#define        IEN_PERIB_INTB190       IEN6\r
+#define        IEN_PERIB_INTB191       IEN7\r
+#define        IEN_PERIB_INTB192       IEN0\r
+#define        IEN_PERIB_INTB193       IEN1\r
+#define        IEN_PERIB_INTB194       IEN2\r
+#define        IEN_PERIB_INTB195       IEN3\r
+#define        IEN_PERIB_INTB196       IEN4\r
+#define        IEN_PERIB_INTB197       IEN5\r
+#define        IEN_PERIB_INTB198       IEN6\r
+#define        IEN_PERIB_INTB199       IEN7\r
+#define        IEN_PERIB_INTB200       IEN0\r
+#define        IEN_PERIB_INTB201       IEN1\r
+#define        IEN_PERIB_INTB202       IEN2\r
+#define        IEN_PERIB_INTB203       IEN3\r
+#define        IEN_PERIB_INTB204       IEN4\r
+#define        IEN_PERIB_INTB205       IEN5\r
+#define        IEN_PERIB_INTB206       IEN6\r
+#define        IEN_PERIB_INTB207       IEN7\r
+#define        IEN_PERIA_INTA208       IEN0\r
+#define        IEN_PERIA_INTA209       IEN1\r
+#define        IEN_PERIA_INTA210       IEN2\r
+#define        IEN_PERIA_INTA211       IEN3\r
+#define        IEN_PERIA_INTA212       IEN4\r
+#define        IEN_PERIA_INTA213       IEN5\r
+#define        IEN_PERIA_INTA214       IEN6\r
+#define        IEN_PERIA_INTA215       IEN7\r
+#define        IEN_PERIA_INTA216       IEN0\r
+#define        IEN_PERIA_INTA217       IEN1\r
+#define        IEN_PERIA_INTA218       IEN2\r
+#define        IEN_PERIA_INTA219       IEN3\r
+#define        IEN_PERIA_INTA220       IEN4\r
+#define        IEN_PERIA_INTA221       IEN5\r
+#define        IEN_PERIA_INTA222       IEN6\r
+#define        IEN_PERIA_INTA223       IEN7\r
+#define        IEN_PERIA_INTA224       IEN0\r
+#define        IEN_PERIA_INTA225       IEN1\r
+#define        IEN_PERIA_INTA226       IEN2\r
+#define        IEN_PERIA_INTA227       IEN3\r
+#define        IEN_PERIA_INTA228       IEN4\r
+#define        IEN_PERIA_INTA229       IEN5\r
+#define        IEN_PERIA_INTA230       IEN6\r
+#define        IEN_PERIA_INTA231       IEN7\r
+#define        IEN_PERIA_INTA232       IEN0\r
+#define        IEN_PERIA_INTA233       IEN1\r
+#define        IEN_PERIA_INTA234       IEN2\r
+#define        IEN_PERIA_INTA235       IEN3\r
+#define        IEN_PERIA_INTA236       IEN4\r
+#define        IEN_PERIA_INTA237       IEN5\r
+#define        IEN_PERIA_INTA238       IEN6\r
+#define        IEN_PERIA_INTA239       IEN7\r
+#define        IEN_PERIA_INTA240       IEN0\r
+#define        IEN_PERIA_INTA241       IEN1\r
+#define        IEN_PERIA_INTA242       IEN2\r
+#define        IEN_PERIA_INTA243       IEN3\r
+#define        IEN_PERIA_INTA244       IEN4\r
+#define        IEN_PERIA_INTA245       IEN5\r
+#define        IEN_PERIA_INTA246       IEN6\r
+#define        IEN_PERIA_INTA247       IEN7\r
+#define        IEN_PERIA_INTA248       IEN0\r
+#define        IEN_PERIA_INTA249       IEN1\r
+#define        IEN_PERIA_INTA250       IEN2\r
+#define        IEN_PERIA_INTA251       IEN3\r
+#define        IEN_PERIA_INTA252       IEN4\r
+#define        IEN_PERIA_INTA253       IEN5\r
+#define        IEN_PERIA_INTA254       IEN6\r
+#define        IEN_PERIA_INTA255       IEN7\r
 \r
 #define        VECT_BSC_BUSERR         16\r
 #define        VECT_RAM_RAMERR         18\r
@@ -18134,9 +16702,9 @@ IPR_PERIA255_INTA255=255
 #define        VECT_CMT0_CMI0          28\r
 #define        VECT_CMT1_CMI1          29\r
 #define        VECT_CMTW0_CMWI0        30\r
-#define        VECT_CMTW_CMWI1         31\r
-#define        VECT_USBHS_D0FIFO2      32\r
-#define        VECT_USBHS_D1FIFO2      33\r
+#define        VECT_CMTW1_CMWI1        31\r
+#define        VECT_USBA_D0FIFO2       32\r
+#define        VECT_USBA_D1FIFO2       33\r
 #define        VECT_USB0_D0FIFO0       34\r
 #define        VECT_USB0_D1FIFO0       35\r
 #define        VECT_RSPI0_SPRI0        38\r
@@ -18144,12 +16712,12 @@ IPR_PERIA255_INTA255=255
 #define        VECT_QSPI_SPRI          42\r
 #define        VECT_QSPI_SPTI          43\r
 #define        VECT_SDHI_SBFAI         44\r
-#define        VECT_MMC_MBFAI          45\r
+#define        VECT_MMCIF_MBFAI        45\r
 #define        VECT_SSI0_SSITXI0       46\r
 #define        VECT_SSI0_SSIRXI0       47\r
 #define        VECT_SSI1_SSIRTI1       48\r
-#define        VECT_SRC0_IDEI0         50\r
-#define        VECT_SRC0_ODFI0         51\r
+#define        VECT_SRC_IDEI           50\r
+#define        VECT_SRC_ODFI           51\r
 #define        VECT_RIIC0_RXI0         52\r
 #define        VECT_RIIC0_TXI0         53\r
 #define        VECT_RIIC2_RXI2         54\r
@@ -18184,33 +16752,30 @@ IPR_PERIA255_INTA255=255
 #define        VECT_SCI5_TXI5          85\r
 #define        VECT_SCI6_RXI6          86\r
 #define        VECT_SCI6_TXI6          87\r
-#define        VECT_LVD1_COMPA1        88\r
-#define        VECT_LVD2_COMPA2        89\r
+#define        VECT_LVD1_LVD1          88\r
+#define        VECT_LVD2_LVD2          89\r
 #define        VECT_USB0_USBR0         90\r
-#define        VECT_RTC_ALARM          92\r
+#define        VECT_RTC_ALM            92\r
 #define        VECT_RTC_PRD            93\r
-#define        VECT_USBHS_HSUSBR       94\r
+#define        VECT_USBA_USBAR         94\r
 #define        VECT_IWDT_IWUNI         95\r
 #define        VECT_WDT_WUNI           96\r
 #define        VECT_PDC_PCDFI          97\r
 #define        VECT_SCI7_RXI7          98\r
 #define        VECT_SCI7_TXI7          99\r
-#define        VECT_SCIF8_RXIF8        100\r
-#define        VECT_SCIF8_TXIF8        101\r
-#define        VECT_SCIF9_RXIF9        102\r
-#define        VECT_SCIF9_TXIF9        103\r
-#define        VECT_SCIF10_RXIF10      104\r
-#define        VECT_SCIF10_TXIF10      105\r
+#define        VECT_SCIFA8_RXIF8       100\r
+#define        VECT_SCIFA8_TXIF8       101\r
+#define        VECT_SCIFA9_RXIF9       102\r
+#define        VECT_SCIFA9_TXIF9       103\r
+#define        VECT_SCIFA10_RXIF10     104\r
+#define        VECT_SCIFA10_TXIF10     105\r
 #define        VECT_ICU_GROUPBE0       106\r
-#define        VECT_ICU_GROUPBE1       107\r
-#define        VECT_ICU_GROUPAE0       108\r
-#define        VECT_ICU_GROUPAE1       109\r
 #define        VECT_ICU_GROUPBL0       110\r
 #define        VECT_ICU_GROUPBL1       111\r
 #define        VECT_ICU_GROUPAL0       112\r
 #define        VECT_ICU_GROUPAL1       113\r
-#define        VECT_SCIF11_RXIF11      114\r
-#define        VECT_SCIF11_TXIF11      115\r
+#define        VECT_SCIFA11_RXIF11     114\r
+#define        VECT_SCIFA11_TXIF11     115\r
 #define        VECT_SCI12_RXI12        116\r
 #define        VECT_SCI12_TXI12        117\r
 #define        VECT_DMAC_DMAC0I        120\r
@@ -18218,229 +16783,552 @@ IPR_PERIA255_INTA255=255
 #define        VECT_DMAC_DMAC2I        122\r
 #define        VECT_DMAC_DMAC3I        123\r
 #define        VECT_DMAC_DMAC74I       124\r
-#define        VECT_ICU_OST            125\r
+#define        VECT_OST_OST            125\r
 #define        VECT_EXDMAC_EXDMAC0I    126\r
 #define        VECT_EXDMAC_EXDMAC1I    127\r
-#define        VECT_PERIB128_INTB128   128\r
-#define        VECT_PERIB129_INTB129   129\r
-#define        VECT_PERIB130_INTB130   130\r
-#define        VECT_PERIB131_INTB131   131\r
-#define        VECT_PERIB132_INTB132   132\r
-#define        VECT_PERIB133_INTB133   133\r
-#define        VECT_PERIB134_INTB134   134\r
-#define        VECT_PERIB135_INTB135   135\r
-#define        VECT_PERIB136_INTB136   136\r
-#define        VECT_PERIB137_INTB137   137\r
-#define        VECT_PERIB138_INTB138   138\r
-#define        VECT_PERIB139_INTB139   139\r
-#define        VECT_PERIB140_INTB140   140\r
-#define        VECT_PERIB141_INTB141   141\r
-#define        VECT_PERIB142_INTB142   142\r
-#define        VECT_PERIB143_INTB143   143\r
-#define        VECT_PERIB144_INTB144   144\r
-#define        VECT_PERIB145_INTB145   145\r
-#define        VECT_PERIB146_INTB146   146\r
-#define        VECT_PERIB147_INTB147   147\r
-#define        VECT_PERIB148_INTB148   148\r
-#define        VECT_PERIB149_INTB149   149\r
-#define        VECT_PERIB150_INTB150   150\r
-#define        VECT_PERIB151_INTB151   151\r
-#define        VECT_PERIB152_INTB152   152\r
-#define        VECT_PERIB153_INTB153   153\r
-#define        VECT_PERIB154_INTB154   154\r
-#define        VECT_PERIB155_INTB155   155\r
-#define        VECT_PERIB156_INTB156   156\r
-#define        VECT_PERIB157_INTB157   157\r
-#define        VECT_PERIB158_INTB158   158\r
-#define        VECT_PERIB159_INTB159   159\r
-#define        VECT_PERIB160_INTB160   160\r
-#define        VECT_PERIB161_INTB161   161\r
-#define        VECT_PERIB162_INTB162   162\r
-#define        VECT_PERIB163_INTB163   163\r
-#define        VECT_PERIB164_INTB164   164\r
-#define        VECT_PERIB165_INTB165   165\r
-#define        VECT_PERIB166_INTB166   166\r
-#define        VECT_PERIB167_INTB167   167\r
-#define        VECT_PERIB168_INTB168   168\r
-#define        VECT_PERIB169_INTB169   169\r
-#define        VECT_PERIB170_INTB170   170\r
-#define        VECT_PERIB171_INTB171   171\r
-#define        VECT_PERIB172_INTB172   172\r
-#define        VECT_PERIB173_INTB173   173\r
-#define        VECT_PERIB174_INTB174   174\r
-#define        VECT_PERIB175_INTB175   175\r
-#define        VECT_PERIB176_INTB176   176\r
-#define        VECT_PERIB177_INTB177   177\r
-#define        VECT_PERIB178_INTB178   178\r
-#define        VECT_PERIB179_INTB179   179\r
-#define        VECT_PERIB180_INTB180   180\r
-#define        VECT_PERIB181_INTB181   181\r
-#define        VECT_PERIB182_INTB182   182\r
-#define        VECT_PERIB183_INTB183   183\r
-#define        VECT_PERIB184_INTB184   184\r
-#define        VECT_PERIB185_INTB185   185\r
-#define        VECT_PERIB186_INTB186   186\r
-#define        VECT_PERIB187_INTB187   187\r
-#define        VECT_PERIB188_INTB188   188\r
-#define        VECT_PERIB189_INTB189   189\r
-#define        VECT_PERIB190_INTB190   190\r
-#define        VECT_PERIB191_INTB191   191\r
-#define        VECT_PERIB192_INTB192   192\r
-#define        VECT_PERIB193_INTB193   193\r
-#define        VECT_PERIB194_INTB194   194\r
-#define        VECT_PERIB195_INTB195   195\r
-#define        VECT_PERIB196_INTB196   196\r
-#define        VECT_PERIB197_INTB197   197\r
-#define        VECT_PERIB198_INTB198   198\r
-#define        VECT_PERIB199_INTB199   199\r
-#define        VECT_PERIB200_INTB200   200\r
-#define        VECT_PERIB201_INTB201   201\r
-#define        VECT_PERIB202_INTB202   202\r
-#define        VECT_PERIB203_INTB203   203\r
-#define        VECT_PERIB204_INTB204   204\r
-#define        VECT_PERIB205_INTB205   205\r
-#define        VECT_PERIB206_INTB206   206\r
-#define        VECT_PERIB207_INTB207   207\r
-#define        VECT_PERIA208_INTA208   208\r
-#define        VECT_PERIA209_INTA209   209\r
-#define        VECT_PERIA210_INTA210   210\r
-#define        VECT_PERIA211_INTA211   211\r
-#define        VECT_PERIA212_INTA212   212\r
-#define        VECT_PERIA213_INTA213   213\r
-#define        VECT_PERIA214_INTA214   214\r
-#define        VECT_PERIA215_INTA215   215\r
-#define        VECT_PERIA216_INTA216   216\r
-#define        VECT_PERIA217_INTA217   217\r
-#define        VECT_PERIA218_INTA218   218\r
-#define        VECT_PERIA219_INTA219   219\r
-#define        VECT_PERIA220_INTA220   220\r
-#define        VECT_PERIA221_INTA221   221\r
-#define        VECT_PERIA222_INTA222   222\r
-#define        VECT_PERIA223_INTA223   223\r
-#define        VECT_PERIA224_INTA224   224\r
-#define        VECT_PERIA225_INTA225   225\r
-#define        VECT_PERIA226_INTA226   226\r
-#define        VECT_PERIA227_INTA227   227\r
-#define        VECT_PERIA228_INTA228   228\r
-#define        VECT_PERIA229_INTA229   229\r
-#define        VECT_PERIA230_INTA230   230\r
-#define        VECT_PERIA231_INTA231   231\r
-#define        VECT_PERIA232_INTA232   232\r
-#define        VECT_PERIA233_INTA233   233\r
-#define        VECT_PERIA234_INTA234   234\r
-#define        VECT_PERIA235_INTA235   235\r
-#define        VECT_PERIA236_INTA236   236\r
-#define        VECT_PERIA237_INTA237   237\r
-#define        VECT_PERIA238_INTA238   238\r
-#define        VECT_PERIA239_INTA239   239\r
-#define        VECT_PERIA240_INTA240   240\r
-#define        VECT_PERIA241_INTA241   241\r
-#define        VECT_PERIA242_INTA242   242\r
-#define        VECT_PERIA243_INTA243   243\r
-#define        VECT_PERIA244_INTA244   244\r
-#define        VECT_PERIA245_INTA245   245\r
-#define        VECT_PERIA246_INTA246   246\r
-#define        VECT_PERIA247_INTA247   247\r
-#define        VECT_PERIA248_INTA248   248\r
-#define        VECT_PERIA249_INTA249   249\r
-#define        VECT_PERIA250_INTA250   250\r
-#define        VECT_PERIA251_INTA251   251\r
-#define        VECT_PERIA252_INTA252   252\r
-#define        VECT_PERIA253_INTA253   253\r
-#define        VECT_PERIA254_INTA254   254\r
-#define        VECT_PERIA255_INTA255   255\r
+#define        VECT_PERIB_INTB128      128\r
+#define        VECT_PERIB_INTB129      129\r
+#define        VECT_PERIB_INTB130      130\r
+#define        VECT_PERIB_INTB131      131\r
+#define        VECT_PERIB_INTB132      132\r
+#define        VECT_PERIB_INTB133      133\r
+#define        VECT_PERIB_INTB134      134\r
+#define        VECT_PERIB_INTB135      135\r
+#define        VECT_PERIB_INTB136      136\r
+#define        VECT_PERIB_INTB137      137\r
+#define        VECT_PERIB_INTB138      138\r
+#define        VECT_PERIB_INTB139      139\r
+#define        VECT_PERIB_INTB140      140\r
+#define        VECT_PERIB_INTB141      141\r
+#define        VECT_PERIB_INTB142      142\r
+#define        VECT_PERIB_INTB143      143\r
+#define        VECT_PERIB_INTB144      144\r
+#define        VECT_PERIB_INTB145      145\r
+#define        VECT_PERIB_INTB146      146\r
+#define        VECT_PERIB_INTB147      147\r
+#define        VECT_PERIB_INTB148      148\r
+#define        VECT_PERIB_INTB149      149\r
+#define        VECT_PERIB_INTB150      150\r
+#define        VECT_PERIB_INTB151      151\r
+#define        VECT_PERIB_INTB152      152\r
+#define        VECT_PERIB_INTB153      153\r
+#define        VECT_PERIB_INTB154      154\r
+#define        VECT_PERIB_INTB155      155\r
+#define        VECT_PERIB_INTB156      156\r
+#define        VECT_PERIB_INTB157      157\r
+#define        VECT_PERIB_INTB158      158\r
+#define        VECT_PERIB_INTB159      159\r
+#define        VECT_PERIB_INTB160      160\r
+#define        VECT_PERIB_INTB161      161\r
+#define        VECT_PERIB_INTB162      162\r
+#define        VECT_PERIB_INTB163      163\r
+#define        VECT_PERIB_INTB164      164\r
+#define        VECT_PERIB_INTB165      165\r
+#define        VECT_PERIB_INTB166      166\r
+#define        VECT_PERIB_INTB167      167\r
+#define        VECT_PERIB_INTB168      168\r
+#define        VECT_PERIB_INTB169      169\r
+#define        VECT_PERIB_INTB170      170\r
+#define        VECT_PERIB_INTB171      171\r
+#define        VECT_PERIB_INTB172      172\r
+#define        VECT_PERIB_INTB173      173\r
+#define        VECT_PERIB_INTB174      174\r
+#define        VECT_PERIB_INTB175      175\r
+#define        VECT_PERIB_INTB176      176\r
+#define        VECT_PERIB_INTB177      177\r
+#define        VECT_PERIB_INTB178      178\r
+#define        VECT_PERIB_INTB179      179\r
+#define        VECT_PERIB_INTB180      180\r
+#define        VECT_PERIB_INTB181      181\r
+#define        VECT_PERIB_INTB182      182\r
+#define        VECT_PERIB_INTB183      183\r
+#define        VECT_PERIB_INTB184      184\r
+#define        VECT_PERIB_INTB185      185\r
+#define        VECT_PERIB_INTB186      186\r
+#define        VECT_PERIB_INTB187      187\r
+#define        VECT_PERIB_INTB188      188\r
+#define        VECT_PERIB_INTB189      189\r
+#define        VECT_PERIB_INTB190      190\r
+#define        VECT_PERIB_INTB191      191\r
+#define        VECT_PERIB_INTB192      192\r
+#define        VECT_PERIB_INTB193      193\r
+#define        VECT_PERIB_INTB194      194\r
+#define        VECT_PERIB_INTB195      195\r
+#define        VECT_PERIB_INTB196      196\r
+#define        VECT_PERIB_INTB197      197\r
+#define        VECT_PERIB_INTB198      198\r
+#define        VECT_PERIB_INTB199      199\r
+#define        VECT_PERIB_INTB200      200\r
+#define        VECT_PERIB_INTB201      201\r
+#define        VECT_PERIB_INTB202      202\r
+#define        VECT_PERIB_INTB203      203\r
+#define        VECT_PERIB_INTB204      204\r
+#define        VECT_PERIB_INTB205      205\r
+#define        VECT_PERIB_INTB206      206\r
+#define        VECT_PERIB_INTB207      207\r
+#define        VECT_PERIA_INTA208      208\r
+#define        VECT_PERIA_INTA209      209\r
+#define        VECT_PERIA_INTA210      210\r
+#define        VECT_PERIA_INTA211      211\r
+#define        VECT_PERIA_INTA212      212\r
+#define        VECT_PERIA_INTA213      213\r
+#define        VECT_PERIA_INTA214      214\r
+#define        VECT_PERIA_INTA215      215\r
+#define        VECT_PERIA_INTA216      216\r
+#define        VECT_PERIA_INTA217      217\r
+#define        VECT_PERIA_INTA218      218\r
+#define        VECT_PERIA_INTA219      219\r
+#define        VECT_PERIA_INTA220      220\r
+#define        VECT_PERIA_INTA221      221\r
+#define        VECT_PERIA_INTA222      222\r
+#define        VECT_PERIA_INTA223      223\r
+#define        VECT_PERIA_INTA224      224\r
+#define        VECT_PERIA_INTA225      225\r
+#define        VECT_PERIA_INTA226      226\r
+#define        VECT_PERIA_INTA227      227\r
+#define        VECT_PERIA_INTA228      228\r
+#define        VECT_PERIA_INTA229      229\r
+#define        VECT_PERIA_INTA230      230\r
+#define        VECT_PERIA_INTA231      231\r
+#define        VECT_PERIA_INTA232      232\r
+#define        VECT_PERIA_INTA233      233\r
+#define        VECT_PERIA_INTA234      234\r
+#define        VECT_PERIA_INTA235      235\r
+#define        VECT_PERIA_INTA236      236\r
+#define        VECT_PERIA_INTA237      237\r
+#define        VECT_PERIA_INTA238      238\r
+#define        VECT_PERIA_INTA239      239\r
+#define        VECT_PERIA_INTA240      240\r
+#define        VECT_PERIA_INTA241      241\r
+#define        VECT_PERIA_INTA242      242\r
+#define        VECT_PERIA_INTA243      243\r
+#define        VECT_PERIA_INTA244      244\r
+#define        VECT_PERIA_INTA245      245\r
+#define        VECT_PERIA_INTA246      246\r
+#define        VECT_PERIA_INTA247      247\r
+#define        VECT_PERIA_INTA248      248\r
+#define        VECT_PERIA_INTA249      249\r
+#define        VECT_PERIA_INTA250      250\r
+#define        VECT_PERIA_INTA251      251\r
+#define        VECT_PERIA_INTA252      252\r
+#define        VECT_PERIA_INTA253      253\r
+#define        VECT_PERIA_INTA254      254\r
+#define        VECT_PERIA_INTA255      255\r
 \r
-#define        MSTP_EXDMAC     SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define        MSTP_EXDMAC             SYSTEM.MSTPCRA.BIT.MSTPA29\r
 #define        MSTP_EXDMAC0    SYSTEM.MSTPCRA.BIT.MSTPA29\r
 #define        MSTP_EXDMAC1    SYSTEM.MSTPCRA.BIT.MSTPA29\r
-#define        MSTP_DTC        SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC       SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC0      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC1      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC2      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC3      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC4      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC5      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC6      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DMAC7      SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_DA         SYSTEM.MSTPCRA.BIT.MSTPA19\r
-#define        MSTP_S12ADC0    SYSTEM.MSTPCRA.BIT.MSTPA17\r
-#define        MSTP_S12ADC1    SYSTEM.MSTPCRA.BIT.MSTPA16\r
-#define        MSTP_CMT0       SYSTEM.MSTPCRA.BIT.MSTPA15\r
-#define        MSTP_CMT1       SYSTEM.MSTPCRA.BIT.MSTPA15\r
-#define        MSTP_CMT2       SYSTEM.MSTPCRA.BIT.MSTPA14\r
-#define        MSTP_CMT3       SYSTEM.MSTPCRA.BIT.MSTPA14\r
-#define        MSTP_TPU0       SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define        MSTP_TPU1       SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define        MSTP_TPU2       SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define        MSTP_TPU3       SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define        MSTP_TPU4       SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define        MSTP_TPU5       SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define        MSTP_PPG0       SYSTEM.MSTPCRA.BIT.MSTPA11\r
-#define        MSTP_PPG1       SYSTEM.MSTPCRA.BIT.MSTPA10\r
-#define        MSTP_MTU3       SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define        MSTP_GPT        SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define        MSTP_GPT0       SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define        MSTP_GPT1       SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define        MSTP_GPT2       SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define        MSTP_GPT3       SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define        MSTP_TMR0       SYSTEM.MSTPCRA.BIT.MSTPA5\r
-#define        MSTP_TMR1       SYSTEM.MSTPCRA.BIT.MSTPA5\r
-#define        MSTP_TMR2       SYSTEM.MSTPCRA.BIT.MSTPA4\r
-#define        MSTP_TMR3       SYSTEM.MSTPCRA.BIT.MSTPA4\r
-#define        MSTP_CMTW1      SYSTEM.MSTPCRA.BIT.MSTPA1\r
-#define        MSTP_CMTW0      SYSTEM.MSTPCRA.BIT.MSTPA0\r
-#define        MSTP_SCI0       SYSTEM.MSTPCRB.BIT.MSTPB31\r
-#define        MSTP_SMCI0      SYSTEM.MSTPCRB.BIT.MSTPB31\r
-#define        MSTP_SCI1       SYSTEM.MSTPCRB.BIT.MSTPB30\r
-#define        MSTP_SMCI1      SYSTEM.MSTPCRB.BIT.MSTPB30\r
-#define        MSTP_SCI2       SYSTEM.MSTPCRB.BIT.MSTPB29\r
-#define        MSTP_SMCI2      SYSTEM.MSTPCRB.BIT.MSTPB29\r
-#define        MSTP_SCI3       SYSTEM.MSTPCRB.BIT.MSTPB28\r
-#define        MSTP_SMCI3      SYSTEM.MSTPCRB.BIT.MSTPB28\r
-#define        MSTP_SCI4       SYSTEM.MSTPCRB.BIT.MSTPB27\r
-#define        MSTP_SMCI4      SYSTEM.MSTPCRB.BIT.MSTPB27\r
-#define        MSTP_SCI5       SYSTEM.MSTPCRB.BIT.MSTPB26\r
-#define        MSTP_SMCI5      SYSTEM.MSTPCRB.BIT.MSTPB26\r
-#define        MSTP_SCI6       SYSTEM.MSTPCRB.BIT.MSTPB25\r
-#define        MSTP_SMCI6      SYSTEM.MSTPCRB.BIT.MSTPB25\r
-#define        MSTP_SCI7       SYSTEM.MSTPCRB.BIT.MSTPB24\r
-#define        MSTP_SMCI7      SYSTEM.MSTPCRB.BIT.MSTPB24\r
-#define        MSTP_CRC        SYSTEM.MSTPCRB.BIT.MSTPB23\r
-#define        MSTP_DCU        SYSTEM.MSTPCRB.BIT.MSTPB22\r
-#define        MSTP_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPB21\r
-#define        MSTP_USB0       SYSTEM.MSTPCRB.BIT.MSTPB19\r
-#define        MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPB17\r
-#define        MSTP_EDMAC0     SYSTEM.MSTPCRB.BIT.MSTPB15\r
-#define        MSTP_EDMAC1     SYSTEM.MSTPCRB.BIT.MSTPB14\r
-#define        MSTP_USBHS      SYSTEM.MSTPCRB.BIT.MSTPB12\r
-#define        MSTP_ELC        SYSTEM.MSTPCRB.BIT.MSTPB9\r
-#define        MSTP_TEMPS      SYSTEM.MSTPCRB.BIT.MSTPB8\r
-#define        MSTP_DOC        SYSTEM.MSTPCRB.BIT.MSTPB6\r
-#define        MSTP_SCI12      SYSTEM.MSTPCRB.BIT.MSTPB4\r
-#define        MSTP_SMCI12     SYSTEM.MSTPCRB.BIT.MSTPB4\r
-#define        MSTP_CAN2       SYSTEM.MSTPCRB.BIT.MSTPB2\r
-#define        MSTP_CAN1       SYSTEM.MSTPCRB.BIT.MSTPB1\r
-#define        MSTP_CAN0       SYSTEM.MSTPCRB.BIT.MSTPB0\r
-#define        MSTP_SCIF8      SYSTEM.MSTPCRC.BIT.MSTPC27\r
-#define        MSTP_SCIF9      SYSTEM.MSTPCRC.BIT.MSTPC26\r
-#define        MSTP_SCIF10     SYSTEM.MSTPCRC.BIT.MSTPC25\r
-#define        MSTP_SCIF11     SYSTEM.MSTPCRC.BIT.MSTPC24\r
-#define        MSTP_QSPI       SYSTEM.MSTPCRC.BIT.MSTPC23\r
-#define        MSTP_CAC        SYSTEM.MSTPCRC.BIT.MSTPC19\r
-#define        MSTP_RIIC2      SYSTEM.MSTPCRC.BIT.MSTPC17\r
+#define        MSTP_DMAC               SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC0              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC1              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC2              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC3              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC4              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC5              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC6              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DMAC7              SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DTC                SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_DA                 SYSTEM.MSTPCRA.BIT.MSTPA19\r
+#define        MSTP_S12AD              SYSTEM.MSTPCRA.BIT.MSTPA17\r
+#define        MSTP_S12AD1             SYSTEM.MSTPCRA.BIT.MSTPA16\r
+#define        MSTP_CMT0               SYSTEM.MSTPCRA.BIT.MSTPA15\r
+#define        MSTP_CMT1               SYSTEM.MSTPCRA.BIT.MSTPA15\r
+#define        MSTP_CMT2               SYSTEM.MSTPCRA.BIT.MSTPA14\r
+#define        MSTP_CMT3               SYSTEM.MSTPCRA.BIT.MSTPA14\r
+#define        MSTP_TPU0               SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define        MSTP_TPU1               SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define        MSTP_TPU2               SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define        MSTP_TPU3               SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define        MSTP_TPU4               SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define        MSTP_TPU5               SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define        MSTP_PPG0               SYSTEM.MSTPCRA.BIT.MSTPA11\r
+#define        MSTP_PPG1               SYSTEM.MSTPCRA.BIT.MSTPA10\r
+#define        MSTP_MTU                SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU0               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU1               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU2               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU3               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU4               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU5               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU6               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU7               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_MTU8               SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define        MSTP_GPT                SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define        MSTP_GPT0               SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define        MSTP_GPT1               SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define        MSTP_GPT2               SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define        MSTP_GPT3               SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define        MSTP_TMR0               SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define        MSTP_TMR1               SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define        MSTP_TMR01              SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define        MSTP_TMR2               SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define        MSTP_TMR3               SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define        MSTP_TMR23              SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define        MSTP_CMTW0              SYSTEM.MSTPCRA.BIT.MSTPA1\r
+#define        MSTP_CMTW1              SYSTEM.MSTPCRA.BIT.MSTPA0\r
+#define        MSTP_SCI0               SYSTEM.MSTPCRB.BIT.MSTPB31\r
+#define        MSTP_SMCI0              SYSTEM.MSTPCRB.BIT.MSTPB31\r
+#define        MSTP_SCI1               SYSTEM.MSTPCRB.BIT.MSTPB30\r
+#define        MSTP_SMCI1              SYSTEM.MSTPCRB.BIT.MSTPB30\r
+#define        MSTP_SCI2               SYSTEM.MSTPCRB.BIT.MSTPB29\r
+#define        MSTP_SMCI2              SYSTEM.MSTPCRB.BIT.MSTPB29\r
+#define        MSTP_SCI3               SYSTEM.MSTPCRB.BIT.MSTPB28\r
+#define        MSTP_SMCI3              SYSTEM.MSTPCRB.BIT.MSTPB28\r
+#define        MSTP_SCI4               SYSTEM.MSTPCRB.BIT.MSTPB27\r
+#define        MSTP_SMCI4              SYSTEM.MSTPCRB.BIT.MSTPB27\r
+#define        MSTP_SCI5               SYSTEM.MSTPCRB.BIT.MSTPB26\r
+#define        MSTP_SMCI5              SYSTEM.MSTPCRB.BIT.MSTPB26\r
+#define        MSTP_SCI6               SYSTEM.MSTPCRB.BIT.MSTPB25\r
+#define        MSTP_SMCI6              SYSTEM.MSTPCRB.BIT.MSTPB25\r
+#define        MSTP_SCI7               SYSTEM.MSTPCRB.BIT.MSTPB24\r
+#define        MSTP_SMCI7              SYSTEM.MSTPCRB.BIT.MSTPB24\r
+#define        MSTP_CRC                SYSTEM.MSTPCRB.BIT.MSTPB23\r
+#define        MSTP_PDC                SYSTEM.MSTPCRB.BIT.MSTPB22\r
+#define        MSTP_RIIC0              SYSTEM.MSTPCRB.BIT.MSTPB21\r
+#define        MSTP_USB0               SYSTEM.MSTPCRB.BIT.MSTPB19\r
+#define        MSTP_RSPI0              SYSTEM.MSTPCRB.BIT.MSTPB17\r
+#define        MSTP_EDMAC0             SYSTEM.MSTPCRB.BIT.MSTPB15\r
+#define        MSTP_EDMAC1             SYSTEM.MSTPCRB.BIT.MSTPB14\r
+#define        MSTP_USBA               SYSTEM.MSTPCRB.BIT.MSTPB12\r
+#define        MSTP_ELC                SYSTEM.MSTPCRB.BIT.MSTPB9\r
+#define        MSTP_TEMPS              SYSTEM.MSTPCRB.BIT.MSTPB8\r
+#define        MSTP_DOC                SYSTEM.MSTPCRB.BIT.MSTPB6\r
+#define        MSTP_SCI12              SYSTEM.MSTPCRB.BIT.MSTPB4\r
+#define        MSTP_SMCI12             SYSTEM.MSTPCRB.BIT.MSTPB4\r
+#define        MSTP_CAN2               SYSTEM.MSTPCRB.BIT.MSTPB2\r
+#define        MSTP_CAN1               SYSTEM.MSTPCRB.BIT.MSTPB1\r
+#define        MSTP_CAN0               SYSTEM.MSTPCRB.BIT.MSTPB0\r
+#define        MSTP_SCIFA8             SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define        MSTP_SCIFA9             SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define        MSTP_SCIFA10    SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define        MSTP_SCIFA11    SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define        MSTP_QSPI               SYSTEM.MSTPCRC.BIT.MSTPC23\r
+#define        MSTP_CAC                SYSTEM.MSTPCRC.BIT.MSTPC19\r
+#define        MSTP_RIIC2              SYSTEM.MSTPCRC.BIT.MSTPC17\r
 #define        MSTP_STBYRAM    SYSTEM.MSTPCRC.BIT.MSTPC7\r
-#define        MSTP_ECCRAM     SYSTEM.MSTPCRC.BIT.MSTPC2\r
-#define        MSTP_RAM0       SYSTEM.MSTPCRC.BIT.MSTPC0\r
-#define        MSTP_AES        SYSTEM.MSTPCRD.BIT.MSTPD31\r
-#define        MSTP_DES        SYSTEM.MSTPCRD.BIT.MSTPD30\r
-#define        MSTP_SHA        SYSTEM.MSTPCRD.BIT.MSTPD29\r
-#define        MSTP_RNG        SYSTEM.MSTPCRD.BIT.MSTPD28\r
-#define        MSTP_SRC        SYSTEM.MSTPCRD.BIT.MSTPD23\r
-#define        MSTP_MMC        SYSTEM.MSTPCRD.BIT.MSTPD21\r
-#define        MSTP_SDHI       SYSTEM.MSTPCRD.BIT.MSTPD19\r
-#define        MSTP_SSI0       SYSTEM.MSTPCRD.BIT.MSTPD15\r
-#define        MSTP_SSI1       SYSTEM.MSTPCRD.BIT.MSTPD14\r
+#define        MSTP_ECCRAM             SYSTEM.MSTPCRC.BIT.MSTPC6\r
+#define        MSTP_RAM0               SYSTEM.MSTPCRC.BIT.MSTPC0\r
+#define        MSTP_AES                SYSTEM.MSTPCRD.BIT.MSTPD31\r
+#define        MSTP_DES                SYSTEM.MSTPCRD.BIT.MSTPD30\r
+#define        MSTP_SHA                SYSTEM.MSTPCRD.BIT.MSTPD29\r
+#define        MSTP_RNG                SYSTEM.MSTPCRD.BIT.MSTPD28\r
+#define        MSTP_SRC                SYSTEM.MSTPCRD.BIT.MSTPD23\r
+#define        MSTP_MMCIF              SYSTEM.MSTPCRD.BIT.MSTPD21\r
+#define        MSTP_SDHI               SYSTEM.MSTPCRD.BIT.MSTPD19\r
+#define        MSTP_SSI0               SYSTEM.MSTPCRD.BIT.MSTPD15\r
+#define        MSTP_SSI1               SYSTEM.MSTPCRD.BIT.MSTPD14\r
+\r
+#define        IS_CAN0_ERS0            IS0\r
+#define        IS_CAN1_ERS1            IS1\r
+#define        IS_CAN2_ERS2            IS2\r
+#define        IS_SCI0_TEI0            IS0\r
+#define        IS_SCI0_ERI0            IS1\r
+#define        IS_SCI1_TEI0            IS2\r
+#define        IS_SCI1_ERI1            IS3\r
+#define        IS_SCI2_TEI0            IS4\r
+#define        IS_SCI2_ERI2            IS5\r
+#define        IS_SCI3_TEI0            IS6\r
+#define        IS_SCI3_ERI3            IS7\r
+#define        IS_SCI4_TEI4            IS8\r
+#define        IS_SCI4_ERI4            IS9\r
+#define        IS_SCI5_TEI5            IS10\r
+#define        IS_SCI5_ERI5            IS11\r
+#define        IS_SCI6_TEI6            IS12\r
+#define        IS_SCI6_ERI6            IS13\r
+#define        IS_SCI7_TEI7            IS14\r
+#define        IS_SCI7_ERI7            IS15\r
+#define        IS_SCI12_TEI12          IS16\r
+#define        IS_SCI12_ERI12          IS17\r
+#define        IS_SCI12_SCIX0          IS18\r
+#define        IS_SCI12_SCIX1          IS19\r
+#define        IS_SCI12_SCIX2          IS20\r
+#define        IS_SCI12_SCIX3          IS21\r
+#define        IS_QSPI_QSPSSLI         IS24\r
+#define        IS_CAC_FERRF            IS26\r
+#define        IS_CAC_MENDF            IS27\r
+#define        IS_CAC_OVFF                     IS28\r
+#define        IS_DOC_DOPCF            IS29\r
+#define        IS_PDC_PCFEI            IS30\r
+#define        IS_PDC_PCERI            IS31\r
+#define        IS_SRC_PCERI            IS0\r
+#define        IS_SRC_OVF                      IS1\r
+#define        IS_SRC_CEF                      IS2\r
+#define        IS_SDHI_CDETI           IS3\r
+#define        IS_SDHI_CACI            IS4\r
+#define        IS_SDHI_SDACI           IS5\r
+#define        IS_MMCIF_CDETIO         IS6\r
+#define        IS_MMCIF_ERRIO          IS7\r
+#define        IS_MMCIF_ACCIO          IS8\r
+#define        IS_POE3_OEI1            IS9\r
+#define        IS_POE3_OEI2            IS10\r
+#define        IS_POE3_OEI3            IS11\r
+#define        IS_POE3_OEI4            IS12\r
+#define        IS_RIIC0_TEI0           IS13\r
+#define        IS_RIIC0_EEI0           IS14\r
+#define        IS_RIIC2_TEI2           IS15\r
+#define        IS_RIIC2_EEI2           IS16\r
+#define        IS_SSI0_SSIF0           IS17\r
+#define        IS_SSI1_SSIF1           IS18\r
+#define        IS_S12AD0_S12CMPI0      IS20\r
+#define        IS_S12AD1_S12CMPI1      IS22\r
+#define        IS_SCIFA8_TEIF8         IS0\r
+#define        IS_SCIFA8_ERIF8         IS1\r
+#define        IS_SCIFA8_BRIF8         IS2\r
+#define        IS_SCIFA8_DRIF8         IS3\r
+#define        IS_SCIFA9_TEIF9         IS4\r
+#define        IS_SCIFA9_ERIF9         IS5\r
+#define        IS_SCIFA9_BRIF9         IS6\r
+#define        IS_SCIFA9_DRIF9         IS7\r
+#define        IS_SCIFA10_TEIF10       IS8\r
+#define        IS_SCIFA10_ERIF10       IS9\r
+#define        IS_SCIFA10_BRIF10       IS10\r
+#define        IS_SCIFA10_DRIF10       IS11\r
+#define        IS_SCIFA11_TEIF11       IS12\r
+#define        IS_SCIFA11_ERIF11       IS13\r
+#define        IS_SCIFA11_BRIF11       IS14\r
+#define        IS_SCIFA11_DRIF11       IS15\r
+#define        IS_RSPI0_SPII0          IS16\r
+#define        IS_RSPI0_SPEI0          IS17\r
+#define        IS_EPTPC_MINT           IS0\r
+#define        IS_PRPEDMAC_PINT        IS1\r
+#define        IS_EDMAC0_EINT0         IS4\r
+#define        IS_EDMAC1_EINT1         IS5\r
+\r
+#define        EN_CAN0_ERS0            EN0\r
+#define        EN_CAN1_ERS1            EN1\r
+#define        EN_CAN2_ERS2            EN2\r
+#define        EN_SCI0_TEI0            EN0\r
+#define        EN_SCI0_ERI0            EN1\r
+#define        EN_SCI1_TEI0            EN2\r
+#define        EN_SCI1_ERI1            EN3\r
+#define        EN_SCI2_TEI0            EN4\r
+#define        EN_SCI2_ERI2            EN5\r
+#define        EN_SCI3_TEI0            EN6\r
+#define        EN_SCI3_ERI3            EN7\r
+#define        EN_SCI4_TEI4            EN8\r
+#define        EN_SCI4_ERI4            EN9\r
+#define        EN_SCI5_TEI5            EN10\r
+#define        EN_SCI5_ERI5            EN11\r
+#define        EN_SCI6_TEI6            EN12\r
+#define        EN_SCI6_ERI6            EN13\r
+#define        EN_SCI7_TEI7            EN14\r
+#define        EN_SCI7_ERI7            EN15\r
+#define        EN_SCI12_TEI12          EN16\r
+#define        EN_SCI12_ERI12          EN17\r
+#define        EN_SCI12_SCIX0          EN18\r
+#define        EN_SCI12_SCIX1          EN19\r
+#define        EN_SCI12_SCIX2          EN20\r
+#define        EN_SCI12_SCIX3          EN21\r
+#define        EN_QSPI_QSPSSLI         EN24\r
+#define        EN_CAC_FERRF            EN26\r
+#define        EN_CAC_MENDF            EN27\r
+#define        EN_CAC_OVFF                     EN28\r
+#define        EN_DOC_DOPCF            EN29\r
+#define        EN_PDC_PCFEI            EN30\r
+#define        EN_PDC_PCERI            EN31\r
+#define        EN_SRC_PCERI            EN0\r
+#define        EN_SRC_OVF                      EN1\r
+#define        EN_SRC_CEF                      EN2\r
+#define        EN_SDHI_CDETI           EN3\r
+#define        EN_SDHI_CACI            EN4\r
+#define        EN_SDHI_SDACI           EN5\r
+#define        EN_MMCIF_CDETIO         EN6\r
+#define        EN_MMCIF_ERRIO          EN7\r
+#define        EN_MMCIF_ACCIO          EN8\r
+#define        EN_POE3_OEI1            EN9\r
+#define        EN_POE3_OEI2            EN10\r
+#define        EN_POE3_OEI3            EN11\r
+#define        EN_POE3_OEI4            EN12\r
+#define        EN_RIIC0_TEI0           EN13\r
+#define        EN_RIIC0_EEI0           EN14\r
+#define        EN_RIIC2_TEI2           EN15\r
+#define        EN_RIIC2_EEI2           EN16\r
+#define        EN_SSI0_SSIF0           EN17\r
+#define        EN_SSI1_SSIF1           EN18\r
+#define        EN_S12AD0_S12CMPI0      EN20\r
+#define        EN_S12AD1_S12CMPI1      EN22\r
+#define        EN_SCIFA8_TEIF8         EN0\r
+#define        EN_SCIFA8_ERIF8         EN1\r
+#define        EN_SCIFA8_BRIF8         EN2\r
+#define        EN_SCIFA8_DRIF8         EN3\r
+#define        EN_SCIFA9_TEIF9         EN4\r
+#define        EN_SCIFA9_ERIF9         EN5\r
+#define        EN_SCIFA9_BRIF9         EN6\r
+#define        EN_SCIFA9_DRIF9         EN7\r
+#define        EN_SCIFA10_TEIF10       EN8\r
+#define        EN_SCIFA10_ERIF10       EN9\r
+#define        EN_SCIFA10_BRIF10       EN10\r
+#define        EN_SCIFA10_DRIF10       EN11\r
+#define        EN_SCIFA11_TEIF11       EN12\r
+#define        EN_SCIFA11_ERIF11       EN13\r
+#define        EN_SCIFA11_BRIF11       EN14\r
+#define        EN_SCIFA11_DRIF11       EN15\r
+#define        EN_RSPI0_SPII0          EN16\r
+#define        EN_RSPI0_SPEI0          EN17\r
+#define        EN_EPTPC_MINT           EN0\r
+#define        EN_PRPEDMAC_PINT        EN1\r
+#define        EN_EDMAC0_EINT0         EN4\r
+#define        EN_EDMAC1_EINT1         EN5\r
+\r
+#define        CLR_CAN0_ERS0           CLR0\r
+#define        CLR_CAN1_ERS1           CLR1\r
+#define        CLR_CAN2_ERS2           CLR2\r
+\r
+#define        GEN_CAN0_ERS0           GENBE0\r
+#define        GEN_CAN1_ERS1           GENBE0\r
+#define        GEN_CAN2_ERS2           GENBE0\r
+#define        GEN_SCI0_TEI0           GENBL0\r
+#define        GEN_SCI0_ERI0           GENBL0\r
+#define        GEN_SCI1_TEI0           GENBL0\r
+#define        GEN_SCI1_ERI1           GENBL0\r
+#define        GEN_SCI2_TEI0           GENBL0\r
+#define        GEN_SCI2_ERI2           GENBL0\r
+#define        GEN_SCI3_TEI0           GENBL0\r
+#define        GEN_SCI3_ERI3           GENBL0\r
+#define        GEN_SCI4_TEI4           GENBL0\r
+#define        GEN_SCI4_ERI4           GENBL0\r
+#define        GEN_SCI5_TEI5           GENBL0\r
+#define        GEN_SCI5_ERI5           GENBL0\r
+#define        GEN_SCI6_TEI6           GENBL0\r
+#define        GEN_SCI6_ERI6           GENBL0\r
+#define        GEN_SCI7_TEI7           GENBL0\r
+#define        GEN_SCI7_ERI7           GENBL0\r
+#define        GEN_SCI12_TEI12         GENBL0\r
+#define        GEN_SCI12_ERI12         GENBL0\r
+#define        GEN_SCI12_SCIX0         GENBL0\r
+#define        GEN_SCI12_SCIX1         GENBL0\r
+#define        GEN_SCI12_SCIX2         GENBL0\r
+#define        GEN_SCI12_SCIX3         GENBL0\r
+#define        GEN_QSPI_QSPSSLI        GENBL0\r
+#define        GEN_CAC_FERRF           GENBL0\r
+#define        GEN_CAC_MENDF           GENBL0\r
+#define        GEN_CAC_OVFF            GENBL0\r
+#define        GEN_DOC_DOPCF           GENBL0\r
+#define        GEN_PDC_PCFEI           GENBL0\r
+#define        GEN_PDC_PCERI           GENBL0\r
+#define        GEN_SRC_PCERI           GENBL1\r
+#define        GEN_SRC_OVF                     GENBL1\r
+#define        GEN_SRC_CEF                     GENBL1\r
+#define        GEN_SDHI_CDETI          GENBL1\r
+#define        GEN_SDHI_CACI           GENBL1\r
+#define        GEN_SDHI_SDACI          GENBL1\r
+#define        GEN_MMCIF_CDETIO        GENBL1\r
+#define        GEN_MMCIF_ERRIO         GENBL1\r
+#define        GEN_MMCIF_ACCIO         GENBL1\r
+#define        GEN_POE3_OEI1           GENBL1\r
+#define        GEN_POE3_OEI2           GENBL1\r
+#define        GEN_POE3_OEI3           GENBL1\r
+#define        GEN_POE3_OEI4           GENBL1\r
+#define        GEN_RIIC0_TEI0          GENBL1\r
+#define        GEN_RIIC0_EEI0          GENBL1\r
+#define        GEN_RIIC2_TEI2          GENBL1\r
+#define        GEN_RIIC2_EEI2          GENBL1\r
+#define        GEN_SSI0_SSIF0          GENBL1\r
+#define        GEN_SSI1_SSIF1          GENBL1\r
+#define        GEN_S12AD0_S12CMPI0     GENBL1\r
+#define        GEN_S12AD1_S12CMPI1     GENBL1\r
+#define        GEN_SCIFA8_TEIF8        GENAL0\r
+#define        GEN_SCIFA8_ERIF8        GENAL0\r
+#define        GEN_SCIFA8_BRIF8        GENAL0\r
+#define        GEN_SCIFA8_DRIF8        GENAL0\r
+#define        GEN_SCIFA9_TEIF9        GENAL0\r
+#define        GEN_SCIFA9_ERIF9        GENAL0\r
+#define        GEN_SCIFA9_BRIF9        GENAL0\r
+#define        GEN_SCIFA9_DRIF9        GENAL0\r
+#define        GEN_SCIFA10_TEIF10      GENAL0\r
+#define        GEN_SCIFA10_ERIF10      GENAL0\r
+#define        GEN_SCIFA10_BRIF10      GENAL0\r
+#define        GEN_SCIFA10_DRIF10      GENAL0\r
+#define        GEN_SCIFA11_TEIF11      GENAL0\r
+#define        GEN_SCIFA11_ERIF11      GENAL0\r
+#define        GEN_SCIFA11_BRIF11      GENAL0\r
+#define        GEN_SCIFA11_DRIF11      GENAL0\r
+#define        GEN_RSPI0_SPII0         GENAL0\r
+#define        GEN_RSPI0_SPEI0         GENAL0\r
+#define        GEN_EPTPC_MINT          GENAL1\r
+#define        GEN_PRPEDMAC_PINT       GENAL1\r
+#define        GEN_EDMAC0_EINT0        GENAL1\r
+#define        GEN_EDMAC1_EINT1        GENAL1\r
+\r
+#define        GRP_CAN0_ERS0           GRPBE0\r
+#define        GRP_CAN1_ERS1           GRPBE0\r
+#define        GRP_CAN2_ERS2           GRPBE0\r
+#define        GRP_SCI0_TEI0           GRPBL0\r
+#define        GRP_SCI0_ERI0           GRPBL0\r
+#define        GRP_SCI1_TEI0           GRPBL0\r
+#define        GRP_SCI1_ERI1           GRPBL0\r
+#define        GRP_SCI2_TEI0           GRPBL0\r
+#define        GRP_SCI2_ERI2           GRPBL0\r
+#define        GRP_SCI3_TEI0           GRPBL0\r
+#define        GRP_SCI3_ERI3           GRPBL0\r
+#define        GRP_SCI4_TEI4           GRPBL0\r
+#define        GRP_SCI4_ERI4           GRPBL0\r
+#define        GRP_SCI5_TEI5           GRPBL0\r
+#define        GRP_SCI5_ERI5           GRPBL0\r
+#define        GRP_SCI6_TEI6           GRPBL0\r
+#define        GRP_SCI6_ERI6           GRPBL0\r
+#define        GRP_SCI7_TEI7           GRPBL0\r
+#define        GRP_SCI7_ERI7           GRPBL0\r
+#define        GRP_SCI12_TEI12         GRPBL0\r
+#define        GRP_SCI12_ERI12         GRPBL0\r
+#define        GRP_SCI12_SCIX0         GRPBL0\r
+#define        GRP_SCI12_SCIX1         GRPBL0\r
+#define        GRP_SCI12_SCIX2         GRPBL0\r
+#define        GRP_SCI12_SCIX3         GRPBL0\r
+#define        GRP_QSPI_QSPSSLI        GRPBL0\r
+#define        GRP_CAC_FERRF           GRPBL0\r
+#define        GRP_CAC_MENDF           GRPBL0\r
+#define        GRP_CAC_OVFF            GRPBL0\r
+#define        GRP_DOC_DOPCF           GRPBL0\r
+#define        GRP_PDC_PCFEI           GRPBL0\r
+#define        GRP_PDC_PCERI           GRPBL0\r
+#define        GRP_SRC_PCERI           GRPBL1\r
+#define        GRP_SRC_OVF                     GRPBL1\r
+#define        GRP_SRC_CEF                     GRPBL1\r
+#define        GRP_SDHI_CDETI          GRPBL1\r
+#define        GRP_SDHI_CACI           GRPBL1\r
+#define        GRP_SDHI_SDACI          GRPBL1\r
+#define        GRP_MMCIF_CDETIO        GRPBL1\r
+#define        GRP_MMCIF_ERRIO         GRPBL1\r
+#define        GRP_MMCIF_ACCIO         GRPBL1\r
+#define        GRP_POE3_OEI1           GRPBL1\r
+#define        GRP_POE3_OEI2           GRPBL1\r
+#define        GRP_POE3_OEI3           GRPBL1\r
+#define        GRP_POE3_OEI4           GRPBL1\r
+#define        GRP_RIIC0_TEI0          GRPBL1\r
+#define        GRP_RIIC0_EEI0          GRPBL1\r
+#define        GRP_RIIC2_TEI2          GRPBL1\r
+#define        GRP_RIIC2_EEI2          GRPBL1\r
+#define        GRP_SSI0_SSIF0          GRPBL1\r
+#define        GRP_SSI1_SSIF1          GRPBL1\r
+#define        GRP_S12AD0_S12CMPI0     GRPBL1\r
+#define        GRP_S12AD1_S12CMPI1     GRPBL1\r
+#define        GRP_SCIFA8_TEIF8        GRPAL0\r
+#define        GRP_SCIFA8_ERIF8        GRPAL0\r
+#define        GRP_SCIFA8_BRIF8        GRPAL0\r
+#define        GRP_SCIFA8_DRIF8        GRPAL0\r
+#define        GRP_SCIFA9_TEIF9        GRPAL0\r
+#define        GRP_SCIFA9_ERIF9        GRPAL0\r
+#define        GRP_SCIFA9_BRIF9        GRPAL0\r
+#define        GRP_SCIFA9_DRIF9        GRPAL0\r
+#define        GRP_SCIFA10_TEIF10      GRPAL0\r
+#define        GRP_SCIFA10_ERIF10      GRPAL0\r
+#define        GRP_SCIFA10_BRIF10      GRPAL0\r
+#define        GRP_SCIFA10_DRIF10      GRPAL0\r
+#define        GRP_SCIFA11_TEIF11      GRPAL0\r
+#define        GRP_SCIFA11_ERIF11      GRPAL0\r
+#define        GRP_SCIFA11_BRIF11      GRPAL0\r
+#define        GRP_SCIFA11_DRIF11      GRPAL0\r
+#define        GRP_RSPI0_SPII0         GRPAL0\r
+#define        GRP_RSPI0_SPEI0         GRPAL0\r
+#define        GRP_EPTPC_MINT          GRPAL1\r
+#define        GRP_PRPEDMAC_PINT       GRPAL1\r
+#define        GRP_EDMAC0_EINT0        GRPAL1\r
+#define        GRP_EDMAC1_EINT1        GRPAL1\r
+\r
+#define        GCR_CAN0_ERS0           GCRBE0\r
+#define        GCR_CAN1_ERS1           GCRBE0\r
+#define        GCR_CAN2_ERS2           GCRBE0\r
 \r
 #define        __IR( x )               ICU.IR[ IR ## x ].BIT.IR\r
 #define         _IR( x )               __IR( x )\r
@@ -18461,145 +17349,148 @@ IPR_PERIA255_INTA255=255
 #define         _MSTP( x )             __MSTP( x )\r
 #define          MSTP( x )             _MSTP( _ ## x )\r
 \r
-#define        BSC             (*(volatile struct st_bsc     __evenaccess *)0x81300)\r
-#define        CAC             (*(volatile struct st_cac     __evenaccess *)0x8B000)\r
-#define        CAN0    (*(volatile struct st_can     __evenaccess *)0x90200)\r
-#define        CAN1    (*(volatile struct st_can     __evenaccess *)0x91200)\r
-#define        CAN2    (*(volatile struct st_can     __evenaccess *)0x92200)\r
-#define        CMT             (*(volatile struct st_cmt     __evenaccess *)0x88000)\r
-#define        CMT0    (*(volatile struct st_cmt0    __evenaccess *)0x88002)\r
-#define        CMT1    (*(volatile struct st_cmt0    __evenaccess *)0x88008)\r
-#define        CMT2    (*(volatile struct st_cmt0    __evenaccess *)0x88012)\r
-#define        CMT3    (*(volatile struct st_cmt0    __evenaccess *)0x88018)\r
-#define        CMTW0   (*(volatile struct st_cmtw    __evenaccess *)0x94200)\r
-#define        CMTW1   (*(volatile struct st_cmtw    __evenaccess *)0x94280)\r
-#define        CRC             (*(volatile struct st_crc     __evenaccess *)0x88280)\r
-#define        DA              (*(volatile struct st_da      __evenaccess *)0x88040)\r
-#define        DMAC    (*(volatile struct st_dmac    __evenaccess *)0x82200)\r
-#define        DMAC0   (*(volatile struct st_dmac0   __evenaccess *)0x82000)\r
-#define        DMAC1   (*(volatile struct st_dmac1   __evenaccess *)0x82040)\r
-#define        DMAC2   (*(volatile struct st_dmac1   __evenaccess *)0x82080)\r
-#define        DMAC3   (*(volatile struct st_dmac1   __evenaccess *)0x820C0)\r
-#define        DMAC4   (*(volatile struct st_dmac1   __evenaccess *)0x82100)\r
-#define        DMAC5   (*(volatile struct st_dmac1   __evenaccess *)0x82140)\r
-#define        DMAC6   (*(volatile struct st_dmac1   __evenaccess *)0x82180)\r
-#define        DMAC7   (*(volatile struct st_dmac1   __evenaccess *)0x821C0)\r
-#define        DOC             (*(volatile struct st_doc     __evenaccess *)0x8B080)\r
-#define        DTC             (*(volatile struct st_dtc     __evenaccess *)0x82400)\r
-#define        ECCRAM  (*(volatile struct st_eccram  __evenaccess *)0x812C0)\r
-#define        EDMAC0  (*(volatile struct st_edmac   __evenaccess *)0xC0000)\r
-#define        EDMAC1  (*(volatile struct st_edmac   __evenaccess *)0xC0200)\r
-#define        EDMACP  (*(volatile struct st_edmacp  __evenaccess *)0xC0400)\r
-#define        ELC             (*(volatile struct st_elc     __evenaccess *)0x8B100)\r
-#define        EPTPC   (*(volatile struct st_eptpc   __evenaccess *)0xC0500)\r
-#define        EPTPCS0 (*(volatile struct st_eptpcs  __evenaccess *)0xC4800)\r
-#define        EPTPCS1 (*(volatile struct st_eptpcs  __evenaccess *)0xC4C00)\r
-#define        ETHERC0 (*(volatile struct st_etherc  __evenaccess *)0xC0100)\r
-#define        ETHERC1 (*(volatile struct st_etherc  __evenaccess *)0xC0300)\r
-#define        EXDMAC  (*(volatile struct st_exdmac  __evenaccess *)0x82A00)\r
-#define        EXDMAC0 (*(volatile struct st_exdmac0 __evenaccess *)0x82800)\r
-#define        EXDMAC1 (*(volatile struct st_exdmac1 __evenaccess *)0x82840)\r
-#define        GPT             (*(volatile struct st_gpt     __evenaccess *)0xC2000)\r
-#define        GPT0    (*(volatile struct st_gpt0    __evenaccess *)0xC2100)\r
-#define        GPT1    (*(volatile struct st_gpt0    __evenaccess *)0xC2180)\r
-#define        GPT2    (*(volatile struct st_gpt0    __evenaccess *)0xC2200)\r
-#define        GPT3    (*(volatile struct st_gpt0    __evenaccess *)0xC2280)\r
-#define        ICU             (*(volatile struct st_icu     __evenaccess *)0x87000)\r
-#define        IWDT    (*(volatile struct st_iwdt    __evenaccess *)0x88030)\r
-#define        MMC             (*(volatile struct st_mmc     __evenaccess *)0x88500)\r
-#define        MPC             (*(volatile struct st_mpc     __evenaccess *)0x8C100)\r
-#define        MPU             (*(volatile struct st_mpu     __evenaccess *)0x86400)\r
-#define        MTU             (*(volatile struct st_mtu     __evenaccess *)0xC120A)\r
-#define        MTU0    (*(volatile struct st_mtu0    __evenaccess *)0xC1290)\r
-#define        MTU1    (*(volatile struct st_mtu1    __evenaccess *)0xC1290)\r
-#define        MTU2    (*(volatile struct st_mtu2    __evenaccess *)0xC1292)\r
-#define        MTU3    (*(volatile struct st_mtu3    __evenaccess *)0xC1200)\r
-#define        MTU4    (*(volatile struct st_mtu4    __evenaccess *)0xC1200)\r
-#define        MTU5    (*(volatile struct st_mtu5    __evenaccess *)0xC1294)\r
-#define        MTU6    (*(volatile struct st_mtu6    __evenaccess *)0xC12A2)\r
-#define        MTU7    (*(volatile struct st_mtu7    __evenaccess *)0xC12A4)\r
-#define        MTU8    (*(volatile struct st_mtu8    __evenaccess *)0xC1298)\r
-#define        PDC             (*(volatile struct st_pdc     __evenaccess *)0xA0500)\r
-#define        POE3    (*(volatile struct st_poe     __evenaccess *)0x8C4C0)\r
-#define        PORT0   (*(volatile struct st_port0   __evenaccess *)0x8C000)\r
-#define        PORT1   (*(volatile struct st_port1   __evenaccess *)0x8C001)\r
-#define        PORT2   (*(volatile struct st_port2   __evenaccess *)0x8C002)\r
-#define        PORT3   (*(volatile struct st_port3   __evenaccess *)0x8C003)\r
-#define        PORT4   (*(volatile struct st_port4   __evenaccess *)0x8C004)\r
-#define        PORT5   (*(volatile struct st_port5   __evenaccess *)0x8C005)\r
-#define        PORT6   (*(volatile struct st_port6   __evenaccess *)0x8C006)\r
-#define        PORT7   (*(volatile struct st_port7   __evenaccess *)0x8C007)\r
-#define        PORT8   (*(volatile struct st_port8   __evenaccess *)0x8C008)\r
-#define        PORT9   (*(volatile struct st_port9   __evenaccess *)0x8C009)\r
-#define        PORTA   (*(volatile struct st_porta   __evenaccess *)0x8C00A)\r
-#define        PORTB   (*(volatile struct st_portb   __evenaccess *)0x8C00B)\r
-#define        PORTC   (*(volatile struct st_portc   __evenaccess *)0x8C00C)\r
-#define        PORTD   (*(volatile struct st_portd   __evenaccess *)0x8C00D)\r
-#define        PORTE   (*(volatile struct st_porte   __evenaccess *)0x8C00E)\r
-#define        PORTF   (*(volatile struct st_portf   __evenaccess *)0x8C00F)\r
-#define        PORTG   (*(volatile struct st_portg   __evenaccess *)0x8C010)\r
-#define        PORTJ   (*(volatile struct st_portj   __evenaccess *)0x8C012)\r
-#define        PPG0    (*(volatile struct st_ppg0    __evenaccess *)0x881E6)\r
-#define        PPG1    (*(volatile struct st_ppg1    __evenaccess *)0x881F0)\r
-#define        QSPI    (*(volatile struct st_qspi    __evenaccess *)0x89E00)\r
-#define        RIIC0   (*(volatile struct st_riic0   __evenaccess *)0x88300)\r
-#define        RIIC2   (*(volatile struct st_riic2   __evenaccess *)0x88340)\r
-#define        RSPI0   (*(volatile struct st_rspi0   __evenaccess *)0xD0100)\r
-#define        RTC             (*(volatile struct st_rtc     __evenaccess *)0x8C400)\r
-#define        RTCB    (*(volatile struct st_rtcb    __evenaccess *)0x8C402)\r
-#define        S12ADC0 (*(volatile struct st_s12ad   __evenaccess *)0x89000)\r
-#define        S12ADC1 (*(volatile struct st_s12ad1  __evenaccess *)0x89104)\r
-#define        SCI0    (*(volatile struct st_sci0    __evenaccess *)0x8A000)\r
-#define        SCI1    (*(volatile struct st_sci0    __evenaccess *)0x8A020)\r
-#define        SCI2    (*(volatile struct st_sci0    __evenaccess *)0x8A040)\r
-#define        SCI3    (*(volatile struct st_sci0    __evenaccess *)0x8A060)\r
-#define        SCI4    (*(volatile struct st_sci0    __evenaccess *)0x8A080)\r
-#define        SCI5    (*(volatile struct st_sci0    __evenaccess *)0x8A0A0)\r
-#define        SCI6    (*(volatile struct st_sci0    __evenaccess *)0x8A0C0)\r
-#define        SCI7    (*(volatile struct st_sci0    __evenaccess *)0x8A0E0)\r
-#define        SCI12   (*(volatile struct st_sci12   __evenaccess *)0x8B300)\r
-//#define      SCIA    (*(volatile struct st_scia    __evenaccess *)0x88484)\r
-//#define      SCIF10A (*(volatile struct st_scia    __evenaccess *)0xD0042)\r
-//#define      SCIF11A (*(volatile struct st_scia    __evenaccess *)0xD0062)\r
-#define        SCIF8   (*(volatile struct st_scif    __evenaccess *)0xD0000)\r
-#define        SCIF9   (*(volatile struct st_scif    __evenaccess *)0xD0020)\r
-#define        SCIF10  (*(volatile struct st_scif    __evenaccess *)0xD0040)\r
-#define        SCIF11  (*(volatile struct st_scif    __evenaccess *)0xD0060)\r
-//#define      SCIF8A  (*(volatile struct st_scia    __evenaccess *)0xD0002)\r
-//#define      SCIF9A  (*(volatile struct st_scia    __evenaccess *)0xD0022)\r
-#define        SMCI    (*(volatile struct st_smci    __evenaccess *)0x88480)\r
-#define        SMCI0   (*(volatile struct st_smci0   __evenaccess *)0x8A000)\r
-#define        SMCI1   (*(volatile struct st_smci0   __evenaccess *)0x8A020)\r
-#define        SMCI2   (*(volatile struct st_smci0   __evenaccess *)0x8A040)\r
-#define        SMCI3   (*(volatile struct st_smci0   __evenaccess *)0x8A060)\r
-#define        SMCI4   (*(volatile struct st_smci0   __evenaccess *)0x8A080)\r
-#define        SMCI5   (*(volatile struct st_smci0   __evenaccess *)0x8A0A0)\r
-#define        SMCI6   (*(volatile struct st_smci0   __evenaccess *)0x8A0C0)\r
-#define        SMCI7   (*(volatile struct st_smci0   __evenaccess *)0x8A0E0)\r
-#define        SMCI12  (*(volatile struct st_smci0   __evenaccess *)0x8B300)\r
-//#define      SMCIA   (*(volatile struct st_scia    __evenaccess *)0x88484)\r
-#define        SRC             (*(volatile struct st_src     __evenaccess *)0x98000)\r
-#define        SSI0    (*(volatile struct st_ssi     __evenaccess *)0x8A500)\r
-#define        SSI1    (*(volatile struct st_ssi     __evenaccess *)0x8A540)\r
-#define        SYSTEM  (*(volatile struct st_system  __evenaccess *)0x80000)\r
-#define        TEMPS   (*(volatile struct st_temps   __evenaccess *)0x8C500)\r
-#define        TMR0    (*(volatile struct st_tmr0    __evenaccess *)0x88200)\r
-#define        TMR1    (*(volatile struct st_tmr1    __evenaccess *)0x88201)\r
-#define        TMR2    (*(volatile struct st_tmr0    __evenaccess *)0x88210)\r
-#define        TMR3    (*(volatile struct st_tmr1    __evenaccess *)0x88211)\r
-#define        TMR01   (*(volatile struct st_tmr01   __evenaccess *)0x88204)\r
-#define        TMR23   (*(volatile struct st_tmr01   __evenaccess *)0x88214)\r
-#define        TPU0    (*(volatile struct st_tpu0    __evenaccess *)0x88108)\r
-#define        TPU1    (*(volatile struct st_tpu1    __evenaccess *)0x88108)\r
-#define        TPU2    (*(volatile struct st_tpu2    __evenaccess *)0x8810A)\r
-#define        TPU3    (*(volatile struct st_tpu3    __evenaccess *)0x8810A)\r
-#define        TPU4    (*(volatile struct st_tpu4    __evenaccess *)0x8810C)\r
-#define        TPU5    (*(volatile struct st_tpu5    __evenaccess *)0x8810C)\r
-#define        TPUA    (*(volatile struct st_tpua    __evenaccess *)0x88100)\r
-#define        USB             (*(volatile struct st_usb     __evenaccess *)0xA0400)\r
-#define        USB0    (*(volatile struct st_usb0    __evenaccess *)0xA0000)\r
-#define        USBHS   (*(volatile struct st_usbhs   __evenaccess *)0xD0400)\r
-#define        WDT             (*(volatile struct st_wdt     __evenaccess *)0x88020)\r
+#define        __IS( x )               ICU.GRP ## x.BIT.IS ## x\r
+#define         _IS( x )               __IS( x )\r
+#define          IS( x , y )   _IS( _ ## x ## _ ## y )\r
+#define        __EN( x )               ICU.GEN ## x.BIT.EN ## x\r
+#define         _EN( x )               __EN( x )\r
+#define          EN( x , y )   _EN( _ ## x ## _ ## y )\r
+#define        __CLR( x )              ICU.GCR ## x.BIT.CLR ## x\r
+#define         _CLR( x )              __CLR( x )\r
+#define          CLR( x , y )  _CLR( _ ## x ## _ ## y )\r
+\r
+#define        BSC                     (*(volatile struct st_bsc      __evenaccess *)0x81300)\r
+#define        CAC                     (*(volatile struct st_cac      __evenaccess *)0x8B000)\r
+#define        CAN0            (*(volatile struct st_can      __evenaccess *)0x90200)\r
+#define        CAN1            (*(volatile struct st_can      __evenaccess *)0x91200)\r
+#define        CAN2            (*(volatile struct st_can      __evenaccess *)0x92200)\r
+#define        CMT                     (*(volatile struct st_cmt      __evenaccess *)0x88000)\r
+#define        CMT0            (*(volatile struct st_cmt0     __evenaccess *)0x88002)\r
+#define        CMT1            (*(volatile struct st_cmt0     __evenaccess *)0x88008)\r
+#define        CMT2            (*(volatile struct st_cmt0     __evenaccess *)0x88012)\r
+#define        CMT3            (*(volatile struct st_cmt0     __evenaccess *)0x88018)\r
+#define        CMTW0           (*(volatile struct st_cmtw     __evenaccess *)0x94200)\r
+#define        CMTW1           (*(volatile struct st_cmtw     __evenaccess *)0x94280)\r
+#define        CRC                     (*(volatile struct st_crc      __evenaccess *)0x88280)\r
+#define        DA                      (*(volatile struct st_da       __evenaccess *)0x88040)\r
+#define        DMAC            (*(volatile struct st_dmac     __evenaccess *)0x82200)\r
+#define        DMAC0           (*(volatile struct st_dmac0    __evenaccess *)0x82000)\r
+#define        DMAC1           (*(volatile struct st_dmac1    __evenaccess *)0x82040)\r
+#define        DMAC2           (*(volatile struct st_dmac1    __evenaccess *)0x82080)\r
+#define        DMAC3           (*(volatile struct st_dmac1    __evenaccess *)0x820C0)\r
+#define        DMAC4           (*(volatile struct st_dmac1    __evenaccess *)0x82100)\r
+#define        DMAC5           (*(volatile struct st_dmac1    __evenaccess *)0x82140)\r
+#define        DMAC6           (*(volatile struct st_dmac1    __evenaccess *)0x82180)\r
+#define        DMAC7           (*(volatile struct st_dmac1    __evenaccess *)0x821C0)\r
+#define        DOC                     (*(volatile struct st_doc      __evenaccess *)0x8B080)\r
+#define        DTC                     (*(volatile struct st_dtc      __evenaccess *)0x82400)\r
+#define        ECCRAM          (*(volatile struct st_eccram   __evenaccess *)0x812C0)\r
+#define        EDMAC0          (*(volatile struct st_edmac    __evenaccess *)0xC0000)\r
+#define        EDMAC1          (*(volatile struct st_edmac    __evenaccess *)0xC0200)\r
+#define        ELC                     (*(volatile struct st_elc      __evenaccess *)0x8B100)\r
+#define        EPTPC           (*(volatile struct st_eptpc    __evenaccess *)0xC0500)\r
+#define        EPTPC0          (*(volatile struct st_eptpc0   __evenaccess *)0xC4800)\r
+#define        EPTPC1          (*(volatile struct st_eptpc0   __evenaccess *)0xC4C00)\r
+#define        ETHERC0         (*(volatile struct st_etherc   __evenaccess *)0xC0100)\r
+#define        ETHERC1         (*(volatile struct st_etherc   __evenaccess *)0xC0300)\r
+#define        EXDMAC          (*(volatile struct st_exdmac   __evenaccess *)0x82A00)\r
+#define        EXDMAC0         (*(volatile struct st_exdmac0  __evenaccess *)0x82800)\r
+#define        EXDMAC1         (*(volatile struct st_exdmac1  __evenaccess *)0x82840)\r
+#define        FLASH           (*(volatile struct st_flash    __evenaccess *)0x8C296)\r
+#define        GPT                     (*(volatile struct st_gpt      __evenaccess *)0xC2000)\r
+#define        GPT0            (*(volatile struct st_gpt0     __evenaccess *)0xC2100)\r
+#define        GPT1            (*(volatile struct st_gpt0     __evenaccess *)0xC2180)\r
+#define        GPT2            (*(volatile struct st_gpt0     __evenaccess *)0xC2200)\r
+#define        GPT3            (*(volatile struct st_gpt0     __evenaccess *)0xC2280)\r
+#define        ICU                     (*(volatile struct st_icu      __evenaccess *)0x87000)\r
+#define        IWDT            (*(volatile struct st_iwdt     __evenaccess *)0x88030)\r
+#define        MMCIF           (*(volatile struct st_mmcif    __evenaccess *)0x88500)\r
+#define        MPC                     (*(volatile struct st_mpc      __evenaccess *)0x8C100)\r
+#define        MPU                     (*(volatile struct st_mpu      __evenaccess *)0x86400)\r
+#define        MTU                     (*(volatile struct st_mtu      __evenaccess *)0xC120A)\r
+#define        MTU0            (*(volatile struct st_mtu0     __evenaccess *)0xC1290)\r
+#define        MTU1            (*(volatile struct st_mtu1     __evenaccess *)0xC1290)\r
+#define        MTU2            (*(volatile struct st_mtu2     __evenaccess *)0xC1292)\r
+#define        MTU3            (*(volatile struct st_mtu3     __evenaccess *)0xC1200)\r
+#define        MTU4            (*(volatile struct st_mtu4     __evenaccess *)0xC1200)\r
+#define        MTU5            (*(volatile struct st_mtu5     __evenaccess *)0xC1A94)\r
+#define        MTU6            (*(volatile struct st_mtu6     __evenaccess *)0xC1A00)\r
+#define        MTU7            (*(volatile struct st_mtu7     __evenaccess *)0xC1A00)\r
+#define        MTU8            (*(volatile struct st_mtu8     __evenaccess *)0xC1298)\r
+#define        PDC                     (*(volatile struct st_pdc      __evenaccess *)0xA0500)\r
+#define        POE3            (*(volatile struct st_poe      __evenaccess *)0x8C4C0)\r
+#define        PORT0           (*(volatile struct st_port0    __evenaccess *)0x8C000)\r
+#define        PORT1           (*(volatile struct st_port1    __evenaccess *)0x8C001)\r
+#define        PORT2           (*(volatile struct st_port2    __evenaccess *)0x8C002)\r
+#define        PORT3           (*(volatile struct st_port3    __evenaccess *)0x8C003)\r
+#define        PORT4           (*(volatile struct st_port4    __evenaccess *)0x8C004)\r
+#define        PORT5           (*(volatile struct st_port5    __evenaccess *)0x8C005)\r
+#define        PORT6           (*(volatile struct st_port6    __evenaccess *)0x8C006)\r
+#define        PORT7           (*(volatile struct st_port7    __evenaccess *)0x8C007)\r
+#define        PORT8           (*(volatile struct st_port8    __evenaccess *)0x8C008)\r
+#define        PORT9           (*(volatile struct st_port9    __evenaccess *)0x8C009)\r
+#define        PORTA           (*(volatile struct st_porta    __evenaccess *)0x8C00A)\r
+#define        PORTB           (*(volatile struct st_portb    __evenaccess *)0x8C00B)\r
+#define        PORTC           (*(volatile struct st_portc    __evenaccess *)0x8C00C)\r
+#define        PORTD           (*(volatile struct st_portd    __evenaccess *)0x8C00D)\r
+#define        PORTE           (*(volatile struct st_porte    __evenaccess *)0x8C00E)\r
+#define        PORTF           (*(volatile struct st_portf    __evenaccess *)0x8C00F)\r
+#define        PORTG           (*(volatile struct st_portg    __evenaccess *)0x8C010)\r
+#define        PORTJ           (*(volatile struct st_portj    __evenaccess *)0x8C012)\r
+#define        PPG0            (*(volatile struct st_ppg0     __evenaccess *)0x881E6)\r
+#define        PPG1            (*(volatile struct st_ppg1     __evenaccess *)0x881F0)\r
+#define        PTPEDMAC        (*(volatile struct st_ptpedmac __evenaccess *)0xC0400)\r
+#define        QSPI            (*(volatile struct st_qspi     __evenaccess *)0x89E00)\r
+#define        RIIC0           (*(volatile struct st_riic     __evenaccess *)0x88300)\r
+#define        RIIC2           (*(volatile struct st_riic     __evenaccess *)0x88340)\r
+#define        RSPI0           (*(volatile struct st_rspi     __evenaccess *)0xD0100)\r
+#define        RTC                     (*(volatile struct st_rtc      __evenaccess *)0x8C400)\r
+#define        S12AD           (*(volatile struct st_s12ad    __evenaccess *)0x89000)\r
+#define        S12AD1          (*(volatile struct st_s12ad1   __evenaccess *)0x89100)\r
+#define        SCI0            (*(volatile struct st_sci0     __evenaccess *)0x8A000)\r
+#define        SCI1            (*(volatile struct st_sci0     __evenaccess *)0x8A020)\r
+#define        SCI2            (*(volatile struct st_sci0     __evenaccess *)0x8A040)\r
+#define        SCI3            (*(volatile struct st_sci0     __evenaccess *)0x8A060)\r
+#define        SCI4            (*(volatile struct st_sci0     __evenaccess *)0x8A080)\r
+#define        SCI5            (*(volatile struct st_sci0     __evenaccess *)0x8A0A0)\r
+#define        SCI6            (*(volatile struct st_sci0     __evenaccess *)0x8A0C0)\r
+#define        SCI7            (*(volatile struct st_sci0     __evenaccess *)0x8A0E0)\r
+#define        SCI12           (*(volatile struct st_sci12    __evenaccess *)0x8B300)\r
+#define        SCIFA8          (*(volatile struct st_scifa    __evenaccess *)0xD0000)\r
+#define        SCIFA9          (*(volatile struct st_scifa    __evenaccess *)0xD0020)\r
+#define        SCIFA10         (*(volatile struct st_scifa    __evenaccess *)0xD0040)\r
+#define        SCIFA11         (*(volatile struct st_scifa    __evenaccess *)0xD0060)\r
+#define        SMCI0           (*(volatile struct st_smci0    __evenaccess *)0x8A000)\r
+#define        SMCI1           (*(volatile struct st_smci0    __evenaccess *)0x8A020)\r
+#define        SMCI2           (*(volatile struct st_smci0    __evenaccess *)0x8A040)\r
+#define        SMCI3           (*(volatile struct st_smci0    __evenaccess *)0x8A060)\r
+#define        SMCI4           (*(volatile struct st_smci0    __evenaccess *)0x8A080)\r
+#define        SMCI5           (*(volatile struct st_smci0    __evenaccess *)0x8A0A0)\r
+#define        SMCI6           (*(volatile struct st_smci0    __evenaccess *)0x8A0C0)\r
+#define        SMCI7           (*(volatile struct st_smci0    __evenaccess *)0x8A0E0)\r
+#define        SMCI12          (*(volatile struct st_smci0    __evenaccess *)0x8B300)\r
+#define        SRC                     (*(volatile struct st_src      __evenaccess *)0x98000)\r
+#define        SSI0            (*(volatile struct st_ssi      __evenaccess *)0x8A500)\r
+#define        SSI1            (*(volatile struct st_ssi      __evenaccess *)0x8A540)\r
+#define        SYSTEM          (*(volatile struct st_system   __evenaccess *)0x80000)\r
+#define        TEMPS           (*(volatile struct st_temps    __evenaccess *)0x8C500)\r
+#define        TMR0            (*(volatile struct st_tmr0     __evenaccess *)0x88200)\r
+#define        TMR1            (*(volatile struct st_tmr1     __evenaccess *)0x88201)\r
+#define        TMR2            (*(volatile struct st_tmr0     __evenaccess *)0x88210)\r
+#define        TMR3            (*(volatile struct st_tmr1     __evenaccess *)0x88211)\r
+#define        TMR01           (*(volatile struct st_tmr01    __evenaccess *)0x88204)\r
+#define        TMR23           (*(volatile struct st_tmr01    __evenaccess *)0x88214)\r
+#define        TPU0            (*(volatile struct st_tpu0     __evenaccess *)0x88108)\r
+#define        TPU1            (*(volatile struct st_tpu1     __evenaccess *)0x88108)\r
+#define        TPU2            (*(volatile struct st_tpu2     __evenaccess *)0x8810A)\r
+#define        TPU3            (*(volatile struct st_tpu3     __evenaccess *)0x8810A)\r
+#define        TPU4            (*(volatile struct st_tpu4     __evenaccess *)0x8810C)\r
+#define        TPU5            (*(volatile struct st_tpu5     __evenaccess *)0x8810C)\r
+#define        TPUA            (*(volatile struct st_tpua     __evenaccess *)0x88100)\r
+#define        USB                     (*(volatile struct st_usb      __evenaccess *)0xA0400)\r
+#define        USB0            (*(volatile struct st_usb0     __evenaccess *)0xA0000)\r
+#define        USBA            (*(volatile struct st_usba     __evenaccess *)0xD0400)\r
+#define        WDT                     (*(volatile struct st_wdt      __evenaccess *)0x88020)\r
 #pragma bit_order\r
 #pragma packoption\r
 #endif
\ No newline at end of file
index 8eb620c75a1323119a8fda8a074c2da02c9676d9..3c06ef69cd6e638ef58d978526e29a4ef9ab0de5 100644 (file)
@@ -299,9 +299,9 @@ unsigned long ulErrorFound = pdFALSE;
 \r
                /* Check all the demo tasks (other than the flash tasks) to ensure\r
                that they are all still running, and that none have detected an error. */\r
-//             if( xAreIntQueueTasksStillRunning() != pdTRUE )\r
+               if( xAreIntQueueTasksStillRunning() != pdTRUE )\r
                {\r
-//                     ulErrorFound = pdTRUE;\r
+                       ulErrorFound = pdTRUE;\r
                }\r
 \r
                if( xAreMathsTaskStillRunning() != pdTRUE )\r