]> git.sur5r.net Git - freertos/commitdiff
Update the RX63N RSK demo to use the latest (at the time of writing) Renesas RSK...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 24 Apr 2012 10:00:06 +0000 (10:00 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 24 Apr 2012 10:00:06 +0000 (10:00 +0000)
Ethernet is still not included.
The configuration is still set for the ES chip.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1743 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

34 files changed:
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo.tws
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/FreeRTOSConfig.h
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/IntQueueTimer.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/RTOSDemo.hwp
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/RTOSDemo.nav
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/RTOSDemo.tps
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/dbsct.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/flash_options.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/hwsetup.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/hwsetup.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/lowlvl.src [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/lowsrc.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/mcu_info.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/r_bsp.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/r_bsp_config_reference.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/resetprg.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/rskrx63n.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/sbrk.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/vecttbl.c [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/mcu/rx63n/iodefine.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/mcu/rx63n/iodefine.h_from_toolchain [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/platform.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/SessionRX600_E1_E20_SYSTEM.hsf
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/IntQueueTimer.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/OLDiodefine.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/iodefine.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/lowsrc.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/rskrx63ndef.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/stacksct.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/typedefine.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/vect.h [deleted file]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/main-full.c
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/r_bsp_config.h [new file with mode: 0644]
Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/webserver/EMAC.c

index f45b39887447f1cd1b139c682ad7171c6c1a9109..e66c49083bef04e5a48fef3032d2747b4282c8fb 100644 (file)
@@ -11,7 +11,7 @@
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" \r
 [WORKSPACE_FILE_STATES]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" -4 -23 1326 673 1 1 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" 66 66 1116 444 0 0 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" 0 0 1116 444 0 0 \r
 [LOADED_PROJECTS]\r
 "RTOSDemo" \r
 [END]\r
index 86b84fb33c8d2ebd1dcee3b28d16ea1245aabd14..4a31479466186ef8c1c37a394966a000bbf26b65 100644 (file)
@@ -55,7 +55,7 @@
 #define FREERTOS_CONFIG_H\r
 \r
 /* Board specifics. */\r
-#include "rskrx63ndef.h"\r
+#include "platform.h"\r
 \r
 /*-----------------------------------------------------------\r
  * Application specific definitions.\r
@@ -72,8 +72,8 @@
 #define configUSE_PREEMPTION                   1\r
 #define configUSE_IDLE_HOOK                            0\r
 #define configUSE_TICK_HOOK                            0\r
-#define configCPU_CLOCK_HZ                             ( ICLK_FREQUENCY ) /* Set in rskrx62ndef.h. */\r
-#define configPERIPHERAL_CLOCK_HZ              ( PCLK_FREQUENCY ) /* Set in rskrx62ndef.h. */\r
+#define configCPU_CLOCK_HZ                             ( 96000000UL )\r
+#define configPERIPHERAL_CLOCK_HZ              ( 48000000UL )\r
 #define configTICK_RATE_HZ                             ( ( portTickType ) 1000 )\r
 #define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 140 )\r
 #define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 50 * 1024 ) )\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/IntQueueTimer.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/IntQueueTimer.h
new file mode 100644 (file)
index 0000000..663b26f
--- /dev/null
@@ -0,0 +1,62 @@
+/*\r
+    FreeRTOS V7.1.0 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+       \r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS tutorial books are available in pdf and paperback.        *\r
+     *    Complete, revised, and edited pdf reference manuals are also       *\r
+     *    available.                                                         *\r
+     *                                                                       *\r
+     *    Purchasing FreeRTOS documentation will not only help you, by       *\r
+     *    ensuring you get running as quickly as possible and with an        *\r
+     *    in-depth knowledge of how to use FreeRTOS, it will also help       *\r
+     *    the FreeRTOS project to continue with its mission of providing     *\r
+     *    professional grade, cross platform, de facto standard solutions    *\r
+     *    for microcontrollers - completely free of charge!                  *\r
+     *                                                                       *\r
+     *    >>> See http://www.FreeRTOS.org/Documentation for details. <<<     *\r
+     *                                                                       *\r
+     *    Thank you for using FreeRTOS, and thank you for your support!      *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+\r
+    This file is part of the FreeRTOS distribution.\r
+\r
+    FreeRTOS is free software; you can redistribute it and/or modify it under\r
+    the terms of the GNU General Public License (version 2) as published by the\r
+    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
+    >>>NOTE<<< The modification to the GPL is included to allow you to\r
+    distribute a combined work that includes FreeRTOS without being obliged to\r
+    provide the source code for proprietary components outside of the FreeRTOS\r
+    kernel.  FreeRTOS is distributed in the hope that it will be useful, but\r
+    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
+    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
+    more details. You should have received a copy of the GNU General Public\r
+    License and the FreeRTOS license exception along with FreeRTOS; if not it\r
+    can be viewed here: http://www.freertos.org/a00114.html and also obtained\r
+    by writing to Richard Barry, contact details for whom are available on the\r
+    FreeRTOS WEB site.\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    http://www.FreeRTOS.org - Documentation, latest information, license and\r
+    contact details.\r
+\r
+    http://www.SafeRTOS.com - A version that is certified for use in safety\r
+    critical systems.\r
+\r
+    http://www.OpenRTOS.com - Commercial support, development, porting,\r
+    licensing and training services.\r
+*/\r
+\r
+#ifndef INT_QUEUE_TIMER_H\r
+#define INT_QUEUE_TIMER_H\r
+\r
+void vInitialiseTimerForIntQueueTest( void );\r
+portBASE_TYPE xTimer0Handler( void );\r
+portBASE_TYPE xTimer1Handler( void );\r
+\r
+#endif\r
+\r
index 813e3567d8c24565497a354909ebc90bb55a7d10..456c784c33a9abd8266b7a3d4d2cb5771109f69e 100644 (file)
@@ -11,7 +11,7 @@
 [CONFIGURATIONS]\r
 "Blinky" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Blinky" \r
 "Debug" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Debug" \r
-"Debug_with_optimisation" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Debug_with_optimisation" \r
+"Debug-with-optimisation" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Debug-with-optimisation" \r
 [BUILD_PHASES]\r
 "Renesas OptLinker" 1 \r
 "Renesas RX Assembler" 1 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "User" "C source file" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "User" "C source file" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "User" "C source file" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\dbsct.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\hwsetup.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\intprg.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowlvl.src" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowsrc.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\resetprg.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\sbrk.c" "User" "C source file|Renesas Files" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\vecttbl.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\dbsct.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\flash_options.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\hwsetup.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowlvl.src" "User" "Assembly source file" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowsrc.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\resetprg.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\sbrk.c" "User" "C source file|Renesas Files" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\vecttbl.c" "User" "C source file|Renesas Files" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "User" "C source file" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "User" "C source file" 2 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "User" "C source file" 2 \r
 "SessionRX600_E1_E20_SYSTEM" "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\SessionRX600_E1_E20_SYSTEM.hsf" 0 \r
 [GENERAL_DATA_SESSION_SessionRX600_E1_E20_SYSTEM]\r
 [OPTIONS_Blinky_Renesas OptLinker]\r
-"Single Shot" "0d707bf60640dc10" 5 \r
+"Single Shot" "0d8c8ced0612dc10" 5 \r
 [OPTIONS_Blinky_Renesas RX Assembler]\r
 "Assembly source file" "00bd89f6bf10dc10" 4 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowlvl.src" "00bd89f6bf10dc10" 4 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowlvl.src" "02e033f30612dc10" 4 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port_asm.src" "00bd89f6bf10dc10" 4 \r
 "Linkage symbol file" "00bd89f6bf10dc10" 4 \r
 [OPTIONS_Blinky_Renesas RX C/C++ Compiler]\r
-"C source file" "00a669f6bf10dc10" 2 \r
-"C++ source file" "00a669f6bf10dc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\BlockQ.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\GenQTest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\IntQueue.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\PollQ.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\blocktim.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\death.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flash_timer.c" "0cad76d2f830dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\sp_flop.c" "0a14c617f440dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\psock.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\timer.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip_arp.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\dbsct.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\hwsetup.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\intprg.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowsrc.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\resetprg.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\sbrk.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\vecttbl.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "0ae1d1e2b530dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "0dfd884a4540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\EMAC.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\httpd-cgi.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\phy.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\timers.c" "00a669f6bf10dc10" 2 \r
+"C source file" "08eacdba1712dc10" 2 \r
+"C++ source file" "08eacdba1712dc10" 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\BlockQ.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\GenQTest.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\IntQueue.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\PollQ.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\blocktim.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\death.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flash_timer.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\sp_flop.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\psock.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\timer.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip_arp.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\dbsct.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\flash_options.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\hwsetup.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowsrc.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\resetprg.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\sbrk.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\vecttbl.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\EMAC.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\httpd-cgi.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\phy.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "08eacdba1712dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\timers.c" "08eacdba1712dc10" 2 \r
 [OPTIONS_Blinky_Renesas RX C/C++ Library Generator]\r
 "Single Shot" "00a669f6bf10dc10" 1 \r
 [OPTIONS_Blinky_Renesas RX Configurator]\r
-"Single Shot" "0dfd884a4540dc10" 6 \r
+"Single Shot" "02e033f30612dc10" 6 \r
 [OPTIONS_Blinky]\r
 "" 0 \r
 "[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON4] [S|OUTPUTPATH|^"$(CONFIGDIR)^"] [S|CPU|RX600] [S|ENDIAN|LITTLE] [S|FINT_REGISTER|0]" 6 \r
 "[V|VERSION|1] [B|SJIS|1] [B|DEBUG|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [B|SKIPDEPENDENCY|1]\r
 " 4 \r
-"[V|VERSION|1] [S|LANG|CPP] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\include^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\include^"|^"$(PROJDIR)\webserver^"] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004_CHECK_RULE|ALL] [S|MISRA2004_RULE|1.1|3.4|4.1|5.2|5.3|5.4|5.5|5.6|5.7|6.1|6.2|6.3|6.4|6.5|7.1|8.1|8.2|8.3|8.5|8.6|8.7|8.8|8.11|8.12|9.2|9.3|10.1|10.2|10.3|10.4|10.5|10.6|11.1|11.2|11.3|11.4|11.5|12.1|12.2|12.3|12.4|12.5|12.6|12.7|12.8|12.9|12.10|12.11|12.12|12.13|13.1|13.2|13.3|13.4|13.7|14.1|14.2|14.3|14.4|14.5|14.6|14.7|14.8|14.9|14.10|15.1|15.2|15.3|15.4|15.5|16.1|16.2|16.3|16.4|16.5|16.6|16.8|16.9|17.3|17.4|17.5|17.6|18.1|18.2|18.4|19.1|20.2|20.4|20.5|20.7|20.8|20.9|20.10|20.11|20.12] [S|MISRA1998_CHECK_RULE|ALL] [S|MISRA1998_RULE|1|5|8|12|13|14|17|18|19|20|21|22|24|28|29|31|32|33|34|35|36|37|38|39|40|42|43|44|45|46|48|49|50|51|53|54|55|56|57|58|59|60|61|62|63|64|65|68|69|70|71|72|73|74|75|76|77|78|79|80|82|83|84|85|99|101|102|103|104|105|106|108|110|111|112|113|115|118|119|121|122|123|124|125|126|127] [S|MISRA_GROUP_FILE_PATH|^"$(PROJDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [B|SKIPDEPENDENCY|1] [N|DEPENDSCAN|1]\r
+"[V|VERSION|1] [S|LANG|CPP] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\Renesas-Files^"|^"$(PROJDIR)\webserver^"|^"$(PROJDIR)\Renesas-Files\mcu\rx63n^"] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004|ALL] [S|MISRA2004RULEFILE|^"$(CONFIGDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16] [B|SKIPDEPENDENCY|1] [N|DEPENDSCAN|1]\r
 " 3 \r
-"[V|VERSION|1] [S|LANG|C] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\include^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\include^"|^"$(PROJDIR)\webserver^"] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004_CHECK_RULE|ALL] [S|MISRA2004_RULE|1.1|3.4|4.1|5.2|5.3|5.4|5.5|5.6|5.7|6.1|6.2|6.3|6.4|6.5|7.1|8.1|8.2|8.3|8.5|8.6|8.7|8.8|8.11|8.12|9.2|9.3|10.1|10.2|10.3|10.4|10.5|10.6|11.1|11.2|11.3|11.4|11.5|12.1|12.2|12.3|12.4|12.5|12.6|12.7|12.8|12.9|12.10|12.11|12.12|12.13|13.1|13.2|13.3|13.4|13.7|14.1|14.2|14.3|14.4|14.5|14.6|14.7|14.8|14.9|14.10|15.1|15.2|15.3|15.4|15.5|16.1|16.2|16.3|16.4|16.5|16.6|16.8|16.9|17.3|17.4|17.5|17.6|18.1|18.2|18.4|19.1|20.2|20.4|20.5|20.7|20.8|20.9|20.10|20.11|20.12] [S|MISRA1998_CHECK_RULE|ALL] [S|MISRA1998_RULE|1|5|8|12|13|14|17|18|19|20|21|22|24|28|29|31|32|33|34|35|36|37|38|39|40|42|43|44|45|46|48|49|50|51|53|54|55|56|57|58|59|60|61|62|63|64|65|68|69|70|71|72|73|74|75|76|77|78|79|80|82|83|84|85|99|101|102|103|104|105|106|108|110|111|112|113|115|118|119|121|122|123|124|125|126|127] [S|MISRA_GROUP_FILE_PATH|^"$(PROJDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [B|SKIPDEPENDENCY|1] [N|DEPENDSCAN|1]\r
+"[V|VERSION|1] [S|LANG|C] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\Renesas-Files^"|^"$(PROJDIR)\webserver^"|^"$(PROJDIR)\Renesas-Files\mcu\rx63n^"] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004|ALL] [S|MISRA2004RULEFILE|^"$(CONFIGDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16] [B|SKIPDEPENDENCY|1] [N|DEPENDSCAN|1]\r
 " 2 \r
 "[V|VERSION|1] [S|MODE|BUILD/CHANGED] [S|EXISTOUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|RUNTIME|1] [B|STDIO|1] [B|STDLIB|1] [B|STRING|1] [B|NOFLOAT|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|SIZE|1] [I|INLINE|100] [I|LOOP|2] [S|CPU|RX600] [S|BASE|00000000=NONE] [B|SKIPDEPENDENCY|1]\r
 " 1 \r
-"[V|VERSION|6] [S|FORM|STYPE] [S|BYTE_COUNT_VALUE|FF] [B|DEBUG|1] [S|ROM|(D,R)|(D_1,R_1)|(D_2,R_2)] [S|CRC|NONE|DEFAULT|00000000] [B|LIST|1] [S|LIST|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|SHOW|METHODCUSTOM|] [S|OUTPUT|^"$(CONFIGDIR)\$(PROJECTNAME).mot^"] [I|SPACE|^"FF^"] [B|OPTIMIZE|0] [S|START|B_1,R_1,B_2,R_2,B,R,SU,SI(01000)|PResetPRG(0FFF80000)|C_1,C_2,C,L*,C$*,D*,P,PIntPRG,W*(0FFF81000)|FIXEDVECT(0FFFFFFD0)] [S|MEMORY|HIGH] [B|SKIPDEPENDENCY|1]\r
+"[V|VERSION|6] [S|FORM|STYPE] [S|BYTE_COUNT_VALUE|FF] [B|DEBUG|1] [S|ROM|(D,R)|(D_1,R_1)|(D_2,R_2)] [S|CRC|NONE|DEFAULT|00000000] [B|LIST|1] [S|LIST|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|SHOW|METHODCUSTOM|] [S|OUTPUT|^"$(CONFIGDIR)\$(PROJECTNAME).mot^"] [I|SPACE|^"FF^"] [B|OPTIMIZE|0] [S|START|SI,SU,B_1,R_1,B_2,R_2,B,R(00)|C_1,C_2,C,C$*,L*,D*,P,W*(0FFF80000)|FIXEDVECT(0FFFFFF90)] [S|MEMORY|HIGH] [B|SKIPDEPENDENCY|1]\r
 " 5 \r
 [EXCLUDED_FILES_Blinky]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" \r
 [LINKAGE_ORDER_Blinky]\r
 [GENERAL_DATA_CONFIGURATION_Blinky]\r
 [OPTIONS_Debug_Renesas OptLinker]\r
-"Single Shot" "013a3de15540dc10" 5 \r
+"Single Shot" "0b7666c11612dc10" 5 \r
 [OPTIONS_Debug_Renesas RX Assembler]\r
 "Assembly source file" "00a669f6bf10dc10" 4 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowlvl.src" "00a669f6bf10dc10" 4 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowlvl.src" "02e033f30612dc10" 4 \r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port_asm.src" "00a669f6bf10dc10" 4 \r
 "Linkage symbol file" "00a669f6bf10dc10" 4 \r
 [OPTIONS_Debug_Renesas RX C/C++ Compiler]\r
-"C source file" "00a669f6bf10dc10" 2 \r
-"C++ source file" "00a669f6bf10dc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\BlockQ.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\GenQTest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\IntQueue.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\PollQ.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\blocktim.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\death.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flash_timer.c" "0cad76d2f830dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\sp_flop.c" "0a14c617f440dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\psock.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\timer.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip_arp.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\dbsct.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\hwsetup.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\intprg.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowsrc.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\resetprg.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\sbrk.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\vecttbl.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "0ae1d1e2b530dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "0dfd884a4540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\EMAC.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\httpd-cgi.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\phy.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "00a669f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\timers.c" "00a669f6bf10dc10" 2 \r
+"C source file" "0134ce902022dc10" 2 \r
+"C++ source file" "0134ce902022dc10" 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\BlockQ.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\GenQTest.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\IntQueue.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\PollQ.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\blocktim.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\death.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flash_timer.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\sp_flop.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\psock.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\timer.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip_arp.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\dbsct.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\flash_options.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\hwsetup.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowsrc.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\resetprg.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\sbrk.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\vecttbl.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\EMAC.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\httpd-cgi.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\phy.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "0134ce902022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\timers.c" "0134ce902022dc10" 2 \r
 [OPTIONS_Debug_Renesas RX C/C++ Library Generator]\r
 "Single Shot" "00a669f6bf10dc10" 1 \r
 [OPTIONS_Debug_Renesas RX Configurator]\r
-"Single Shot" "0dfd884a4540dc10" 6 \r
+"Single Shot" "02e033f30612dc10" 6 \r
 [OPTIONS_Debug]\r
 "" 0 \r
 "[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON4] [S|OUTPUTPATH|^"$(CONFIGDIR)^"] [S|CPU|RX600] [S|ENDIAN|LITTLE] [S|FINT_REGISTER|0]" 6 \r
 "[V|VERSION|1] [B|SJIS|1] [B|DEBUG|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [S|CPU|RX600] [S|BASE|00000000=NONE]\r
 " 4 \r
-"[V|VERSION|1] [S|LANG|C99] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\include^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\include^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004_CHECK_RULE|ALL] [S|MISRA2004_RULE|1.1|3.4|4.1|5.2|5.3|5.4|5.5|5.6|5.7|6.1|6.2|6.3|6.4|6.5|7.1|8.1|8.2|8.3|8.5|8.6|8.7|8.8|8.11|8.12|9.2|9.3|10.1|10.2|10.3|10.4|10.5|10.6|11.1|11.2|11.3|11.4|11.5|12.1|12.2|12.3|12.4|12.5|12.6|12.7|12.8|12.9|12.10|12.11|12.12|12.13|13.1|13.2|13.3|13.4|13.7|14.1|14.2|14.3|14.4|14.5|14.6|14.7|14.8|14.9|14.10|15.1|15.2|15.3|15.4|15.5|16.1|16.2|16.3|16.4|16.5|16.6|16.8|16.9|17.3|17.4|17.5|17.6|18.1|18.2|18.4|19.1|20.2|20.4|20.5|20.7|20.8|20.9|20.10|20.11|20.12] [S|MISRA1998_CHECK_RULE|ALL] [S|MISRA1998_RULE|1|5|8|12|13|14|17|18|19|20|21|22|24|28|29|31|32|33|34|35|36|37|38|39|40|42|43|44|45|46|48|49|50|51|53|54|55|56|57|58|59|60|61|62|63|64|65|68|69|70|71|72|73|74|75|76|77|78|79|80|82|83|84|85|99|101|102|103|104|105|106|108|110|111|112|113|115|118|119|121|122|123|124|125|126|127] [S|MISRA_GROUP_FILE_PATH|^"$(PROJDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE]\r
+"[V|VERSION|1] [S|LANG|C99] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\Renesas-Files^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"|^"$(PROJDIR)\Renesas-Files\mcu\rx63n^"] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004|ALL] [S|MISRA2004RULEFILE|^"$(CONFIGDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16]\r
 " 2 \r
-"[V|VERSION|1] [S|LANG|CPP] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\include^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\include^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004_CHECK_RULE|ALL] [S|MISRA2004_RULE|1.1|3.4|4.1|5.2|5.3|5.4|5.5|5.6|5.7|6.1|6.2|6.3|6.4|6.5|7.1|8.1|8.2|8.3|8.5|8.6|8.7|8.8|8.11|8.12|9.2|9.3|10.1|10.2|10.3|10.4|10.5|10.6|11.1|11.2|11.3|11.4|11.5|12.1|12.2|12.3|12.4|12.5|12.6|12.7|12.8|12.9|12.10|12.11|12.12|12.13|13.1|13.2|13.3|13.4|13.7|14.1|14.2|14.3|14.4|14.5|14.6|14.7|14.8|14.9|14.10|15.1|15.2|15.3|15.4|15.5|16.1|16.2|16.3|16.4|16.5|16.6|16.8|16.9|17.3|17.4|17.5|17.6|18.1|18.2|18.4|19.1|20.2|20.4|20.5|20.7|20.8|20.9|20.10|20.11|20.12] [S|MISRA1998_CHECK_RULE|ALL] [S|MISRA1998_RULE|1|5|8|12|13|14|17|18|19|20|21|22|24|28|29|31|32|33|34|35|36|37|38|39|40|42|43|44|45|46|48|49|50|51|53|54|55|56|57|58|59|60|61|62|63|64|65|68|69|70|71|72|73|74|75|76|77|78|79|80|82|83|84|85|99|101|102|103|104|105|106|108|110|111|112|113|115|118|119|121|122|123|124|125|126|127] [S|MISRA_GROUP_FILE_PATH|^"$(PROJDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE]\r
+"[V|VERSION|1] [S|LANG|CPP] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\Renesas-Files^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"|^"$(PROJDIR)\Renesas-Files\mcu\rx63n^"] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|0] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [S|MISRA2004|ALL] [S|MISRA2004RULEFILE|^"$(CONFIGDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16]\r
 " 3 \r
 "[V|VERSION|1] [S|MODE|BUILD/CHANGED] [S|EXISTOUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|RUNTIME|1] [B|MATH|1] [B|STDIO|1] [B|STDLIB|1] [B|STRING|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|SIZE|1] [I|INLINE|100] [I|LOOP|2] [S|CPU|RX600] [S|BASE|00000000=NONE]\r
 " 1 \r
-"[V|VERSION|6] [S|PRELINK|SKIP] [S|FORM|STYPE] [S|BYTE_COUNT_VALUE|FF] [B|DEBUG|1] [S|ROM|(D,R)|(D_1,R_1)|(D_2,R_2)] [S|CRC|NONE|DEFAULT|00000000] [B|LIST|1] [S|LIST|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|SHOW|METHODALL|SYMBOL|REFERENCE|XREFERENCE] [S|OUTPUT|^"$(CONFIGDIR)\$(PROJECTNAME).mot^"] [I|SPACE|^"FF^"] [B|OPTIMIZE|0] [S|START|B_RX_DESC,B_TX_DESC,B_ETHERNET_BUFFERS,B_1,R_1,B_2,R_2,B,R,SU,SI(01000)|PResetPRG(0FFF80000)|C_1,C_2,C,L*,C$*,D*,P,PIntPRG,W*(0FFF81000)|FIXEDVECT(0FFFFFFD0)] [S|MEMORY|HIGH]\r
+"[V|VERSION|6] [S|PRELINK|SKIP] [S|FORM|STYPE] [S|BYTE_COUNT_VALUE|FF] [B|DEBUG|1] [S|ROM|(D,R)|(D_1,R_1)|(D_2,R_2)] [S|CRC|NONE|DEFAULT|00000000] [B|LIST|1] [S|LIST|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|SHOW|METHODALL|SYMBOL|REFERENCE|XREFERENCE] [S|OUTPUT|^"$(CONFIGDIR)\$(PROJECTNAME).mot^"] [I|SPACE|^"FF^"] [B|OPTIMIZE|0] [S|START|B_RX_DESC,B_TX_DESC,B_ETHERNET_BUFFERS,SI,SU,B_1,R_1,B_2,R_2,B,R(00)|C_1,C_2,C,C$*,L*,D*,P,W*(0FFF80000)|FIXEDVECT(0FFFFFF90)] [S|MEMORY|HIGH]\r
 " 5 \r
 [EXCLUDED_FILES_Debug]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowlvl.src" \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowsrc.c" \r
 [LINKAGE_ORDER_Debug]\r
 [GENERAL_DATA_CONFIGURATION_Debug]\r
-[OPTIONS_Debug_with_optimisation_Renesas OptLinker]\r
-"Single Shot" "05011f85f540dc10" 5 \r
-[OPTIONS_Debug_with_optimisation_Renesas RX Assembler]\r
-"Assembly source file" "0f42b9f6bf10dc10" 4 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowlvl.src" "0f42b9f6bf10dc10" 4 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port_asm.src" "0f42b9f6bf10dc10" 4 \r
-"Linkage symbol file" "0f42b9f6bf10dc10" 4 \r
-[OPTIONS_Debug_with_optimisation_Renesas RX C/C++ Compiler]\r
-"C source file" "0f42b9f6bf10dc10" 2 \r
-"C++ source file" "0f42b9f6bf10dc10" 3 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\BlockQ.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\GenQTest.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\IntQueue.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\PollQ.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\blocktim.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\death.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flash_timer.c" "0cad76d2f830dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\sp_flop.c" "0a14c617f440dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c" "005cfa364540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\psock.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\timer.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip_arp.c" "09a1534f3540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\dbsct.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\hwsetup.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\intprg.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\lowsrc.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\resetprg.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\sbrk.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\vecttbl.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "0ae1d1e2b530dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "0dfd884a4540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\EMAC.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\httpd-cgi.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\phy.c" "06576eb24540dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "0f42b9f6bf10dc10" 2 \r
-"C:\E\Dev\FreeRTOS\WorkingCopy\Source\timers.c" "0f42b9f6bf10dc10" 2 \r
-[OPTIONS_Debug_with_optimisation_Renesas RX C/C++ Library Generator]\r
-"Single Shot" "0f42b9f6bf10dc10" 1 \r
-[OPTIONS_Debug_with_optimisation_Renesas RX Configurator]\r
-"Single Shot" "0dfd884a4540dc10" 6 \r
-[OPTIONS_Debug_with_optimisation]\r
+[OPTIONS_Debug-with-optimisation_Renesas OptLinker]\r
+"Single Shot" "0d18192d3022dc10" 5 \r
+[OPTIONS_Debug-with-optimisation_Renesas RX Assembler]\r
+"Assembly source file" "00a669f6bf10dc10" 4 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowlvl.src" "02e033f30612dc10" 4 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port_asm.src" "00a669f6bf10dc10" 4 \r
+"Linkage symbol file" "00a669f6bf10dc10" 4 \r
+[OPTIONS_Debug-with-optimisation_Renesas RX C/C++ Compiler]\r
+"C source file" "0d18192d3022dc10" 2 \r
+"C++ source file" "0d18192d3022dc10" 3 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\BlockQ.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\GenQTest.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\IntQueue.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\PollQ.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\QPeek.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\blocktim.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\death.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\flash_timer.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\integer.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\recmutex.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\semtest.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\Minimal\sp_flop.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\psock.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\timer.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\Common\ethernet\FreeTCPIP\uip_arp.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\HighFrequencyTimerTest.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\IntQueueTimer.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\ParTest.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\dbsct.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\flash_options.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\hwsetup.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\lowsrc.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\resetprg.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\sbrk.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\Renesas-Files\board\rskrx63n\vecttbl.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-full.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\uIP_Task.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\EMAC.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\httpd-cgi.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\webserver\phy.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\list.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\MemMang\heap_2.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\portable\Renesas\RX600\port.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\queue.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c" "0d18192d3022dc10" 2 \r
+"C:\E\Dev\FreeRTOS\WorkingCopy\Source\timers.c" "0d18192d3022dc10" 2 \r
+[OPTIONS_Debug-with-optimisation_Renesas RX C/C++ Library Generator]\r
+"Single Shot" "00a669f6bf10dc10" 1 \r
+[OPTIONS_Debug-with-optimisation_Renesas RX Configurator]\r
+"Single Shot" "02e033f30612dc10" 6 \r
+[OPTIONS_Debug-with-optimisation]\r
 "" 0 \r
 "[V|VERSION|1] [B|COMMAND|1] [S|SPEC|UITRON4] [S|OUTPUTPATH|^"$(CONFIGDIR)^"] [S|CPU|RX600] [S|ENDIAN|LITTLE] [S|FINT_REGISTER|0]" 6 \r
-"[V|VERSION|1] [B|SJIS|1] [B|DEBUG|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [B|SKIPDEPENDENCY|1]\r
+"[V|VERSION|1] [B|SJIS|1] [B|DEBUG|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [S|CPU|RX600] [S|BASE|00000000=NONE]\r
 " 4 \r
-"[V|VERSION|1] [S|LANG|CPP] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\include^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\include^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"] [S|DEFINE|INCLUDE_HIGH_FREQUENCY_TIMER_TEST=1] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [B|LISTFILE|1] [S|LISTFILEPATH|^"$(CONFIGDIR)\$(FILELEAF).lst^"] [S|SHOW|SOURCE|CONDITIONALS|DEFINITIONS|EXPANSIONS] [S|OPTIMIZE|MAX] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [B|FPU|0] [S|MISRA2004_CHECK_RULE|ALL] [S|MISRA2004_RULE|1.1|3.4|4.1|5.2|5.3|5.4|5.5|5.6|5.7|6.1|6.2|6.3|6.4|6.5|7.1|8.1|8.2|8.3|8.5|8.6|8.7|8.8|8.11|8.12|9.2|9.3|10.1|10.2|10.3|10.4|10.5|10.6|11.1|11.2|11.3|11.4|11.5|12.1|12.2|12.3|12.4|12.5|12.6|12.7|12.8|12.9|12.10|12.11|12.12|12.13|13.1|13.2|13.3|13.4|13.7|14.1|14.2|14.3|14.4|14.5|14.6|14.7|14.8|14.9|14.10|15.1|15.2|15.3|15.4|15.5|16.1|16.2|16.3|16.4|16.5|16.6|16.8|16.9|17.3|17.4|17.5|17.6|18.1|18.2|18.4|19.1|20.2|20.4|20.5|20.7|20.8|20.9|20.10|20.11|20.12] [S|MISRA1998_CHECK_RULE|ALL] [S|MISRA1998_RULE|1|5|8|12|13|14|17|18|19|20|21|22|24|28|29|31|32|33|34|35|36|37|38|39|40|42|43|44|45|46|48|49|50|51|53|54|55|56|57|58|59|60|61|62|63|64|65|68|69|70|71|72|73|74|75|76|77|78|79|80|82|83|84|85|99|101|102|103|104|105|106|108|110|111|112|113|115|118|119|121|122|123|124|125|126|127] [S|MISRA_GROUP_FILE_PATH|^"$(PROJDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16] [B|SKIPDEPENDENCY|1] [N|DEPENDSCAN|1]\r
-" 3 \r
-"[V|VERSION|1] [S|LANG|C] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\include^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\include^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"] [S|DEFINE|INCLUDE_HIGH_FREQUENCY_TIMER_TEST=1] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [B|LISTFILE|1] [S|LISTFILEPATH|^"$(CONFIGDIR)\$(FILELEAF).lst^"] [S|SHOW|SOURCE|CONDITIONALS|DEFINITIONS|EXPANSIONS] [S|OPTIMIZE|MAX] [B|SIZE|1] [B|MAP|0] [I|INLINE|100] [I|LOOP|2] [B|FPU|0] [S|MISRA2004_CHECK_RULE|ALL] [S|MISRA2004_RULE|1.1|3.4|4.1|5.2|5.3|5.4|5.5|5.6|5.7|6.1|6.2|6.3|6.4|6.5|7.1|8.1|8.2|8.3|8.5|8.6|8.7|8.8|8.11|8.12|9.2|9.3|10.1|10.2|10.3|10.4|10.5|10.6|11.1|11.2|11.3|11.4|11.5|12.1|12.2|12.3|12.4|12.5|12.6|12.7|12.8|12.9|12.10|12.11|12.12|12.13|13.1|13.2|13.3|13.4|13.7|14.1|14.2|14.3|14.4|14.5|14.6|14.7|14.8|14.9|14.10|15.1|15.2|15.3|15.4|15.5|16.1|16.2|16.3|16.4|16.5|16.6|16.8|16.9|17.3|17.4|17.5|17.6|18.1|18.2|18.4|19.1|20.2|20.4|20.5|20.7|20.8|20.9|20.10|20.11|20.12] [S|MISRA1998_CHECK_RULE|ALL] [S|MISRA1998_RULE|1|5|8|12|13|14|17|18|19|20|21|22|24|28|29|31|32|33|34|35|36|37|38|39|40|42|43|44|45|46|48|49|50|51|53|54|55|56|57|58|59|60|61|62|63|64|65|68|69|70|71|72|73|74|75|76|77|78|79|80|82|83|84|85|99|101|102|103|104|105|106|108|110|111|112|113|115|118|119|121|122|123|124|125|126|127] [S|MISRA_GROUP_FILE_PATH|^"$(PROJDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16] [B|SKIPDEPENDENCY|1] [N|DEPENDSCAN|1]\r
+"[V|VERSION|1] [S|LANG|C99] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\Renesas-Files^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"|^"$(PROJDIR)\Renesas-Files\mcu\rx63n^"] [S|DEFINE|INCLUDE_HIGH_FREQUENCY_TIMER_TEST] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|MAX] [B|SIZE|1] [B|MAP|1] [S|MAPPATH|^"$(CONFIGDIR)\$(PROJECTNAME).bls^"] [I|INLINE|100] [I|LOOP|2] [B|MAPOPTIMIZATION|1] [S|MISRA2004|ALL] [S|MISRA2004RULEFILE|^"$(CONFIGDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16]\r
 " 2 \r
-"[V|VERSION|1] [S|MODE|BUILD/CHANGED] [S|EXISTOUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|RUNTIME|1] [B|MATH|1] [B|STDIO|1] [B|STDLIB|1] [B|STRING|1] [B|NOFLOAT|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|SIZE|1] [I|INLINE|100] [I|LOOP|2] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16] [B|SKIPDEPENDENCY|1]\r
+"[V|VERSION|1] [S|LANG|CPP] [B|SJIS|1] [S|INCLUDE|^"$(PROJDIR)\..\..\..\Source\portable\Renesas\RX600^"|^"$(PROJDIR)\..\..\..\Source\include^"|^"$(PROJDIR)\.^"|^"$(PROJDIR)\..\..\Common\include^"|^"$(PROJDIR)\.\Renesas-Files^"|^"$(PROJDIR)\..\..\Common\ethernet\FreeTCPIP^"|^"$(PROJDIR)\webserver^"|^"$(PROJDIR)\Renesas-Files\mcu\rx63n^"] [S|DEFINE|INCLUDE_HIGH_FREQUENCY_TIMER_TEST] [S|CHANGE_MESSAGE|INFORMATION|] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(FILELEAF).obj^"] [B|DEBUG|1] [S|OPTIMIZE|MAX] [B|SIZE|1] [B|MAP|1] [S|MAPPATH|^"$(CONFIGDIR)\$(PROJECTNAME).bls^"] [I|INLINE|100] [I|LOOP|2] [B|MAPOPTIMIZATION|1] [S|MISRA2004|ALL] [S|MISRA2004RULEFILE|^"$(CONFIGDIR)\$(PROJECTNAME).rde^"] [S|CPU|RX600] [S|BASE|00000000=NONE] [I|PID|16]\r
+" 3 \r
+"[V|VERSION|1] [S|MODE|BUILD/CHANGED] [S|EXISTOUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|RUNTIME|1] [B|MATH|1] [B|STDIO|1] [B|STDLIB|1] [B|STRING|1] [S|OUTPUTPATH|^"$(CONFIGDIR)\$(PROJECTNAME).lib^"] [B|SIZE|1] [I|INLINE|100] [I|LOOP|2] [S|CPU|RX600] [S|BASE|00000000=NONE]\r
 " 1 \r
-"[V|VERSION|6] [S|FORM|STYPE] [S|BYTE_COUNT_VALUE|FF] [B|DEBUG|1] [S|ROM|(D,R)|(D_1,R_1)|(D_2,R_2)] [S|CRC|NONE|DEFAULT|00000000] [B|LIST|1] [S|LIST|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|SHOW|METHODCUSTOM|] [S|OUTPUT|^"$(CONFIGDIR)\$(PROJECTNAME).mot^"] [I|SPACE|^"FF^"] [S|OPTIMIZEITEMS|SPEED] [S|START|B_RX_DESC,B_TX_DESC,B_ETHERNET_BUFFERS,B_1,R_1,B_2,R_2,B,R,SU,SI(01000)|PResetPRG(0FFF80000)|C_1,C_2,C,C$*,D*,P,PIntPRG,W*,L(0FFF81000)|FIXEDVECT(0FFFFFFD0)] [S|MEMORY|HIGH] [B|SKIPDEPENDENCY|1]\r
+"[V|VERSION|6] [S|PRELINK|SKIP] [S|FORM|STYPE] [S|BYTE_COUNT_VALUE|FF] [B|DEBUG|1] [S|ROM|(D,R)|(D_1,R_1)|(D_2,R_2)] [S|CRC|NONE|DEFAULT|00000000] [B|LIST|1] [S|LIST|^"$(CONFIGDIR)\$(PROJECTNAME).map^"] [S|SHOW|METHODALL|SYMBOL|REFERENCE|XREFERENCE] [S|OUTPUT|^"$(CONFIGDIR)\$(PROJECTNAME).mot^"] [B|MAP|1] [S|MAPPATH|^"$(CONFIGDIR)\$(PROJECTNAME).bls^"] [I|SPACE|^"FF^"] [B|MAPOPTIMIZATION|1] [B|OPTIMIZE|0] [S|START|B_RX_DESC,B_TX_DESC,B_ETHERNET_BUFFERS,SI,SU,B_1,R_1,B_2,R_2,B,R(00)|C_1,C_2,C,C$*,L*,D*,P,W*(0FFF80000)|FIXEDVECT(0FFFFFF90)] [S|MEMORY|HIGH]\r
 " 5 \r
-[EXCLUDED_FILES_Debug_with_optimisation]\r
+[EXCLUDED_FILES_Debug-with-optimisation]\r
 "C:\E\Dev\FreeRTOS\WorkingCopy\Demo\RX600_RX63N-RSK_Renesas\RTOSDemo\main-blinky.c" \r
-[LINKAGE_ORDER_Debug_with_optimisation]\r
-[GENERAL_DATA_CONFIGURATION_Debug_with_optimisation]\r
+[LINKAGE_ORDER_Debug-with-optimisation]\r
+[GENERAL_DATA_CONFIGURATION_Debug-with-optimisation]\r
 [GENERAL_DATA_CONFIGURATION_SESSION_Blinky_SessionRX600_E1_E20_SYSTEM]\r
 [SESSION_DATA_CONFIGURATION_SESSION_Blinky_SessionRX600_E1_E20_SYSTEM]\r
 "MEMORY_MAPPING_OPTIONS" "Unknown Options" \r
 [GENERAL_DATA_CONFIGURATION_SESSION_Debug_SessionRX600_E1_E20_SYSTEM]\r
 [SESSION_DATA_CONFIGURATION_SESSION_Debug_SessionRX600_E1_E20_SYSTEM]\r
 "MEMORY_MAPPING_OPTIONS" "Unknown Options" \r
-[GENERAL_DATA_CONFIGURATION_SESSION_Debug_with_optimisation_SessionRX600_E1_E20_SYSTEM]\r
-[SESSION_DATA_CONFIGURATION_SESSION_Debug_with_optimisation_SessionRX600_E1_E20_SYSTEM]\r
+[GENERAL_DATA_CONFIGURATION_SESSION_Debug-with-optimisation_SessionRX600_E1_E20_SYSTEM]\r
+[SESSION_DATA_CONFIGURATION_SESSION_Debug-with-optimisation_SessionRX600_E1_E20_SYSTEM]\r
 "MEMORY_MAPPING_OPTIONS" "Unknown Options" \r
 [EXT_DEBUGGER_INFO]\r
 0 "" "" "" "" \r
index 95a06a46ed602bf5c98cec9319dff6436729a78c..982770bf64bd54a8f48ad707128f39cfa3d6d5f6 100644 (file)
Binary files a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/RTOSDemo.nav and b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/RTOSDemo.nav differ
index ebf1ee498056978092c8bd47c5dbb5c4a9f71289..4621b88b65903e7a80bf527a656ef7a00be1bc34 100644 (file)
@@ -7,7 +7,7 @@
 [CONFIGURATIONS]\r
 "Blinky" \r
 "Debug" \r
-"Debug_with_optimisation" \r
+"Debug-with-optimisation" \r
 [CURRENT_CONFIGURATION]\r
 "Blinky" \r
 [CURRENT_SESSION]\r
 "PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" \r
 [SESSIONS_Debug]\r
 "SessionRX600_E1_E20_SYSTEM" \r
-[GENERAL_DATA_CONFIGURATION_Debug_with_optimisation]\r
+[GENERAL_DATA_CONFIGURATION_Debug-with-optimisation]\r
 "PROJECT_FILES_MODIFIED_DATA_TAG" "FALSE" \r
-[SESSIONS_Debug_with_optimisation]\r
+[SESSIONS_Debug-with-optimisation]\r
 "SessionRX600_E1_E20_SYSTEM" \r
 [GENERAL_DATA_CONFIGURATION_SESSION_Blinky_SessionRX600_E1_E20_SYSTEM]\r
+[GENERAL_DATA_CONFIGURATION_SESSION_Debug-with-optimisation_SessionRX600_E1_E20_SYSTEM]\r
 [GENERAL_DATA_CONFIGURATION_SESSION_Debug_SessionRX600_E1_E20_SYSTEM]\r
-[GENERAL_DATA_CONFIGURATION_SESSION_Debug_with_optimisation_SessionRX600_E1_E20_SYSTEM]\r
 [GENERAL_DATA_SESSION_SessionRX600_E1_E20_SYSTEM]\r
 [END]\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/dbsct.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/dbsct.c
new file mode 100644 (file)
index 0000000..b92493a
--- /dev/null
@@ -0,0 +1,83 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : dbsct.c\r
+* Device(s)       : RX\r
+* Description  : Defines the structure of the ROM and RAM areas.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 26.10.2011 1.00     First Release\r
+***********************************************************************************************************************/\r
+\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/\r
+/* Defines type structures used in this file */
+#include <stdint.h>
+
+/* Preprocessor directive */
+#pragma unpack
+
+/* Section start */
+#pragma section C C$DSEC
+
+/* MCU ROM and RAM structure definition */
+extern const struct {
+    uint8_t *rom_s;       /* Start address of the initialized data section in ROM */
+    uint8_t *rom_e;       /* End address of the initialized data section in ROM   */
+    uint8_t *ram_s;       /* Start address of the initialized data section in RAM */
+}   _DTBL[] = {
+    { __sectop("D"), __secend("D"), __sectop("R") },
+    { __sectop("D_2"), __secend("D_2"), __sectop("R_2") },
+    { __sectop("D_1"), __secend("D_1"), __sectop("R_1") }
+};
+
+/* Section start */
+#pragma section C C$BSEC
+
+/* MCU ROM and RAM structure definition */
+extern const struct {
+    uint8_t *b_s;         /* Start address of non-initialized data section */
+    uint8_t *b_e;         /* End address of non-initialized data section */
+}   _BTBL[] = {
+    { __sectop("B"), __secend("B") },
+    { __sectop("B_2"), __secend("B_2") },
+    { __sectop("B_1"), __secend("B_1") }
+};
+
+/* Section start */
+#pragma section
+
+/* CTBL prevents excessive output of L1100 messages when linking.
+   Even if CTBL is deleted, the operation of the program does not change. */
+uint8_t * const _CTBL[] = {
+    __sectop("C_1"), __sectop("C_2"), __sectop("C"),
+    __sectop("W_1"), __sectop("W_2"), __sectop("W")
+};
+
+/* Preprocessor directive */
+#pragma packoption
+\r
+/* This is to ensure compatibility with new L section in version 1.1 and up of the RXC compiler.  Do not remove! */\r
+#pragma section C L\r
+const unsigned long deadSpace = 0xDEADDEAD;\r
+#pragma section   \r
+\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/flash_options.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/flash_options.c
new file mode 100644 (file)
index 0000000..a6be182
--- /dev/null
@@ -0,0 +1,124 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : flash_options.c\r
+* Device(s)    : RX63x\r
+* Description  : Some options of the RX63x are set through registers that are found in ROM. These registers and options\r
+*                are defined in the 'Option-Setting Memory' section of the HW Manual. These memory locations are defined\r
+*                below with descriptions of what is being set.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 31.10.2011 1.00     First Release\r
+*         : 13.03.2012 1.10     USER_BOOT_ENABLE macro from r_bsp_config.h is now used to set Option-Setting Memory\r
+*                               area to boot into User Boot Mode.\r
+***********************************************************************************************************************/\r
+\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/\r
+/* Used for fixed-width typedefs. */\r
+#include <stdint.h>\r
+/* Determines whether user boot is used or not. */\r
+#include "platform.h"\r
+\r
+/* The UB Code A, UB Code B, and Endian select register B (MDEB) are located in the User Boot space. Immediately\r
+   following the MDEB register is the User Boot Reset Vector so it is defined below as well. These settings will only\r
+   be used when the MCU is reset in User Boot Mode. In order for the MCU to start up in User Boot Mode the following\r
+   conditions must be met:\r
+   1) UB code A is 55736572h and 426F6F74h.\r
+   2) UB code B is FFFF FF07h and 0008 C04Ch.\r
+   3) The low level is being input on the MD pin.\r
+   4) The high level is being input on the PC7 pin. \r
+   Please see the Option-Setting Memory section of your MCU's HW manual for more information. */\r
+\r
+/* 0xFF7FFFE8 - 0xFF7FFFEF : UB Code A register  \r
+   0xFF7FFFF0 - 0xFF7FFFF7 : UB Code B register\r
+   0xFF7FFFF8 - 0xFF7FFFFB : MDEB register\r
+   0xFF7FFFFC - 0xFF7FFFFF : User Boot Reset Vector */\r
+\r
+#pragma address user_boot_settings = 0xFF7FFFE8\r
+\r
+#if USER_BOOT_ENABLE == 1\r
+extern void PowerON_Reset_PC(void);\r
+\r
+/* Use this array if you are using User Boot. Make sure to fill in valid address for UB Reset Vector. */\r
+const uint32_t user_boot_settings[6] = \r
+{\r
+    0x55736572,                 //Required setting for UB Code A to get into User Boot\r
+    0x426f6f74,                 //Required setting for UB Code A to get into User Boot\r
+    0xffffff07,                 //Required setting for UB Code B to get into User Boot\r
+    0x0008c04c,                 //Required setting for UB Code B to get into User Boot\r
+    /* Choose endian for user application code\r
+       MDEB Register - Endian Select Register B\r
+       b31:b3 Reserved (set to 1)\r
+       b2:b0  MDE - Endian Select (0 = Big Endian, 7 = Little Endian) */                    \r
+    0xFFFFFFFF,                 //Select Little Endian for User Boot Code \r
+    (uint32_t) PowerON_Reset_PC //This is the User Boot Reset Vector. When using User Boot put in the reset address here\r
+};\r
+#endif\r
+\r
+/* The Endian select register S (MDES), Option function select register 1 (OFS1), and Option function select register 0\r
+   (OFS0) are located in User ROM. */\r
+\r
+/* 0xFFFFFF80 - 0xFFFFFF83 : MDES register\r
+   0xFFFFFF84 - 0xFFFFFF87 : Reserved space (0xFF's)\r
+   0xFFFFFF88 - 0xFFFFFF8B : OFS1 register\r
+   0xFFFFFF8C - 0xFFFFFF8F : OFS0 register */\r
+\r
+#pragma address flash_options = 0xFFFFFF80\r
+\r
+const uint32_t flash_options[] = \r
+{\r
+    /* Choose endian for user application code\r
+       MDES Register - Endian Select Register S\r
+       b31:b3 Reserved (set to 1)\r
+       b2:b0  MDE - Endian Select (0 = Big Endian, 7 = Little Endian) */\r
+    0xFFFFFFFF,     //Little Endian chosen for User Application\r
+    0xFFFFFFFF,     //Reserved space\r
+    /* Configure whether voltage detection 0 circuit and HOCO are enabled after reset. \r
+       OFS1 - Option Function Select Register 1 \r
+       b31:b9 Reserved (set to 1)\r
+       b8     HOCOEN - Enable/disable HOCO oscillation after a reset (0=enable, 1=disable)\r
+       b7:b3  Reserved (set to 1)\r
+       b2     LVDAS - Choose to enable/disable Voltage Detection 0 Circuit after a reset (0=enable, 1=disable)\r
+       b1:b0  Reserved (set to 1) */\r
+    0xFFFFFFFF,     //Both are disabled.\r
+    /* Configure WDT and IWDT settings. \r
+       OFS0 - Option Function Select Register 0 \r
+       b31:b29 Reserved (set to 1)\r
+       b28     WDTRSTIRQS - WDT Reset Interrupt Request - What to do on underflow (0=take interrupt, 1=reset MCU)\r
+       b27:b26 WDTRPSS - WDT Window Start Position Select - (0=25%, 1=50%, 2=75%, 3=100%,don't use)\r
+       b25:b24 WDTRPES - WDT Window End Position Select - (0=75%, 1=50%, 2=25%, 3=0%,don't use)\r
+       b23:b20 WDTCKS - WDT Clock Frequency Division Ratio - (1=/4, 4=/64, 0xF=/128, 6=/512, 7=/2048, 8=/8192)\r
+       b19:b18 WDTTOPS - WDT Timeout Period Select - (0=1024 cycles, 1=4096, 2=8192, 3=16384)\r
+       b17     WDTSTRT - WDT Start Mode Select - (0=auto-start after reset, halt after reset)\r
+       b16:b15 Reserved (set to 1)\r
+       b14     IWDTSLCSTP - IWDT Sleep Mode Count Stop Control - (0=can't stop count, 1=stop w/some low power modes)\r
+       b13     Reserved (set to 1)\r
+       b12     IWDTRSTIRQS - IWDT Reset Interrupt Request - What to do on underflow (0=take interrupt, 1=reset MCU)\r
+       b11:b10 IWDTRPSS - IWDT Window Start Position Select - (0=25%, 1=50%, 2=75%, 3=100%,don't use)\r
+       b9:b8   IWDTRPES - IWDT Window End Position Select - (0=75%, 1=50%, 2=25%, 3=0%,don't use)\r
+       b7:b4   IWDTCKS - IWDT Clock Frequency Division Ratio - (0=none, 2=/16, 3 = /32, 4=/64, 0xF=/128, 5=/256)\r
+       b3:b2   IWDTTOPS - IWDT Timeout Period Select - (0=1024 cycles, 1=4096, 2=8192, 3=16384)\r
+       b1      IWDTSTRT - IWDT Start Mode Select - (0=auto-start after reset, halt after reset)\r
+       b0      Reserved (set to 1) */\r
+    0xFFFFFFFF\r
+};\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/hwsetup.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/hwsetup.c
new file mode 100644 (file)
index 0000000..a72bd3f
--- /dev/null
@@ -0,0 +1,161 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : hwsetup.c\r
+* Device(s)    : RX\r
+* H/W Platform : RSK+RX63N\r
+* Description  : Defines the initialisation routines used each time the MCU is restarted.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 22.11.2011 1.00     First Release\r
+***********************************************************************************************************************/\r
+\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/\r
+/* I/O Register and board definitions */\r
+#include "platform.h"\r
+/* Contains delcarations for the functions defined in this file */
+#include "hwsetup.h"\r
+\r
+/***********************************************************************************************************************\r
+Private global variables and functions\r
+***********************************************************************************************************************/\r
+/* MCU I/O port configuration function delcaration */
+static void output_ports_configure(void);\r
+
+/* Interrupt configuration function delcaration */
+static void interrupts_configure(void);\r
+
+/* MCU peripheral module configuration function declaration */
+static void peripheral_modules_enable(void);
+
+
+/***********************************************************************************************************************\r
+* Function name: hardware_setup\r
+* Description  : Contains setup functions called at device restart\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+void hardware_setup(void)
+{
+    output_ports_configure();
+    interrupts_configure();
+    peripheral_modules_enable();
+}
+
+/***********************************************************************************************************************\r
+* Function name: output_ports_configure
+* Description  : Configures the port and pin direction settings, and sets the pin outputs to a safe level.\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+void output_ports_configure(void)
+{
+    SYSTEM.PRCR.WORD = 0xA50B;                 /* Protect off */\r
+    MPC.PWPR.BIT.B0WI = 0 ;                    /* Unlock protection register */\r
+    MPC.PWPR.BIT.PFSWE = 1 ;                   /* Unlock MPC registers */\r
+\r
+    /* Enable LEDs. */\r
+    /* Start with LEDs off. */\r
+    LED0 = LED_OFF;\r
+    LED1 = LED_OFF;\r
+    LED2 = LED_OFF;\r
+    LED3 = LED_OFF;\r
+\r
+    /* Set LED pins as outputs. */\r
+    LED0_PDR = 1;\r
+    LED1_PDR = 1;\r
+    LED2_PDR = 1;\r
+    LED3_PDR = 1;\r
+\r
+    /* Enable switches. */\r
+    /* Set pins as inputs. */\r
+    SW1_PDR = 0;\r
+    SW2_PDR = 0;\r
+    SW3_PDR = 0;\r
+\r
+    /* Set port mode registers for switches. */\r
+    SW1_PMR = 0;\r
+    SW2_PMR = 0;\r
+    SW3_PMR = 0;\r
+    \r
+    /* Initialize RSPI pins that are used with on-board SPI flash. */\r
+    /* Set pin outputs to low to begin with. */\r
+    PORT2.PODR.BIT.B7 = 0x00;    /* RSPCKB */\r
+    PORT2.PODR.BIT.B6 = 0x00;    /* MOSIB */\r
+    PORT3.PODR.BIT.B0 = 0x00;    /* MISOB */\r
+    PORT3.PODR.BIT.B1 = 0x00;    /* SSLB0 */\r
+    \r
+    /* All GPIO for now */\r
+    PORT2.PMR.BIT.B7 = 0x00;    \r
+    PORT2.PMR.BIT.B6 = 0x00;    \r
+    PORT3.PMR.BIT.B0 = 0x00;\r
+    PORT3.PMR.BIT.B1 = 0x00;\r
+\r
+    /* Unlock MPC registers to enable writing to them. */\r
+    MPC.PWPR.BIT.B0WI = 0 ;     /* Unlock protection register */\r
+    MPC.PWPR.BIT.PFSWE = 1 ;    /* Unlock MPC registers */\r
+        \r
+    /* Set MPC for RSPI pins */\r
+    MPC.P27PFS.BYTE = 0x0D;    \r
+    MPC.P26PFS.BYTE = 0x0D;    \r
+    MPC.P30PFS.BYTE = 0x0D;    \r
+    \r
+    /* RSPI pins assigned to RSPI peripheral. */\r
+    PORT2.PMR.BIT.B7 = 1;    \r
+    PORT2.PMR.BIT.B6 = 1;    \r
+    PORT3.PMR.BIT.B0 = 1;\r
+    PORT3.PMR.BIT.B1 = 1;    \r
+    \r
+    /* RSPCKB is output. */\r
+    PORT2.PDR.BIT.B7 = 1;\r
+    /* MOSIB is output. */\r
+    PORT2.PDR.BIT.B6 = 1;\r
+    /* MISOB is input. */\r
+    PORT3.PDR.BIT.B0 = 0;\r
+    /* SSLB0 is output. */\r
+    PORT3.PDR.BIT.B1 = 1;\r
+    \r
+    /* Configure the pin connected to the ADC Pot as an input */\r
+    PORT4.PDR.BIT.B0 = 0;\r
+}
+
+/***********************************************************************************************************************\r
+* Function name: interrupts_configure\r
+* Description  : Configures interrupts used\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+void interrupts_configure(void)
+{\r
+    /* Add code here to setup additional interrupts */\r
+}
+
+/***********************************************************************************************************************\r
+* Function name: peripheral_modules_enable\r
+* Description  : Enables and configures peripheral devices on the MCU\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+void peripheral_modules_enable(void)
+{
+    /* Add code here to enable peripherals used by the application */
+}
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/hwsetup.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/hwsetup.h
new file mode 100644 (file)
index 0000000..35e0686
--- /dev/null
@@ -0,0 +1,42 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : hwsetup.h\r
+* Description  : Hardware setup header file.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 26.10.2011 1.00     First Release\r
+***********************************************************************************************************************/\r
+
+/***********************************************************************************************************************\r
+Macro definitions\r
+***********************************************************************************************************************/\r
+/* Multiple inclusion prevention macro */
+#ifndef HWSETUP_H
+#define HWSETUP_H
+
+/***********************************************************************************************************************\r
+Exported global functions (to be accessed by other files)\r
+***********************************************************************************************************************/\r
+/* Hardware setup funtion declaration */
+void hardware_setup(void);
+
+/* End of multiple inclusion prevention macro */
+#endif
\ No newline at end of file
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/lowlvl.src b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/lowlvl.src
new file mode 100644 (file)
index 0000000..a75845e
--- /dev/null
@@ -0,0 +1,54 @@
+;-----------------------------------------------------------------------\r
+;\r
+; FILE :lowlvl.src\r
+; DATE :Wed, Jul 01, 2009\r
+; DESCRIPTION :Program of Low level\r
+; CPU TYPE :RX\r
+;\r
+;-----------------------------------------------------------------------\r
+                .GLB    _charput\r
+                .GLB    _charget\r
+\r
+FC2E0           .EQU    00084080h\r
+FE2C0           .EQU    00084090h\r
+DBGSTAT         .EQU    000840C0h\r
+RXFL0EN         .EQU    00001000h\r
+TXFL0EN         .EQU    00000100h\r
+\r
+                .SECTION P,CODE\r
+\r
+;-----------------------------------------------------------------------\r
+; _charput:\r
+;-----------------------------------------------------------------------\r
+_charput:\r
+                .STACK  _charput = 00000000h\r
+__C2ESTART:     MOV.L   #TXFL0EN,R3\r
+                MOV.L   #DBGSTAT,R4\r
+__TXLOOP:       MOV.L   [R4],R5\r
+                AND     R3,R5\r
+                BNZ     __TXLOOP\r
+__WRITEFC2E0:   MOV.L   #FC2E0,R2\r
+                MOV.L   R1,[R2]\r
+__CHARPUTEXIT:  RTS\r
+\r
+;-----------------------------------------------------------------------\r
+; _charget:\r
+;-----------------------------------------------------------------------\r
+_charget:\r
+                .STACK  _charget = 00000000h\r
+__E2CSTART:     MOV.L   #RXFL0EN,R3\r
+                MOV.L   #DBGSTAT,R4\r
+__RXLOOP:       MOV.L   [R4],R5\r
+                AND     R3,R5\r
+                BZ      __RXLOOP\r
+__READFE2C0:    MOV.L   #FE2C0,R2\r
+                MOV.L   [R2],R1\r
+__CHARGETEXIT:  RTS\r
+\r
+;-----------------------------------------------------------------------\r
+\r
+; End of conditional code\r
+                .END\r
+\r
+\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/lowsrc.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/lowsrc.c
new file mode 100644 (file)
index 0000000..ad9f32c
--- /dev/null
@@ -0,0 +1,332 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : lowsrc.c\r
+* Description  : Functions to support stream I/O\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 26.10.2011 1.00     First Release\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/\r
+#include <string.h>\r
+#include <stdio.h>\r
+#include <stddef.h>\r
+\r
+/***********************************************************************************************************************\r
+Macro definitions\r
+***********************************************************************************************************************/\r
+/*Number of I/O Stream*/
+#define IOSTREAM 20
+
+/* file number */\r
+#define STDIN  0                    /* Standard input (console)        */\r
+#define STDOUT 1                    /* Standard output (console)       */\r
+#define STDERR 2                    /* Standard error output (console) */\r
+\r
+#define FLMIN  0                    /* Minimum file number     */\r
+#define _MOPENR        0x1\r
+#define _MOPENW        0x2\r
+#define _MOPENA        0x4\r
+#define _MTRUNC        0x8\r
+#define _MCREAT        0x10\r
+#define _MBIN  0x20\r
+#define _MEXCL 0x40\r
+#define _MALBUF        0x40\r
+#define _MALFIL        0x80\r
+#define _MEOF  0x100\r
+#define _MERR  0x200\r
+#define _MLBF  0x400\r
+#define _MNBF  0x800\r
+#define _MREAD 0x1000\r
+#define _MWRITE        0x2000\r
+#define _MBYTE 0x4000\r
+#define _MWIDE 0x8000\r
+/* File Flags */\r
+#define O_RDONLY 0x0001 /* Read only                                       */\r
+#define O_WRONLY 0x0002 /* Write only                                      */\r
+#define O_RDWR   0x0004 /* Both read and Write                             */\r
+#define O_CREAT  0x0008 /* A file is created if it is not existed          */\r
+#define O_TRUNC  0x0010 /* The file size is changed to 0 if it is existed. */\r
+#define O_APPEND 0x0020 /* The position is set for next reading/writing    */\r
+                        /* 0: Top of the file 1: End of file               */\r
+\r
+/* Special character code */\r
+#define CR 0x0d                     /* Carriage return */\r
+#define LF 0x0a                     /* Line feed       */\r
+\r
+#if defined( __RX )\r
+const long _nfiles = IOSTREAM; /* The number of files for input/output files */\r
+#else\r
+const int _nfiles = IOSTREAM;  /* The number of files for input/output files */\r
+#endif\r
+char flmod[IOSTREAM];          /* The location for the mode of opened file.  */\r
+\r
+unsigned char sml_buf[IOSTREAM];\r
+\r
+#define FPATH_STDIN     "C:\\stdin"\r
+#define FPATH_STDOUT    "C:\\stdout"\r
+#define FPATH_STDERR    "C:\\stderr"\r
+\r
+/* H8 Normal mode ,SH and RX */\r
+#if defined( __2000N__ ) || defined( __2600N__ ) || defined( __300HN__ ) || defined( _SH )\r
+/* Output one character to standard output */\r
+extern void charput(char);\r
+/* Input one character from standard input */\r
+extern char charget(void);\r
+/* Output one character to the file        */\r
+extern char fcharput(char, unsigned char);\r
+/* Input one character from the file       */\r
+extern char fcharget(char*, unsigned char);\r
+/* Open the file */\r
+extern char fileopen(char*, unsigned char, unsigned char*);\r
+/* Close the file */\r
+extern char fileclose(unsigned char);\r
+/* Move the file offset */\r
+extern char fpseek(unsigned char, long, unsigned char);\r
+/* Get the file offset */\r
+extern char fptell(unsigned char, long*);\r
+\r
+/* RX */\r
+#elif defined( __RX )\r
+/* Output one character to standard output */\r
+extern void charput(unsigned char);\r
+/* Input one character from standard input */\r
+extern unsigned char charget(void);\r
+\r
+/* H8 Advanced mode */\r
+#elif defined( __2000A__ ) || defined( __2600A__ ) || defined( __300HA__ ) || defined( __H8SXN__ ) || defined( __H8SXA__ ) || defined( __H8SXM__ ) || defined( __H8SXX__ )\r
+/* Output one character to standard output */\r
+extern void charput(char);\r
+/* Input one character from standard input */\r
+extern char charget(void);\r
+/* Output one character to the file        */\r
+extern char fcharput(char, unsigned char);\r
+/* Input one character from the file       */\r
+extern char fcharget(char*, unsigned char);\r
+/* Open the file */\r
+/* Specified as the number of register which stored paramter is 3 */\r
+extern char __regparam3 fileopen(char*, unsigned char, unsigned char*);\r
+/* Close the file */\r
+extern char fileclose(unsigned char);\r
+/* Move the file offset */\r
+extern char fpseek(unsigned char, long, unsigned char);\r
+/* Get the file offset */\r
+extern char fptell(unsigned char, long*);\r
+\r
+/* H8300 and H8300L */\r
+#elif defined( __300__ ) || defined( __300L__ )\r
+/* Output one character to standard output */\r
+extern void charput(char);\r
+/* Input one character from standard input */\r
+extern char charget(void);\r
+/* Output one character to the file        */\r
+extern char fcharput(char, unsigned char);\r
+/* Input one character from the file       */\r
+extern char fcharget(char*, unsigned char);\r
+/* Open the file */\r
+/* Specified as the number of register which stored paramter is 3 */\r
+extern char __regparam3 fileopen(char*, unsigned char, unsigned char*);\r
+/* Close the file */\r
+extern char fileclose(unsigned char);\r
+/* Move the file offset */\r
+/* Move the file offset */\r
+extern char __regparam3 fpseek(unsigned char, long, unsigned char);\r
+/* Get the file offset */\r
+extern char fptell(unsigned char, long*);\r
+#endif\r
+\r
+#include <stdio.h>\r
+FILE *_Files[IOSTREAM]; // structure for FILE\r
+char *env_list[] = {            // Array for environment variables(**environ)\r
+    "ENV1=temp01",\r
+    "ENV2=temp02",\r
+    "ENV9=end",\r
+    '\0'                        // Terminal for environment variables\r
+};\r
+\r
+char **environ = env_list;\r
+\r
+/****************************************************************************/\r
+/* _INIT_IOLIB                                                              */\r
+/*  Initialize C library Functions, if necessary.                           */\r
+/*  Define USES_SIMIO on Assembler Option.                                  */\r
+/****************************************************************************/\r
+void _INIT_IOLIB( void )\r
+{\r
+    /* A file for standard input/output is opened or created. Each FILE     */\r
+    /* structure members are initialized by the library. Each _Buf member   */\r
+    /* in it is re-set the end of buffer pointer.                           */\r
+\r
+    /* Standard Input File                                                  */\r
+    if( freopen( FPATH_STDIN, "r", stdin ) == NULL )\r
+        stdin->_Mode = 0xffff;  /* Not allow the access if it fails to open */\r
+    stdin->_Mode  = _MOPENR;            /* Read only attribute              */\r
+    stdin->_Mode |= _MNBF;              /* Non-buffering for data           */\r
+    stdin->_Bend = stdin->_Buf + 1;  /* Re-set pointer to the end of buffer */\r
+\r
+    /* Standard Output File                                                 */\r
+    if( freopen( FPATH_STDOUT, "w", stdout ) == NULL ) \r
+        stdout->_Mode = 0xffff; /* Not allow the access if it fails to open */\r
+    stdout->_Mode |= _MNBF;             /* Non-buffering for data           */\r
+    stdout->_Bend = stdout->_Buf + 1;/* Re-set pointer to the end of buffer */\r
+    \r
+    /* Standard Error File                                                  */\r
+    if( freopen( FPATH_STDERR, "w", stderr ) == NULL )\r
+        stderr->_Mode = 0xffff; /* Not allow the access if it fails to open */\r
+    stderr->_Mode |= _MNBF;             /* Non-buffering for data           */\r
+    stderr->_Bend = stderr->_Buf + 1;/* Re-set pointer to the end of buffer */\r
+}\r
+\r
+/****************************************************************************/\r
+/* _CLOSEALL                                                                */\r
+/****************************************************************************/\r
+void _CLOSEALL( void )\r
+{\r
+    long i;\r
+\r
+    for( i=0; i < _nfiles; i++ )\r
+    {\r
+        /* Checks if the file is opened or not                               */\r
+        if( _Files[i]->_Mode & (_MOPENR | _MOPENW | _MOPENA ) )\r
+        fclose( _Files[i] );    /* Closes the file                           */\r
+    }\r
+}\r
+\r
+/**************************************************************************/\r
+/*       open:file open                                                   */\r
+/*          Return value:File number (Pass)                               */\r
+/*                       -1          (Failure)                            */\r
+/**************************************************************************/\r
+#if defined( __RX )\r
+long open(const char *name,                  /* File name                 */\r
+     long  mode,                             /* Open mode                 */\r
+     long  flg)                              /* Open flag                 */\r
+#else\r
+int open(char *name,                         /* File name                 */\r
+     int  mode,                              /* Open mode                 */\r
+     int  flg)                               /* Open flag                 */\r
+#endif\r
+{\r
+\r
+\r
+    if( strcmp( name, FPATH_STDIN ) == 0 )      /* Standard Input file?   */\r
+    {\r
+        if( ( mode & O_RDONLY ) == 0 ) return -1;\r
+        flmod[STDIN] = mode;\r
+        return STDIN;\r
+    }\r
+    else if( strcmp( name, FPATH_STDOUT ) == 0 )/* Standard Output file?  */\r
+    {\r
+        if( ( mode & O_WRONLY ) == 0 ) return -1;\r
+        flmod[STDOUT] = mode;\r
+        return STDOUT;\r
+    }\r
+    else if(strcmp(name, FPATH_STDERR ) == 0 )  /* Standard Error file?   */\r
+    {\r
+        if( ( mode & O_WRONLY ) == 0 ) return -1;\r
+        flmod[STDERR] = mode;\r
+        return STDERR;\r
+    }\r
+    else return -1;                             /*Others                  */\r
+}\r
+\r
+#if defined( __RX )\r
+long close( long fileno )\r
+#else\r
+int close( int fileno )\r
+#endif\r
+{\r
+    return 1;\r
+}\r
+\r
+/**************************************************************************/\r
+/* write:Data write                                                       */\r
+/*  Return value:Number of write characters (Pass)                        */\r
+/*               -1                         (Failure)                     */\r
+/**************************************************************************/\r
+#if defined( __RX )\r
+long write(long  fileno,             /* File number                       */\r
+      const unsigned char *buf,       /* The address of destination buffer */\r
+      long  count)                   /* The number of chacter to write    */\r
+#else\r
+int write(int  fileno,               /* File number                       */\r
+      char *buf,                     /* The address of destination buffer */\r
+      int  count)                    /* The number of chacter to write    */\r
+#endif\r
+{\r
+    long    i;                          /* A variable for counter         */\r
+    unsigned char    c;                 /* An output character            */\r
+\r
+    /* Checking the mode of file , output each character                  */\r
+    /* Checking the attribute for Write-Only, Read-Only or Read-Write     */\r
+    if(flmod[fileno]&O_WRONLY || flmod[fileno]&O_RDWR)\r
+    {\r
+        if( fileno == STDIN ) return -1;            /* Standard Input     */\r
+        else if( (fileno == STDOUT) || (fileno == STDERR) ) \r
+                                                           /* Standard Error/output   */\r
+        {\r
+            for( i = count; i > 0; --i )\r
+            {\r
+                c = *buf++;\r
+                charput(c);\r
+            }\r
+            return count;        /*Return the number of written characters */\r
+        }\r
+        else return -1;                  /* Incorrect file number          */\r
+    }\r
+    else return -1;                      /* An error                       */\r
+}\r
+\r
+#if defined( __RX )\r
+long read( long fileno, unsigned char *buf, long count )\r
+#else\r
+int read( int fileno, char *buf, unsigned int count )\r
+#endif\r
+{\r
+          long i;\r
+\r
+       /* Checking the file mode with the file number, each character is input and stored the buffer */\r
+\r
+       if((flmod[fileno]&_MOPENR) || (flmod[fileno]&O_RDWR)){\r
+             for(i = count; i > 0; i--){\r
+                   *buf = charget();\r
+                   if(*buf==CR){              /* Replace the new line character */\r
+                         *buf = LF;\r
+                   }\r
+                   buf++;\r
+             }\r
+             return count;\r
+       }\r
+       else {\r
+             return -1;\r
+       }\r
+}\r
+\r
+#if defined( __RX )\r
+long lseek( long fileno, long offset, long base )\r
+#else\r
+long lseek( int fileno, long offset, int base )\r
+#endif\r
+{\r
+    return -1L;\r
+}\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/mcu_info.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/mcu_info.h
new file mode 100644 (file)
index 0000000..bf33ebc
--- /dev/null
@@ -0,0 +1,59 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : mcu_info.h\r
+* Device(s)    : RX\r
+* H/W Platform : RSK+RX63N\r
+* Description  : Information about the MCU on this board.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 28.11.2011 1.00     First Release\r
+*         : 13.03.2012 1.10     System clock speeds are now calculated from macros in r_bsp_config.h. \r
+***********************************************************************************************************************/\r
+\r
+#ifndef _MCU_INFO\r
+#define _MCU_INFO\r
+\r
+/* MCU that is used. */\r
+#define MCU_RX63N           (1)\r
+\r
+/* Package. */\r
+#define PACKAGE_LQFP176     (1)\r
+\r
+/* Memory size of your MCU. */\r
+#define ROM_SIZE_BYTES      (1048576)\r
+#define RAM_SIZE_BYTES      (131072)\r
+#define DF_SIZE_BYTES       (32768)\r
+\r
+/* System clock speed in Hz. */\r
+#define ICLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / ICK_DIV)\r
+/* Peripheral Module Clock A speed in Hz. Used for ETHERC and EDMAC. */\r
+#define PCLKA_HZ            (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKA_DIV)\r
+/* Peripheral Module Clock B speed in Hz. */\r
+#define PCLKB_HZ            (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKB_DIV)\r
+/* External bus clock speed in Hz. */\r
+#define BCLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / BCK_DIV)\r
+/* FlashIF clock speed in Hz. */\r
+#define FCLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / FCK_DIV)\r
+/* USB clock speed in Hz. */\r
+#define UCLK_HZ             (((XTAL_HZ/PLL_DIV) * PLL_MUL) / UCK_DIV) \r
+\r
+#endif /* _MCU_INFO */\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/r_bsp.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/r_bsp.h
new file mode 100644 (file)
index 0000000..dbb95f4
--- /dev/null
@@ -0,0 +1,54 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : r_bsp.h\r
+* H/W Platform : RSK+RX63N\r
+* Description  : Has the header files that should be included for this platform.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 13.01.2012 1.00     First Release\r
+*         : 13.03.2012 1.10     Added locking.h and r_bsp_config.h #includes. Removed sbrk.h since heap size is not\r
+*                               defined in r_bsp_config.h.\r
+***********************************************************************************************************************/\r
+\r
+#ifndef PLATFORM_BOARD_RSKRX63N\r
+#define PLATFORM_BOARD_RSKRX63N\r
+\r
+/* Make sure that no other platforms have already been defined. Do not touch this! */\r
+#ifdef  PLATFORM_DEFINED\r
+#error  "Error - Multiple platforms defined in platform.h!"\r
+#else\r
+#define PLATFORM_DEFINED\r
+#endif\r
+\r
+/***********************************************************************************************************************\r
+INCLUDE APPROPRIATE MCU AND BOARD FILES\r
+***********************************************************************************************************************/\r
+#include    "r_bsp_config.h"\r
+#include    ".\mcu\rx63n\iodefine.h"\r
+#include    ".\board\rskrx63n\rskrx63n.h"\r
+#include    ".\board\rskrx63n\mcu_info.h"\r
+#include    ".\board\rskrx63n\hwsetup.h"\r
+/*#include    ".\board\rskrx63n\lcd.h" Not currently used. */\r
+/* #include    ".\board\rskrx63n\locking.h" Not currently used. */\r
+\r
+#endif /* PLATFORM_BOARD_RSKRX63N */\r
+\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/r_bsp_config_reference.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/r_bsp_config_reference.h
new file mode 100644 (file)
index 0000000..0b00618
--- /dev/null
@@ -0,0 +1,149 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name    : r_bsp_config_reference.c\r
+* Device(s)    : RX63x\r
+* Description  : The file r_bsp_config.h is used to configure your BSP. r_bsp_config.h should be included\r
+*                somewhere in your package so that the r_bsp code has access to it. This file (r_bsp_config_reference.h)\r
+*                is just a reference file that the user can use to make their own r_bsp_config.h file.\r
+************************************************************************************************************************\r
+* History : DD.MM.YYYY Version Description           \r
+*         : 13.03.2012 1.00    First Release            \r
+***********************************************************************************************************************/\r
+#ifndef R_BSP_CONFIG_REF_HEADER_FILE\r
+#define R_BSP_CONFIG_REF_HEADER_FILE\r
+\r
+/***********************************************************************************************************************\r
+Configuration Options\r
+***********************************************************************************************************************/\r
+/* The 'BSP_DECLARE_STACK' macro is checked so that the stack is only declared in one place (resetprg.c). Every time a \r
+   '#pragma stacksize' is encountered, the stack size is increased. This prevents multiplication of stack size. */\r
+#if defined(BSP_DECLARE_STACK)\r
+/* User Stack size in bytes. The Renesas RX toolchain sets the stack size using the #pragma stacksize directive. */\r
+#pragma stacksize su=0x1000\r
+/* Interrupt Stack size in bytes. The Renesas RX toolchain sets the stack size using the #pragma stacksize directive. */\r
+#pragma stacksize si=0x400\r
+#endif\r
+\r
+/* Heap size in bytes. */\r
+#define HEAP_BYTES              (0x400)\r
+\r
+/* After reset MCU will operate in Supervisor mode. To switch to User mode, set this macro to '1'. For more information\r
+   on the differences between these 2 modes see the CPU >> Processor Mode section of your MCU's hardware manual.\r
+   0 = Stay in Supervisor mode.\r
+   1 = Switch to User mode.\r
+*/\r
+#define RUN_IN_USER_MODE        (0)\r
+\r
+/* To get into User Boot Mode the user must control some pins on the MCU and also set some values in ROM. These values\r
+   in ROM are described in the Option-Setting Memory section of the hardware manual. This macro sets these values so \r
+   that User Boot Mode can be used. The user is still responsible for setting the MCU pins appropriately.\r
+   0 = Single-Chip or USB Boot Mode\r
+   1 = User Boot Mode\r
+*/\r
+#define USER_BOOT_ENABLE        (0)\r
+\r
+/* Set your desired ID code. NOTE, leave at the default (all 0xFF's) if you do not wish to use an ID code. If you set \r
+   this value and program it into the MCU then you will need to remember the ID code because the debugger will ask for \r
+   it when trying to connect. Note that the E1/E20 will ignore the ID code when programming the MCU during debugging.\r
+   If you set this value and then forget it then you can clear the ID code by connecting up in serial boot mode using \r
+   FDT. The ID Code is 16 bytes long. The macro below define the ID Code in 4-byte sections. */\r
+/* Lowest 4-byte section, address 0xFFFFFFA0. From MSB to LSB: Control Code, ID code 1, ID code 2, ID code 3. */\r
+#define ID_CODE_LONG_1          (0xFFFFFFFF)\r
+/* 2nd ID Code section, address 0xFFFFFFA4. From MSB to LSB: ID code 4, ID code 5, ID code 6, ID code 7. */\r
+#define ID_CODE_LONG_2          (0xFFFFFFFF)\r
+/* 3rd ID Code section, address 0xFFFFFFA8. From MSB to LSB: ID code 8, ID code 9, ID code 10, ID code 11. */\r
+#define ID_CODE_LONG_3          (0xFFFFFFFF)\r
+/* 4th ID Code section, address 0xFFFFFFAC. From MSB to LSB: ID code 12, ID code 13, ID code 14, ID code 15. */\r
+#define ID_CODE_LONG_4          (0xFFFFFFFF)\r
+\r
+/* This macro lets other modules no if a RTOS is being used.\r
+   0 = RTOS is not used. \r
+   1 = RTOS is used.\r
+*/\r
+#define RTOS_USED               (0)\r
+\r
+/* Clock source select (CKSEL).\r
+   0 = Low Speed On-Chip Oscillator  (LOCO)\r
+   1 = High Speed On-Chip Oscillator (HOCO)\r
+   2 = Main Clock Oscillator  \r
+   3 = Sub-Clock Oscillator\r
+   4 = PLL Circuit\r
+*/ \r
+#define CLOCK_SOURCE            (4)\r
+\r
+/* Clock configuration options.\r
+   The input clock frequency is specified and then the system clocks are set by specifying the multipliers used. The\r
+   multiplier settings are used to set the clock registers in resetprg.c. If a 12MHz clock is used and the \r
+   ICLK is 96MHz, PCLKA is 48MHz, PCLKB is 48MHz, FCLK is 48MHz, USB Clock is 48MHz, and BCLK is 12MHz then the \r
+   settings would be:\r
+\r
+   XTAL_HZ = 12000000\r
+   PLL_DIV = 1  (no division)\r
+   PLL_MUL = 16 (12MHz x 16 = 192MHz)\r
+   ICK_DIV =  2      : System Clock (ICLK)        = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / ICK_DIV)  = 96MHz\r
+   PCKA_DIV = 4      : Peripheral Clock A (PCLKA) = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKA_DIV) = 48MHz\r
+   PCKB_DIV = 4      : Peripheral Clock B (PCLKB) = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKB_DIV) = 48MHz\r
+   FCK_DIV =  4      : Flash IF Clock (FCLK)      = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / FCK_DIV)  = 48MHz\r
+   BCK_DIV =  8      : External Bus Clock (BCK)   = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / BCK_DIV)  = 24MHz\r
+   UCK_DIV =  4      : USB Clock (UCLK)           = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / UCK_DIV)  = 48MHz\r
+*/\r
+/* XTAL - Input clock frequency in Hz */\r
+#define XTAL_HZ                 (12000000)\r
+/* PLL Input Frequency Divider Select (PLIDIV). \r
+   Available divisors = /1 (no division), /2, /4\r
+*/\r
+#define PLL_DIV                 (1)\r
+/* PLL Frequency Multiplication Factor Select (STC). \r
+   Available multipliers = x8, x10, x12, x16, x20, x24, x25, x50\r
+*/\r
+#define PLL_MUL                 (16)\r
+/* System Clock Divider (ICK).\r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define ICK_DIV                 (2)\r
+/* Peripheral Module Clock A Divider (PCKA). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define PCKA_DIV                (4)\r
+/* Peripheral Module Clock B Divider (PCKB). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define PCKB_DIV                (4)\r
+/* External Bus Clock Divider (BCK). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define BCK_DIV                 (8)\r
+/* Flash IF Clock Divider (FCK). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define FCK_DIV                 (4)\r
+/* IEBUS Clock Divider Select. \r
+   Available divisors = /1 (no division), /2, /4, /6, /8, /16, /32, /64\r
+*/\r
+#define IEBCK_DIV               (8)\r
+/* USB Clock Divider Select. \r
+   Available divisors = /3, /4\r
+*/\r
+#define UCK_DIV                 (4)\r
+\r
+#endif /* R_BSP_CONFIG_REF_HEADER_FILE */\r
+\r
+\r
+\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/resetprg.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/resetprg.c
new file mode 100644 (file)
index 0000000..a8d08b9
--- /dev/null
@@ -0,0 +1,409 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : resetprg.c\r
+* Device(s)    : RX63x\r
+* Description  : Defines post-reset routines that are used to configure the MCU prior to the main program starting. \r
+*                This is were the program counter starts on power-up or reset.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 26.10.2011 1.00     First Release\r
+*         : 13.03.2012 1.10     Stack sizes are now defined in r_bsp_config.h. Because of this the #include for \r
+*                               stacksct.h was removed. Settings for SCKCR are now set in r_bsp_config.h and used here\r
+*                               to setup clocks based on user settings.\r
+***********************************************************************************************************************/\r
+\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/
+/* Defines machine level functions used in this file */
+#include    <machine.h>
+/* Defines MCU configuration functions used in this file */
+#include    <_h_c_lib.h>
+/* Defines standard variable types used in this file */
+#include    <stdbool.h>
+#include    <stdint.h>\r
+\r
+/* This macro is here so that the stack will be declared here. This is used to prevent multiplication of stack size. */\r
+#define     BSP_DECLARE_STACK\r
+/* Define the target platform */\r
+#include    "platform.h"\r
+\r
+/***********************************************************************************************************************\r
+Macro definitions\r
+***********************************************************************************************************************/
+#define PSW_init  (0x00030000)
+#define FPSW_init (0x00000100)
+
+/***********************************************************************************************************************
+Pre-processor Directives
+***********************************************************************************************************************/
+/* Declare the contents of the function 'Change_PSW_PM_to_UserMode' as
+   assembler to the compiler */
+#pragma inline_asm Change_PSW_PM_to_UserMode
+\r
+/* Set this as the entry point from a power-on reset */
+#pragma entry PowerON_Reset_PC\r
+\r
+/***********************************************************************************************************************
+External function Prototypes
+***********************************************************************************************************************/
+/* Functions to setup I/O library */
+extern void _INIT_IOLIB(void);\r
+extern void _CLOSEALL(void);\r
+
+/***********************************************************************************************************************\r
+Private global variables and functions\r
+***********************************************************************************************************************/
+/* Power-on reset function declaration */
+void PowerON_Reset_PC(void);\r
+\r
+#if RUN_IN_USER_MODE==1\r
+    #if __RENESAS_VERSION__ < 0x01010000\r
+    /* MCU usermode switcher function declaration */
+    static void Change_PSW_PM_to_UserMode(void);\r
+    #endif
+#endif\r
+
+/* Main program function delcaration */
+void main(void);
+static void operating_frequency_set(void);
+\r
+/***********************************************************************************************************************\r
+* Function name: PowerON_Reset_PC\r
+* Description  : This function is the MCU's entry point from a power-on reset.\r
+*                The following steps are taken in the startup code:\r
+*                1. The User Stack Pointer (USP) and Interrupt Stack Pointer (ISP) are both set immediately after entry \r
+*                   to this function. The USP and ISP stack sizes are set in the file stacksct.h.\r
+*                   Default sizes are USP=4K and ISP=1K.\r
+*                2. The interrupt vector base register is set to point to the beginning of the relocatable interrupt \r
+*                   vector table.\r
+*                3. The MCU is setup for floating point operations by setting the initial value of the Floating Point \r
+*                   Status Word (FPSW).\r
+*                4. The MCU operating frequency is set by configuring the Clock Generation Circuit (CGC) in\r
+*                   operating_frequency_set.\r
+*                5. Calls are made to functions to setup the C runtime environment which involves initializing all \r
+*                   initialed data, zeroing all uninitialized variables, and configuring STDIO if used\r
+*                   (calls to _INITSCT and _INIT_IOLIB).\r
+*                6. Board-specific hardware setup, including configuring I/O pins on the MCU, in hardware_setup.\r
+*                7. Global interrupts are enabled by setting the I bit in the Program Status Word (PSW), and the stack \r
+*                   is switched from the ISP to the USP.  The initial Interrupt Priority Level is set to zero, enabling \r
+*                   any interrupts with a priority greater than zero to be serviced.\r
+*                8. The processor is optionally switched to user mode.  To run in user mode, set the macro \r
+*                   RUN_IN_USER_MODE above to a 1.\r
+*                9. The bus error interrupt is enabled to catch any accesses to invalid or reserved areas of memory.\r
+*\r
+*                Once this initialization is complete, the user's main() function is called.  It should not return.\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+void PowerON_Reset_PC(void)
+{\r
+    /* Stack pointers are setup prior to calling this function - see comments above */    \r
+    
+    /* Initialise the MCU processor word */
+#if __RENESAS_VERSION__ >= 0x01010000    
+    set_intb((void *)__sectop("C$VECT"));
+#else
+    set_intb((unsigned long)__sectop("C$VECT"));
+#endif    \r
+\r
+    /* Initialize FPSW for floating-point operations */\r
+#ifdef __ROZ\r
+#define _ROUND 0x00000001  /* Let FPSW RMbits=01 (round to zero) */\r
+#else \r
+#define _ROUND 0x00000000  /* Let FPSW RMbits=00 (round to nearest) */\r
+#endif \r
+#ifdef __DOFF \r
+#define _DENOM 0x00000100  /* Let FPSW DNbit=1 (denormal as zero) */\r
+#else \r
+#define _DENOM 0x00000000  /* Let FPSW DNbit=0 (denormal as is) */\r
+#endif 
+    set_fpsw(FPSW_init | _ROUND | _DENOM); \r
+    \r
+    /* Switch to high-speed operation */\r
+    operating_frequency_set();
+
+    /* Initialize C runtime environment */
+    _INITSCT();
+\r
+    /* Comment this out if not using I/O lib\r
+    _INIT_IOLIB(); */\r
+
+    /* Configure the MCU and YRDK hardware */
+    hardware_setup();
+
+    /* Change the MCU's usermode from supervisor to user */        
+    nop();
+    set_psw(PSW_init);      
+#if RUN_IN_USER_MODE==1\r
+    /* Use chg_pmusr() intrinsic if possible. */\r
+    #if __RENESAS_VERSION__ >= 0x01010000
+    chg_pmusr() ;\r
+    #else\r
+    Change_PSW_PM_to_UserMode();\r
+    #endif
+#endif\r
+\r
+\r
+    /* Enable the bus error interrupt to catch accesses to illegal/reserved areas of memory */\r
+    /* The ISR for this interrupt can be found in vecttbl.c in the function "bus_error_isr" */\r
+    /* Clear any pending interrupts */\r
+    IR(BSC,BUSERR) = 0;\r
+    /* Make this the highest priority interrupt (adjust as necessary for your application */\r
+    IPR(BSC,BUSERR) = 0x0F; \r
+    /* Enable the interrupt in the ICU*/\r
+    IEN(BSC,BUSERR) = 1; \r
+    /* Enable illegal address interrupt in the BSC */\r
+    BSC.BEREN.BIT.IGAEN = 1;\r
+\r
+    /* Call the main program function (should not return) */
+    main();\r
+    \r
+    /* Comment this out if not using I/O lib - cleans up open files */\r
+    _CLOSEALL();
+
+    while(1)\r
+    {\r
+        /* Infinite loop. Put a breakpoint here if you want to catch an exit of main(). */\r
+    }\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* Function name: operating_frequency_set\r
+* Description  : Configures the clock settings for each of the device clocks\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+void operating_frequency_set(void)
+{
+    /* Used for constructing value to write to SCKCR register. */\r
+    uint32_t temp_clock = 0;\r
+    
+    /* \r
+    Clock Description              Frequency\r
+    ----------------------------------------\r
+    Input Clock Frequency............  12 MHz\r
+    PLL frequency (x16).............. 192 MHz\r
+    Internal Clock Frequency.........  96 MHz    \r
+    Peripheral Clock Frequency.......  48 MHz\r
+    USB Clock Frequency..............  48 MHz\r
+    External Bus Clock Frequency.....  24 MHz */\r
+\r
+       volatile unsigned int i;\r
+\r
+    /* Protect off. */\r
+    SYSTEM.PRCR.WORD = 0xA50B;                 \r
+       \r
+    /* Uncomment if not using sub-clock */\r
+       //SYSTEM.SOSCCR.BYTE = 0x01;          /* stop sub-clock */\r
+    SYSTEM.SOSCCR.BYTE = 0x00;                 /* Enable sub-clock for RTC */\r
+\r
+    /* Wait 131,072 cycles * 12 MHz = 10.9 ms */\r
+    SYSTEM.MOSCWTCR.BYTE = 0x0D;               \r
+\r
+    /* PLL wait is 4,194,304 cycles (default) * 192 MHz (12 MHz * 16) = 20.1 ms*/\r
+    SYSTEM.PLLWTCR.BYTE = 0x0F;                        \r
+\r
+    /* Set PLL Input Divisor. */\r
+    SYSTEM.PLLCR.BIT.PLIDIV = PLL_DIV >> 1;\r
+\r
+    /* Set PLL Multiplier. */\r
+    SYSTEM.PLLCR.BIT.STC = PLL_MUL - 1;\r
+\r
+    /* EXTAL ON */\r
+    SYSTEM.MOSCCR.BYTE = 0x00;                 \r
+\r
+    /* PLL ON */\r
+    SYSTEM.PLLCR2.BYTE = 0x00;                 \r
+\r
+       for(i = 0;i< 0x168;i++)             \r
+    {\r
+        /* Wait over 12ms */\r
+        nop() ;\r
+       }\r
+\r
+    /* Figure out setting for FCK bits. */\r
+#if   FCK_DIV == 1\r
+    /* Do nothing since FCK bits should be 0. */\r
+#elif FCK_DIV == 2\r
+    temp_clock |= 0x10000000;\r
+#elif FCK_DIV == 4\r
+    temp_clock |= 0x20000000;\r
+#elif FCK_DIV == 8\r
+    temp_clock |= 0x30000000;\r
+#elif FCK_DIV == 16\r
+    temp_clock |= 0x40000000;\r
+#elif FCK_DIV == 32\r
+    temp_clock |= 0x50000000;\r
+#elif FCK_DIV == 64\r
+    temp_clock |= 0x60000000;\r
+#else\r
+    #error "Error! Invalid setting for FCK_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* Figure out setting for ICK bits. */\r
+#if   ICK_DIV == 1\r
+    /* Do nothing since ICK bits should be 0. */\r
+#elif ICK_DIV == 2\r
+    temp_clock |= 0x01000000;\r
+#elif ICK_DIV == 4\r
+    temp_clock |= 0x02000000;\r
+#elif ICK_DIV == 8\r
+    temp_clock |= 0x03000000;\r
+#elif ICK_DIV == 16\r
+    temp_clock |= 0x04000000;\r
+#elif ICK_DIV == 32\r
+    temp_clock |= 0x05000000;\r
+#elif ICK_DIV == 64\r
+    temp_clock |= 0x06000000;\r
+#else\r
+    #error "Error! Invalid setting for ICK_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* SDCLK Pin Output and BCLK Pin Output are disabled by default. */\r
+    temp_clock |= 0x00C00000;\r
+\r
+    /* Figure out setting for BCK bits. */\r
+#if   BCK_DIV == 1\r
+    /* Do nothing since BCK bits should be 0. */\r
+#elif BCK_DIV == 2\r
+    temp_clock |= 0x00010000;\r
+#elif BCK_DIV == 4\r
+    temp_clock |= 0x00020000;\r
+#elif BCK_DIV == 8\r
+    temp_clock |= 0x00030000;\r
+#elif BCK_DIV == 16\r
+    temp_clock |= 0x00040000;\r
+#elif BCK_DIV == 32\r
+    temp_clock |= 0x00050000;\r
+#elif BCK_DIV == 64\r
+    temp_clock |= 0x00060000;\r
+#else\r
+    #error "Error! Invalid setting for BCK_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* Figure out setting for PCKA bits. */\r
+#if   PCKA_DIV == 1\r
+    /* Do nothing since PCKA bits should be 0. */\r
+#elif PCKA_DIV == 2\r
+    temp_clock |= 0x00001000;\r
+#elif PCKA_DIV == 4\r
+    temp_clock |= 0x00002000;\r
+#elif PCKA_DIV == 8\r
+    temp_clock |= 0x00003000;\r
+#elif PCKA_DIV == 16\r
+    temp_clock |= 0x00004000;\r
+#elif PCKA_DIV == 32\r
+    temp_clock |= 0x00005000;\r
+#elif PCKA_DIV == 64\r
+    temp_clock |= 0x00006000;\r
+#else\r
+    #error "Error! Invalid setting for PCKA_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* Figure out setting for PCKB bits. */\r
+#if   PCKB_DIV == 1\r
+    /* Do nothing since PCKB bits should be 0. */\r
+#elif PCKB_DIV == 2\r
+    temp_clock |= 0x00000100;\r
+#elif PCKB_DIV == 4\r
+    temp_clock |= 0x00000200;\r
+#elif PCKB_DIV == 8\r
+    temp_clock |= 0x00000300;\r
+#elif PCKB_DIV == 16\r
+    temp_clock |= 0x00000400;\r
+#elif PCKB_DIV == 32\r
+    temp_clock |= 0x00000500;\r
+#elif PCKB_DIV == 64\r
+    temp_clock |= 0x00000600;\r
+#else\r
+    #error "Error! Invalid setting for PCKB_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* Bottom byte of SCKCR register must be set to 0x11 */\r
+    temp_clock |= 0x00000011;\r
+\r
+    /* Set SCKCR register. */\r
+    SYSTEM.SCKCR.LONG = temp_clock;\r
+    \r
+    /* Re-init temp_clock to use to set SCKCR2. */\r
+    temp_clock = 0;\r
+\r
+    /* Figure out setting for IEBCK bits. */\r
+#if   IEBCK_DIV == 2\r
+    temp_clock |= 0x00000001;\r
+#elif IEBCK_DIV == 4\r
+    temp_clock |= 0x00000002;\r
+#elif IEBCK_DIV == 6\r
+    temp_clock |= 0x0000000C;\r
+#elif IEBCK_DIV == 8\r
+    temp_clock |= 0x00000003;\r
+#elif IEBCK_DIV == 16\r
+    temp_clock |= 0x00000004;\r
+#elif IEBCK_DIV == 32\r
+    temp_clock |= 0x00000005;\r
+#elif IEBCK_DIV == 64\r
+    temp_clock |= 0x00000006;\r
+#else\r
+    #error "Error! Invalid setting for IEBCK_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* Figure out setting for UCK bits. */\r
+#if   UCK_DIV == 3\r
+    temp_clock |= 0x00000020;\r
+#elif UCK_DIV == 4\r
+    temp_clock |= 0x00000030;\r
+#else\r
+    #error "Error! Invalid setting for UCK_DIV in r_bsp_config.h"\r
+#endif\r
+\r
+    /* Set SCKCR2 register. */\r
+    SYSTEM.SCKCR2.WORD = (uint16_t)temp_clock;\r
+\r
+    /* Choose clock source. Default for r_bsp_config.h is PLL. */\r
+    SYSTEM.SCKCR3.WORD = ((uint16_t)CLOCK_SOURCE) << 8;\r
+\r
+    /* Protect on. */\r
+    SYSTEM.PRCR.WORD = 0xA500;                 
+}
+\r
+/***********************************************************************************************************************\r
+* Function name: Change_PSW_PM_to_UserMode\r
+* Description  : Assembler function, used to change the MCU's usermode from supervisor to user.\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+#if RUN_IN_USER_MODE==1\r
+    #if __RENESAS_VERSION__ < 0x01010000
+static void Change_PSW_PM_to_UserMode(void)
+{
+    MVFC   PSW,R1
+    OR     #00100000h,R1
+    PUSH.L R1
+    MVFC   PC,R1
+    ADD    #10,R1
+    PUSH.L R1
+    RTE
+    NOP
+    NOP
+}\r
+    #endif
+#endif
\ No newline at end of file
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/rskrx63n.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/rskrx63n.h
new file mode 100644 (file)
index 0000000..6699734
--- /dev/null
@@ -0,0 +1,65 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : rskrx63n.h\r
+* H/W Platform : RSK+RX63N\r
+* Description  : Board specific definitions for the RSKRX630.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 28.11.2011 1.00     First Release\r
+***********************************************************************************************************************/\r
+\r
+#ifndef RSKRX63N_H
+#define RSKRX63N_H
+
+/* Local defines */
+#define LED_ON              (0)
+#define LED_OFF             (1)
+#define SET_BIT_HIGH        (1)
+#define SET_BIT_LOW         (0)
+#define SET_BYTE_HIGH       (0xFF)
+#define SET_BYTE_LOW        (0x00)\r
+\r
+/* Switches */\r
+#define SW_ACTIVE           0\r
+#define        SW1                         PORT3.PIDR.BIT.B2\r
+#define SW2                        PORT0.PIDR.BIT.B0\r
+#define SW3                        PORT0.PIDR.BIT.B7\r
+#define SW1_PDR                            PORT3.PDR.BIT.B2\r
+#define SW2_PDR                            PORT0.PDR.BIT.B0\r
+#define SW3_PDR                            PORT0.PDR.BIT.B7\r
+#define SW1_PMR                            PORT3.PMR.BIT.B2\r
+#define SW2_PMR                            PORT0.PMR.BIT.B0\r
+#define SW3_PMR                            PORT0.PMR.BIT.B7\r
+\r
+/* LEDs */\r
+#define        LED0                        PORT0.PODR.BIT.B3\r
+#define        LED1                        PORT0.PODR.BIT.B5\r
+#define        LED2                        PORT1.PODR.BIT.B0\r
+#define        LED3                        PORT1.PODR.BIT.B1\r
+#define        LED0_PDR                    PORT0.PDR.BIT.B3\r
+#define        LED1_PDR                    PORT0.PDR.BIT.B5\r
+#define        LED2_PDR                    PORT1.PDR.BIT.B0\r
+#define        LED3_PDR                    PORT1.PDR.BIT.B1\r
+\r
+/* Slave select. */\r
+#define FLASH_CS            PORT3.PDR.BIT.B1        // SSLB0\r
+
+#endif /* RSKRX63N_H */\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/sbrk.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/sbrk.c
new file mode 100644 (file)
index 0000000..ef29b31
--- /dev/null
@@ -0,0 +1,96 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : sbrk.c\r
+* Device(s)    : RX\r
+* Description  : Configures the MCU heap memory.  The size of the heap is defined by the macro HEAPSIZE below.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 26.10.2011 1.00     First Release\r
+*         : 12.03.2012 1.10     Heap size is now defined in r_bsp_config.h, not sbrk.h.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/\r
+/* Provides standard definitions used in this file */
+#include <stddef.h>
+/* Defines standard input/output functions used in this file */
+#include <stdio.h>
+/* Defines standard variable types used in this file */
+#include <stdint.h>\r
+/* Used for getting HEAP_BYTES macro. */\r
+#include "platform.h"
+\r
+/***********************************************************************************************************************\r
+Macro definitions\r
+***********************************************************************************************************************/\r
+
+/***********************************************************************************************************************
+Function Prototypes
+***********************************************************************************************************************/
+/* Memory allocation function prototype declaration */
+int8_t  *sbrk(size_t size);
+
+/***********************************************************************************************************************
+Global Variables
+***********************************************************************************************************************/
+//const size_t _sbrk_size=      /* Specifies the minimum unit of */
+/* the defined heap area */
+extern int8_t *_s1ptr;
+
+union HEAP_TYPE
+{
+    int32_t  dummy;             /* Dummy for 4-byte boundary */
+    int8_t heap[HEAP_BYTES];    /* Declaration of the area managed by sbrk*/
+};
+/* Declare memory heap area */
+static union HEAP_TYPE heap_area;
+/* End address allocated by sbrk    */
+static int8_t *brk=(int8_t *)&heap_area;
+
+/***********************************************************************************************************************\r
+* Function name: sbrk\r
+* Description  : This function configures MCU memory area allocation.\r
+* Arguments    : size - \r
+*                    assigned area size\r
+* Return value : Start address of allocated area (pass)\r
+*                -1 (failure)\r
+***********************************************************************************************************************/\r
+int8_t  *sbrk(size_t size)                      
+{
+    int8_t  *p;
+
+    if (brk+size > heap_area.heap+HEAP_BYTES)
+    {
+        /* Empty area size  */
+        p = (int8_t *)-1;
+    }
+    else
+    {
+        /* Area assignment */
+        p = brk;  
+
+        /* End address update */                           
+        brk += size;                           
+    }
+
+    /* Return result */
+    return p;
+}
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/vecttbl.c b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/board/rskrx63n/vecttbl.c
new file mode 100644 (file)
index 0000000..e528b1f
--- /dev/null
@@ -0,0 +1,186 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : vecttbl.c\r
+* Device(s)    : RX\r
+* Description  : Definition of the fixed vector table\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 26.10.2011 1.00     First Release\r
+*         : 17.02.2012 1.10     Made function names compliant with CS v4.0\r
+*         : 13.03.2012 1.20     ID Code is now specified in r_bsp_config.h. It is still used here in Fixed_Vectors[].\r
+***********************************************************************************************************************/\r
+\r
+/***********************************************************************************************************************\r
+Includes   <System Includes> , "Project Includes"\r
+***********************************************************************************************************************/\r
+#include <stdint.h>\r
+#include <machine.h>\r
+#include "platform.h"\r
+\r
+/***********************************************************************************************************************\r
+* Function name: PowerON_Reset_PC\r
+* Description  : The reset vector points to this function.  Code execution starts in this function after reset.\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+extern void PowerON_Reset_PC(void);                                                                                                                \r
+\r
+/***********************************************************************************************************************\r
+* Function name: excep_supervisor_inst_isr\r
+* Description  : Supervisor Instruction Violation ISR\r
+* Arguments    : none\r
+* Return Value : none\r
+***********************************************************************************************************************/\r
+#pragma interrupt (excep_supervisor_inst_isr)\r
+void excep_supervisor_inst_isr(void)\r
+{\r
+    /* Add your own code here to handle this exception */\r
+    nop();\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* Function name: excep_undefined_inst_isr\r
+* Description  : Undefined instruction exception ISR\r
+* Arguments    : none\r
+* Return Value : none\r
+***********************************************************************************************************************/\r
+#pragma interrupt (excep_undefined_inst_isr)\r
+void excep_undefined_inst_isr(void)\r
+{\r
+    /* Add your own code here to handle this exception */\r
+    nop();\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* Function name: excep_floating_point_isr\r
+* Description  : Floating point exception ISR\r
+* Arguments    : none\r
+* Return Value : none\r
+***********************************************************************************************************************/\r
+#pragma interrupt (excep_floating_point_isr)\r
+void excep_floating_point_isr(void)\r
+{\r
+    /* Add your own code here to handle this exception */\r
+    nop();\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* Function name: non_maskable_isr\r
+* Description  : Non-maskable interrupt ISR\r
+* Arguments    : none\r
+* Return Value : none\r
+***********************************************************************************************************************/\r
+#pragma interrupt (non_maskable_isr)\r
+void non_maskable_isr(void)\r
+{\r
+    /* Add your own code here to handle this exception */\r
+    nop();\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* Function name: undefined_interrupt_source_isr\r
+* Description  : All undefined interrupt vectors point to this function.\r
+*                Set a breakpoint in this function to determine which source is creating unwanted interrupts.\r
+* Arguments    : none\r
+* Return Value : none\r
+***********************************************************************************************************************/\r
+#pragma interrupt (undefined_interrupt_source_isr)\r
+void undefined_interrupt_source_isr(void)\r
+{\r
+    /* Add your own code here to handle this exception */\r
+    nop();\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* Function name: bus_error_isr\r
+* Description  : By default, this demo code enables the Bus Error Interrupt. This interrupt will fire if the user tries \r
+*                to access code or data from one of the reserved areas in the memory map, including the areas covered \r
+*                by disabled chip selects. A nop() statement is included here as a convenient place to set a breakpoint \r
+*                during debugging and development, and further handling should be added by the user for their \r
+*                application.\r
+* Arguments    : none\r
+* Return value : none\r
+***********************************************************************************************************************/\r
+#pragma interrupt (bus_error_isr(vect=VECT(BSC,BUSERR)))\r
+void bus_error_isr (void)\r
+{\r
+    /* \r
+        To find the address that was accessed when the bus error occured, read the register BSC.BERSR2.WORD.  The upper \r
+        13 bits of this register contain the upper 13-bits of the offending address (in 512K byte units)\r
+    */\r
+    \r
+    /* Add your own code here to handle this interrupt */\r
+    nop();\r
+}\r
+\r
+/***********************************************************************************************************************\r
+* The following array fills in the fixed vector table and the code\r
+* protecction ID bytes.\r
+***********************************************************************************************************************/\r
+#pragma section C FIXEDVECT\r
+\r
+void* const Fixed_Vectors[] = {\r
+    \r
+/* 0xffffff90 through 0xffffff9f: Reserved area - must be all 0xFF */\r
+  (void *)0xFFFFFFFF,   /* 0xffffff90 - Reserved */\r
+  (void *)0xFFFFFFFF,   /* 0xffffff94 - Reserved */\r
+  (void *)0xFFFFFFFF,   /* 0xffffff98 - Reserved */\r
+\r
+/* The 32-bit area immediately below (0xffffff9c through 0xffffff9f) is a special area that allows the ROM to be \r
+   protected from reading or writing by a parallel programmer. Please refer to the HW manual for appropriate settings.\r
+   The default (all 0xff) places no restrictions and therefore allows reads and writes by a parallel programmer. */\r
+  (void *)0xFFFFFFFF,   /* 0xffffff9C - ROM Code Protection */\r
+\r
+/* The memory are immediately below (0xffffffa0 through 0xffffffaf) is a special area that allows the on-chip firmware \r
+   to be protected. See the section "ID Code Protection" in the HW manual for details on how to enable protection.  \r
+   Setting the four long words below to non-0xFF values will enable protection.  Do this only after carefully review \r
+   the HW manual */\r
+   \r
+/* 0xffffffA0 through 0xffffffaf: ID Code Protection. The ID code is specified using macros in r_bsp_config.h.  */\r
+  (void *) ID_CODE_LONG_1,  /* 0xffffffA0 - Control code and ID code */\r
+  (void *) ID_CODE_LONG_2,  /* 0xffffffA4 - ID code (cont.) */\r
+  (void *) ID_CODE_LONG_3,  /* 0xffffffA8 - ID code (cont.) */\r
+  (void *) ID_CODE_LONG_4,  /* 0xffffffAC - ID code (cont.) */\r
+  \r
+/* 0xffffffB0 through 0xffffffcf: Reserved area */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffB0 - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffB4 - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffB8 - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffBC - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffC0 - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffC4 - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffC8 - Reserved */\r
+  (void *) 0xFFFFFFFF,  /* 0xffffffCC - Reserved */\r
+\r
+/* Fixed vector table */\r
+  (void *) excep_supervisor_inst_isr,         /* 0xffffffd0  Exception(Supervisor Instruction) */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xffffffd4  Reserved */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xffffffd8  Reserved */\r
+  (void *) excep_undefined_inst_isr,          /* 0xffffffdc  Exception(Undefined Instruction) */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xffffffe0  Reserved */\r
+  (void *) excep_floating_point_isr,          /* 0xffffffe4  Exception(Floating Point) */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xffffffe8  Reserved */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xffffffec  Reserved */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xfffffff0  Reserved */\r
+  (void *) undefined_interrupt_source_isr,    /* 0xfffffff4  Reserved */\r
+  (void *) non_maskable_isr,                  /* 0xfffffff8  NMI */\r
+  (void *) PowerON_Reset_PC                   /* 0xfffffffc  RESET */\r
+};\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/mcu/rx63n/iodefine.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/mcu/rx63n/iodefine.h
new file mode 100644 (file)
index 0000000..a543fba
--- /dev/null
@@ -0,0 +1,12106 @@
+/***********************************************************************/\r
+/*                                                                     */\r
+/*  FILE        :iodefine.h                                            */\r
+/*  DATE        :Mon, Jul 11, 2011                                     */\r
+/*  DESCRIPTION :Definition of I/O Register                            */\r
+/*  CPU TYPE    :RX63N                                                 */\r
+/*                                                                     */\r
+/*  This file is generated by Renesas Project Generator (Ver.4.52).    */\r
+/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */\r
+/*                                                                     */\r
+/***********************************************************************/\r
+/************************************************************************\r
+*\r
+* Device     : RX/RX600/RX63N\r
+*\r
+* File Name  : ioedfine.h\r
+*\r
+* Abstract   : Definition of I/O Register.\r
+*\r
+* History    : 0.50  (2011-03-28)  [Hardware Manual Revision : 0.50]\r
+*            : 0.02  (2010-11-01)  [Hardware Manual Revision : 0.01]\r
+*\r
+* NOTE       : THIS IS A TYPICAL EXAMPLE.\r
+*\r
+* Copyright (C) 2010(2011) Renesas Electronics Corporation\r
+* and Renesas Solutions Corp.\r
+*\r
+************************************************************************/\r
+/********************************************************************************/\r
+/*                                                                              */\r
+/*  DESCRIPTION : Definition of ICU Register                                    */\r
+/*  CPU TYPE    : RX63N                                                         */\r
+/*                                                                              */\r
+/*  Usage : IR,DTCER,IER,IPR of ICU Register                                    */\r
+/*     The following IR, DTCE, IEN, IPR macro functions simplify usage.         */\r
+/*     The bit access operation is "Bit_Name(interrupt source,name)".           */\r
+/*     A part of the name can be omitted.                                       */\r
+/*     for example :                                                            */\r
+/*       IR(TPU0,TGI0A) = 0;     expands to :                                   */\r
+/*         ICU.IR[126].BIT.IR = 0;                                              */\r
+/*                                                                              */\r
+/*       DTCE(ICU,IRQ0) = 1;     expands to :                                   */\r
+/*         ICU.DTCER[64].BIT.DTCE = 1;                                          */\r
+/*                                                                              */\r
+/*       IEN(CMT0,CMI0) = 1;     expands to :                                   */\r
+/*         ICU.IER[0x03].BIT.IEN4 = 1;                                          */\r
+/*                                                                              */\r
+/*       IPR(TPU0,TGI0A) = 2;    expands to :                                   */\r
+/*       IPR(TPU0,TGI  ) = 2;    // TGI0A,TGI0B,TGI0C,TGI0D share IPR level.    */\r
+/*         ICU.IPR[126].BIT.IPR = 2;                                            */\r
+/*                                                                              */\r
+/*       IPR(SCI0,RXI0) = 3;     expands to :                                   */\r
+/*       IPR(SCI0,    ) = 3;     // SCI0 uses single IPR for all sources.       */\r
+/*         ICU.IPR[214].BIT.IPR = 3;                                            */\r
+/*                                                                              */\r
+/*  Usage : #pragma interrupt Function_Identifier(vect=**)                      */\r
+/*     The number of vector is "(interrupt source, name)".                      */\r
+/*     for example :                                                            */\r
+/*       #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0))          expands to :  */\r
+/*         #pragma interrupt INT_IRQ0(vect=64)                                  */\r
+/*       #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0))    expands to :  */\r
+/*         #pragma interrupt INT_CMT0_CMI0(vect=28)                             */\r
+/*       #pragma interrupt INT_MTU0_TGIA0(vect=VECT(MTU0,TGIA0))  expands to :  */\r
+/*         #pragma interrupt INT_MTU0_TGIA0(vect=142)                           */\r
+/*       #pragma interrupt INT_TPU0_TGI0A(vect=VECT(TPU0,TGI0A))  expands to :  */\r
+/*         #pragma interrupt INT_TPU0_TGI0A(vect=126)                           */\r
+/*                                                                              */\r
+/*  Usage : MSTPCRA,MSTPCRB,MSTPCRC of SYSTEM Register                          */\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,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,MTU5  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
+/*         SYSTEM.MSTPCRA.BIT.MSTPA14 = 0;                                      */\r
+/*                                                                              */\r
+/*                                                                              */\r
+/********************************************************************************/\r
+#ifndef __RX63NIODEFINE_HEADER__\r
+#define __RX63NIODEFINE_HEADER__\r
+#pragma bit_order left\r
+#pragma unpack\r
+struct st_ad {\r
+       unsigned short ADDRA;\r
+       unsigned short ADDRB;\r
+       unsigned short ADDRC;\r
+       unsigned short ADDRD;\r
+       unsigned short ADDRE;\r
+       unsigned short ADDRF;\r
+       unsigned short ADDRG;\r
+       unsigned short ADDRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ADIE:1;\r
+                       unsigned char ADST:1;\r
+                       unsigned char :2;\r
+                       unsigned char CH:3;\r
+               } BIT;\r
+       } ADCSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TRGS:3;\r
+                       unsigned char :1;\r
+                       unsigned char CKS:2;\r
+                       unsigned char MODE:2;\r
+               } BIT;\r
+       } ADCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSEL:1;\r
+                       unsigned char EXOEN:1;\r
+                       unsigned char EXSEL:2;\r
+               } BIT;\r
+       } ADCR2;\r
+       unsigned char  ADSSTR;\r
+       char           wk0[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char DIAG:2;\r
+               } BIT;\r
+       } ADDIAGR;\r
+};\r
+\r
+struct st_bsc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char STSCLR:1;\r
+               } BIT;\r
+       } BERCLR;\r
+       char           wk0[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TOEN:1;\r
+                       unsigned char IGAEN:1;\r
+               } BIT;\r
+       } BEREN;\r
+       char           wk1[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char MST:3;\r
+                       unsigned char :2;\r
+                       unsigned char TO:1;\r
+                       unsigned char IA:1;\r
+               } BIT;\r
+       } BERSR1;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADDR:13;\r
+               } BIT;\r
+       } BERSR2;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short BPEB:2;\r
+                       unsigned short BPFB:2;\r
+                       unsigned short BPHB:2;\r
+                       unsigned short BPGB:2;\r
+                       unsigned short BPIB:2;\r
+                       unsigned short BPRO:2;\r
+                       unsigned short BPRA:2;\r
+               } BIT;\r
+       } BUSPRI;\r
+       char           wk4[7408];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS0MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS0WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS0WCR2;\r
+       char           wk5[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS1MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS1WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS1WCR2;\r
+       char           wk6[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS2MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS2WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS2WCR2;\r
+       char           wk7[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS3MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS3WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS3WCR2;\r
+       char           wk8[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS4MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS4WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS4WCR2;\r
+       char           wk9[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS5MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS5WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS5WCR2;\r
+       char           wk10[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS6MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS6WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS6WCR2;\r
+       char           wk11[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS7MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS7WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS7WCR2;\r
+       char           wk12[1926];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS0CR;\r
+       char           wk13[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS0REC;\r
+       char           wk14[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS1CR;\r
+       char           wk15[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS1REC;\r
+       char           wk16[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS2CR;\r
+       char           wk17[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS2REC;\r
+       char           wk18[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS3CR;\r
+       char           wk19[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS3REC;\r
+       char           wk20[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS4CR;\r
+       char           wk21[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS4REC;\r
+       char           wk22[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS5CR;\r
+       char           wk23[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS5REC;\r
+       char           wk24[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS6CR;\r
+       char           wk25[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS6REC;\r
+       char           wk26[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS7CR;\r
+       char           wk27[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS7REC;\r
+       char           wk28[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RCVENM7:1;\r
+                       unsigned short RCVENM6:1;\r
+                       unsigned short RCVENM5:1;\r
+                       unsigned short RCVENM4:1;\r
+                       unsigned short RCVENM3:1;\r
+                       unsigned short RCVENM2:1;\r
+                       unsigned short RCVENM1:1;\r
+                       unsigned short RCVENM0:1;\r
+                       unsigned short RCVEN7:1;\r
+                       unsigned short RCVEN6:1;\r
+                       unsigned short RCVEN5:1;\r
+                       unsigned short RCVEN4:1;\r
+                       unsigned short RCVEN3:1;\r
+                       unsigned short RCVEN2:1;\r
+                       unsigned short RCVEN1:1;\r
+                       unsigned short RCVEN0:1;\r
+               } BIT;\r
+       } CSRECEN;\r
+       char           wk29[894];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char BSIZE:2;\r
+                       unsigned char :3;\r
+                       unsigned char EXENB:1;\r
+               } BIT;\r
+       } SDCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char EMODE:1;\r
+               } BIT;\r
+       } SDCMOD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char BE:1;\r
+               } BIT;\r
+       } SDAMOD;\r
+       char           wk30[13];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SFEN:1;\r
+               } BIT;\r
+       } SDSELF;\r
+       char           wk31[3];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short REFW:4;\r
+                       unsigned short RFC:12;\r
+               } BIT;\r
+       } SDRFCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RFEN:1;\r
+               } BIT;\r
+       } SDRFEN;\r
+       char           wk32[9];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char INIRQ:1;\r
+               } BIT;\r
+       } SDICR;\r
+       char           wk33[3];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short PRC:3;\r
+                       unsigned short ARFC:4;\r
+                       unsigned short ARFI:4;\r
+               } BIT;\r
+       } SDIR;\r
+       char           wk34[26];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char MXC:2;\r
+               } BIT;\r
+       } SDADR;\r
+       char           wk35[3];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :13;\r
+                       unsigned long RAS:3;\r
+                       unsigned long :2;\r
+                       unsigned long RCD:2;\r
+                       unsigned long RP:3;\r
+                       unsigned long WR:1;\r
+                       unsigned long :5;\r
+                       unsigned long CL:3;\r
+               } BIT;\r
+       } SDTR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :1;\r
+                       unsigned short MR:15;\r
+               } BIT;\r
+       } SDMOD;\r
+       char           wk36[6];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char SRFST:1;\r
+                       unsigned char INIST:1;\r
+                       unsigned char :2;\r
+                       unsigned char MRSST:1;\r
+               } BIT;\r
+       } SDSR;\r
+};\r
+\r
+struct st_can {\r
+       struct {\r
+               union {\r
+                       unsigned long LONG;\r
+                       struct {\r
+                               unsigned short H;\r
+                               unsigned short L;\r
+                       } WORD;\r
+                       struct {\r
+                               unsigned char HH;\r
+                               unsigned char HL;\r
+                               unsigned char LH;\r
+                               unsigned char LL;\r
+                       } BYTE;\r
+                       struct {\r
+                               unsigned long IDE:1;\r
+                               unsigned long RTR:1;\r
+                               unsigned long :1;\r
+                               unsigned long SID:11;\r
+                               unsigned long EID:18;\r
+                       } BIT;\r
+               } ID;\r
+               unsigned short DLC;\r
+               unsigned char  DATA[8];\r
+               unsigned short TS;\r
+       } MB[32];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long SID:11;\r
+                       unsigned long EID:18;\r
+               } BIT;\r
+       } MKR[8];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long IDE:1;\r
+                       unsigned long RTR:1;\r
+                       unsigned long :1;\r
+                       unsigned long SID:11;\r
+                       unsigned long EID:18;\r
+               } BIT;\r
+       } FIDCR0;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long IDE:1;\r
+                       unsigned long RTR:1;\r
+                       unsigned long :1;\r
+                       unsigned long SID:11;\r
+                       unsigned long EID:18;\r
+               } BIT;\r
+       } FIDCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned char MB31:1;\r
+                       unsigned char MB30:1;\r
+                       unsigned char MB29:1;\r
+                       unsigned char MB28:1;\r
+                       unsigned char MB27:1;\r
+                       unsigned char MB26:1;\r
+                       unsigned char MB25:1;\r
+                       unsigned char MB24:1;\r
+                       unsigned char MB23:1;\r
+                       unsigned char MB22:1;\r
+                       unsigned char MB21:1;\r
+                       unsigned char MB20:1;\r
+                       unsigned char MB19:1;\r
+                       unsigned char MB18:1;\r
+                       unsigned char MB17:1;\r
+                       unsigned char MB16:1;\r
+                       unsigned char MB15:1;\r
+                       unsigned char MB14:1;\r
+                       unsigned char MB13:1;\r
+                       unsigned char MB12:1;\r
+                       unsigned char MB11:1;\r
+                       unsigned char MB10:1;\r
+                       unsigned char MB9:1;\r
+                       unsigned char MB8:1;\r
+                       unsigned char MB7:1;\r
+                       unsigned char MB6:1;\r
+                       unsigned char MB5:1;\r
+                       unsigned char MB4:1;\r
+                       unsigned char MB3:1;\r
+                       unsigned char MB2:1;\r
+                       unsigned char MB1:1;\r
+                       unsigned char MB0:1;\r
+               } BIT;\r
+       } MKIVLR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned char MB31:1;\r
+                       unsigned char MB30:1;\r
+                       unsigned char MB29:1;\r
+                       unsigned char MB28:1;\r
+                       unsigned char MB27:1;\r
+                       unsigned char MB26:1;\r
+                       unsigned char MB25:1;\r
+                       unsigned char MB24:1;\r
+                       unsigned char MB23:1;\r
+                       unsigned char MB22:1;\r
+                       unsigned char MB21:1;\r
+                       unsigned char MB20:1;\r
+                       unsigned char MB19:1;\r
+                       unsigned char MB18:1;\r
+                       unsigned char MB17:1;\r
+                       unsigned char MB16:1;\r
+                       unsigned char MB15:1;\r
+                       unsigned char MB14:1;\r
+                       unsigned char MB13:1;\r
+                       unsigned char MB12:1;\r
+                       unsigned char MB11:1;\r
+                       unsigned char MB10:1;\r
+                       unsigned char MB9:1;\r
+                       unsigned char MB8:1;\r
+                       unsigned char MB7:1;\r
+                       unsigned char MB6:1;\r
+                       unsigned char MB5:1;\r
+                       unsigned char MB4:1;\r
+                       unsigned char MB3:1;\r
+                       unsigned char MB2:1;\r
+                       unsigned char MB1:1;\r
+                       unsigned char MB0:1;\r
+               } BIT;\r
+       } MIER;\r
+       char           wk0[1008];\r
+       union {\r
+               unsigned char BYTE;\r
+               union {\r
+                       struct {\r
+                               unsigned char TRMREQ:1;\r
+                               unsigned char RECREQ:1;\r
+                               unsigned char :1;\r
+                               unsigned char ONESHOT:1;\r
+                               unsigned char :1;\r
+                               unsigned char TRMABT:1;\r
+                               unsigned char TRMACTIVE:1;\r
+                               unsigned char SENTDATA:1;\r
+                       } TX;\r
+                       struct {\r
+                               unsigned char TRMREQ:1;\r
+                               unsigned char RECREQ:1;\r
+                               unsigned char :1;\r
+                               unsigned char ONESHOT:1;\r
+                               unsigned char :1;\r
+                               unsigned char MSGLOST:1;\r
+                               unsigned char INVALDATA:1;\r
+                               unsigned char NEWDATA:1;\r
+                       } RX;\r
+               } BIT;\r
+       } MCTL[32];\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 RBOC:1;\r
+                       unsigned char BOM:2;\r
+                       unsigned char SLPM:1;\r
+                       unsigned char CANM:2;\r
+                       unsigned char TSPS:2;\r
+                       unsigned char TSRC:1;\r
+                       unsigned char TPM:1;\r
+                       unsigned char MLM:1;\r
+                       unsigned char IDFM:2;\r
+                       unsigned char MBM:1;\r
+               } BIT;\r
+       } CTLR;\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 RECST:1;\r
+                       unsigned char TRMST:1;\r
+                       unsigned char BOST:1;\r
+                       unsigned char EPST:1;\r
+                       unsigned char SLPST:1;\r
+                       unsigned char HLTST:1;\r
+                       unsigned char RSTST:1;\r
+                       unsigned char EST:1;\r
+                       unsigned char TABST:1;\r
+                       unsigned char FMLST:1;\r
+                       unsigned char NMLST:1;\r
+                       unsigned char TFST:1;\r
+                       unsigned char RFST:1;\r
+                       unsigned char SDST:1;\r
+                       unsigned char NDST:1;\r
+               } BIT;\r
+       } STR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long TSEG1:4;\r
+                       unsigned long :2;\r
+                       unsigned long BRP:10;\r
+                       unsigned long :2;\r
+                       unsigned long SJW:2;\r
+                       unsigned long :1;\r
+                       unsigned long TSEG2:3;\r
+                       unsigned long :7;\r
+                       unsigned long CCLKS:1;\r
+               } BIT;\r
+       } BCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RFEST:1;\r
+                       unsigned char RFWST:1;\r
+                       unsigned char RFFST:1;\r
+                       unsigned char RFMLF:1;\r
+                       unsigned char RFUST:3;\r
+                       unsigned char RFE:1;\r
+               } BIT;\r
+       } RFCR;\r
+       unsigned char  RFPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TFEST:1;\r
+                       unsigned char TFFST:1;\r
+                       unsigned char :2;\r
+                       unsigned char TFUST:3;\r
+                       unsigned char TFE:1;\r
+               } BIT;\r
+       } TFCR;\r
+       unsigned char  TFPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BLIE:1;\r
+                       unsigned char OLIE:1;\r
+                       unsigned char ORIE:1;\r
+                       unsigned char BORIE:1;\r
+                       unsigned char BOEIE:1;\r
+                       unsigned char EPIE:1;\r
+                       unsigned char EWIE:1;\r
+                       unsigned char BEIE:1;\r
+               } BIT;\r
+       } EIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BLIF:1;\r
+                       unsigned char OLIF:1;\r
+                       unsigned char ORIF:1;\r
+                       unsigned char BORIF:1;\r
+                       unsigned char BOEIF:1;\r
+                       unsigned char EPIF:1;\r
+                       unsigned char EWIF:1;\r
+                       unsigned char BEIF:1;\r
+               } BIT;\r
+       } EIFR;\r
+       unsigned char  RECR;\r
+       unsigned char  TECR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char EDPM:1;\r
+                       unsigned char ADEF:1;\r
+                       unsigned char BE0F:1;\r
+                       unsigned char BE1F:1;\r
+                       unsigned char CEF:1;\r
+                       unsigned char AEF:1;\r
+                       unsigned char FEF:1;\r
+                       unsigned char SEF:1;\r
+               } BIT;\r
+       } ECSR;\r
+       unsigned char  CSSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SEST:1;\r
+                       unsigned char :2;\r
+                       unsigned char MBNST:5;\r
+               } BIT;\r
+       } MSSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char MBSM:2;\r
+               } BIT;\r
+       } MSMR;\r
+       unsigned short TSR;\r
+       unsigned short AFSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TSTM:2;\r
+                       unsigned char TSTE:1;\r
+               } BIT;\r
+       } TCR;\r
+};\r
+\r
+struct st_cmt {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :14;\r
+                       unsigned short STR1:1;\r
+                       unsigned short STR0:1;\r
+               } BIT;\r
+       } CMSTR0;\r
+       char           wk0[14];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :14;\r
+                       unsigned short STR3:1;\r
+                       unsigned short STR2:1;\r
+               } BIT;\r
+       } CMSTR1;\r
+};\r
+\r
+struct st_cmt0 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :9;\r
+                       unsigned short CMIE:1;\r
+                       unsigned short :4;\r
+                       unsigned short CKS:2;\r
+               } BIT;\r
+       } CMCR;\r
+       unsigned short CMCNT;\r
+       unsigned short CMCOR;\r
+};\r
+\r
+struct st_crc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DORCLR:1;\r
+                       unsigned char :4;\r
+                       unsigned char LMS:1;\r
+                       unsigned char GPS:2;\r
+               } BIT;\r
+       } CRCCR;\r
+       unsigned char  CRCDIR;\r
+       unsigned short CRCDOR;\r
+};\r
+\r
+struct st_da {\r
+       unsigned short DADR0;\r
+       unsigned short DADR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DAOE1:1;\r
+                       unsigned char DAOE0:1;\r
+                       unsigned char DAE:1;\r
+               } BIT;\r
+       } DACR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSEL:1;\r
+               } BIT;\r
+       } DADPR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DAADST:1;\r
+               } BIT;\r
+       } DAADSCR;\r
+};\r
+\r
+struct st_dmac {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DMST:1;\r
+               } BIT;\r
+       } DMAST;\r
+};\r
+\r
+struct st_dmac0 {\r
+       unsigned long  DMSAR;\r
+       unsigned long  DMDAR;\r
+       unsigned long  DMCRA;\r
+       unsigned short DMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } DMTMD;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } DMINT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SM:2;\r
+                       unsigned short :1;\r
+                       unsigned short SARA:5;\r
+                       unsigned short DM:2;\r
+                       unsigned short :1;\r
+                       unsigned short DARA:5;\r
+               } BIT;\r
+       } DMAMD;\r
+       char           wk2[2];\r
+       unsigned long  DMOFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } DMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } DMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } DMSTS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DISEL:1;\r
+               } BIT;\r
+       } DMCSL;\r
+};\r
+\r
+struct st_dmac1 {\r
+       unsigned long  DMSAR;\r
+       unsigned long  DMDAR;\r
+       unsigned long  DMCRA;\r
+       unsigned short DMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } DMTMD;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } DMINT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SM:2;\r
+                       unsigned short :1;\r
+                       unsigned short SARA:5;\r
+                       unsigned short DM:2;\r
+                       unsigned short :1;\r
+                       unsigned short DARA:5;\r
+               } BIT;\r
+       } DMAMD;\r
+       char           wk2[6];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } DMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } DMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } DMSTS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DISEL:1;\r
+               } BIT;\r
+       } DMCSL;\r
+};\r
+\r
+struct st_dtc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char RRS:1;\r
+               } BIT;\r
+       } DTCCR;\r
+       char           wk0[3];\r
+       unsigned long  DTCVBR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SHORT:1;\r
+               } BIT;\r
+       } DTCADMOD;\r
+       char           wk1[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTCST:1;\r
+               } BIT;\r
+       } DTCST;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ACT:1;\r
+                       unsigned short :7;\r
+                       unsigned short VECN:8;\r
+               } BIT;\r
+       } DTCSTS;\r
+};\r
+\r
+struct st_edmac {\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
+                       unsigned long :4;\r
+                       unsigned long CND:1;\r
+                       unsigned long DLC:1;\r
+                       unsigned long CD:1;\r
+                       unsigned long TRO:1;\r
+                       unsigned long RMAF:1;\r
+                       unsigned long :2;\r
+                       unsigned long RRF:1;\r
+                       unsigned long RTLF:1;\r
+                       unsigned long RTSF:1;\r
+                       unsigned long PRE:1;\r
+                       unsigned long CERF: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
+                       unsigned long :4;\r
+                       unsigned long CNDIP:1;\r
+                       unsigned long DLCIP:1;\r
+                       unsigned long CDIP:1;\r
+                       unsigned long TROIP:1;\r
+                       unsigned long RMAFIP:1;\r
+                       unsigned long :2;\r
+                       unsigned long RRFIP:1;\r
+                       unsigned long RTLFIP:1;\r
+                       unsigned long RTSFIP:1;\r
+                       unsigned long PREIP:1;\r
+                       unsigned long CERFIP: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
+};\r
+\r
+struct st_etherc {\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :11;\r
+                       unsigned long TPC:1;\r
+                       unsigned long ZPE:1;\r
+                       unsigned long PFR:1;\r
+                       unsigned long RXF:1;\r
+                       unsigned long TXF:1;\r
+                       unsigned long :3;\r
+                       unsigned long PRCEF:1;\r
+                       unsigned long :2;\r
+                       unsigned long MPDE:1;\r
+                       unsigned long :2;\r
+                       unsigned long RE:1;\r
+                       unsigned long TE:1;\r
+                       unsigned long :1;\r
+                       unsigned long ILB:1;\r
+                       unsigned long RTM:1;\r
+                       unsigned long DM:1;\r
+                       unsigned long PRM:1;\r
+               } BIT;\r
+       } ECMR;\r
+       char           wk0[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :20;\r
+                       unsigned long RFL:12;\r
+               } BIT;\r
+       } RFLR;\r
+       char           wk1[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :26;\r
+                       unsigned long BFR:1;\r
+                       unsigned long PSRTO:1;\r
+                       unsigned long :1;\r
+                       unsigned long LCHNG:1;\r
+                       unsigned long MPD:1;\r
+                       unsigned long ICD:1;\r
+               } BIT;\r
+       } ECSR;\r
+       char           wk2[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :26;\r
+                       unsigned long BFSIPR:1;\r
+                       unsigned long PSRTOIP:1;\r
+                       unsigned long :1;\r
+                       unsigned long LCHNGIP:1;\r
+                       unsigned long MPDIP:1;\r
+                       unsigned long ICDIP:1;\r
+               } BIT;\r
+       } ECSIPR;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :28;\r
+                       unsigned long MDI:1;\r
+                       unsigned long MDO:1;\r
+                       unsigned long MMD:1;\r
+                       unsigned long MDC:1;\r
+               } BIT;\r
+       } PIR;\r
+       char           wk4[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :31;\r
+                       unsigned long LMON:1;\r
+               } BIT;\r
+       } PSR;\r
+       char           wk5[20];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :12;\r
+                       unsigned long RMD:20;\r
+               } BIT;\r
+       } RDMLR;\r
+       char           wk6[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :27;\r
+                       unsigned long IPG:5;\r
+               } BIT;\r
+       } IPGR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long AP:16;\r
+               } BIT;\r
+       } APR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long MP:16;\r
+               } BIT;\r
+       } MPR;\r
+       char           wk7[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :24;\r
+                       unsigned long RPAUSE:8;\r
+               } BIT;\r
+       } RFCF;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long TPAUSE:16;\r
+               } BIT;\r
+       } TPAUSER;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :24;\r
+                       unsigned long TXP:8;\r
+               } BIT;\r
+       } TPAUSECR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long BCF:16;\r
+               } BIT;\r
+       } BCFRR;\r
+       char           wk8[80];\r
+       unsigned long  MAHR;\r
+       char           wk9[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long MA:16;\r
+               } BIT;\r
+       } MALR;\r
+       char           wk10[4];\r
+       unsigned long  TROCR;\r
+       unsigned long  CDCR;\r
+       unsigned long  LCCR;\r
+       unsigned long  CNDCR;\r
+       char           wk11[4];\r
+       unsigned long  CEFCR;\r
+       unsigned long  FRECR;\r
+       unsigned long  TSFRCR;\r
+       unsigned long  TLFRCR;\r
+       unsigned long  RFCR;\r
+       unsigned long  MAFCR;\r
+};\r
+\r
+struct st_exdmac {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DMST:1;\r
+               } BIT;\r
+       } EDMAST;\r
+       char           wk0[479];\r
+       unsigned long  CLSBR0;\r
+       unsigned long  CLSBR1;\r
+       unsigned long  CLSBR2;\r
+       unsigned long  CLSBR3;\r
+       unsigned long  CLSBR4;\r
+       unsigned long  CLSBR5;\r
+       unsigned long  CLSBR6;\r
+       unsigned long  CLSBR7;\r
+};\r
+\r
+struct st_exdmac0 {\r
+       unsigned long  EDMSAR;\r
+       unsigned long  EDMDAR;\r
+       unsigned long  EDMCRA;\r
+       unsigned short EDMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } EDMTMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char DACKS:1;\r
+                       unsigned char DACKE:1;\r
+                       unsigned char DACKW:1;\r
+               } BIT;\r
+       } EDMOMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } EDMINT;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :14;\r
+                       unsigned long AMS:1;\r
+                       unsigned long DIR:1;\r
+                       unsigned long SM:2;\r
+                       unsigned long :1;\r
+                       unsigned long SARA:5;\r
+                       unsigned long DM:2;\r
+                       unsigned long :1;\r
+                       unsigned long DARA:5;\r
+               } BIT;\r
+       } EDMAMD;\r
+       unsigned long  EDMOFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } EDMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } EDMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } EDMSTS;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char DREQS:2;\r
+               } BIT;\r
+       } EDMRMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char EREQ:1;\r
+               } BIT;\r
+       } EDMERF;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PREQ:1;\r
+               } BIT;\r
+       } EDMPRF;\r
+};\r
+\r
+struct st_exdmac1 {\r
+       unsigned long  EDMSAR;\r
+       unsigned long  EDMDAR;\r
+       unsigned long  EDMCRA;\r
+       unsigned short EDMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } EDMTMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char DACKS:1;\r
+                       unsigned char DACKE:1;\r
+                       unsigned char DACKW:1;\r
+               } BIT;\r
+       } EDMOMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } EDMINT;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :14;\r
+                       unsigned long AMS:1;\r
+                       unsigned long DIR:1;\r
+                       unsigned long SM:2;\r
+                       unsigned long :1;\r
+                       unsigned long SARA:5;\r
+                       unsigned long DM:2;\r
+                       unsigned long :1;\r
+                       unsigned long DARA:5;\r
+               } BIT;\r
+       } EDMAMD;\r
+       char           wk1[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } EDMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } EDMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } EDMSTS;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char DREQS:2;\r
+               } BIT;\r
+       } EDMRMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char EREQ:1;\r
+               } BIT;\r
+       } EDMERF;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PREQ:1;\r
+               } BIT;\r
+       } EDMPRF;\r
+};\r
+\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[7799147];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char FRDMD:1;\r
+               } BIT;\r
+       } FMODR;\r
+       char           wk1[13];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ROMAE:1;\r
+                       unsigned char :2;\r
+                       unsigned char CMDLK:1;\r
+                       unsigned char DFLAE:1;\r
+                       unsigned char :1;\r
+                       unsigned char DFLRPE:1;\r
+                       unsigned char DFLWPE:1;\r
+               } BIT;\r
+       } FASTAT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ROMAEIE:1;\r
+                       unsigned char :2;\r
+                       unsigned char CMDLKIE:1;\r
+                       unsigned char DFLAEIE:1;\r
+                       unsigned char :1;\r
+                       unsigned char DFLRPEIE:1;\r
+                       unsigned char DFLWPEIE:1;\r
+               } BIT;\r
+       } FAEINT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char FRDYIE:1;\r
+               } BIT;\r
+       } FRDYIE;\r
+       char           wk2[45];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBRE07:1;\r
+                       unsigned short DBRE06:1;\r
+                       unsigned short DBRE05:1;\r
+                       unsigned short DBRE04:1;\r
+                       unsigned short DBRE03:1;\r
+                       unsigned short DBRE02:1;\r
+                       unsigned short DBRE01:1;\r
+                       unsigned short DBRE00:1;\r
+               } BIT;\r
+       } DFLRE0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBRE15:1;\r
+                       unsigned short DBRE14:1;\r
+                       unsigned short DBRE13:1;\r
+                       unsigned short DBRE12:1;\r
+                       unsigned short DBRE11:1;\r
+                       unsigned short DBRE10:1;\r
+                       unsigned short DBRE09:1;\r
+                       unsigned short DBRE08:1;\r
+               } BIT;\r
+       } DFLRE1;\r
+       char           wk3[12];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBWE07:1;\r
+                       unsigned short DBW006:1;\r
+                       unsigned short DBWE05:1;\r
+                       unsigned short DBWE04:1;\r
+                       unsigned short DBWE03:1;\r
+                       unsigned short DBWE02:1;\r
+                       unsigned short DBWE01:1;\r
+                       unsigned short DBWE00:1;\r
+               } BIT;\r
+       } DFLWE0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBWE15:1;\r
+                       unsigned short DBWE14:1;\r
+                       unsigned short DBWE13:1;\r
+                       unsigned short DBWE12:1;\r
+                       unsigned short DBWE11:1;\r
+                       unsigned short DBWE10:1;\r
+                       unsigned short DBWE09:1;\r
+                       unsigned short DBWE08:1;\r
+               } BIT;\r
+       } DFLWE1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FCRME:1;\r
+               } BIT;\r
+       } FCURAME;\r
+       char           wk4[15194];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FRDY:1;\r
+                       unsigned char ILGLERR:1;\r
+                       unsigned char ERSERR:1;\r
+                       unsigned char PRGERR:1;\r
+                       unsigned char SUSRDY:1;\r
+                       unsigned char :1;\r
+                       unsigned char ERSSPD:1;\r
+                       unsigned char PRGSPD:1;\r
+               } BIT;\r
+       } FSTATR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FCUERR:1;\r
+                       unsigned char :2;\r
+                       unsigned char FLOCKST:1;\r
+               } BIT;\r
+       } FSTATR1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FEKEY:8;\r
+                       unsigned short FENTRYD:1;\r
+                       unsigned short :3;\r
+                       unsigned short FENTRY3:1;\r
+                       unsigned short FENTRY2:1;\r
+                       unsigned short FENTRY1:1;\r
+                       unsigned short FENTRY0:1;\r
+               } BIT;\r
+       } FENTRYR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FPKEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FPROTCN:1;\r
+               } BIT;\r
+       } FPROTR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FRKEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FRESET:1;\r
+               } BIT;\r
+       } FRESETR;\r
+       char           wk5[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short CMDR:8;\r
+                       unsigned short PCMDR:8;\r
+               } BIT;\r
+       } FCMDR;\r
+       char           wk6[12];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short ESUSPMD:1;\r
+               } BIT;\r
+       } FCPSR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BCSIZE:1;\r
+                       unsigned short :4;\r
+                       unsigned short BCADR:11;\r
+               } BIT;\r
+       } DFLBCCNT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short PEERRST:8;\r
+               } BIT;\r
+       } FPESTAT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short BCST:1;\r
+               } BIT;\r
+       } DFLBCSTAT;\r
+       char           wk7[24];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short PCKA:8;\r
+               } BIT;\r
+       } PCKAR;\r
+};\r
+\r
+struct st_icu {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IR:1;\r
+               } BIT;\r
+       } IR[254];\r
+       char           wk0[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTCE:1;\r
+               } BIT;\r
+       } DTCER[252];\r
+       char           wk1[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IEN7:1;\r
+                       unsigned char IEN6:1;\r
+                       unsigned char IEN5:1;\r
+                       unsigned char IEN4:1;\r
+                       unsigned char IEN3:1;\r
+                       unsigned char IEN2:1;\r
+                       unsigned char IEN1:1;\r
+                       unsigned char IEN0:1;\r
+               } BIT;\r
+       } IER[32];\r
+       char           wk2[192];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SWINT:1;\r
+               } BIT;\r
+       } SWINTR;\r
+       char           wk3[15];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FIEN:1;\r
+                       unsigned short :7;\r
+                       unsigned short FVCT:8;\r
+               } BIT;\r
+       } FIR;\r
+       char           wk4[14];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char IPR:4;\r
+               } BIT;\r
+       } IPR[254];\r
+       char           wk5[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR0;\r
+       char           wk6[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR1;\r
+       char           wk7[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR2;\r
+       char           wk8[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR3;\r
+       char           wk9[243];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char IRQMD:2;\r
+               } BIT;\r
+       } IRQCR[16];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FLTEN7:1;\r
+                       unsigned char FLTEN6:1;\r
+                       unsigned char FLTEN5:1;\r
+                       unsigned char FLTEN4:1;\r
+                       unsigned char FLTEN3:1;\r
+                       unsigned char FLTEN2:1;\r
+                       unsigned char FLTEN1:1;\r
+                       unsigned char FLTEN0:1;\r
+               } BIT;\r
+       } IRQFLTE0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FLTEN15:1;\r
+                       unsigned char FLTEN14:1;\r
+                       unsigned char FLTEN13:1;\r
+                       unsigned char FLTEN12:1;\r
+                       unsigned char FLTEN11:1;\r
+                       unsigned char FLTEN10:1;\r
+                       unsigned char FLTEN9:1;\r
+                       unsigned char FLTEN8:1;\r
+               } BIT;\r
+       } IRQFLTE1;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FCLKSEL7:2;\r
+                       unsigned short FCLKSEL6:2;\r
+                       unsigned short FCLKSEL5:2;\r
+                       unsigned short FCLKSEL4:2;\r
+                       unsigned short FCLKSEL3:2;\r
+                       unsigned short FCLKSEL2:2;\r
+                       unsigned short FCLKSEL1:2;\r
+                       unsigned short FCLKSEL0:2;\r
+               } BIT;\r
+       } IRQFLTC0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FCLKSEL15:2;\r
+                       unsigned short FCLKSEL14:2;\r
+                       unsigned short FCLKSEL13:2;\r
+                       unsigned short FCLKSEL12:2;\r
+                       unsigned short FCLKSEL11:2;\r
+                       unsigned short FCLKSEL10:2;\r
+                       unsigned short FCLKSEL9:2;\r
+                       unsigned short FCLKSEL8:2;\r
+               } BIT;\r
+       } IRQFLTC1;\r
+       char           wk11[104];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char LVD2ST:1;\r
+                       unsigned char LVD1ST:1;\r
+                       unsigned char IWDTST:1;\r
+                       unsigned char WDTST:1;\r
+                       unsigned char OSTST:1;\r
+                       unsigned char NMIST:1;\r
+               } BIT;\r
+       } NMISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char LVD2EN:1;\r
+                       unsigned char LVD1EN:1;\r
+                       unsigned char IWDTEN:1;\r
+                       unsigned char WDTEN:1;\r
+                       unsigned char OSTEN:1;\r
+                       unsigned char NMIEN:1;\r
+               } BIT;\r
+       } NMIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char LVD2CLR:1;\r
+                       unsigned char LVD1CLR:1;\r
+                       unsigned char IWDTCLR:1;\r
+                       unsigned char WDTCLR:1;\r
+                       unsigned char OSTCLR:1;\r
+                       unsigned char NMICLR:1;\r
+               } BIT;\r
+       } NMICLR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NMIMD:1;\r
+               } BIT;\r
+       } NMICR;\r
+       char           wk12[12];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char NFLTEN:1;\r
+               } BIT;\r
+       } NMIFLTE;\r
+       char           wk13[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char NFCLKSEL:2;\r
+               } BIT;\r
+       } NMIFLTC;\r
+       char           wk14[19819];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\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
+       } GRP[13];\r
+       char           wk15[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\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
+       } GEN[13];\r
+       char           wk16[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\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
+       } GCR[13];\r
+       char           wk17[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :26;\r
+                       unsigned long CN5:1;\r
+                       unsigned long CN4:1;\r
+                       unsigned long CN3:1;\r
+                       unsigned long CN2:1;\r
+                       unsigned long CN1:1;\r
+                       unsigned long CN0:1;\r
+               } BIT;\r
+       } SEL;\r
+};\r
+\r
+struct st_ieb {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char IOL:1;\r
+                       unsigned char DEE:1;\r
+                       unsigned char :1;\r
+                       unsigned char RE:1;\r
+               } BIT;\r
+       } IECTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char CMD:3;\r
+               } BIT;\r
+       } IECMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SS:1;\r
+                       unsigned char RN:3;\r
+                       unsigned char CTL:4;\r
+               } BIT;\r
+       } IEMCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IARL4:4;\r
+                       unsigned char IMD:2;\r
+                       unsigned char :1;\r
+                       unsigned char STE:1;\r
+               } BIT;\r
+       } IEAR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IARU8:8;\r
+               } BIT;\r
+       } IEAR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ISAL4:4;\r
+               } BIT;\r
+       } IESA1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ISAU8:8;\r
+               } BIT;\r
+       } IESA2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IBFL:8;\r
+               } BIT;\r
+       } IETBFL;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ISAL4:4;\r
+               } BIT;\r
+       } IEMA1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IMAU8:8;\r
+               } BIT;\r
+       } IEMA2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char RCTL:4;\r
+               } BIT;\r
+       } IERCTL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RBFL:8;\r
+               } BIT;\r
+       } IERBFL;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ILAL8:8;\r
+               } BIT;\r
+       } IELA1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char ILAU4:4;\r
+               } BIT;\r
+       } IELA2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CMX:1;\r
+                       unsigned char MRQ:1;\r
+                       unsigned char SRQ:1;\r
+                       unsigned char SRE:1;\r
+                       unsigned char LCK:1;\r
+                       unsigned char :1;\r
+                       unsigned char RSS:1;\r
+                       unsigned char GG:1;\r
+               } BIT;\r
+       } IEFLG;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char TXS:1;\r
+                       unsigned char TXF:1;\r
+                       unsigned char :1;\r
+                       unsigned char TXEAL:1;\r
+                       unsigned char TXETTME:1;\r
+                       unsigned char TXERO:1;\r
+                       unsigned char TXEACK:1;\r
+               } BIT;\r
+       } IETSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char TXSE:1;\r
+                       unsigned char TXFE:1;\r
+                       unsigned char :1;\r
+                       unsigned char TXEALE:1;\r
+                       unsigned char TXETTMEE:1;\r
+                       unsigned char TXEROE:1;\r
+                       unsigned char TXEACKE:1;\r
+               } BIT;\r
+       } IEIET;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RXBSY:1;\r
+                       unsigned char RXS:1;\r
+                       unsigned char RXF:1;\r
+                       unsigned char RXEDE:1;\r
+                       unsigned char RXEOVE:1;\r
+                       unsigned char RXERTME:1;\r
+                       unsigned char RXEDLE:1;\r
+                       unsigned char RXEPE:1;\r
+               } BIT;\r
+       } IERSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RXBSYE:1;\r
+                       unsigned char RXSE:1;\r
+                       unsigned char RXFE:1;\r
+                       unsigned char RXEDEE:1;\r
+                       unsigned char RXEOVEE:1;\r
+                       unsigned char RXERTMEE:1;\r
+                       unsigned char RXEDLEE:1;\r
+                       unsigned char RXEPEE:1;\r
+               } BIT;\r
+       } IEIER;\r
+       char           wk3[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FLT:1;\r
+                       unsigned char FCKS:2;\r
+                       unsigned char CKS3:1;\r
+                       unsigned char SRSTP:1;\r
+                       unsigned char CKS:3;\r
+               } BIT;\r
+       } IECKSR;\r
+       char           wk4[230];\r
+       unsigned char  IETB[33];\r
+       char           wk5[223];\r
+       unsigned char  IERB[33];\r
+};\r
+\r
+struct st_iwdt {\r
+       unsigned char  IWDTRR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short RPSS:2;\r
+                       unsigned short :2;\r
+                       unsigned short RPES:2;\r
+                       unsigned short CKS:4;\r
+                       unsigned short :2;\r
+                       unsigned short TOPS:2;\r
+               } BIT;\r
+       } IWDTCR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short REFEF:1;\r
+                       unsigned short UNDFF:1;\r
+                       unsigned short CNTVAL:14;\r
+               } BIT;\r
+       } IWDTSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RSTIRQS:1;\r
+               } BIT;\r
+       } IWDTRCR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SLCSTP:1;\r
+               } BIT;\r
+       } IWDTCSTPR;\r
+};\r
+\r
+struct st_mpc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CS7E:1;\r
+                       unsigned char CS6E:1;\r
+                       unsigned char CS5E:1;\r
+                       unsigned char CS4E:1;\r
+                       unsigned char CS3E:1;\r
+                       unsigned char CS2E:1;\r
+                       unsigned char CS1E:1;\r
+                       unsigned char CS0E:1;\r
+               } BIT;\r
+       } PFCSE;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CS3S:2;\r
+                       unsigned char CS2S:2;\r
+                       unsigned char CS1S:2;\r
+                       unsigned char :1;\r
+                       unsigned char CS0S:1;\r
+               } BIT;\r
+       } PFCSS0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CS7S:2;\r
+                       unsigned char CS6S:2;\r
+                       unsigned char CS5S:2;\r
+                       unsigned char CS4S:2;\r
+               } BIT;\r
+       } PFCSS1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char A15E:1;\r
+                       unsigned char A14E:1;\r
+                       unsigned char A13E:1;\r
+                       unsigned char A12E:1;\r
+                       unsigned char A11E:1;\r
+                       unsigned char A10E:1;\r
+                       unsigned char A9E:1;\r
+                       unsigned char A8E:1;\r
+               } BIT;\r
+       } PFAOE0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char A23E:1;\r
+                       unsigned char A22E:1;\r
+                       unsigned char A21E:1;\r
+                       unsigned char A20E:1;\r
+                       unsigned char A19E:1;\r
+                       unsigned char A18E:1;\r
+                       unsigned char A17E:1;\r
+                       unsigned char A16E:1;\r
+               } BIT;\r
+       } PFAOE1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char WR32BC32E:1;\r
+                       unsigned char WR1BC1E:1;\r
+                       unsigned char DH32E:1;\r
+                       unsigned char DHE:1;\r
+                       unsigned char :2;\r
+                       unsigned char ADRHMS:1;\r
+                       unsigned char ADRLE:1;\r
+               } BIT;\r
+       } PFBCR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SDCLKE:1;\r
+                       unsigned char DQM1E:1;\r
+                       unsigned char :1;\r
+                       unsigned char MDSDE:1;\r
+                       unsigned char :1;\r
+                       unsigned char ALEOE:1;\r
+                       unsigned char WAITS:2;\r
+               } BIT;\r
+       } PFBCR1;\r
+       char           wk1[6];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PHYMODE:1;\r
+               } BIT;\r
+       } PFENET;\r
+       char           wk2[5];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char PUPHZS:1;\r
+               } BIT;\r
+       } PFUSB0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char PUPHZS:1;\r
+               } BIT;\r
+       } PFUSB1;\r
+       char           wk3[9];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B0WI:1;\r
+                       unsigned char PFSWE:1;\r
+               } BIT;\r
+       } PWPR;\r
+       char           wk4[32];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P00PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P01PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P02PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P03PFS;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P05PFS;\r
+       char           wk6[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P07PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P10PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P11PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P12PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P13PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P14PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P15PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P16PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P17PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P20PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P21PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P22PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P23PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P24PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P25PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P26PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P27PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P30PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P31PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P32PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P33PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P34PFS;\r
+       char           wk7[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P40PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P41PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P42PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P43PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P44PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P45PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P46PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P47PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P50PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P51PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P52PFS;\r
+       char           wk8[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P54PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P55PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P56PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P57PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P60PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P61PFS;\r
+       char           wk9[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P66PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P67PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P70PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P71PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P72PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P73PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P74PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P75PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P76PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P77PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P80PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P81PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P82PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P83PFS;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P86PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P87PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P90PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P91PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P92PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P93PFS;\r
+       char           wk11[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF2PFS;\r
+       char           wk12[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF5PFS;\r
+       char           wk13[21];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PJ3PFS;\r
+};\r
+\r
+struct st_mtu {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char OE4D:1;\r
+                       unsigned char OE4C:1;\r
+                       unsigned char OE3D:1;\r
+                       unsigned char OE4B:1;\r
+                       unsigned char OE4A:1;\r
+                       unsigned char OE3B:1;\r
+               } BIT;\r
+       } TOER;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char BDC:1;\r
+                       unsigned char N:1;\r
+                       unsigned char P:1;\r
+                       unsigned char FB:1;\r
+                       unsigned char WF:1;\r
+                       unsigned char VF:1;\r
+                       unsigned char UF:1;\r
+               } BIT;\r
+       } TGCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char PSYE:1;\r
+                       unsigned char :2;\r
+                       unsigned char TOCL:1;\r
+                       unsigned char TOCS:1;\r
+                       unsigned char OLSN:1;\r
+                       unsigned char OLSP:1;\r
+               } BIT;\r
+       } TOCR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BF:2;\r
+                       unsigned char OLS3N:1;\r
+                       unsigned char OLS3P:1;\r
+                       unsigned char OLS2N:1;\r
+                       unsigned char OLS2P:1;\r
+                       unsigned char OLS1N:1;\r
+                       unsigned char OLS1P:1;\r
+               } BIT;\r
+       } TOCR2;\r
+       char           wk1[4];\r
+       unsigned short TCDR;\r
+       unsigned short TDDR;\r
+       char           wk2[8];\r
+       unsigned short TCNTS;\r
+       unsigned short TCBR;\r
+       char           wk3[12];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char T3AEN:1;\r
+                       unsigned char T3ACOR:3;\r
+                       unsigned char T4VEN:1;\r
+                       unsigned char T4VCOR:3;\r
+               } BIT;\r
+       } TITCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char T3ACNT:3;\r
+                       unsigned char :1;\r
+                       unsigned char T4VCNT:3;\r
+               } BIT;\r
+       } TITCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char BTE:2;\r
+               } BIT;\r
+       } TBTER;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char TDER:1;\r
+               } BIT;\r
+       } TDER;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char OLS3N:1;\r
+                       unsigned char OLS3P:1;\r
+                       unsigned char OLS2N:1;\r
+                       unsigned char OLS2P:1;\r
+                       unsigned char OLS1N:1;\r
+                       unsigned char OLS1P:1;\r
+               } BIT;\r
+       } TOLBR;\r
+       char           wk6[41];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCE:1;\r
+                       unsigned char :6;\r
+                       unsigned char WRE:1;\r
+               } BIT;\r
+       } TWCR;\r
+       char           wk7[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CST4:1;\r
+                       unsigned char CST3:1;\r
+                       unsigned char :3;\r
+                       unsigned char CST2:1;\r
+                       unsigned char CST1:1;\r
+                       unsigned char CST0:1;\r
+               } BIT;\r
+       } TSTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SYNC4:1;\r
+                       unsigned char SYNC3:1;\r
+                       unsigned char :3;\r
+                       unsigned char SYNC2:1;\r
+                       unsigned char SYNC1:1;\r
+                       unsigned char SYNC0:1;\r
+               } BIT;\r
+       } TSYR;\r
+       char           wk8[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RWE:1;\r
+               } BIT;\r
+       } TRWER;\r
+};\r
+\r
+struct st_mtu0 {\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
+       } NFCR;\r
+       char           wk0[111];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char BFE:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :2;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char TGIED:1;\r
+                       unsigned char TGIEC:1;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+       char           wk1[16];\r
+       unsigned short TGRE;\r
+       unsigned short TGRF;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TGIEF:1;\r
+                       unsigned char TGIEE:1;\r
+               } BIT;\r
+       } TIER2;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TTSE:1;\r
+                       unsigned char TTSB:1;\r
+                       unsigned char TTSA:1;\r
+               } BIT;\r
+       } TBTM;\r
+};\r
+\r
+struct st_mtu1 {\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
+       } NFCR;\r
+       char           wk1[238];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCIEU:1;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char :2;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char I2BE:1;\r
+                       unsigned char I2AE:1;\r
+                       unsigned char I1BE:1;\r
+                       unsigned char I1AE:1;\r
+               } BIT;\r
+       } TICCR;\r
+};\r
+\r
+struct st_mtu2 {\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
+       } NFCR;\r
+       char           wk0[365];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCIEU:1;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char :2;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_mtu3 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       char           wk2[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :2;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char TGIED:1;\r
+                       unsigned char TGIEC:1;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       char           wk3[7];\r
+       unsigned short TCNT;\r
+       char           wk4[6];\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       char           wk5[8];\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+       char           wk6[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       char           wk7[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TTSE:1;\r
+                       unsigned char TTSB:1;\r
+                       unsigned char TTSA:1;\r
+               } BIT;\r
+       } TBTM;\r
+       char           wk8[90];\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
+       } NFCR;\r
+};\r
+\r
+struct st_mtu4 {\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       char           wk2[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       char           wk3[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char TTGE2:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char TGIED:1;\r
+                       unsigned char TGIEC:1;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       char           wk4[8];\r
+       unsigned short TCNT;\r
+       char           wk5[8];\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       char           wk6[8];\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+       char           wk7[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       char           wk8[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TTSE:1;\r
+                       unsigned char TTSB:1;\r
+                       unsigned char TTSA:1;\r
+               } BIT;\r
+       } TBTM;\r
+       char           wk9[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BF:2;\r
+                       unsigned short :6;\r
+                       unsigned short UT4AE:1;\r
+                       unsigned short DT4AE:1;\r
+                       unsigned short UT4BE:1;\r
+                       unsigned short DT4BE:1;\r
+                       unsigned short ITA3AE:1;\r
+                       unsigned short ITA4VE:1;\r
+                       unsigned short ITB3AE:1;\r
+                       unsigned short ITB4VE:1;\r
+               } BIT;\r
+       } TADCR;\r
+       char           wk10[2];\r
+       unsigned short TADCORA;\r
+       unsigned short TADCORB;\r
+       unsigned short TADCOBRA;\r
+       unsigned short TADCOBRB;\r
+       char           wk11[72];\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
+       } NFCR;\r
+};\r
+\r
+struct st_mtu5 {\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFCS:2;\r
+                       unsigned char :1;\r
+                       unsigned char NFWEN:1;\r
+                       unsigned char NFVEN:1;\r
+                       unsigned char NFUEN:1;\r
+               } BIT;\r
+       } NFCR;\r
+       char           wk1[490];\r
+       unsigned short TCNTU;\r
+       unsigned short TGRU;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TPSC:2;\r
+               } BIT;\r
+       } TCRU;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char IOC:5;\r
+               } BIT;\r
+       } TIORU;\r
+       char           wk3[9];\r
+       unsigned short TCNTV;\r
+       unsigned short TGRV;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TPSC:2;\r
+               } BIT;\r
+       } TCRV;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char IOC:5;\r
+               } BIT;\r
+       } TIORV;\r
+       char           wk5[9];\r
+       unsigned short TCNTW;\r
+       unsigned short TGRW;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TPSC:2;\r
+               } BIT;\r
+       } TCRW;\r
+       char           wk6[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char IOC:5;\r
+               } BIT;\r
+       } TIORW;\r
+       char           wk7[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TGIE5U:1;\r
+                       unsigned char TGIE5V:1;\r
+                       unsigned char TGIE5W:1;\r
+               } BIT;\r
+       } TIER;\r
+       char           wk8[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char CSTU5:1;\r
+                       unsigned char CSTV5:1;\r
+                       unsigned char CSTW5:1;\r
+               } BIT;\r
+       } TSTR;\r
+       char           wk9[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char CMPCLR5U:1;\r
+                       unsigned char CMPCLR5V:1;\r
+                       unsigned char CMPCLR5W:1;\r
+               } BIT;\r
+       } TCNTCMPCLR;\r
+};\r
+\r
+struct st_poe {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short POE3F:1;\r
+                       unsigned short POE2F:1;\r
+                       unsigned short POE1F:1;\r
+                       unsigned short POE0F:1;\r
+                       unsigned short :3;\r
+                       unsigned short PIE1:1;\r
+                       unsigned short POE3M:2;\r
+                       unsigned short POE2M:2;\r
+                       unsigned short POE1M:2;\r
+                       unsigned short POE0M:2;\r
+               } BIT;\r
+       } ICSR1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short OSF1:1;\r
+                       unsigned short :5;\r
+                       unsigned short OCE1:1;\r
+                       unsigned short OIE1:1;\r
+               } BIT;\r
+       } OCSR1;\r
+       char           wk0[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short POE8F:1;\r
+                       unsigned short :2;\r
+                       unsigned short POE8E:1;\r
+                       unsigned short PIE2:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE8M:2;\r
+               } BIT;\r
+       } ICSR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char CH0HIZ:1;\r
+                       unsigned char CH34HIZ:1;\r
+               } BIT;\r
+       } SPOER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char PE3ZE:1;\r
+                       unsigned char PE2ZE:1;\r
+                       unsigned char PE1ZE:1;\r
+                       unsigned char PE0ZE:1;\r
+               } BIT;\r
+       } POECR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char P1CZEA:1;\r
+                       unsigned char P2CZEA:1;\r
+                       unsigned char P3CZEA:1;\r
+               } BIT;\r
+       } POECR2;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short OSTSTF:1;\r
+                       unsigned short :2;\r
+                       unsigned short OSTSTE:1;\r
+               } BIT;\r
+       } ICSR3;\r
+};\r
+\r
+struct st_port0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :3;\r
+                       unsigned char B2:1;\r
+               } BIT;\r
+       } ODR1;\r
+       char           wk4[62];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_port1 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[32];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[61];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port2 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[33];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[60];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_port3 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[34];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[59];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port4 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[35];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[58];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port5 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[36];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[57];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :3;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_port6 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[37];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[56];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port7 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[38];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[55];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port8 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[39];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port9 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[40];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[53];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_porta {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[41];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[52];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portb {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[42];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[51];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[43];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[50];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portd {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[44];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[49];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_porte {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[45];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char :1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[48];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portf {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[46];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char B2:1;\r
+                       unsigned char :1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } ODR1;\r
+       char           wk4[47];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_portg {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[47];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[46];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_porth {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_portj {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[49];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char B6:1;\r
+               } BIT;\r
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char B2:1;\r
+               } BIT;\r
+       } ODR1;\r
+       char           wk4[44];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_ppg0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3CMS:2;\r
+                       unsigned char G2CMS:2;\r
+                       unsigned char G1CMS:2;\r
+                       unsigned char G0CMS:2;\r
+               } BIT;\r
+       } PCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3INV:1;\r
+                       unsigned char G2INV:1;\r
+                       unsigned char G1INV:1;\r
+                       unsigned char G0INV:1;\r
+                       unsigned char G3NOV:1;\r
+                       unsigned char G2NOV:1;\r
+                       unsigned char G1NOV:1;\r
+                       unsigned char G0NOV:1;\r
+               } BIT;\r
+       } PMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER15:1;\r
+                       unsigned char NDER14:1;\r
+                       unsigned char NDER13:1;\r
+                       unsigned char NDER12:1;\r
+                       unsigned char NDER11:1;\r
+                       unsigned char NDER10:1;\r
+                       unsigned char NDER9:1;\r
+                       unsigned char NDER8:1;\r
+               } BIT;\r
+       } NDERH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER7:1;\r
+                       unsigned char NDER6:1;\r
+                       unsigned char NDER5:1;\r
+                       unsigned char NDER4:1;\r
+                       unsigned char NDER3:1;\r
+                       unsigned char NDER2:1;\r
+                       unsigned char NDER1:1;\r
+                       unsigned char NDER0:1;\r
+               } BIT;\r
+       } NDERL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD15:1;\r
+                       unsigned char POD14:1;\r
+                       unsigned char POD13:1;\r
+                       unsigned char POD12:1;\r
+                       unsigned char POD11:1;\r
+                       unsigned char POD10:1;\r
+                       unsigned char POD9:1;\r
+                       unsigned char POD8:1;\r
+               } BIT;\r
+       } PODRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD7:1;\r
+                       unsigned char POD6:1;\r
+                       unsigned char POD5:1;\r
+                       unsigned char POD4:1;\r
+                       unsigned char POD3:1;\r
+                       unsigned char POD2:1;\r
+                       unsigned char POD1:1;\r
+                       unsigned char POD0:1;\r
+               } BIT;\r
+       } PODRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR15:1;\r
+                       unsigned char NDR14:1;\r
+                       unsigned char NDR13:1;\r
+                       unsigned char NDR12:1;\r
+                       unsigned char NDR11:1;\r
+                       unsigned char NDR10:1;\r
+                       unsigned char NDR9:1;\r
+                       unsigned char NDR8:1;\r
+               } BIT;\r
+       } NDRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR7:1;\r
+                       unsigned char NDR6:1;\r
+                       unsigned char NDR5:1;\r
+                       unsigned char NDR4:1;\r
+                       unsigned char NDR3:1;\r
+                       unsigned char NDR2:1;\r
+                       unsigned char NDR1:1;\r
+                       unsigned char NDR0:1;\r
+               } BIT;\r
+       } NDRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR11:1;\r
+                       unsigned char NDR10:1;\r
+                       unsigned char NDR9:1;\r
+                       unsigned char NDR8:1;\r
+               } BIT;\r
+       } NDRH2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR3:1;\r
+                       unsigned char NDR2:1;\r
+                       unsigned char NDR1:1;\r
+                       unsigned char NDR0:1;\r
+               } BIT;\r
+       } NDRL2;\r
+};\r
+\r
+struct st_ppg1 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PTRSL:1;\r
+               } BIT;\r
+       } PTRSLR;\r
+       char           wk0[5];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3CMS:2;\r
+                       unsigned char G2CMS:2;\r
+                       unsigned char G1CMS:2;\r
+                       unsigned char G0CMS:2;\r
+               } BIT;\r
+       } PCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3INV:1;\r
+                       unsigned char G2INV:1;\r
+                       unsigned char G1INV:1;\r
+                       unsigned char G0INV:1;\r
+                       unsigned char G3NOV:1;\r
+                       unsigned char G2NOV:1;\r
+                       unsigned char G1NOV:1;\r
+                       unsigned char G0NOV:1;\r
+               } BIT;\r
+       } PMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER31:1;\r
+                       unsigned char NDER30:1;\r
+                       unsigned char NDER29:1;\r
+                       unsigned char NDER28:1;\r
+                       unsigned char NDER27:1;\r
+                       unsigned char NDER26:1;\r
+                       unsigned char NDER25:1;\r
+                       unsigned char NDER24:1;\r
+               } BIT;\r
+       } NDERH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER23:1;\r
+                       unsigned char NDER22:1;\r
+                       unsigned char NDER21:1;\r
+                       unsigned char NDER20:1;\r
+                       unsigned char NDER19:1;\r
+                       unsigned char NDER18:1;\r
+                       unsigned char NDER17:1;\r
+                       unsigned char NDER16:1;\r
+               } BIT;\r
+       } NDERL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD31:1;\r
+                       unsigned char POD30:1;\r
+                       unsigned char POD29:1;\r
+                       unsigned char POD28:1;\r
+                       unsigned char POD27:1;\r
+                       unsigned char POD26:1;\r
+                       unsigned char POD25:1;\r
+                       unsigned char POD24:1;\r
+               } BIT;\r
+       } PODRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD23:1;\r
+                       unsigned char POD22:1;\r
+                       unsigned char POD21:1;\r
+                       unsigned char POD20:1;\r
+                       unsigned char POD19:1;\r
+                       unsigned char POD18:1;\r
+                       unsigned char POD17:1;\r
+                       unsigned char POD16:1;\r
+               } BIT;\r
+       } PODRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR31:1;\r
+                       unsigned char NDR30:1;\r
+                       unsigned char NDR29:1;\r
+                       unsigned char NDR28:1;\r
+                       unsigned char NDR27:1;\r
+                       unsigned char NDR26:1;\r
+                       unsigned char NDR25:1;\r
+                       unsigned char NDR24:1;\r
+               } BIT;\r
+       } NDRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR23:1;\r
+                       unsigned char NDR22:1;\r
+                       unsigned char NDR21:1;\r
+                       unsigned char NDR20:1;\r
+                       unsigned char NDR19:1;\r
+                       unsigned char NDR18:1;\r
+                       unsigned char NDR17:1;\r
+                       unsigned char NDR16:1;\r
+               } BIT;\r
+       } NDRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR27:1;\r
+                       unsigned char NDR26:1;\r
+                       unsigned char NDR25:1;\r
+                       unsigned char NDR24:1;\r
+               } BIT;\r
+       } NDRH2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR19:1;\r
+                       unsigned char NDR18:1;\r
+                       unsigned char NDR17:1;\r
+                       unsigned char NDR16:1;\r
+               } BIT;\r
+       } NDRL2;\r
+};\r
+\r
+struct st_riic0 {\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
+               } BIT;\r
+       } ICCR1;\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
+               } BIT;\r
+       } ICCR2;\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
+               } BIT;\r
+       } ICMR1;\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
+               } BIT;\r
+       } ICMR2;\r
+       union {\r
+               unsigned char BYTE;\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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FMPE: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
+               } BIT;\r
+       } ICFER;\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 :1;\r
+                       unsigned char GCAE:1;\r
+                       unsigned char SAR2E:1;\r
+                       unsigned char SAR1E:1;\r
+                       unsigned char SAR0E:1;\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_riic1 {\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
+               } BIT;\r
+       } ICCR1;\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
+               } BIT;\r
+       } ICCR2;\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
+               } BIT;\r
+       } ICMR1;\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
+               } BIT;\r
+       } ICMR2;\r
+       union {\r
+               unsigned char BYTE;\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
+       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
+               } BIT;\r
+       } ICFER;\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 :1;\r
+                       unsigned char GCAE:1;\r
+                       unsigned char SAR2E:1;\r
+                       unsigned char SAR1E:1;\r
+                       unsigned char SAR0E:1;\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_rspi {\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 :1;\r
+                       unsigned char SPOM:1;\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
+       //unsigned long  SPDR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SPR7:1;\r
+                       unsigned char SPR6:1;\r
+                       unsigned char SPR5:1;\r
+                       unsigned char SPR4:1;\r
+                       unsigned char SPR3:1;\r
+                       unsigned char SPR2:1;\r
+                       unsigned char SPR1:1;\r
+                       unsigned char SPR0:1;\r
+               } BIT;\r
+       } SPBR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char SPLW:1;\r
+                       unsigned char SPRDTD:1;\r
+                       unsigned char SLSEL:2;\r
+                       unsigned char SPFC:2;\r
+               } BIT;\r
+       } SPDCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char SCKDL:3;\r
+               } BIT;\r
+       } SPCKD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char SLNDL:3;\r
+               } BIT;\r
+       } SSLND;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char SPNDL:3;\r
+               } BIT;\r
+       } SPND;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char PTE:1;\r
+                       unsigned char SPIIE:1;\r
+                       unsigned char SPOE:1;\r
+                       unsigned char SPPE:1;\r
+               } BIT;\r
+       } SPCR2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD4;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD5;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD6;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD7;\r
+};\r
+\r
+struct st_rtc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char F1HZ:1;\r
+                       unsigned char F2HZ:1;\r
+                       unsigned char F4HZ:1;\r
+                       unsigned char F8HZ:1;\r
+                       unsigned char F16HZ:1;\r
+                       unsigned char F32HZ:1;\r
+                       unsigned char F64HZ:1;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       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
+       char           wk4[1];\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
+       } RDAYCNT;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } RMONCNT;\r
+       char           wk6[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
+       } 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
+       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
+       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
+       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
+       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
+       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 char BYTE;\r
+               struct {\r
+                       unsigned char ENB:1;\r
+               } BIT;\r
+       } RYRAREN;\r
+       char           wk13[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char PES:4;\r
+                       unsigned char :1;\r
+                       unsigned char PIE:1;\r
+                       unsigned char CIE:1;\r
+                       unsigned char AIE:1;\r
+               } BIT;\r
+       } RCR1;\r
+       char           wk14[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char HR24:1;\r
+                       unsigned char AADJP:1;\r
+                       unsigned char AADJE:1;\r
+                       unsigned char RTCOE:1;\r
+                       unsigned char ADJ30:1;\r
+                       unsigned char RESET:1;\r
+                       unsigned char START:1;\r
+               } BIT;\r
+       } RCR2;\r
+       char           wk15[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RTCEN:1;\r
+               } BIT;\r
+       } RCR3;\r
+       char           wk16[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RCKSEL:1;\r
+               } BIT;\r
+       } RCR4;\r
+       char           wk17[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short RFC:1;\r
+               } BIT;\r
+       } RFRH;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RFC:16;\r
+               } BIT;\r
+       } RFRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char PMADJ:2;\r
+                       unsigned char ADJ:6;\r
+               } BIT;\r
+       } RADJ;\r
+       char           wk18[17];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCEN:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCNF:2;\r
+                       unsigned char :1;\r
+                       unsigned char TCST:1;\r
+                       unsigned char TCCT:2;\r
+               } BIT;\r
+       } RTCCR0;\r
+       char           wk19[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCEN:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCNF:2;\r
+                       unsigned char :1;\r
+                       unsigned char TCST:1;\r
+                       unsigned char TCCT:2;\r
+               } BIT;\r
+       } RTCCR1;\r
+       char           wk20[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCEN:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCNF:2;\r
+                       unsigned char :1;\r
+                       unsigned char TCST:1;\r
+                       unsigned char TCCT:2;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       char           wk24[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DATE10:3;\r
+                       unsigned char DATE1:4;\r
+               } BIT;\r
+       } RDAYCP0;\r
+       char           wk25[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       char           wk29[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DATE10:3;\r
+                       unsigned char DATE1:4;\r
+               } BIT;\r
+       } RDAYCP1;\r
+       char           wk30[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       char           wk34[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DATE10:3;\r
+                       unsigned char DATE1:4;\r
+               } BIT;\r
+       } RDAYCP2;\r
+       char           wk35[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } RMONCP2;\r
+};\r
+\r
+struct st_s12ad {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ADST:1;\r
+                       unsigned char ADCS:1;\r
+                       unsigned char :1;\r
+                       unsigned char ADIE:1;\r
+                       unsigned char CKS:2;\r
+                       unsigned char TRGE:1;\r
+                       unsigned char EXTRG:1;\r
+               } BIT;\r
+       } ADCSR;\r
+       char           wk0[3];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ANS0:16;\r
+               } BIT;\r
+       } ADANS0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :11;\r
+                       unsigned short ANS1:5;\r
+               } BIT;\r
+       } ADANS1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADS0:16;\r
+               } BIT;\r
+       } ADADS0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :11;\r
+                       unsigned short ADS1:5;\r
+               } BIT;\r
+       } ADADS1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char ADC:2;\r
+               } BIT;\r
+       } ADADC;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADRFMT:1;\r
+                       unsigned short :9;\r
+                       unsigned short ACE:1;\r
+               } BIT;\r
+       } ADCER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char ADSTRS:4;\r
+               } BIT;\r
+       } ADSTRGR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :6;\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           wk3[6];\r
+       unsigned short ADTSDR;\r
+       unsigned short ADOCDR;\r
+       char           wk4[2];\r
+       unsigned short ADDR0;\r
+       unsigned short ADDR1;\r
+       unsigned short ADDR2;\r
+       unsigned short ADDR3;\r
+       unsigned short ADDR4;\r
+       unsigned short ADDR5;\r
+       unsigned short ADDR6;\r
+       unsigned short ADDR7;\r
+       unsigned short ADDR8;\r
+       unsigned short ADDR9;\r
+       unsigned short ADDR10;\r
+       unsigned short ADDR11;\r
+       unsigned short ADDR12;\r
+       unsigned short ADDR13;\r
+       unsigned short ADDR14;\r
+       unsigned short ADDR15;\r
+       unsigned short ADDR16;\r
+       unsigned short ADDR17;\r
+       unsigned short ADDR18;\r
+       unsigned short ADDR19;\r
+       unsigned short ADDR20;\r
+       char           wk5[38];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SST2:8;\r
+               } BIT;\r
+       } ADSSTR23;\r
+};\r
+\r
+struct st_sci0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CM:1;\r
+                       unsigned char CHR:1;\r
+                       unsigned char PE:1;\r
+                       unsigned char PM:1;\r
+                       unsigned char STOP:1;\r
+                       unsigned char MP:1;\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 FER: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 :3;\r
+                       unsigned char SDIR:1;\r
+                       unsigned char SINV:1;\r
+                       unsigned char :1;\r
+                       unsigned char SMIF:1;\r
+               } BIT;\r
+       } SCMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFEN:1;\r
+                       unsigned char ABCS:1;\r
+                       unsigned char :3;\r
+                       unsigned char ACS0:1;\r
+               } BIT;\r
+       } SEMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char NFCS:3;\r
+               } BIT;\r
+       } SNFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICDL:5;\r
+                       unsigned char :2;\r
+                       unsigned char IICM:1;\r
+               } BIT;\r
+       } SIMR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char IICACKT:1;\r
+                       unsigned char :3;\r
+                       unsigned char IICCSC:1;\r
+                       unsigned char IICINTM:1;\r
+               } BIT;\r
+       } SIMR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICSCLS:2;\r
+                       unsigned char IICSDAS:2;\r
+                       unsigned char IICSTIF:1;\r
+                       unsigned char IICSTPREQ:1;\r
+                       unsigned char IICRSTAREQ:1;\r
+                       unsigned char IICSTAREQ:1;\r
+               } BIT;\r
+       } SIMR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IICACKR:1;\r
+               } BIT;\r
+       } SISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CKPH:1;\r
+                       unsigned char CKPOL:1;\r
+                       unsigned char :1;\r
+                       unsigned char MFF:1;\r
+                       unsigned char :1;\r
+                       unsigned char MSS:1;\r
+                       unsigned char CTSE:1;\r
+                       unsigned char SSE:1;\r
+               } BIT;\r
+       } SPMR;\r
+};\r
+\r
+struct st_sci7 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CM:1;\r
+                       unsigned char CHR:1;\r
+                       unsigned char PE:1;\r
+                       unsigned char PM:1;\r
+                       unsigned char STOP:1;\r
+                       unsigned char MP:1;\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 FER: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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char MPB:1;\r
+                       unsigned char MPBT:1;\r
+               } BIT;\r
+       } RDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BCP2:1;\r
+                       unsigned char :3;\r
+                       unsigned char SDIR:1;\r
+                       unsigned char SINV:1;\r
+                       unsigned char :1;\r
+                       unsigned char SMIF:1;\r
+               } BIT;\r
+       } SCMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFEN:1;\r
+                       unsigned char ABCS:1;\r
+                       unsigned char :3;\r
+                       unsigned char ACS0:1;\r
+               } BIT;\r
+       } SEMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char NFCS:3;\r
+               } BIT;\r
+       } SNFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICDL:5;\r
+                       unsigned char :2;\r
+                       unsigned char IICM:1;\r
+               } BIT;\r
+       } SIMR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char IICACKT:1;\r
+                       unsigned char :3;\r
+                       unsigned char IICCSC:1;\r
+                       unsigned char IICINTM:1;\r
+               } BIT;\r
+       } SIMR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICSCLS:2;\r
+                       unsigned char IICSDAS:2;\r
+                       unsigned char IICSTIF:1;\r
+                       unsigned char IICSTPREQ:1;\r
+                       unsigned char IICRSTAREQ:1;\r
+                       unsigned char IICSTAREQ:1;\r
+               } BIT;\r
+       } SIMR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IICACKR:1;\r
+               } BIT;\r
+       } SISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CKPH:1;\r
+                       unsigned char CKPOL:1;\r
+                       unsigned char :1;\r
+                       unsigned char MFF:1;\r
+                       unsigned char :1;\r
+                       unsigned char MSS:1;\r
+                       unsigned char CTSE:1;\r
+                       unsigned char SSE:1;\r
+               } BIT;\r
+       } SPMR;\r
+};\r
+\r
+struct st_sci12 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CM:1;\r
+                       unsigned char CHR:1;\r
+                       unsigned char PE:1;\r
+                       unsigned char PM:1;\r
+                       unsigned char STOP:1;\r
+                       unsigned char MP:1;\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 FER: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 :3;\r
+                       unsigned char SDIR:1;\r
+                       unsigned char SINV:1;\r
+                       unsigned char :1;\r
+                       unsigned char SMIF:1;\r
+               } BIT;\r
+       } SCMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFEN:1;\r
+                       unsigned char ABCS:1;\r
+                       unsigned char :3;\r
+                       unsigned char ACS0:1;\r
+               } BIT;\r
+       } SEMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char NFCS:3;\r
+               } BIT;\r
+       } SNFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICDL:5;\r
+                       unsigned char :2;\r
+                       unsigned char IICM:1;\r
+               } BIT;\r
+       } SIMR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char IICACKT:1;\r
+                       unsigned char :3;\r
+                       unsigned char IICCSC:1;\r
+                       unsigned char IICINTM:1;\r
+               } BIT;\r
+       } SIMR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICSCLS:2;\r
+                       unsigned char IICSDAS:2;\r
+                       unsigned char IICSTIF:1;\r
+                       unsigned char IICSTPREQ:1;\r
+                       unsigned char IICRSTAREQ:1;\r
+                       unsigned char IICSTAREQ:1;\r
+               } BIT;\r
+       } SIMR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IICACKR:1;\r
+               } BIT;\r
+       } SISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CKPH:1;\r
+                       unsigned char CKPOL:1;\r
+                       unsigned char :1;\r
+                       unsigned char MFF:1;\r
+                       unsigned char :1;\r
+                       unsigned char MSS:1;\r
+                       unsigned char CTSE:1;\r
+                       unsigned char SSE:1;\r
+               } BIT;\r
+       } SPMR;\r
+       char           wk0[18];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char ESME:1;\r
+               } BIT;\r
+       } ESMER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char BRME:1;\r
+                       unsigned char RXDSF:1;\r
+                       unsigned char SFSF:1;\r
+               } BIT;\r
+       } CR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char PIBS:3;\r
+                       unsigned char PIBE:1;\r
+                       unsigned char CF1DS:2;\r
+                       unsigned char CF0RE:1;\r
+                       unsigned char BFE:1;\r
+               } BIT;\r
+       } CR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RTS:2;\r
+                       unsigned char BCCS:2;\r
+                       unsigned char :1;\r
+                       unsigned char DFCS:3;\r
+               } BIT;\r
+       } CR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SDST:1;\r
+               } BIT;\r
+       } CR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char SHARPS:1;\r
+                       unsigned char :2;\r
+                       unsigned char RXDXPS:1;\r
+                       unsigned char TXDXPS:1;\r
+               } BIT;\r
+       } PCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char AEDIE:1;\r
+                       unsigned char BCDIE:1;\r
+                       unsigned char PIBDIE:1;\r
+                       unsigned char CF1MIE:1;\r
+                       unsigned char CF0MIE:1;\r
+                       unsigned char BFDIE:1;\r
+               } BIT;\r
+       } ICR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char AEDF:1;\r
+                       unsigned char BCDF:1;\r
+                       unsigned char PIBDF:1;\r
+                       unsigned char CF1MF:1;\r
+                       unsigned char CF0MF:1;\r
+                       unsigned char BFDF:1;\r
+               } BIT;\r
+       } STR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char AEDCL:1;\r
+                       unsigned char BCDCL:1;\r
+                       unsigned char PIBDCL:1;\r
+                       unsigned char CF1MCL:1;\r
+                       unsigned char CF0MCL:1;\r
+                       unsigned char BFDCL:1;\r
+               } BIT;\r
+       } STCR;\r
+       unsigned char  CF0DR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CF0CE7:1;\r
+                       unsigned char CF0CE6:1;\r
+                       unsigned char CF0CE5:1;\r
+                       unsigned char CF0CE4:1;\r
+                       unsigned char CF0CE3:1;\r
+                       unsigned char CF0CE2:1;\r
+                       unsigned char CF0CE1:1;\r
+                       unsigned char CF0CE0:1;\r
+               } BIT;\r
+       } CF0CR;\r
+       unsigned char  CF0RR;\r
+       unsigned char  PCF1DR;\r
+       unsigned char  SCF1DR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CF1CE7:1;\r
+                       unsigned char CF1CE6:1;\r
+                       unsigned char CF1CE5:1;\r
+                       unsigned char CF1CE4:1;\r
+                       unsigned char CF1CE3:1;\r
+                       unsigned char CF1CE2:1;\r
+                       unsigned char CF1CE1:1;\r
+                       unsigned char CF1CE0:1;\r
+               } BIT;\r
+       } CF1CR;\r
+       unsigned char  CF1RR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char TCST:1;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char TCSS:3;\r
+                       unsigned char TWRC:1;\r
+                       unsigned char :1;\r
+                       unsigned char TOMS:2;\r
+               } BIT;\r
+       } TMR;\r
+       unsigned char  TPRE;\r
+       unsigned char  TCNT;\r
+};\r
+\r
+struct st_smci0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char GM:1;\r
+                       unsigned char BCLK: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 :3;\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_smci7 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char GM:1;\r
+                       unsigned char BCLK: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
+               } BIT;\r
+       } SSR;\r
+       unsigned char  RDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BCP2:1;\r
+                       unsigned char :3;\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_system {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short MD:1;\r
+               } BIT;\r
+       } MDMONR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :10;\r
+                       unsigned short UBTS:1;\r
+                       unsigned short BOTS:1;\r
+                       unsigned short :2;\r
+                       unsigned short EXB:1;\r
+                       unsigned short IROM:1;\r
+               } BIT;\r
+       } MDSR;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short :6;\r
+                       unsigned short EXBE:1;\r
+                       unsigned short ROME:1;\r
+               } BIT;\r
+       } SYSCR0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short RAME:1;\r
+               } BIT;\r
+       } SYSCR1;\r
+       char           wk1[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SSBY:1;\r
+                       unsigned short OPE:1;\r
+               } BIT;\r
+       } SBYCR;\r
+       char           wk2[2];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long ACSE:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPA29:1;\r
+                       unsigned long MSTPA28:1;\r
+                       unsigned long MSTPA27:1;\r
+                       unsigned long :2;\r
+                       unsigned long MSTPA24:1;\r
+                       unsigned long MSTPA23:1;\r
+                       unsigned long :3;\r
+                       unsigned long MSTPA19:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPA17:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPA15:1;\r
+                       unsigned long MSTPA14:1;\r
+                       unsigned long MSTPA13:1;\r
+                       unsigned long MSTPA12:1;\r
+                       unsigned long MSTPA11:1;\r
+                       unsigned long MSTPA10:1;\r
+                       unsigned long MSTPA9:1;\r
+                       unsigned long :3;\r
+                       unsigned long MSTPA5:1;\r
+                       unsigned long MSTPA4:1;\r
+               } BIT;\r
+       } MSTPCRA;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long MSTPB31:1;\r
+                       unsigned long MSTPB30:1;\r
+                       unsigned long MSTPB29:1;\r
+                       unsigned long MSTPB28:1;\r
+                       unsigned long MSTPB27:1;\r
+                       unsigned long MSTPB26:1;\r
+                       unsigned long MSTPB25:1;\r
+                       unsigned long MSTPB24:1;\r
+                       unsigned long MSTPB23:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPB21:1;\r
+                       unsigned long MSTPB20:1;\r
+                       unsigned long MSTPB19:1;\r
+                       unsigned long MSTPB18:1;\r
+                       unsigned long MSTPB17:1;\r
+                       unsigned long MSTPB16:1;\r
+                       unsigned long MSTPB15:1;\r
+                       unsigned long :6;\r
+                       unsigned long MSTPB8:1;\r
+                       unsigned long :3;\r
+                       unsigned long MSTPB4:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPB2:1;\r
+                       unsigned long MSTPB1:1;\r
+                       unsigned long MSTPB0:1;\r
+               } BIT;\r
+       } MSTPCRB;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :4;\r
+                       unsigned long MSTPC27:1;\r
+                       unsigned long MSTPC26:1;\r
+                       unsigned long MSTPC25:1;\r
+                       unsigned long MSTPC24:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPC22:1;\r
+                       unsigned long :2;\r
+                       unsigned long MSTPC19:1;\r
+                       unsigned long MSTPC18:1;\r
+                       unsigned long MSTPC17:1;\r
+                       unsigned long MSTPC16:1;\r
+                       unsigned long :14;\r
+                       unsigned long MSTPC1:1;\r
+                       unsigned long MSTPC0:1;\r
+               } BIT;\r
+       } MSTPCRC;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long FCK:4;\r
+                       unsigned long ICK:4;\r
+                       unsigned long PSTOP1:1;\r
+                       unsigned long PSTOP0:1;\r
+                       unsigned long :2;\r
+                       unsigned long BCK:4;\r
+                       unsigned long PCKA:4;\r
+                       unsigned long PCKB:4;\r
+               } BIT;\r
+       } SCKCR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short UCK:4;\r
+                       unsigned short IEBCK:4;\r
+               } BIT;\r
+       } SCKCR2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short CKSEL:3;\r
+               } BIT;\r
+       } SCKCR3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short STC:6;\r
+                       unsigned short :6;\r
+                       unsigned short PLIDIV:2;\r
+               } BIT;\r
+       } PLLCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PLLEN:1;\r
+               } BIT;\r
+       } PLLCR2;\r
+       char           wk4[5];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char BCLKDIV:1;\r
+               } BIT;\r
+       } BCKCR;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char MOSTP:1;\r
+               } BIT;\r
+       } MOSCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SOSTP:1;\r
+               } BIT;\r
+       } SOSCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char LCSTP:1;\r
+               } BIT;\r
+       } LOCOCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char ILCSTP:1;\r
+               } BIT;\r
+       } ILOCOCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char HCSTP:1;\r
+               } BIT;\r
+       } HOCOCR;\r
+       char           wk6[9];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char OSTDE:1;\r
+                       unsigned char :6;\r
+                       unsigned char OSTDIE:1;\r
+               } BIT;\r
+       } OSTDCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char OSTDF:1;\r
+               } BIT;\r
+       } OSTDSR;\r
+       char           wk7[94];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char OPCMTSF:1;\r
+                       unsigned char :1;\r
+                       unsigned char OPCM:3;\r
+               } BIT;\r
+       } OPCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RSTCKEN:1;\r
+                       unsigned char :4;\r
+                       unsigned char RSTCKSEL:3;\r
+               } BIT;\r
+       } RSTCKCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MSTS:5;\r
+               } BIT;\r
+       } MOSCWTCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char SSTS:5;\r
+               } BIT;\r
+       } SOSCWTCR;\r
+       char           wk8[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSTS:5;\r
+               } BIT;\r
+       } PLLWTCR;\r
+       char           wk9[25];\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
+               } BIT;\r
+       } RSTSR2;\r
+       char           wk10[1];\r
+       unsigned short SWRR;\r
+       char           wk11[28];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD1IDTSEL:2;\r
+               } BIT;\r
+       } LVD1CR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD1MON:1;\r
+                       unsigned char LVD1DET:1;\r
+               } BIT;\r
+       } LVD1SR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD2IDTSEL:2;\r
+               } BIT;\r
+       } LVD2CR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD2MON:1;\r
+                       unsigned char LVD2DET:1;\r
+               } BIT;\r
+       } LVD2SR;\r
+       char           wk12[794];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRKEY:8;\r
+                       unsigned short :4;\r
+                       unsigned short PRC3:1;\r
+                       unsigned short :1;\r
+                       unsigned short PRC1:1;\r
+                       unsigned short PRC0:1;\r
+               } BIT;\r
+       } PRCR;\r
+       char           wk13[48768];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSBY:1;\r
+                       unsigned char IOKEEP:1;\r
+                       unsigned char :4;\r
+                       unsigned char DEEPCUT:2;\r
+               } BIT;\r
+       } DPSBYCR;\r
+       char           wk14[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ7E:1;\r
+                       unsigned char DIRQ6E:1;\r
+                       unsigned char DIRQ5E:1;\r
+                       unsigned char DIRQ4E:1;\r
+                       unsigned char DIRQ3E:1;\r
+                       unsigned char DIRQ2E:1;\r
+                       unsigned char DIRQ1E:1;\r
+                       unsigned char DIRQ0E:1;\r
+               } BIT;\r
+       } DPSIER0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ15E:1;\r
+                       unsigned char DIRQ14E:1;\r
+                       unsigned char DIRQ13E:1;\r
+                       unsigned char DIRQ12E:1;\r
+                       unsigned char DIRQ11E:1;\r
+                       unsigned char DIRQ10E:1;\r
+                       unsigned char DIRQ9E:1;\r
+                       unsigned char DIRQ8E:1;\r
+               } BIT;\r
+       } DPSIER1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DUSBIE:1;\r
+                       unsigned char DIICCIE:1;\r
+                       unsigned char DIICDIE:1;\r
+                       unsigned char DNMIE:1;\r
+                       unsigned char DRTCAIE:1;\r
+                       unsigned char DRTCIIE:1;\r
+                       unsigned char DLVD2IE:1;\r
+                       unsigned char DLVD1IE:1;\r
+               } BIT;\r
+       } DPSIER2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DCANIE:1;\r
+               } BIT;\r
+       } DPSIER3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ7F:1;\r
+                       unsigned char DIRQ6F:1;\r
+                       unsigned char DIRQ5F:1;\r
+                       unsigned char DIRQ4F:1;\r
+                       unsigned char DIRQ3F:1;\r
+                       unsigned char DIRQ2F:1;\r
+                       unsigned char DIRQ1F:1;\r
+                       unsigned char DIRQ0F:1;\r
+               } BIT;\r
+       } DPSIFR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ15F:1;\r
+                       unsigned char DIRQ14F:1;\r
+                       unsigned char DIRQ13F:1;\r
+                       unsigned char DIRQ12F:1;\r
+                       unsigned char DIRQ11F:1;\r
+                       unsigned char DIRQ10F:1;\r
+                       unsigned char DIRQ9F:1;\r
+                       unsigned char DIRQ8F:1;\r
+               } BIT;\r
+       } DPSIFR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DUSBIF:1;\r
+                       unsigned char DIICCIF:1;\r
+                       unsigned char DIICDIF:1;\r
+                       unsigned char DNMIF:1;\r
+                       unsigned char DRTCAIF:1;\r
+                       unsigned char DRTCIIF:1;\r
+                       unsigned char DLVD2IF:1;\r
+                       unsigned char DLVD1IF:1;\r
+               } BIT;\r
+       } DPSIFR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DCANIF:1;\r
+               } BIT;\r
+       } DPSIFR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ7EG:1;\r
+                       unsigned char DIRQ6EG:1;\r
+                       unsigned char DIRQ5EG:1;\r
+                       unsigned char DIRQ4EG:1;\r
+                       unsigned char DIRQ3EG:1;\r
+                       unsigned char DIRQ2EG:1;\r
+                       unsigned char DIRQ1EG:1;\r
+                       unsigned char DIRQ0EG:1;\r
+               } BIT;\r
+       } DPSIEGR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ15EG:1;\r
+                       unsigned char DIRQ14EG:1;\r
+                       unsigned char DIRQ13EG:1;\r
+                       unsigned char DIRQ12EG:1;\r
+                       unsigned char DIRQ11EG:1;\r
+                       unsigned char DIRQ10EG:1;\r
+                       unsigned char DIRQ9EG:1;\r
+                       unsigned char DIRQ8EG:1;\r
+               } BIT;\r
+       } DPSIEGR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DIICCEG:1;\r
+                       unsigned char DIICDEG:1;\r
+                       unsigned char DNMIEG:1;\r
+                       unsigned char :2;\r
+                       unsigned char DLVD2EG:1;\r
+                       unsigned char DLVD1EG:1;\r
+               } BIT;\r
+       } DPSIEGR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DCANIEG:1;\r
+               } BIT;\r
+       } DPSIEGR3;\r
+       char           wk15[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSRSTF:1;\r
+                       unsigned char :3;\r
+                       unsigned char LVD2RF:1;\r
+                       unsigned char LVD1RF:1;\r
+                       unsigned char LVD0RF:1;\r
+                       unsigned char PORF:1;\r
+               } BIT;\r
+       } RSTSR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char CWSF:1;\r
+               } BIT;\r
+       } RSTSR1;\r
+       char           wk16[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char MOFXIN:1;\r
+               } BIT;\r
+       } MOFCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char HOCOPCNT:1;\r
+               } BIT;\r
+       } HOCOPCR;\r
+       char           wk17[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char LVD2E:1;\r
+                       unsigned char LVD1E:1;\r
+               } BIT;\r
+       } LVCMPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char LVD2LVL:4;\r
+                       unsigned char LVD1LVL:4;\r
+               } BIT;\r
+       } LVDLVLR;\r
+       char           wk18[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char LVD1RN:1;\r
+                       unsigned char LVD1RI:1;\r
+                       unsigned char LVD1FSAMP:2;\r
+                       unsigned char :1;\r
+                       unsigned char LVD1CMPE:1;\r
+                       unsigned char LVD1DFDIS:1;\r
+                       unsigned char LVD1RIE:1;\r
+               } BIT;\r
+       } LVD1CR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char LVD2RN:1;\r
+                       unsigned char LVD2RI:1;\r
+                       unsigned char LVD2FSAMP:2;\r
+                       unsigned char :1;\r
+                       unsigned char LVD2CMPE:1;\r
+                       unsigned char LVD2DFDIS:1;\r
+                       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
+       unsigned char  DPSBKR[32];\r
+       char           wk21[1472];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char SCK:2;\r
+               } BIT;\r
+       } SCK1;\r
+       char           wk22[15];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char SCK:2;\r
+               } BIT;\r
+       } SCK2;\r
+};\r
+\r
+struct st_temps {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TSEN:1;\r
+                       unsigned char :2;\r
+                       unsigned char TSOE:1;\r
+               } BIT;\r
+       } TSCR;\r
+};\r
+\r
+struct st_tmr0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CMIEB:1;\r
+                       unsigned char CMIEA:1;\r
+                       unsigned char OVIE:1;\r
+                       unsigned char CCLR:2;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char ADTE:1;\r
+                       unsigned char OSB:2;\r
+                       unsigned char OSA:2;\r
+               } BIT;\r
+       } TCSR;\r
+       char           wk1[1];\r
+       unsigned char  TCORA;\r
+       char           wk2[1];\r
+       unsigned char  TCORB;\r
+       char           wk3[1];\r
+       unsigned char  TCNT;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TMRIS:1;\r
+                       unsigned char :2;\r
+                       unsigned char CSS:2;\r
+                       unsigned char CKS:3;\r
+               } BIT;\r
+       } TCCR;\r
+};\r
+\r
+struct st_tmr1 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CMIEB:1;\r
+                       unsigned char CMIEA:1;\r
+                       unsigned char OVIE:1;\r
+                       unsigned char CCLR:2;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char OSB:2;\r
+                       unsigned char OSA:2;\r
+               } BIT;\r
+       } TCSR;\r
+       char           wk1[1];\r
+       unsigned char  TCORA;\r
+       char           wk2[1];\r
+       unsigned char  TCORB;\r
+       char           wk3[1];\r
+       unsigned char  TCNT;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TMRIS:1;\r
+                       unsigned char :2;\r
+                       unsigned char CSS:2;\r
+                       unsigned char CKS:3;\r
+               } BIT;\r
+       } TCCR;\r
+};\r
+\r
+struct st_tmr01 {\r
+       unsigned short TCORA;\r
+       unsigned short TCORB;\r
+       unsigned short TCNT;\r
+       unsigned short TCCR;\r
+};\r
+\r
+struct st_tpu0 {\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
+       } NFCR;\r
+       char           wk0[7];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+};\r
+\r
+struct st_tpu1 {\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
+       } NFCR;\r
+       char           wk1[22];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpu2 {\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
+       } NFCR;\r
+       char           wk0[37];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpu3 {\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
+       } NFCR;\r
+       char           wk1[52];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+};\r
+\r
+struct st_tpu4 {\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
+       } NFCR;\r
+       char           wk0[67];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpu5 {\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
+       } NFCR;\r
+       char           wk1[82];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpua {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char CST5:1;\r
+                       unsigned char CST4:1;\r
+                       unsigned char CST3:1;\r
+                       unsigned char CST2:1;\r
+                       unsigned char CST1:1;\r
+                       unsigned char CST0:1;\r
+               } BIT;\r
+       } TSTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char SYNC5:1;\r
+                       unsigned char SYNC4:1;\r
+                       unsigned char SYNC3:1;\r
+                       unsigned char SYNC2:1;\r
+                       unsigned char SYNC1:1;\r
+                       unsigned char SYNC0:1;\r
+               } BIT;\r
+       } TSYR;\r
+};\r
+\r
+struct st_tpub {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char CST11:1;\r
+                       unsigned char CST10:1;\r
+                       unsigned char CST9:1;\r
+                       unsigned char CST8:1;\r
+                       unsigned char CST7:1;\r
+                       unsigned char CST6:1;\r
+               } BIT;\r
+       } TSTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char SYNC11:1;\r
+                       unsigned char SYNC10:1;\r
+                       unsigned char SYNC9:1;\r
+                       unsigned char SYNC8:1;\r
+                       unsigned char SYNC7:1;\r
+                       unsigned char SYNC6:1;\r
+               } BIT;\r
+       } TSYR;\r
+};\r
+\r
+struct st_usb {\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long DVSTS1:1;\r
+                       unsigned long :5;\r
+                       unsigned long DM1:1;\r
+                       unsigned long DP1:1;\r
+                       unsigned long DVBSTS0:1;\r
+                       unsigned long :1;\r
+                       unsigned long DOVCB0:1;\r
+                       unsigned long DOVCA0:1;\r
+                       unsigned long :2;\r
+                       unsigned long DM0:1;\r
+                       unsigned long DP0:1;\r
+                       unsigned long :3;\r
+                       unsigned long FIXPHY1:1;\r
+                       unsigned long :3;\r
+                       unsigned long SRPC1:1;\r
+                       unsigned long :3;\r
+                       unsigned long FIXPHY0:1;\r
+                       unsigned long :3;\r
+                       unsigned long SRPC0:1;\r
+               } BIT;\r
+       } DPUSR0R;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long DVBINT1:1;\r
+                       unsigned long :5;\r
+                       unsigned long DMINT1:1;\r
+                       unsigned long DPINT1:1;\r
+                       unsigned long DVBINT0:1;\r
+                       unsigned long :1;\r
+                       unsigned long DOVRCRB0:1;\r
+                       unsigned long DOVRCRA0:1;\r
+                       unsigned long :2;\r
+                       unsigned long DMINT0:1;\r
+                       unsigned long DPINT0:1;\r
+                       unsigned long DVBSE1:1;\r
+                       unsigned long :5;\r
+                       unsigned long DMINTE1:1;\r
+                       unsigned long DPINTE1:1;\r
+                       unsigned long DVBSE0:1;\r
+                       unsigned long :1;\r
+                       unsigned long DOVRCRBE0:1;\r
+                       unsigned long DOVRCRAE0:1;\r
+                       unsigned long :2;\r
+                       unsigned long DMINTE0:1;\r
+                       unsigned long DPINTE0:1;\r
+               } BIT;\r
+       } DPUSR1R;\r
+};\r
+\r
+struct st_usb0 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short SCKE:1;\r
+                       unsigned short :3;\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
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short OVCMON:2;\r
+                       unsigned short :7;\r
+                       unsigned short HTACT:1;\r
+                       unsigned short :3;\r
+                       unsigned short IDMON:1;\r
+                       unsigned short LNST:2;\r
+               } BIT;\r
+       } SYSSTS0;\r
+       char           wk1[2];\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
+       } DVSTCTR0;\r
+       char           wk2[10];\r
+       //ORIG: unsigned short CFIFO;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char L;\r
+                       unsigned char H;\r
+               } BYTE;\r
+       } CFIFO;\r
+    //ENDORIG\r
+       char           wk3[2];\r
+       //ORIG: unsigned short D0FIFO;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char L;\r
+                       unsigned char H;\r
+               } BYTE;\r
+       } D0FIFO;\r
+    //ENDORIG\r
+       char           wk4[2];\r
+       //ORIG: unsigned short D1FIFO;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned char L;\r
+                       unsigned char H;\r
+               } BYTE;\r
+       } D1FIFO;\r
+    //ENDORIG\r
+       char           wk5[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RCNT:1;\r
+                       unsigned short REW:1;\r
+                       unsigned short :3;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\r
+               } BIT;\r
+       } CFIFOCTR;\r
+       char           wk6[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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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
+       } 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 :4;\r
+                       unsigned short EOFERRE:1;\r
+                       unsigned short SIGNE:1;\r
+                       unsigned short SACKE:1;\r
+               } BIT;\r
+       } INTENB1;\r
+       char           wk7[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :6;\r
+                       unsigned short PIPE9BRDYE:1;\r
+                       unsigned short PIPE8BRDYE:1;\r
+                       unsigned short PIPE7BRDYE:1;\r
+                       unsigned short PIPE6BRDYE:1;\r
+                       unsigned short PIPE5BRDYE:1;\r
+                       unsigned short PIPE4BRDYE:1;\r
+                       unsigned short PIPE3BRDYE:1;\r
+                       unsigned short PIPE2BRDYE:1;\r
+                       unsigned short PIPE1BRDYE:1;\r
+                       unsigned short PIPE0BRDYE:1;\r
+               } BIT;\r
+       } BRDYENB;\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
+       } NRDYENB;\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 PIPE7BEMPE:1;\r
+                       unsigned short PIPE6BEMPE:1;\r
+                       unsigned short PIPE5BEMPE:1;\r
+                       unsigned short PIPE4BEMPE:1;\r
+                       unsigned short PIPE3BEMPE:1;\r
+                       unsigned short PIPE2BEMPE:1;\r
+                       unsigned short PIPE1BEMPE:1;\r
+                       unsigned short PIPE0BEMPE:1;\r
+               } BIT;\r
+       } 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 :1;\r
+                       unsigned short EDGESTS:1;\r
+               } BIT;\r
+       } SOFCFG;\r
+       char           wk8[2];\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
+       } 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 :4;\r
+                       unsigned short EOFERR:1;\r
+                       unsigned short SIGN:1;\r
+                       unsigned short SACK:1;\r
+               } BIT;\r
+       } INTSTS1;\r
+       char           wk9[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
+       } 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
+       } 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
+       } 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
+       } FRMNUM;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DVCHG:1;\r
+               } BIT;\r
+       } DVCHGR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short STSRECOV:4;\r
+                       unsigned short :1;\r
+                       unsigned short USBADDR:7;\r
+               } BIT;\r
+       } USBADDR;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BREQUEST:8;\r
+                       unsigned short BMREQUESTTYPE:8;\r
+               } BIT;\r
+       } USBREQ;\r
+       unsigned short USBVAL;\r
+       unsigned short USBINDX;\r
+       unsigned short USBLENG;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\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
+       } DCPMAXP;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short SUREQ:1;\r
+                       unsigned short :2;\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 :2;\r
+                       unsigned short CCPL:1;\r
+                       unsigned short PID:2;\r
+               } BIT;\r
+       } DCPCTR;\r
+       char           wk11[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :12;\r
+                       unsigned short PIPESEL:4;\r
+               } BIT;\r
+       } PIPESEL;\r
+       char           wk12[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 :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
+       char           wk13[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DEVSEL:4;\r
+                       unsigned short :3;\r
+                       unsigned short MXPS:9;\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
+       } PIPEPERI;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short INBUFM:1;\r
+                       unsigned short :3;\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 :3;\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 :3;\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 :3;\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 :3;\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 :5;\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 :5;\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 :5;\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 :5;\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           wk14[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
+       } PIPE1TRE;\r
+       unsigned short 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
+       } PIPE2TRE;\r
+       unsigned short 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
+       } PIPE3TRE;\r
+       unsigned short 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
+       } PIPE4TRE;\r
+       unsigned short 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
+       } PIPE5TRE;\r
+       unsigned short PIPE5TRN;\r
+       char           wk15[44];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD4;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD5;\r
+};\r
+\r
+struct st_usb1 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short SCKE:1;\r
+                       unsigned short :3;\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
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short OVCMON:2;\r
+                       unsigned short :7;\r
+                       unsigned short HTACT:1;\r
+                       unsigned short :3;\r
+                       unsigned short IDMON:1;\r
+                       unsigned short LNST:2;\r
+               } BIT;\r
+       } SYSSTS0;\r
+       char           wk1[2];\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
+       } DVSTCTR0;\r
+       char           wk2[10];\r
+       unsigned short CFIFO;\r
+       char           wk3[2];\r
+       unsigned short D0FIFO;\r
+       char           wk4[2];\r
+       unsigned short D1FIFO;\r
+       char           wk5[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RCNT:1;\r
+                       unsigned short REW:1;\r
+                       unsigned short :3;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\r
+               } BIT;\r
+       } CFIFOCTR;\r
+       char           wk6[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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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
+       } INTENB0;\r
+       char           wk7[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :6;\r
+                       unsigned short PIPE9BRDYE:1;\r
+                       unsigned short PIPE8BRDYE:1;\r
+                       unsigned short PIPE7BRDYE:1;\r
+                       unsigned short PIPE6BRDYE:1;\r
+                       unsigned short PIPE5BRDYE:1;\r
+                       unsigned short PIPE4BRDYE:1;\r
+                       unsigned short PIPE3BRDYE:1;\r
+                       unsigned short PIPE2BRDYE:1;\r
+                       unsigned short PIPE1BRDYE:1;\r
+                       unsigned short PIPE0BRDYE:1;\r
+               } BIT;\r
+       } BRDYENB;\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
+       } NRDYENB;\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 PIPE7BEMPE:1;\r
+                       unsigned short PIPE6BEMPE:1;\r
+                       unsigned short PIPE5BEMPE:1;\r
+                       unsigned short PIPE4BEMPE:1;\r
+                       unsigned short PIPE3BEMPE:1;\r
+                       unsigned short PIPE2BEMPE:1;\r
+                       unsigned short PIPE1BEMPE:1;\r
+                       unsigned short PIPE0BEMPE:1;\r
+               } BIT;\r
+       } BEMPENB;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :9;\r
+                       unsigned short BRDYM:1;\r
+                       unsigned short :1;\r
+                       unsigned short EDGESTS:1;\r
+               } BIT;\r
+       } SOFCFG;\r
+       char           wk8[2];\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
+       } INTSTS0;\r
+       char           wk9[4];\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
+       } 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
+       } 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
+       } 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
+       } FRMNUM;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DVCHG:1;\r
+               } BIT;\r
+       } DVCHGR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short STSRECOV:4;\r
+                       unsigned short :1;\r
+                       unsigned short USBADDR:7;\r
+               } BIT;\r
+       } USBADDR;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BREQUEST:8;\r
+                       unsigned short BMREQUESTTYPE:8;\r
+               } BIT;\r
+       } USBREQ;\r
+       unsigned short USBVAL;\r
+       unsigned short USBINDX;\r
+       unsigned short USBLENG;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\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
+       } DCPMAXP;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short SUREQ:1;\r
+                       unsigned short :2;\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 :2;\r
+                       unsigned short CCPL:1;\r
+                       unsigned short PID:2;\r
+               } BIT;\r
+       } DCPCTR;\r
+       char           wk11[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :12;\r
+                       unsigned short PIPESEL:4;\r
+               } BIT;\r
+       } PIPESEL;\r
+       char           wk12[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 :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
+       char           wk13[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DEVSEL:4;\r
+                       unsigned short :3;\r
+                       unsigned short MXPS:9;\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
+       } PIPEPERI;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short INBUFM:1;\r
+                       unsigned short :3;\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 :3;\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 :3;\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 :3;\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 :3;\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 :5;\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 :5;\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 :5;\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 :5;\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           wk14[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
+       } PIPE1TRE;\r
+       unsigned short 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
+       } PIPE2TRE;\r
+       unsigned short 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
+       } PIPE3TRE;\r
+       unsigned short 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
+       } PIPE4TRE;\r
+       unsigned short 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
+       } PIPE5TRE;\r
+       unsigned short PIPE5TRN;\r
+       char           wk15[44];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD4;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD5;\r
+};\r
+\r
+struct st_wdt {\r
+       unsigned char  WDTRR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short RPSS:2;\r
+                       unsigned short :2;\r
+                       unsigned short RPES:2;\r
+                       unsigned short CKS:4;\r
+                       unsigned short :2;\r
+                       unsigned short TOPS:2;\r
+               } BIT;\r
+       } WDTCR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short REFEF:1;\r
+                       unsigned short UNDFF:1;\r
+                       unsigned short CNTVAL:14;\r
+               } BIT;\r
+       } WDTSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RSTIRQS:1;\r
+               } BIT;\r
+       } WDTRCR;\r
+};\r
+\r
+enum enum_ir {\r
+IR_BSC_BUSERR=16,IR_FCU_FIFERR=21,\r
+IR_ICU_SWINT=27,\r
+IR_CMT0_CMI0,\r
+IR_CMT1_CMI1,\r
+IR_CMT2_CMI2,\r
+IR_CMT3_CMI3,\r
+IR_ETHER_EINT,\r
+IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,IR_USB0_USBI0,\r
+IR_USB1_D0FIFO1,IR_USB1_D1FIFO1,IR_USB1_USBI1,\r
+IR_RSPI0_SPRI0,IR_RSPI0_SPTI0,IR_RSPI0_SPII0,\r
+IR_RSPI1_SPRI1,IR_RSPI1_SPTI1,IR_RSPI1_SPII1,\r
+IR_RSPI2_SPRI2,IR_RSPI2_SPTI2,IR_RSPI2_SPII2,\r
+IR_CAN0_RXF0,IR_CAN0_TXF0,IR_CAN0_RXM0,IR_CAN0_TXM0,\r
+IR_CAN1_RXF1,IR_CAN1_TXF1,IR_CAN1_RXM1,IR_CAN1_TXM1,\r
+IR_CAN2_RXF2,IR_CAN2_TXF2,IR_CAN2_RXM2,IR_CAN2_TXM2,\r
+IR_RTC_COUNTUP=62,\r
+IR_ICU_IRQ0=64,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_USB_USBR0=90,IR_USB_USBR1,\r
+IR_RTC_ALARM,IR_RTC_PRD,\r
+IR_AD0_ADI0=98,\r
+IR_S12AD0_S12ADI0=102,\r
+IR_ICU_GROUPE0=106,IR_ICU_GROUPE1,IR_ICU_GROUPE2,IR_ICU_GROUPE3,IR_ICU_GROUPE4,IR_ICU_GROUPE5,IR_ICU_GROUPE6,IR_ICU_GROUPL0=114,\r
+IR_SCIX_SCIX0=122,IR_SCIX_SCIX1,IR_SCIX_SCIX2,IR_SCIX_SCIX3,\r
+IR_TPU0_TGI0A,IR_TPU0_TGI0B,IR_TPU0_TGI0C,IR_TPU0_TGI0D,\r
+IR_TPU1_TGI1A,IR_TPU1_TGI1B,\r
+IR_TPU2_TGI2A,IR_TPU2_TGI2B,\r
+IR_TPU3_TGI3A,IR_TPU3_TGI3B,IR_TPU3_TGI3C,IR_TPU3_TGI3D,\r
+IR_TPU4_TGI4A,IR_TPU4_TGI4B,\r
+IR_TPU5_TGI5A,IR_TPU5_TGI5B,\r
+IR_TPU6_TGI6A,IR_TPU6_TGI6B,IR_TPU6_TGI6C,IR_TPU6_TGI6D,\r
+IR_MTU0_TGIA0=142,IR_MTU0_TGIB0,IR_MTU0_TGIC0,IR_MTU0_TGID0,IR_MTU0_TGIE0,IR_MTU0_TGIF0,\r
+IR_TPU7_TGI7A,IR_TPU7_TGI7B,\r
+IR_MTU1_TGIA1=148,IR_MTU1_TGIB1,\r
+IR_TPU8_TGI8A,IR_TPU8_TGI8B,\r
+IR_MTU2_TGIA2=150,IR_MTU2_TGIB2,\r
+IR_TPU9_TGI9A,IR_TPU9_TGI9B,IR_TPU9_TGI9C,IR_TPU9_TGI9D,\r
+IR_MTU3_TGIA3=152,IR_MTU3_TGIB3,IR_MTU3_TGIC3,IR_MTU3_TGID3,\r
+IR_TPU10_TGI10A,IR_TPU10_TGI10B,\r
+IR_MTU4_TGIA4=156,IR_MTU4_TGIB4,IR_MTU4_TGIC4,IR_MTU4_TGID4,IR_MTU4_TCIV4,\r
+IR_MTU5_TGIU5,IR_MTU5_TGIV5,IR_MTU5_TGIW5,\r
+IR_TPU11_TGI11A,IR_TPU11_TGI11B,\r
+IR_POE_OEI1,IR_POE_OEI2,\r
+IR_TMR0_CMIA0=170,IR_TMR0_CMIB0,IR_TMR0_OVI0,\r
+IR_TMR1_CMIA1,IR_TMR1_CMIB1,IR_TMR1_OVI1,\r
+IR_TMR2_CMIA2,IR_TMR2_CMIB2,IR_TMR2_OVI2,\r
+IR_TMR3_CMIA3,IR_TMR3_CMIB3,IR_TMR3_OVI3,\r
+IR_RIIC0_EEI0,IR_RIIC0_RXI0,IR_RIIC0_TXI0,IR_RIIC0_TEI0,\r
+IR_RIIC1_EEI1,IR_RIIC1_RXI1,IR_RIIC1_TXI1,IR_RIIC1_TEI1,\r
+IR_RIIC2_EEI2,IR_RIIC2_RXI2,IR_RIIC2_TXI2,IR_RIIC2_TEI2,\r
+IR_RIIC3_EEI3,IR_RIIC3_RXI3,IR_RIIC3_TXI3,IR_RIIC3_TEI3,\r
+IR_DMAC_DMAC0I,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,\r
+IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
+IR_SCI0_RXI0=214,IR_SCI0_TXI0,IR_SCI0_TEI0,\r
+IR_SCI1_RXI1,IR_SCI1_TXI1,IR_SCI1_TEI1,\r
+IR_SCI2_RXI2,IR_SCI2_TXI2,IR_SCI2_TEI2,\r
+IR_SCI3_RXI3,IR_SCI3_TXI3,IR_SCI3_TEI3,\r
+IR_SCI4_RXI4,IR_SCI4_TXI4,IR_SCI4_TEI4,\r
+IR_SCI5_RXI5,IR_SCI5_TXI5,IR_SCI5_TEI5,\r
+IR_SCI6_RXI6,IR_SCI6_TXI6,IR_SCI6_TEI6,\r
+IR_SCI7_RXI7,IR_SCI7_TXI7,IR_SCI7_TEI7,\r
+IR_SCI8_RXI8,IR_SCI8_TXI8,IR_SCI8_TEI8,\r
+IR_SCI9_RXI9,IR_SCI9_TXI9,IR_SCI9_TEI9,\r
+IR_SCI10_RXI10,IR_SCI10_TXI10,IR_SCI10_TEI10,\r
+IR_SCI11_RXI11,IR_SCI11_TXI11,IR_SCI11_TEI11,\r
+IR_SCI12_RXI12,IR_SCI12_TXI12,IR_SCI12_TEI12,\r
+IR_IEB_IEBINT\r
+};\r
+\r
+enum enum_dtce {\r
+DTCE_ICU_SWINT=27,\r
+DTCE_CMT0_CMI0,\r
+DTCE_CMT1_CMI1,\r
+DTCE_CMT2_CMI2,\r
+DTCE_CMT3_CMI3,\r
+DTCE_USB0_D0FIFO0=33,DTCE_USB0_D1FIFO0,\r
+DTCE_USB1_D0FIFO1=36,DTCE_USB1_D1FIFO1,\r
+DTCE_RSPI0_SPRI0=39,DTCE_RSPI0_SPTI0,\r
+DTCE_RSPI1_SPRI1=42,DTCE_RSPI1_SPTI1,\r
+DTCE_RSPI2_SPRI2=45,DTCE_RSPI2_SPTI2,\r
+DTCE_ICU_IRQ0=64,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_AD0_ADI0=98,\r
+DTCE_S12AD0_S12ADI0=102,\r
+DTCE_TPU0_TGI0A=126,DTCE_TPU0_TGI0B,DTCE_TPU0_TGI0C,DTCE_TPU0_TGI0D,\r
+DTCE_TPU1_TGI1A,DTCE_TPU1_TGI1B,\r
+DTCE_TPU2_TGI2A,DTCE_TPU2_TGI2B,\r
+DTCE_TPU3_TGI3A,DTCE_TPU3_TGI3B,DTCE_TPU3_TGI3C,DTCE_TPU3_TGI3D,\r
+DTCE_TPU4_TGI4A,DTCE_TPU4_TGI4B,\r
+DTCE_TPU5_TGI5A,DTCE_TPU5_TGI5B,\r
+DTCE_TPU6_TGI6A,DTCE_TPU6_TGI6B,DTCE_TPU6_TGI6C,DTCE_TPU6_TGI6D,\r
+DTCE_MTU0_TGIA0=142,DTCE_MTU0_TGIB0,DTCE_MTU0_TGIC0,DTCE_MTU0_TGID0,\r
+DTCE_TPU7_TGI7A=148,DTCE_TPU7_TGI7B,\r
+DTCE_MTU1_TGIA1=148,DTCE_MTU1_TGIB1,\r
+DTCE_TPU8_TGI8A,DTCE_TPU8_TGI8B,\r
+DTCE_MTU2_TGIA2=150,DTCE_MTU2_TGIB2,\r
+DTCE_TPU9_TGI9A,DTCE_TPU9_TGI9B,DTCE_TPU9_TGI9C,DTCE_TPU9_TGI9D,\r
+DTCE_MTU3_TGIA3=152,DTCE_MTU3_TGIB3,DTCE_MTU3_TGIC3,DTCE_MTU3_TGID3,\r
+DTCE_TPU10_TGI10A,DTCE_TPU10_TGI10B,\r
+DTCE_MTU4_TGIA4=156,DTCE_MTU4_TGIB4,DTCE_MTU4_TGIC4,DTCE_MTU4_TGID4,DTCE_MTU4_TCIV4,\r
+DTCE_MTU5_TGIU5,DTCE_MTU5_TGIV5,DTCE_MTU5_TGIW5,\r
+DTCE_TPU11_TGI11A,DTCE_TPU11_TGI11B,\r
+DTCE_TMR0_CMIA0=170,DTCE_TMR0_CMIB0,\r
+DTCE_TMR1_CMIA1=173,DTCE_TMR1_CMIB1,\r
+DTCE_TMR2_CMIA2=176,DTCE_TMR2_CMIB2,\r
+DTCE_TMR3_CMIA3=179,DTCE_TMR3_CMIB3,\r
+DTCE_RIIC0_RXI0=183,DTCE_RIIC0_TXI0,\r
+DTCE_RIIC1_RXI1=187,DTCE_RIIC1_TXI1,\r
+DTCE_RIIC2_RXI2=191,DTCE_RIIC2_TXI2,\r
+DTCE_RIIC3_RXI3=195,DTCE_RIIC3_TXI3,\r
+DTCE_DMAC_DMAC0I=198,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
+DTCE_EXDMAC_EXDMAC0I,DTCE_EXDMAC_EXDMAC1I,\r
+DTCE_SCI0_RXI0=214,DTCE_SCI0_TXI0,\r
+DTCE_SCI1_RXI1=217,DTCE_SCI1_TXI1,\r
+DTCE_SCI2_RXI2=220,DTCE_SCI2_TXI2,\r
+DTCE_SCI3_RXI3=223,DTCE_SCI3_TXI3,\r
+DTCE_SCI4_RXI4=226,DTCE_SCI4_TXI4,\r
+DTCE_SCI5_RXI5=229,DTCE_SCI5_TXI5,\r
+DTCE_SCI6_RXI6=232,DTCE_SCI6_TXI6,\r
+DTCE_SCI7_RXI7=235,DTCE_SCI7_TXI7,\r
+DTCE_SCI8_RXI8=238,DTCE_SCI8_TXI8,\r
+DTCE_SCI9_RXI9=241,DTCE_SCI9_TXI9,\r
+DTCE_SCI10_RXI10=244,DTCE_SCI10_TXI10,\r
+DTCE_SCI11_RXI11=247,DTCE_SCI11_TXI11,\r
+DTCE_SCI12_RXI12=250,DTCE_SCI12_TXI12\r
+};\r
+\r
+enum enum_ier {\r
+IER_BSC_BUSERR=0x02,\r
+IER_FCU_FIFERR=0x02,IER_FCU_FRDYI=0x02,\r
+IER_ICU_SWINT=0x03,\r
+IER_CMT0_CMI0=0x03,\r
+IER_CMT1_CMI1=0x03,\r
+IER_CMT2_CMI2=0x03,\r
+IER_CMT3_CMI3=0x03,\r
+IER_ETHER_EINT=0x04,\r
+IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,IER_USB0_USBI0=0x04,\r
+IER_USB1_D0FIFO1=0x04,IER_USB1_D1FIFO1=0x04,IER_USB1_USBI1=0x04,\r
+IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x05,IER_RSPI0_SPII0=0x05,\r
+IER_RSPI1_SPRI1=0x05,IER_RSPI1_SPTI1=0x05,IER_RSPI1_SPII1=0x05,\r
+IER_RSPI2_SPRI2=0x05,IER_RSPI2_SPTI2=0x05,IER_RSPI2_SPII2=0x05,\r
+IER_CAN0_RXF0=0x06,IER_CAN0_TXF0=0x06,IER_CAN0_RXM0=0x06,IER_CAN0_TXM0=0x06,\r
+IER_CAN1_RXF1=0x06,IER_CAN1_TXF1=0x06,IER_CAN1_RXM1=0x06,IER_CAN1_TXM1=0x06,\r
+IER_CAN2_RXF2=0x07,IER_CAN2_TXF2=0x07,IER_CAN2_RXM2=0x07,IER_CAN2_TXM2=0x07,\r
+IER_RTC_COUNTUP=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_USB_USBR0=0x0B,IER_USB_USBR1=0x0B,\r
+IER_RTC_ALARM=0x0B,IER_RTC_PRD=0x0B,\r
+IER_AD0_ADI0=0x0C,\r
+IER_S12AD0_S12ADI0=0x0C,\r
+IER_ICU_GROUPE0=0x0D,IER_ICU_GROUPE1=0x0D,IER_ICU_GROUPE2=0x0D,IER_ICU_GROUPE3=0x0D,IER_ICU_GROUPE4=0x0D,IER_ICU_GROUPE5=0x0D,IER_ICU_GROUPE6=0x0E,IER_ICU_GROUPL0=0x0E,\r
+IER_SCIX_SCIX0=0x0F,IER_SCIX_SCIX1=0x0F,IER_SCIX_SCIX2=0x0F,IER_SCIX_SCIX3=0x0F,\r
+IER_TPU0_TGI0A=0x0F,IER_TPU0_TGI0B=0x0F,IER_TPU0_TGI0C=0x10,IER_TPU0_TGI0D=0x10,\r
+IER_TPU1_TGI1A=0x10,IER_TPU1_TGI1B=0x10,\r
+IER_TPU2_TGI2A=0x10,IER_TPU2_TGI2B=0x10,\r
+IER_TPU3_TGI3A=0x10,IER_TPU3_TGI3B=0x10,IER_TPU3_TGI3C=0x11,IER_TPU3_TGI3D=0x11,\r
+IER_TPU4_TGI4A=0x11,IER_TPU4_TGI4B=0x11,\r
+IER_TPU5_TGI5A=0x11,IER_TPU5_TGI5B=0x11,\r
+IER_TPU6_TGI6A=0x11,IER_TPU6_TGI6B=0x11,IER_TPU6_TGI6C=0x12,IER_TPU6_TGI6D=0x12,\r
+IER_MTU0_TGIA0=0x11,IER_MTU0_TGIB0=0x11,IER_MTU0_TGIC0=0x12,IER_MTU0_TGID0=0x12,IER_MTU0_TGIE0=0x12,IER_MTU0_TGIF0=0x12,\r
+IER_TPU7_TGI7A=0x12,IER_TPU7_TGI7B=0x12,\r
+IER_MTU1_TGIA1=0x12,IER_MTU1_TGIB1=0x12,\r
+IER_TPU8_TGI8A=0x12,IER_TPU8_TGI8B=0x12,\r
+IER_MTU2_TGIA2=0x12,IER_MTU2_TGIB2=0x12,\r
+IER_TPU9_TGI9A=0x13,IER_TPU9_TGI9B=0x13,IER_TPU9_TGI9C=0x13,IER_TPU9_TGI9D=0x13,\r
+IER_MTU3_TGIA3=0x13,IER_MTU3_TGIB3=0x13,IER_MTU3_TGIC3=0x13,IER_MTU3_TGID3=0x13,\r
+IER_TPU10_TGI10A=0x13,IER_TPU10_TGI10B=0x13,\r
+IER_MTU4_TGIA4=0x13,IER_MTU4_TGIB4=0x13,IER_MTU4_TGIC4=0x13,IER_MTU4_TGID4=0x13,IER_MTU4_TCIV4=0x14,\r
+IER_MTU5_TGIU5=0x14,IER_MTU5_TGIV5=0x14,IER_MTU5_TGIW5=0x14,\r
+IER_TPU11_TGI11A=0x14,IER_TPU11_TGI11B=0x14,\r
+IER_POE_OEI1=0x14,IER_POE_OEI2=0x14,\r
+IER_TMR0_CMIA0=0x15,IER_TMR0_CMIB0=0x15,IER_TMR0_OVI0=0x15,\r
+IER_TMR1_CMIA1=0x15,IER_TMR1_CMIB1=0x15,IER_TMR1_OVI1=0x15,\r
+IER_TMR2_CMIA2=0x16,IER_TMR2_CMIB2=0x16,IER_TMR2_OVI2=0x16,\r
+IER_TMR3_CMIA3=0x16,IER_TMR3_CMIB3=0x16,IER_TMR3_OVI3=0x16,\r
+IER_RIIC0_EEI0=0x16,IER_RIIC0_RXI0=0x16,IER_RIIC0_TXI0=0x17,IER_RIIC0_TEI0=0x17,\r
+IER_RIIC1_EEI1=0x17,IER_RIIC1_RXI1=0x17,IER_RIIC1_TXI1=0x17,IER_RIIC1_TEI1=0x17,\r
+IER_RIIC2_EEI2=0x17,IER_RIIC2_RXI2=0x17,IER_RIIC2_TXI2=0x18,IER_RIIC2_TEI2=0x18,\r
+IER_RIIC3_EEI3=0x18,IER_RIIC3_RXI3=0x18,IER_RIIC3_TXI3=0x18,IER_RIIC3_TEI3=0x18,\r
+IER_DMAC_DMAC0I=0x18,IER_DMAC_DMAC1I=0x18,IER_DMAC_DMAC2I=0x19,IER_DMAC_DMAC3I=0x19,\r
+IER_EXDMAC_EXDMAC0I=0x19,IER_EXDMAC_EXDMAC1I=0x19,\r
+IER_SCI0_RXI0=0x1A,IER_SCI0_TXI0=0x1A,IER_SCI0_TEI0=0x1B,\r
+IER_SCI1_RXI1=0x1B,IER_SCI1_TXI1=0x1B,IER_SCI1_TEI1=0x1B,\r
+IER_SCI2_RXI2=0x1B,IER_SCI2_TXI2=0x1B,IER_SCI2_TEI2=0x1B,\r
+IER_SCI3_RXI3=0x1B,IER_SCI3_TXI3=0x1C,IER_SCI3_TEI3=0x1C,\r
+IER_SCI4_RXI4=0x1C,IER_SCI4_TXI4=0x1C,IER_SCI4_TEI4=0x1C,\r
+IER_SCI5_RXI5=0x1C,IER_SCI5_TXI5=0x1C,IER_SCI5_TEI5=0x1C,\r
+IER_SCI6_RXI6=0x1D,IER_SCI6_TXI6=0x1D,IER_SCI6_TEI6=0x1D,\r
+IER_SCI7_RXI7=0x1D,IER_SCI7_TXI7=0x1D,IER_SCI7_TEI7=0x1D,\r
+IER_SCI8_RXI8=0x1D,IER_SCI8_TXI8=0x1D,IER_SCI8_TEI8=0x1E,\r
+IER_SCI9_RXI9=0x1E,IER_SCI9_TXI9=0x1E,IER_SCI9_TEI9=0x1E,\r
+IER_SCI10_RXI10=0x1E,IER_SCI10_TXI10=0x1E,IER_SCI10_TEI10=0x1E,\r
+IER_SCI11_RXI11=0x1E,IER_SCI11_TXI11=0x1F,IER_SCI11_TEI11=0x1F,\r
+IER_SCI12_RXI12=0x1F,IER_SCI12_TXI12=0x1F,IER_SCI12_TEI12=0x1F,\r
+IER_IEB_IEBINT=0x1F\r
+};\r
+\r
+enum enum_ipr {\r
+IPR_BSC_BUSERR=0,\r
+IPR_FCU_FIFERR=1,IPR_FCU_FRDYI=2,\r
+IPR_ICU_SWINT=3,\r
+IPR_CMT0_CMI0=4,\r
+IPR_CMT1_CMI1=5,\r
+IPR_CMT2_CMI2=6,\r
+IPR_CMT3_CMI3=7,\r
+IPR_ETHER_EINT=32,\r
+IPR_USB0_D0FIFO0=33,IPR_USB0_D1FIFO0=34,IPR_USB0_USBI0=35,\r
+IPR_USB1_D0FIFO1=36,IPR_USB1_D1FIFO1=37,IPR_USB1_USBI1=38,\r
+IPR_RSPI0_SPRI0=39,IPR_RSPI0_SPTI0=39,IPR_RSPI0_SPII0=39,\r
+IPR_RSPI1_SPRI1=42,IPR_RSPI1_SPTI1=42,IPR_RSPI1_SPII1=42,\r
+IPR_RSPI2_SPRI2=45,IPR_RSPI2_SPTI2=45,IPR_RSPI2_SPII2=45,\r
+IPR_CAN0_RXF0=48,IPR_CAN0_TXF0=48,IPR_CAN0_RXM0=48,IPR_CAN0_TXM0=48,\r
+IPR_CAN1_RXF1=52,IPR_CAN1_TXF1=52,IPR_CAN1_RXM1=52,IPR_CAN1_TXM1=52,\r
+IPR_CAN2_RXF2=56,IPR_CAN2_TXF2=56,IPR_CAN2_RXM2=56,IPR_CAN2_TXM2=56,\r
+IPR_RTC_COUNTUP=62,\r
+IPR_ICU_IRQ0=64,IPR_ICU_IRQ1=65,IPR_ICU_IRQ2=66,IPR_ICU_IRQ3=67,IPR_ICU_IRQ4=68,IPR_ICU_IRQ5=69,IPR_ICU_IRQ6=70,IPR_ICU_IRQ7=71,IPR_ICU_IRQ8=72,IPR_ICU_IRQ9=73,IPR_ICU_IRQ10=74,IPR_ICU_IRQ11=75,IPR_ICU_IRQ12=76,IPR_ICU_IRQ13=77,IPR_ICU_IRQ14=78,IPR_ICU_IRQ15=79,\r
+IPR_USB_USBR0=90,IPR_USB_USBR1=91,\r
+IPR_RTC_ALARM=92,IPR_RTC_PRD=93,\r
+IPR_AD0_ADI0=98,\r
+IPR_S12AD0_S12ADI0=102,\r
+IPR_ICU_GROUPE0=106,IPR_ICU_GROUPE1=107,IPR_ICU_GROUPE2=108,IPR_ICU_GROUPE3=109,IPR_ICU_GROUPE4=110,IPR_ICU_GROUPE5=111,IPR_ICU_GROUPE6=112,IPR_ICU_GROUPL0=114,\r
+IPR_SCIX_SCIX0=122,IPR_SCIX_SCIX1=122,IPR_SCIX_SCIX2=122,IPR_SCIX_SCIX3=122,\r
+IPR_TPU0_TGI0A=126,IPR_TPU0_TGI0B=126,IPR_TPU0_TGI0C=126,IPR_TPU0_TGI0D=126,\r
+IPR_TPU1_TGI1A=130,IPR_TPU1_TGI1B=130,\r
+IPR_TPU2_TGI2A=132,IPR_TPU2_TGI2B=132,\r
+IPR_TPU3_TGI3A=134,IPR_TPU3_TGI3B=134,IPR_TPU3_TGI3C=134,IPR_TPU3_TGI3D=134,\r
+IPR_TPU4_TGI4A=138,IPR_TPU4_TGI4B=138,\r
+IPR_TPU5_TGI5A=140,IPR_TPU5_TGI5B=140,\r
+IPR_TPU6_TGI6A=142,IPR_TPU6_TGI6B=142,IPR_TPU6_TGI6C=142,IPR_TPU6_TGI6D=142,\r
+IPR_MTU0_TGIA0=142,IPR_MTU0_TGIB0=142,IPR_MTU0_TGIC0=142,IPR_MTU0_TGID0=142,IPR_MTU0_TGIE0=146,IPR_MTU0_TGIF0=146,\r
+IPR_TPU7_TGI7A=148,IPR_TPU7_TGI7B=148,\r
+IPR_MTU1_TGIA1=148,IPR_MTU1_TGIB1=148,\r
+IPR_TPU8_TGI8A=150,IPR_TPU8_TGI8B=150,\r
+IPR_MTU2_TGIA2=150,IPR_MTU2_TGIB2=150,\r
+IPR_TPU9_TGI9A=152,IPR_TPU9_TGI9B=152,IPR_TPU9_TGI9C=152,IPR_TPU9_TGI9D=152,\r
+IPR_MTU3_TGIA3=152,IPR_MTU3_TGIB3=152,IPR_MTU3_TGIC3=152,IPR_MTU3_TGID3=152,\r
+IPR_TPU10_TGI10A=156,IPR_TPU10_TGI10B=156,\r
+IPR_MTU4_TGIA4=156,IPR_MTU4_TGIB4=156,IPR_MTU4_TGIC4=156,IPR_MTU4_TGID4=156,IPR_MTU4_TCIV4=160,\r
+IPR_MTU5_TGIU5=161,IPR_MTU5_TGIV5=161,IPR_MTU5_TGIW5=161,\r
+IPR_TPU11_TGI11A=164,IPR_TPU11_TGI11B=164,\r
+IPR_POE_OEI1=166,IPR_POE_OEI2=166,\r
+IPR_TMR0_CMIA0=170,IPR_TMR0_CMIB0=170,IPR_TMR0_OVI0=170,\r
+IPR_TMR1_CMIA1=173,IPR_TMR1_CMIB1=173,IPR_TMR1_OVI1=173,\r
+IPR_TMR2_CMIA2=176,IPR_TMR2_CMIB2=176,IPR_TMR2_OVI2=176,\r
+IPR_TMR3_CMIA3=179,IPR_TMR3_CMIB3=179,IPR_TMR3_OVI3=179,\r
+IPR_RIIC0_EEI0=182,IPR_RIIC0_RXI0=183,IPR_RIIC0_TXI0=184,IPR_RIIC0_TEI0=185,\r
+IPR_RIIC1_EEI1=186,IPR_RIIC1_RXI1=187,IPR_RIIC1_TXI1=188,IPR_RIIC1_TEI1=189,\r
+IPR_RIIC2_EEI2=190,IPR_RIIC2_RXI2=191,IPR_RIIC2_TXI2=192,IPR_RIIC2_TEI2=193,\r
+IPR_RIIC3_EEI3=194,IPR_RIIC3_RXI3=195,IPR_RIIC3_TXI3=196,IPR_RIIC3_TEI3=197,\r
+IPR_DMAC_DMAC0I=198,IPR_DMAC_DMAC1I=199,IPR_DMAC_DMAC2I=200,IPR_DMAC_DMAC3I=201,\r
+IPR_EXDMAC_EXDMAC0I=202,IPR_EXDMAC_EXDMAC1I=203,\r
+IPR_SCI0_RXI0=214,IPR_SCI0_TXI0=214,IPR_SCI0_TEI0=214,\r
+IPR_SCI1_RXI1=217,IPR_SCI1_TXI1=217,IPR_SCI1_TEI1=217,\r
+IPR_SCI2_RXI2=220,IPR_SCI2_TXI2=220,IPR_SCI2_TEI2=220,\r
+IPR_SCI3_RXI3=223,IPR_SCI3_TXI3=223,IPR_SCI3_TEI3=223,\r
+IPR_SCI4_RXI4=226,IPR_SCI4_TXI4=226,IPR_SCI4_TEI4=226,\r
+IPR_SCI5_RXI5=229,IPR_SCI5_TXI5=229,IPR_SCI5_TEI5=229,\r
+IPR_SCI6_RXI6=232,IPR_SCI6_TXI6=232,IPR_SCI6_TEI6=232,\r
+IPR_SCI7_RXI7=235,IPR_SCI7_TXI7=235,IPR_SCI7_TEI7=235,\r
+IPR_SCI8_RXI8=238,IPR_SCI8_TXI8=238,IPR_SCI8_TEI8=238,\r
+IPR_SCI9_RXI9=241,IPR_SCI9_TXI9=241,IPR_SCI9_TEI9=241,\r
+IPR_SCI10_RXI10=244,IPR_SCI10_TXI10=244,IPR_SCI10_TEI10=244,\r
+IPR_SCI11_RXI11=247,IPR_SCI11_TXI11=247,IPR_SCI11_TEI11=247,\r
+IPR_SCI12_RXI12=250,IPR_SCI12_TXI12=250,IPR_SCI12_TEI12=250,\r
+IPR_IEB_IEBINT=253,\r
+IPR_BSC_=0,\r
+IPR_CMT0_=4,\r
+IPR_CMT1_=5,\r
+IPR_CMT2_=6,\r
+IPR_CMT3_=7,\r
+IPR_ETHER_=32,\r
+IPR_RSPI0_=39,\r
+IPR_RSPI1_=42,\r
+IPR_RSPI2_=45,\r
+IPR_CAN0_=48,\r
+IPR_CAN1_=52,\r
+IPR_CAN2_=56,\r
+IPR_AD0_=98,\r
+IPR_S12AD0_=102,\r
+IPR_SCIX_=122,\r
+IPR_SCIX_SCI=122,\r
+IPR_TPU0_=126,\r
+IPR_TPU0_TGI=126,\r
+IPR_TPU1_=130,\r
+IPR_TPU1_TGI=130,\r
+IPR_TPU2_=132,\r
+IPR_TPU2_TGI=132,\r
+IPR_TPU3_=134,\r
+IPR_TPU3_TGI=134,\r
+IPR_TPU4_=138,\r
+IPR_TPU4_TGI=138,\r
+IPR_TPU5_=140,\r
+IPR_TPU5_TGI=140,\r
+IPR_MTU5_=161,\r
+IPR_MTU5_TGI=161,\r
+IPR_TPU11_=164,\r
+IPR_TPU11_TGI=164,\r
+IPR_POE_=166,\r
+IPR_POE_OEI=166,\r
+IPR_TMR0_=170,\r
+IPR_TMR1_=173,\r
+IPR_TMR2_=176,\r
+IPR_TMR3_=179,\r
+IPR_SCI0_=214,\r
+IPR_SCI1_=217,\r
+IPR_SCI2_=220,\r
+IPR_SCI3_=223,\r
+IPR_SCI4_=226,\r
+IPR_SCI5_=229,\r
+IPR_SCI6_=232,\r
+IPR_SCI7_=235,\r
+IPR_SCI8_=238,\r
+IPR_SCI9_=241,\r
+IPR_SCI10_=244,\r
+IPR_SCI11_=247,\r
+IPR_SCI12_=250,\r
+IPR_IEB_=253\r
+};\r
+\r
+enum enum_grp {\r
+GRP_CAN0_ERS0=0,GRP_CAN1_ERS1=0,GRP_CAN2_ERS2=0,\r
+GRP_MTU0_TCIV0=1,GRP_MTU1_TCIV1=1,GRP_MTU1_TCIU1=1,\r
+GRP_MTU2_TCIV2=2,GRP_MTU2_TCIU2=2,GRP_MTU3_TCIV3=2,\r
+GRP_TPU0_TCI0V=3,GRP_TPU1_TCI1V=3,GRP_TPU1_TCI1U=3,GRP_TPU5_TCI5V=3,GRP_TPU5_TCI5U=3,\r
+GRP_TPU2_TCI2V=4,GRP_TPU2_TCI2U=4,GRP_TPU3_TCI3V=4,GRP_TPU4_TCI4V=4,GRP_TPU4_TCI4U=4,\r
+GRP_TPU6_TCI6V=5,GRP_TPU7_TCI7V=5,GRP_TPU7_TCI7U=5,GRP_TPU11_TCI11V=5,GRP_TPU11_TCI11U=5,\r
+GRP_TPU8_TCI8V=6,GRP_TPU8_TCI8U=6,GRP_TPU9_TCI9V=6,GRP_TPU10_TCI10V=6,GRP_TPU10_TCI10U=6,\r
+GRP_SCI0_ERI0=12,GRP_SCI1_ERI1=12,GRP_SCI2_ERI2=12,GRP_SCI3_ERI3=12,GRP_SCI4_ERI4=12,GRP_SCI5_ERI5=12,GRP_SCI6_ERI6=12,\r
+GRP_SCI7_ERI7=12,GRP_SCI8_ERI8=12,GRP_SCI9_ERI9=12,GRP_SCI10_ERI10=12,GRP_SCI11_ERI11=12,GRP_SCI12_ERI12=12,\r
+GRP_RSPI0_SPEI0=12,GRP_RSPI1_SPEI1=12,GRP_RSPI2_SPEI2=12\r
+};\r
+\r
+enum enum_gen {\r
+GEN_CAN0_ERS0=0,GEN_CAN1_ERS1=0,GEN_CAN2_ERS2=0,\r
+GEN_MTU0_TCIV0=1,GEN_MTU1_TCIV1=1,GEN_MTU1_TCIU1=1,\r
+GEN_MTU2_TCIV2=2,GEN_MTU2_TCIU2=2,GEN_MTU3_TCIV3=2,\r
+GEN_TPU0_TCI0V=3,GEN_TPU1_TCI1V=3,GEN_TPU1_TCI1U=3,GEN_TPU5_TCI5V=3,GEN_TPU5_TCI5U=3,\r
+GEN_TPU2_TCI2V=4,GEN_TPU2_TCI2U=4,GEN_TPU3_TCI3V=4,GEN_TPU4_TCI4V=4,GEN_TPU4_TCI4U=4,\r
+GEN_TPU6_TCI6V=5,GEN_TPU7_TCI7V=5,GEN_TPU7_TCI7U=5,GEN_TPU11_TCI11V=5,GEN_TPU11_TCI11U=5,\r
+GEN_TPU8_TCI8V=6,GEN_TPU8_TCI8U=6,GEN_TPU9_TCI9V=6,GEN_TPU10_TCI10V=6,GEN_TPU10_TCI10U=6,\r
+GEN_SCI0_ERI0=12,GEN_SCI1_ERI1=12,GEN_SCI2_ERI2=12,GEN_SCI3_ERI3=12,GEN_SCI4_ERI4=12,GEN_SCI5_ERI5=12,GEN_SCI6_ERI6=12,\r
+GEN_SCI7_ERI7=12,GEN_SCI8_ERI8=12,GEN_SCI9_ERI9=12,GEN_SCI10_ERI10=12,GEN_SCI11_ERI11=12,GEN_SCI12_ERI12=12,\r
+GEN_RSPI0_SPEI0=12,GEN_RSPI1_SPEI1=12,GEN_RSPI2_SPEI2=12\r
+};\r
+\r
+enum enum_gcr {\r
+GCR_CAN0_ERS0=0,GCR_CAN1_ERS1=0,GCR_CAN2_ERS2=0,\r
+GCR_MTU0_TCIV0=1,GCR_MTU1_TCIV1=1,GCR_MTU1_TCIU1=1,\r
+GCR_MTU2_TCIV2=2,GCR_MTU2_TCIU2=2,GCR_MTU3_TCIV3=2,\r
+GCR_TPU0_TCI0V=3,GCR_TPU1_TCI1V=3,GCR_TPU1_TCI1U=3,GCR_TPU5_TCI5V=3,GCR_TPU5_TCI5U=3,\r
+GCR_TPU2_TCI2V=4,GCR_TPU2_TCI2U=4,GCR_TPU3_TCI3V=4,GCR_TPU4_TCI4V=4,GCR_TPU4_TCI4U=4,\r
+GCR_TPU6_TCI6V=5,GCR_TPU7_TCI7V=5,GCR_TPU7_TCI7U=5,GCR_TPU11_TCI11V=5,GCR_TPU11_TCI11U=5,\r
+GCR_TPU8_TCI8V=6,GCR_TPU8_TCI8U=6,GCR_TPU9_TCI9V=6,GCR_TPU10_TCI10V=6,GCR_TPU10_TCI10U=6,\r
+GCR_SCI0_ERI0=12,GCR_SCI1_ERI1=12,GCR_SCI2_ERI2=12,GCR_SCI3_ERI3=12,GCR_SCI4_ERI4=12,GCR_SCI5_ERI5=12,GCR_SCI6_ERI6=12,\r
+GCR_SCI7_ERI7=12,GCR_SCI8_ERI8=12,GCR_SCI9_ERI9=12,GCR_SCI10_ERI10=12,GCR_SCI11_ERI11=12,GCR_SCI12_ERI12=12,\r
+GCR_RSPI0_SPEI0=12,GCR_RSPI1_SPEI1=12,GCR_RSPI2_SPEI2=12\r
+};\r
+\r
+#define        IEN_BSC_BUSERR          IEN0\r
+#define        IEN_FCU_FIFERR          IEN5\r
+#define        IEN_FCU_FRDYI           IEN7\r
+#define        IEN_ICU_SWINT           IEN3\r
+#define        IEN_CMT0_CMI0           IEN4\r
+#define        IEN_CMT1_CMI1           IEN5\r
+#define        IEN_CMT2_CMI2           IEN6\r
+#define        IEN_CMT3_CMI3           IEN7\r
+#define        IEN_ETHER_EINT          IEN0\r
+#define        IEN_USB0_D0FIFO0        IEN1\r
+#define        IEN_USB0_D1FIFO0        IEN2\r
+#define        IEN_USB0_USBI0          IEN3\r
+#define        IEN_USB1_D0FIFO1        IEN4\r
+#define        IEN_USB1_D1FIFO1        IEN5\r
+#define        IEN_USB1_USBI1          IEN6\r
+#define        IEN_RSPI0_SPRI0         IEN7\r
+#define        IEN_RSPI0_SPTI0         IEN0\r
+#define        IEN_RSPI0_SPII0         IEN1\r
+#define        IEN_RSPI1_SPRI1         IEN2\r
+#define        IEN_RSPI1_SPTI1         IEN3\r
+#define        IEN_RSPI1_SPII1         IEN4\r
+#define        IEN_RSPI2_SPRI2         IEN5\r
+#define        IEN_RSPI2_SPTI2         IEN6\r
+#define        IEN_RSPI2_SPII2         IEN7\r
+#define        IEN_CAN0_RXF0           IEN0\r
+#define        IEN_CAN0_TXF0           IEN1\r
+#define        IEN_CAN0_RXM0           IEN2\r
+#define        IEN_CAN0_TXM0           IEN3\r
+#define        IEN_CAN1_RXF1           IEN4\r
+#define        IEN_CAN1_TXF1           IEN5\r
+#define        IEN_CAN1_RXM1           IEN6\r
+#define        IEN_CAN1_TXM1           IEN7\r
+#define        IEN_CAN2_RXF2           IEN0\r
+#define        IEN_CAN2_TXF2           IEN1\r
+#define        IEN_CAN2_RXM2           IEN2\r
+#define        IEN_CAN2_TXM2           IEN3\r
+#define        IEN_RTC_COUNTUP         IEN6\r
+#define        IEN_ICU_IRQ0            IEN0\r
+#define        IEN_ICU_IRQ1            IEN1\r
+#define        IEN_ICU_IRQ2            IEN2\r
+#define        IEN_ICU_IRQ3            IEN3\r
+#define        IEN_ICU_IRQ4            IEN4\r
+#define        IEN_ICU_IRQ5            IEN5\r
+#define        IEN_ICU_IRQ6            IEN6\r
+#define        IEN_ICU_IRQ7            IEN7\r
+#define        IEN_ICU_IRQ8            IEN0\r
+#define        IEN_ICU_IRQ9            IEN1\r
+#define        IEN_ICU_IRQ10           IEN2\r
+#define        IEN_ICU_IRQ11           IEN3\r
+#define        IEN_ICU_IRQ12           IEN4\r
+#define        IEN_ICU_IRQ13           IEN5\r
+#define        IEN_ICU_IRQ14           IEN6\r
+#define        IEN_ICU_IRQ15           IEN7\r
+#define        IEN_USB_USBR0           IEN2\r
+#define        IEN_USB_USBR1           IEN3\r
+#define        IEN_RTC_ALARM           IEN4\r
+#define        IEN_RTC_PRD                     IEN5\r
+#define        IEN_AD0_ADI0            IEN2\r
+#define        IEN_S12AD0_S12ADI0      IEN6\r
+#define        IEN_ICU_GROUPE0         IEN2\r
+#define        IEN_ICU_GROUPE1         IEN3\r
+#define        IEN_ICU_GROUPE2         IEN4\r
+#define        IEN_ICU_GROUPE3         IEN5\r
+#define        IEN_ICU_GROUPE4         IEN6\r
+#define        IEN_ICU_GROUPE5         IEN7\r
+#define        IEN_ICU_GROUPE6         IEN0\r
+#define        IEN_ICU_GROUPL0         IEN2\r
+#define        IEN_SCIX_SCIX0          IEN2\r
+#define        IEN_SCIX_SCIX1          IEN3\r
+#define        IEN_SCIX_SCIX2          IEN4\r
+#define        IEN_SCIX_SCIX3          IEN5\r
+#define        IEN_TPU0_TGI0A          IEN6\r
+#define        IEN_TPU0_TGI0B          IEN7\r
+#define        IEN_TPU0_TGI0C          IEN0\r
+#define        IEN_TPU0_TGI0D          IEN1\r
+#define        IEN_TPU1_TGI1A          IEN2\r
+#define        IEN_TPU1_TGI1B          IEN3\r
+#define        IEN_TPU2_TGI2A          IEN4\r
+#define        IEN_TPU2_TGI2B          IEN5\r
+#define        IEN_TPU3_TGI3A          IEN6\r
+#define        IEN_TPU3_TGI3B          IEN7\r
+#define        IEN_TPU3_TGI3C          IEN0\r
+#define        IEN_TPU3_TGI3D          IEN1\r
+#define        IEN_TPU4_TGI4A          IEN2\r
+#define        IEN_TPU4_TGI4B          IEN3\r
+#define        IEN_TPU5_TGI5A          IEN4\r
+#define        IEN_TPU5_TGI5B          IEN5\r
+#define        IEN_TPU6_TGI6A          IEN6\r
+#define        IEN_TPU6_TGI6B          IEN7\r
+#define        IEN_TPU6_TGI6C          IEN0\r
+#define        IEN_TPU6_TGI6D          IEN1\r
+#define        IEN_MTU0_TGIA0          IEN6\r
+#define        IEN_MTU0_TGIB0          IEN7\r
+#define        IEN_MTU0_TGIC0          IEN0\r
+#define        IEN_MTU0_TGID0          IEN1\r
+#define        IEN_MTU0_TGIE0          IEN2\r
+#define        IEN_MTU0_TGIF0          IEN3\r
+#define        IEN_TPU7_TGI7A          IEN4\r
+#define        IEN_TPU7_TGI7B          IEN5\r
+#define        IEN_MTU1_TGIA1          IEN4\r
+#define        IEN_MTU1_TGIB1          IEN5\r
+#define        IEN_TPU8_TGI8A          IEN6\r
+#define        IEN_TPU8_TGI8B          IEN7\r
+#define        IEN_MTU2_TGIA2          IEN6\r
+#define        IEN_MTU2_TGIB2          IEN7\r
+#define        IEN_TPU9_TGI9A          IEN0\r
+#define        IEN_TPU9_TGI9B          IEN1\r
+#define        IEN_TPU9_TGI9C          IEN2\r
+#define        IEN_TPU9_TGI9D          IEN3\r
+#define        IEN_MTU3_TGIA3          IEN0\r
+#define        IEN_MTU3_TGIB3          IEN1\r
+#define        IEN_MTU3_TGIC3          IEN2\r
+#define        IEN_MTU3_TGID3          IEN3\r
+#define        IEN_TPU10_TGI10A        IEN4\r
+#define        IEN_TPU10_TGI10B        IEN5\r
+#define        IEN_MTU4_TGIA4          IEN4\r
+#define        IEN_MTU4_TGIB4          IEN5\r
+#define        IEN_MTU4_TGIC4          IEN6\r
+#define        IEN_MTU4_TGID4          IEN7\r
+#define        IEN_MTU4_TCIV4          IEN0\r
+#define        IEN_MTU5_TGIU5          IEN1\r
+#define        IEN_MTU5_TGIV5          IEN2\r
+#define        IEN_MTU5_TGIW5          IEN3\r
+#define        IEN_TPU11_TGI11A        IEN4\r
+#define        IEN_TPU11_TGI11B        IEN5\r
+#define        IEN_POE_OEI1            IEN6\r
+#define        IEN_POE_OEI2            IEN7\r
+#define        IEN_TMR0_CMIA0          IEN2\r
+#define        IEN_TMR0_CMIB0          IEN3\r
+#define        IEN_TMR0_OVI0           IEN4\r
+#define        IEN_TMR1_CMIA1          IEN5\r
+#define        IEN_TMR1_CMIB1          IEN6\r
+#define        IEN_TMR1_OVI1           IEN7\r
+#define        IEN_TMR2_CMIA2          IEN0\r
+#define        IEN_TMR2_CMIB2          IEN1\r
+#define        IEN_TMR2_OVI2           IEN2\r
+#define        IEN_TMR3_CMIA3          IEN3\r
+#define        IEN_TMR3_CMIB3          IEN4\r
+#define        IEN_TMR3_OVI3           IEN5\r
+#define        IEN_RIIC0_EEI0          IEN6\r
+#define        IEN_RIIC0_RXI0          IEN7\r
+#define        IEN_RIIC0_TXI0          IEN0\r
+#define        IEN_RIIC0_TEI0          IEN1\r
+#define        IEN_RIIC1_EEI1          IEN2\r
+#define        IEN_RIIC1_RXI1          IEN3\r
+#define        IEN_RIIC1_TXI1          IEN4\r
+#define        IEN_RIIC1_TEI1          IEN5\r
+#define        IEN_RIIC2_EEI2          IEN6\r
+#define        IEN_RIIC2_RXI2          IEN7\r
+#define        IEN_RIIC2_TXI2          IEN0\r
+#define        IEN_RIIC2_TEI2          IEN1\r
+#define        IEN_RIIC3_EEI3          IEN2\r
+#define        IEN_RIIC3_RXI3          IEN3\r
+#define        IEN_RIIC3_TXI3          IEN4\r
+#define        IEN_RIIC3_TEI3          IEN5\r
+#define        IEN_DMAC_DMAC0I         IEN6\r
+#define        IEN_DMAC_DMAC1I         IEN7\r
+#define        IEN_DMAC_DMAC2I         IEN0\r
+#define        IEN_DMAC_DMAC3I         IEN1\r
+#define        IEN_EXDMAC_EXDMAC0I     IEN2\r
+#define        IEN_EXDMAC_EXDMAC1I     IEN3\r
+#define        IEN_SCI0_RXI0           IEN6\r
+#define        IEN_SCI0_TXI0           IEN7\r
+#define        IEN_SCI0_TEI0           IEN0\r
+#define        IEN_SCI1_RXI1           IEN1\r
+#define        IEN_SCI1_TXI1           IEN2\r
+#define        IEN_SCI1_TEI1           IEN3\r
+#define        IEN_SCI2_RXI2           IEN4\r
+#define        IEN_SCI2_TXI2           IEN5\r
+#define        IEN_SCI2_TEI2           IEN6\r
+#define        IEN_SCI3_RXI3           IEN7\r
+#define        IEN_SCI3_TXI3           IEN0\r
+#define        IEN_SCI3_TEI3           IEN1\r
+#define        IEN_SCI4_RXI4           IEN2\r
+#define        IEN_SCI4_TXI4           IEN3\r
+#define        IEN_SCI4_TEI4           IEN4\r
+#define        IEN_SCI5_RXI5           IEN5\r
+#define        IEN_SCI5_TXI5           IEN6\r
+#define        IEN_SCI5_TEI5           IEN7\r
+#define        IEN_SCI6_RXI6           IEN0\r
+#define        IEN_SCI6_TXI6           IEN1\r
+#define        IEN_SCI6_TEI6           IEN2\r
+#define        IEN_SCI7_RXI7           IEN3\r
+#define        IEN_SCI7_TXI7           IEN4\r
+#define        IEN_SCI7_TEI7           IEN5\r
+#define        IEN_SCI8_RXI8           IEN6\r
+#define        IEN_SCI8_TXI8           IEN7\r
+#define        IEN_SCI8_TEI8           IEN0\r
+#define        IEN_SCI9_RXI9           IEN1\r
+#define        IEN_SCI9_TXI9           IEN2\r
+#define        IEN_SCI9_TEI9           IEN3\r
+#define        IEN_SCI10_RXI10         IEN4\r
+#define        IEN_SCI10_TXI10         IEN5\r
+#define        IEN_SCI10_TEI10         IEN6\r
+#define        IEN_SCI11_RXI11         IEN7\r
+#define        IEN_SCI11_TXI11         IEN0\r
+#define        IEN_SCI11_TEI11         IEN1\r
+#define        IEN_SCI12_RXI12         IEN2\r
+#define        IEN_SCI12_TXI12         IEN3\r
+#define        IEN_SCI12_TEI12         IEN4\r
+#define        IEN_IEB_IEBINT          IEN5\r
+\r
+#define        VECT_BSC_BUSERR         16\r
+#define        VECT_FCU_FIFERR         21\r
+#define        VECT_FCU_FRDYI          23\r
+#define        VECT_ICU_SWINT          27\r
+#define        VECT_CMT0_CMI0          28\r
+#define        VECT_CMT1_CMI1          29\r
+#define        VECT_CMT2_CMI2          30\r
+#define        VECT_CMT3_CMI3          31\r
+#define        VECT_ETHER_EINT         32\r
+#define        VECT_USB0_D0FIFO0       33\r
+#define        VECT_USB0_D1FIFO0       34\r
+#define        VECT_USB0_USBI0         35\r
+#define        VECT_USB1_D0FIFO1       36\r
+#define        VECT_USB1_D1FIFO1       37\r
+#define        VECT_USB1_USBI1         38\r
+#define        VECT_RSPI0_SPRI0        39\r
+#define        VECT_RSPI0_SPTI0        40\r
+#define        VECT_RSPI0_SPII0        41\r
+#define        VECT_RSPI1_SPRI1        42\r
+#define        VECT_RSPI1_SPTI1        43\r
+#define        VECT_RSPI1_SPII1        44\r
+#define        VECT_RSPI2_SPRI2        45\r
+#define        VECT_RSPI2_SPTI2        46\r
+#define        VECT_RSPI2_SPII2        47\r
+#define        VECT_CAN0_RXF0          48\r
+#define        VECT_CAN0_TXF0          49\r
+#define        VECT_CAN0_RXM0          50\r
+#define        VECT_CAN0_TXM0          51\r
+#define        VECT_CAN1_RXF1          52\r
+#define        VECT_CAN1_TXF1          53\r
+#define        VECT_CAN1_RXM1          54\r
+#define        VECT_CAN1_TXM1          55\r
+#define        VECT_CAN2_RXF2          56\r
+#define        VECT_CAN2_TXF2          57\r
+#define        VECT_CAN2_RXM2          58\r
+#define        VECT_CAN2_TXM2          59\r
+#define        VECT_RTC_COUNTUP        62\r
+#define        VECT_ICU_IRQ0           64\r
+#define        VECT_ICU_IRQ1           65\r
+#define        VECT_ICU_IRQ2           66\r
+#define        VECT_ICU_IRQ3           67\r
+#define        VECT_ICU_IRQ4           68\r
+#define        VECT_ICU_IRQ5           69\r
+#define        VECT_ICU_IRQ6           70\r
+#define        VECT_ICU_IRQ7           71\r
+#define        VECT_ICU_IRQ8           72\r
+#define        VECT_ICU_IRQ9           73\r
+#define        VECT_ICU_IRQ10          74\r
+#define        VECT_ICU_IRQ11          75\r
+#define        VECT_ICU_IRQ12          76\r
+#define        VECT_ICU_IRQ13          77\r
+#define        VECT_ICU_IRQ14          78\r
+#define        VECT_ICU_IRQ15          79\r
+#define        VECT_USB_USBR0          90\r
+#define        VECT_USB_USBR1          91\r
+#define        VECT_RTC_ALARM          92\r
+#define        VECT_RTC_PRD            93\r
+#define        VECT_AD0_ADI0           98\r
+#define        VECT_S12AD0_S12ADI0     102\r
+#define        VECT_ICU_GROUPE0        106\r
+#define        VECT_ICU_GROUPE1        107\r
+#define        VECT_ICU_GROUPE2        108\r
+#define        VECT_ICU_GROUPE3        109\r
+#define        VECT_ICU_GROUPE4        110\r
+#define        VECT_ICU_GROUPE5        111\r
+#define        VECT_ICU_GROUPE6        112\r
+#define        VECT_ICU_GROUPL0        114\r
+#define        VECT_SCIX_SCIX0         122\r
+#define        VECT_SCIX_SCIX1         123\r
+#define        VECT_SCIX_SCIX2         124\r
+#define        VECT_SCIX_SCIX3         125\r
+#define        VECT_TPU0_TGI0A         126\r
+#define        VECT_TPU0_TGI0B         127\r
+#define        VECT_TPU0_TGI0C         128\r
+#define        VECT_TPU0_TGI0D         129\r
+#define        VECT_TPU1_TGI1A         130\r
+#define        VECT_TPU1_TGI1B         131\r
+#define        VECT_TPU2_TGI2A         132\r
+#define        VECT_TPU2_TGI2B         133\r
+#define        VECT_TPU3_TGI3A         134\r
+#define        VECT_TPU3_TGI3B         135\r
+#define        VECT_TPU3_TGI3C         136\r
+#define        VECT_TPU3_TGI3D         137\r
+#define        VECT_TPU4_TGI4A         138\r
+#define        VECT_TPU4_TGI4B         139\r
+#define        VECT_TPU5_TGI5A         140\r
+#define        VECT_TPU5_TGI5B         141\r
+#define        VECT_TPU6_TGI6A         142\r
+#define        VECT_TPU6_TGI6B         143\r
+#define        VECT_TPU6_TGI6C         144\r
+#define        VECT_TPU6_TGI6D         145\r
+#define        VECT_MTU0_TGIA0         142\r
+#define        VECT_MTU0_TGIB0         143\r
+#define        VECT_MTU0_TGIC0         144\r
+#define        VECT_MTU0_TGID0         145\r
+#define        VECT_MTU0_TGIE0         146\r
+#define        VECT_MTU0_TGIF0         147\r
+#define        VECT_TPU7_TGI7A         148\r
+#define        VECT_TPU7_TGI7B         149\r
+#define        VECT_MTU1_TGIA1         148\r
+#define        VECT_MTU1_TGIB1         149\r
+#define        VECT_TPU8_TGI8A         150\r
+#define        VECT_TPU8_TGI8B         151\r
+#define        VECT_MTU2_TGIA2         150\r
+#define        VECT_MTU2_TGIB2         151\r
+#define        VECT_TPU9_TGI9A         152\r
+#define        VECT_TPU9_TGI9B         153\r
+#define        VECT_TPU9_TGI9C         154\r
+#define        VECT_TPU9_TGI9D         155\r
+#define        VECT_MTU3_TGIA3         152\r
+#define        VECT_MTU3_TGIB3         153\r
+#define        VECT_MTU3_TGIC3         154\r
+#define        VECT_MTU3_TGID3         155\r
+#define        VECT_TPU10_TGI10A       156\r
+#define        VECT_TPU10_TGI10B       157\r
+#define        VECT_MTU4_TGIA4         156\r
+#define        VECT_MTU4_TGIB4         157\r
+#define        VECT_MTU4_TGIC4         158\r
+#define        VECT_MTU4_TGID4         159\r
+#define        VECT_MTU4_TCIV4         160\r
+#define        VECT_MTU5_TGIU5         161\r
+#define        VECT_MTU5_TGIV5         162\r
+#define        VECT_MTU5_TGIW5         163\r
+#define        VECT_TPU11_TGI11A       164\r
+#define        VECT_TPU11_TGI11B       165\r
+#define        VECT_POE_OEI1           166\r
+#define        VECT_POE_OEI2           167\r
+#define        VECT_TMR0_CMIA0         170\r
+#define        VECT_TMR0_CMIB0         171\r
+#define        VECT_TMR0_OVI0          172\r
+#define        VECT_TMR1_CMIA1         173\r
+#define        VECT_TMR1_CMIB1         174\r
+#define        VECT_TMR1_OVI1          175\r
+#define        VECT_TMR2_CMIA2         176\r
+#define        VECT_TMR2_CMIB2         177\r
+#define        VECT_TMR2_OVI2          178\r
+#define        VECT_TMR3_CMIA3         179\r
+#define        VECT_TMR3_CMIB3         180\r
+#define        VECT_TMR3_OVI3          181\r
+#define        VECT_RIIC0_EEI0         182\r
+#define        VECT_RIIC0_RXI0         183\r
+#define        VECT_RIIC0_TXI0         184\r
+#define        VECT_RIIC0_TEI0         185\r
+#define        VECT_RIIC1_EEI1         186\r
+#define        VECT_RIIC1_RXI1         187\r
+#define        VECT_RIIC1_TXI1         188\r
+#define        VECT_RIIC1_TEI1         189\r
+#define        VECT_RIIC2_EEI2         190\r
+#define        VECT_RIIC2_RXI2         191\r
+#define        VECT_RIIC2_TXI2         192\r
+#define        VECT_RIIC2_TEI2         193\r
+#define        VECT_RIIC3_EEI3         194\r
+#define        VECT_RIIC3_RXI3         195\r
+#define        VECT_RIIC3_TXI3         196\r
+#define        VECT_RIIC3_TEI3         197\r
+#define        VECT_DMAC_DMAC0I        198\r
+#define        VECT_DMAC_DMAC1I        199\r
+#define        VECT_DMAC_DMAC2I        200\r
+#define        VECT_DMAC_DMAC3I        201\r
+#define        VECT_EXDMAC_EXDMAC0I    202\r
+#define        VECT_EXDMAC_EXDMAC1I    203\r
+#define        VECT_SCI0_RXI0          214\r
+#define        VECT_SCI0_TXI0          215\r
+#define        VECT_SCI0_TEI0          216\r
+#define        VECT_SCI1_RXI1          217\r
+#define        VECT_SCI1_TXI1          218\r
+#define        VECT_SCI1_TEI1          219\r
+#define        VECT_SCI2_RXI2          220\r
+#define        VECT_SCI2_TXI2          221\r
+#define        VECT_SCI2_TEI2          222\r
+#define        VECT_SCI3_RXI3          223\r
+#define        VECT_SCI3_TXI3          224\r
+#define        VECT_SCI3_TEI3          225\r
+#define        VECT_SCI4_RXI4          226\r
+#define        VECT_SCI4_TXI4          227\r
+#define        VECT_SCI4_TEI4          228\r
+#define        VECT_SCI5_RXI5          229\r
+#define        VECT_SCI5_TXI5          230\r
+#define        VECT_SCI5_TEI5          231\r
+#define        VECT_SCI6_RXI6          232\r
+#define        VECT_SCI6_TXI6          233\r
+#define        VECT_SCI6_TEI6          234\r
+#define        VECT_SCI7_RXI7          235\r
+#define        VECT_SCI7_TXI7          236\r
+#define        VECT_SCI7_TEI7          237\r
+#define        VECT_SCI8_RXI8          238\r
+#define        VECT_SCI8_TXI8          239\r
+#define        VECT_SCI8_TEI8          240\r
+#define        VECT_SCI9_RXI9          241\r
+#define        VECT_SCI9_TXI9          242\r
+#define        VECT_SCI9_TEI9          243\r
+#define        VECT_SCI10_RXI10        244\r
+#define        VECT_SCI10_TXI10        245\r
+#define        VECT_SCI10_TEI10        246\r
+#define        VECT_SCI11_RXI11        247\r
+#define        VECT_SCI11_TXI11        248\r
+#define        VECT_SCI11_TEI11        249\r
+#define        VECT_SCI12_RXI12        250\r
+#define        VECT_SCI12_TXI12        251\r
+#define        VECT_SCI12_TEI12        252\r
+#define        VECT_IEB_IEBINT         253\r
+\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_DTC        SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_AD         SYSTEM.MSTPCRA.BIT.MSTPA23\r
+#define        MSTP_DA         SYSTEM.MSTPCRA.BIT.MSTPA19\r
+#define        MSTP_S12AD      SYSTEM.MSTPCRA.BIT.MSTPA17\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_TPU6       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU7       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU8       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU9       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU10      SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU11      SYSTEM.MSTPCRA.BIT.MSTPA12\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_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_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_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPB21\r
+#define        MSTP_RIIC1      SYSTEM.MSTPCRB.BIT.MSTPB20\r
+#define        MSTP_USB0       SYSTEM.MSTPCRB.BIT.MSTPB19\r
+#define        MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPB17\r
+#define        MSTP_RSPI1      SYSTEM.MSTPCRB.BIT.MSTPB16\r
+#define        MSTP_EDMAC  SYSTEM.MSTPCRB.BIT.MSTPB15\r
+#define        MSTP_TEMPS      SYSTEM.MSTPCRB.BIT.MSTPB8\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_SCI8       SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define        MSTP_SMCI8      SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define        MSTP_SCI9       SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define        MSTP_SMCI9      SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define        MSTP_SCI10      SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define        MSTP_SMCI10     SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define        MSTP_SCI11      SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define        MSTP_SMCI11     SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define        MSTP_RSPI2      SYSTEM.MSTPCRC.BIT.MSTPC22\r
+#define        MSTP_LVD        SYSTEM.MSTPCRC.BIT.MSTPC20\r
+#define        MSTP_IEB        SYSTEM.MSTPCRC.BIT.MSTPC18\r
+#define        MSTP_RIIC2      SYSTEM.MSTPCRC.BIT.MSTPC17\r
+#define        MSTP_RIIC3      SYSTEM.MSTPCRC.BIT.MSTPC16\r
+#define        MSTP_RAM1       SYSTEM.MSTPCRC.BIT.MSTPC1\r
+#define        MSTP_RAM0       SYSTEM.MSTPCRC.BIT.MSTPC0\r
+\r
+#define        IS_CAN0_ERS0            IS0\r
+#define        IS_CAN1_ERS1            IS1\r
+#define        IS_CAN2_ERS2            IS2\r
+#define        IS_MTU0_TCIV0           IS0\r
+#define        IS_MTU1_TCIV1           IS1\r
+#define        IS_MTU1_TCIU1           IS2\r
+#define        IS_MTU2_TCIV2           IS0\r
+#define        IS_MTU2_TCIU2           IS1\r
+#define        IS_MTU3_TCIV3           IS2\r
+#define        IS_TPU0_TCI0V           IS0\r
+#define        IS_TPU1_TCI1V           IS1\r
+#define        IS_TPU1_TCI1U           IS2\r
+#define        IS_TPU5_TCI5V           IS3\r
+#define        IS_TPU5_TCI5U           IS4\r
+#define        IS_TPU2_TCI2V           IS0\r
+#define        IS_TPU2_TCI2U           IS1\r
+#define        IS_TPU3_TCI3V           IS2\r
+#define        IS_TPU4_TCI4V           IS3\r
+#define        IS_TPU4_TCI4U           IS4\r
+#define        IS_TPU6_TCI6V           IS0\r
+#define        IS_TPU7_TCI7V           IS1\r
+#define        IS_TPU7_TCI7U           IS2\r
+#define        IS_TPU11_TCI11V         IS3\r
+#define        IS_TPU11_TCI11U         IS4\r
+#define        IS_TPU8_TCI8V           IS0\r
+#define        IS_TPU8_TCI8U           IS1\r
+#define        IS_TPU9_TCI9V           IS2\r
+#define        IS_TPU10_TCI10V         IS3\r
+#define        IS_TPU10_TCI10U         IS4\r
+#define        IS_SCI0_ERI0            IS0\r
+#define        IS_SCI1_ERI1            IS1\r
+#define        IS_SCI2_ERI2            IS2\r
+#define        IS_SCI3_ERI3            IS3\r
+#define        IS_SCI4_ERI4            IS4\r
+#define        IS_SCI5_ERI5            IS5\r
+#define        IS_SCI6_ERI6            IS6\r
+#define        IS_SCI7_ERI7            IS7\r
+#define        IS_SCI8_ERI8            IS8\r
+#define        IS_SCI9_ERI9            IS9\r
+#define        IS_SCI10_ERI10          IS10\r
+#define        IS_SCI11_ERI11          IS11\r
+#define        IS_SCI12_ERI12          IS12\r
+#define        IS_RSPI0_SPEI0          IS13\r
+#define        IS_RSPI1_SPEI1          IS14\r
+#define        IS_RSPI2_SPEI2          IS15\r
+\r
+#define        EN_CAN0_ERS0            EN0\r
+#define        EN_CAN1_ERS1            EN1\r
+#define        EN_CAN2_ERS2            EN2\r
+#define        EN_MTU0_TCIV0           EN0\r
+#define        EN_MTU1_TCIV1           EN1\r
+#define        EN_MTU1_TCIU1           EN2\r
+#define        EN_MTU2_TCIV2           EN0\r
+#define        EN_MTU2_TCIU2           EN1\r
+#define        EN_MTU3_TCIV3           EN2\r
+#define        EN_TPU0_TCI0V           EN0\r
+#define        EN_TPU1_TCI1V           EN1\r
+#define        EN_TPU1_TCI1U           EN2\r
+#define        EN_TPU5_TCI5V           EN3\r
+#define        EN_TPU5_TCI5U           EN4\r
+#define        EN_TPU2_TCI2V           EN0\r
+#define        EN_TPU2_TCI2U           EN1\r
+#define        EN_TPU3_TCI3V           EN2\r
+#define        EN_TPU4_TCI4V           EN3\r
+#define        EN_TPU4_TCI4U           EN4\r
+#define        EN_TPU6_TCI6V           EN0\r
+#define        EN_TPU7_TCI7V           EN1\r
+#define        EN_TPU7_TCI7U           EN2\r
+#define        EN_TPU11_TCI11V         EN3\r
+#define        EN_TPU11_TCI11U         EN4\r
+#define        EN_TPU8_TCI8V           EN0\r
+#define        EN_TPU8_TCI8U           EN1\r
+#define        EN_TPU9_TCI9V           EN2\r
+#define        EN_TPU10_TCI10V         EN3\r
+#define        EN_TPU10_TCI10U         EN4\r
+#define        EN_SCI0_ERI0            EN0\r
+#define        EN_SCI1_ERI1            EN1\r
+#define        EN_SCI2_ERI2            EN2\r
+#define        EN_SCI3_ERI3            EN3\r
+#define        EN_SCI4_ERI4            EN4\r
+#define        EN_SCI5_ERI5            EN5\r
+#define        EN_SCI6_ERI6            EN6\r
+#define        EN_SCI7_ERI7            EN7\r
+#define        EN_SCI8_ERI8            EN8\r
+#define        EN_SCI9_ERI9            EN9\r
+#define        EN_SCI10_ERI10          EN10\r
+#define        EN_SCI11_ERI11          EN11\r
+#define        EN_SCI12_ERI12          EN12\r
+#define        EN_RSPI0_SPEI0          EN13\r
+#define        EN_RSPI1_SPEI1          EN14\r
+#define        EN_RSPI2_SPEI2          EN15\r
+\r
+#define        CLR_CAN0_ERS0           CLR0\r
+#define        CLR_CAN1_ERS1           CLR1\r
+#define        CLR_CAN2_ERS2           CLR2\r
+#define        CLR_MTU0_TCIV0          CLR0\r
+#define        CLR_MTU1_TCIV1          CLR1\r
+#define        CLR_MTU1_TCIU1          CLR2\r
+#define        CLR_MTU2_TCIV2          CLR0\r
+#define        CLR_MTU2_TCIU2          CLR1\r
+#define        CLR_MTU3_TCIV3          CLR2\r
+#define        CLR_TPU0_TCI0V          CLR0\r
+#define        CLR_TPU1_TCI1V          CLR1\r
+#define        CLR_TPU1_TCI1U          CLR2\r
+#define        CLR_TPU5_TCI5V          CLR3\r
+#define        CLR_TPU5_TCI5U          CLR4\r
+#define        CLR_TPU2_TCI2V          CLR0\r
+#define        CLR_TPU2_TCI2U          CLR1\r
+#define        CLR_TPU3_TCI3V          CLR2\r
+#define        CLR_TPU4_TCI4V          CLR3\r
+#define        CLR_TPU4_TCI4U          CLR4\r
+#define        CLR_TPU6_TCI6V          CLR0\r
+#define        CLR_TPU7_TCI7V          CLR1\r
+#define        CLR_TPU7_TCI7U          CLR2\r
+#define        CLR_TPU11_TCI11V        CLR3\r
+#define        CLR_TPU11_TCI11U        CLR4\r
+#define        CLR_TPU8_TCI8V          CLR0\r
+#define        CLR_TPU8_TCI8U          CLR1\r
+#define        CLR_TPU9_TCI9V          CLR2\r
+#define        CLR_TPU10_TCI10V        CLR3\r
+#define        CLR_TPU10_TCI10U        CLR4\r
+#define        CLR_SCI0_ERI0           CLR0\r
+#define        CLR_SCI1_ERI1           CLR1\r
+#define        CLR_SCI2_ERI2           CLR2\r
+#define        CLR_SCI3_ERI3           CLR3\r
+#define        CLR_SCI4_ERI4           CLR4\r
+#define        CLR_SCI5_ERI5           CLR5\r
+#define        CLR_SCI6_ERI6           CLR6\r
+#define        CLR_SCI7_ERI7           CLR7\r
+#define        CLR_SCI8_ERI8           CLR8\r
+#define        CLR_SCI9_ERI9           CLR9\r
+#define        CLR_SCI10_ERI10         CLR10\r
+#define        CLR_SCI11_ERI11         CLR11\r
+#define        CLR_SCI12_ERI12         CLR12\r
+#define        CLR_RSPI0_SPEI0         CLR13\r
+#define        CLR_RSPI1_SPEI1         CLR14\r
+#define        CLR_RSPI2_SPEI2         CLR15\r
+\r
+#define        CN_TPU6_TGI6A           CN0\r
+#define        CN_TPU6_TGI6B           CN0\r
+#define        CN_TPU6_TGI6C           CN0\r
+#define        CN_TPU6_TGI6D           CN0\r
+#define        CN_MTU0_TGIA0           CN0\r
+#define        CN_MTU0_TGIB0           CN0\r
+#define        CN_MTU0_TGIC0           CN0\r
+#define        CN_MTU0_TGID0           CN0\r
+#define        CN_MTU0_TGIE0           CN0\r
+#define        CN_MTU0_TGIF0           CN0\r
+#define        CN_TPU7_TGI7A           CN1\r
+#define        CN_TPU7_TGI7B           CN1\r
+#define        CN_MTU1_TGIA1           CN1\r
+#define        CN_MTU1_TGIB1           CN1\r
+#define        CN_TPU8_TGI8A           CN2\r
+#define        CN_TPU8_TGI8B           CN2\r
+#define        CN_MTU2_TGIA2           CN2\r
+#define        CN_MTU2_TGIB2           CN2\r
+#define        CN_TPU9_TGI9A           CN3\r
+#define        CN_TPU9_TGI9B           CN3\r
+#define        CN_TPU9_TGI9C           CN3\r
+#define        CN_TPU9_TGI9D           CN3\r
+#define        CN_MTU3_TGIA3           CN3\r
+#define        CN_MTU3_TGIB3           CN3\r
+#define        CN_MTU3_TGIC3           CN3\r
+#define        CN_MTU3_TGID3           CN3\r
+#define        CN_TPU10_TGI10A         CN4\r
+#define        CN_TPU10_TGI10B         CN4\r
+#define        CN_MTU4_TGIA4           CN4\r
+#define        CN_MTU4_TGIB4           CN4\r
+#define        CN_MTU4_TGIC4           CN4\r
+#define        CN_MTU4_TGID4           CN4\r
+#define        CN_MTU4_TGIV4           CN4\r
+#define        CN_TPU11_TGI11A         CN5\r
+#define        CN_TPU11_TGI11B         CN5\r
+#define        CN_MTU5_TGIU5           CN5\r
+#define        CN_MTU5_TGIV5           CN5\r
+#define        CN_MTU5_TGIW5           CN5\r
+#define        CN_TPU6_                        CN0\r
+#define        CN_MTU0_                        CN0\r
+#define        CN_TPU7_                        CN1\r
+#define        CN_MTU1_                        CN1\r
+#define        CN_TPU8_                        CN2\r
+#define        CN_MTU2_                        CN2\r
+#define        CN_TPU9_                        CN3\r
+#define        CN_MTU3_                        CN3\r
+#define        CN_TPU10_                       CN4\r
+#define        CN_MTU4_                        CN4\r
+#define        CN_TPU11_                       CN5\r
+#define        CN_MTU5_                        CN5\r
+\r
+#define        __IR( x )               ICU.IR[ IR ## x ].BIT.IR\r
+#define         _IR( x )               __IR( x )\r
+#define          IR( x , y )   _IR( _ ## x ## _ ## y )\r
+#define        __DTCE( x )             ICU.DTCER[ DTCE ## x ].BIT.DTCE\r
+#define         _DTCE( x )             __DTCE( x )\r
+#define          DTCE( x , y ) _DTCE( _ ## x ## _ ## y )\r
+#define        __IEN( x )              ICU.IER[ IER ## x ].BIT.IEN ## x\r
+#define         _IEN( x )              __IEN( x )\r
+#define          IEN( x , y )  _IEN( _ ## x ## _ ## y )\r
+#define        __IPR( x )              ICU.IPR[ IPR ## x ].BIT.IPR\r
+#define         _IPR( x )              __IPR( x )\r
+#define          IPR( x , y )  _IPR( _ ## x ## _ ## y )\r
+#define        __VECT( x )             VECT ## x\r
+#define         _VECT( x )             __VECT( x )\r
+#define          VECT( x , y ) _VECT( _ ## x ## _ ## y )\r
+#define        __MSTP( x )             MSTP ## x\r
+#define         _MSTP( x )             __MSTP( x )\r
+#define          MSTP( x )             _MSTP( _ ## x )\r
+\r
+#define        __IS( x )               ICU.GRP[ 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[ 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[ GCR ## x ].BIT.CLR ## x\r
+#define         _CLR( x )              __CLR( x )\r
+#define          CLR( x , y )  _CLR( _ ## x ## _ ## y )\r
+#define        __CN( x )               ICU.SEL.BIT.CN ## x\r
+#define         _CN( x )               __CN( x )\r
+#define          CN( x , y )   _CN( _ ## x ## _ ## y )\r
+\r
+#define        AD              (*(volatile struct st_ad      __evenaccess *)0x89800)\r
+#define        BSC             (*(volatile struct st_bsc     __evenaccess *)0x81300)\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        CRC             (*(volatile struct st_crc     __evenaccess *)0x88280)\r
+#define        DA              (*(volatile struct st_da      __evenaccess *)0x880C0)\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        DTC             (*(volatile struct st_dtc     __evenaccess *)0x82400)\r
+#define        EDMAC   (*(volatile struct st_edmac   __evenaccess *)0xC0000)\r
+#define        ETHERC  (*(volatile struct st_etherc  __evenaccess *)0xC0100)\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        ICU             (*(volatile struct st_icu     __evenaccess *)0x87000)\r
+#define        IEB             (*(volatile struct st_ieb     __evenaccess *)0x8A800)\r
+#define        IWDT    (*(volatile struct st_iwdt    __evenaccess *)0x88030)\r
+#define        MPC             (*(volatile struct st_mpc     __evenaccess *)0x8C100)\r
+#define        MTU             (*(volatile struct st_mtu     __evenaccess *)0x8860A)\r
+#define        MTU0    (*(volatile struct st_mtu0    __evenaccess *)0x88690)\r
+#define        MTU1    (*(volatile struct st_mtu1    __evenaccess *)0x88690)\r
+#define        MTU2    (*(volatile struct st_mtu2    __evenaccess *)0x88692)\r
+#define        MTU3    (*(volatile struct st_mtu3    __evenaccess *)0x88600)\r
+#define        MTU4    (*(volatile struct st_mtu4    __evenaccess *)0x88600)\r
+#define        MTU5    (*(volatile struct st_mtu5    __evenaccess *)0x88694)\r
+#define        POE             (*(volatile struct st_poe     __evenaccess *)0x88900)\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        PORTH   (*(volatile struct st_porth   __evenaccess *)0x8C0D1)\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        RIIC0   (*(volatile struct st_riic0   __evenaccess *)0x88300)\r
+#define        RIIC1   (*(volatile struct st_riic1   __evenaccess *)0x88320)\r
+#define        RIIC2   (*(volatile struct st_riic1   __evenaccess *)0x88340)\r
+#define        RIIC3   (*(volatile struct st_riic1   __evenaccess *)0x88360)\r
+#define        RSPI0   (*(volatile struct st_rspi    __evenaccess *)0x88380)\r
+#define        RSPI1   (*(volatile struct st_rspi    __evenaccess *)0x883A0)\r
+#define        RSPI2   (*(volatile struct st_rspi    __evenaccess *)0x883C0)\r
+#define        RTC             (*(volatile struct st_rtc     __evenaccess *)0x8C400)\r
+#define        S12AD   (*(volatile struct st_s12ad   __evenaccess *)0x89000)\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_sci7    __evenaccess *)0x8A0E0)\r
+#define        SCI8    (*(volatile struct st_sci0    __evenaccess *)0x8A100)\r
+#define        SCI9    (*(volatile struct st_sci0    __evenaccess *)0x8A120)\r
+#define        SCI10   (*(volatile struct st_sci0    __evenaccess *)0x8A140)\r
+#define        SCI11   (*(volatile struct st_sci0    __evenaccess *)0x8A160)\r
+#define        SCI12   (*(volatile struct st_sci12   __evenaccess *)0x8B300)\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_smci7   __evenaccess *)0x8A0E0)\r
+#define        SMCI8   (*(volatile struct st_smci0   __evenaccess *)0x8A100)\r
+#define        SMCI9   (*(volatile struct st_smci0   __evenaccess *)0x8A120)\r
+#define        SMCI10  (*(volatile struct st_smci0   __evenaccess *)0x8A140)\r
+#define        SMCI11  (*(volatile struct st_smci0   __evenaccess *)0x8A160)\r
+#define        SMCI12  (*(volatile struct st_smci0   __evenaccess *)0x8B300)\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        TPU6    (*(volatile struct st_tpu0    __evenaccess *)0x88178)\r
+#define        TPU7    (*(volatile struct st_tpu1    __evenaccess *)0x88178)\r
+#define        TPU8    (*(volatile struct st_tpu2    __evenaccess *)0x8817A)\r
+#define        TPU9    (*(volatile struct st_tpu3    __evenaccess *)0x8817A)\r
+#define        TPU10   (*(volatile struct st_tpu4    __evenaccess *)0x8817C)\r
+#define        TPU11   (*(volatile struct st_tpu5    __evenaccess *)0x8817C)\r
+#define        TPUA    (*(volatile struct st_tpua    __evenaccess *)0x88100)\r
+#define        TPUB    (*(volatile struct st_tpub    __evenaccess *)0x88170)\r
+#define        USB             (*(volatile struct st_usb     __evenaccess *)0xA0400)\r
+#define        USB0    (*(volatile struct st_usb0    __evenaccess *)0xA0000)\r
+#define        USB1    (*(volatile struct st_usb1    __evenaccess *)0xA0200)\r
+#define        WDT             (*(volatile struct st_wdt     __evenaccess *)0x88020)\r
+#pragma bit_order\r
+#pragma packoption\r
+#endif\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/mcu/rx63n/iodefine.h_from_toolchain b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/mcu/rx63n/iodefine.h_from_toolchain
new file mode 100644 (file)
index 0000000..d1f3cfc
--- /dev/null
@@ -0,0 +1,12063 @@
+/************************************************************************\r
+*\r
+* Device     : RX/RX600/RX63N\r
+*\r
+* File Name  : ioedfine.h\r
+*\r
+* Abstract   : Definition of I/O Register.\r
+*\r
+* History    : 0.50  (2011-03-28)  [Hardware Manual Revision : 0.50]\r
+*            : 0.02  (2010-11-01)  [Hardware Manual Revision : 0.01]\r
+*\r
+* NOTE       : THIS IS A TYPICAL EXAMPLE.\r
+*\r
+* Copyright (C) 2010(2011) Renesas Electronics Corporation\r
+* and Renesas Solutions Corp.\r
+*\r
+************************************************************************/\r
+/********************************************************************************/\r
+/*                                                                              */\r
+/*  DESCRIPTION : Definition of ICU Register                                    */\r
+/*  CPU TYPE    : RX63N                                                         */\r
+/*                                                                              */\r
+/*  Usage : IR,DTCER,IER,IPR of ICU Register                                    */\r
+/*     The following IR, DTCE, IEN, IPR macro functions simplify usage.         */\r
+/*     The bit access operation is "Bit_Name(interrupt source,name)".           */\r
+/*     A part of the name can be omitted.                                       */\r
+/*     for example :                                                            */\r
+/*       IR(TPU0,TGI0A) = 0;     expands to :                                   */\r
+/*         ICU.IR[126].BIT.IR = 0;                                              */\r
+/*                                                                              */\r
+/*       DTCE(ICU,IRQ0) = 1;     expands to :                                   */\r
+/*         ICU.DTCER[64].BIT.DTCE = 1;                                          */\r
+/*                                                                              */\r
+/*       IEN(CMT0,CMI0) = 1;     expands to :                                   */\r
+/*         ICU.IER[0x03].BIT.IEN4 = 1;                                          */\r
+/*                                                                              */\r
+/*       IPR(TPU0,TGI0A) = 2;    expands to :                                   */\r
+/*       IPR(TPU0,TGI  ) = 2;    // TGI0A,TGI0B,TGI0C,TGI0D share IPR level.    */\r
+/*         ICU.IPR[126].BIT.IPR = 2;                                            */\r
+/*                                                                              */\r
+/*       IPR(SCI0,RXI0) = 3;     expands to :                                   */\r
+/*       IPR(SCI0,    ) = 3;     // SCI0 uses single IPR for all sources.       */\r
+/*         ICU.IPR[214].BIT.IPR = 3;                                            */\r
+/*                                                                              */\r
+/*  Usage : #pragma interrupt Function_Identifier(vect=**)                      */\r
+/*     The number of vector is "(interrupt source, name)".                      */\r
+/*     for example :                                                            */\r
+/*       #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0))          expands to :  */\r
+/*         #pragma interrupt INT_IRQ0(vect=64)                                  */\r
+/*       #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0))    expands to :  */\r
+/*         #pragma interrupt INT_CMT0_CMI0(vect=28)                             */\r
+/*       #pragma interrupt INT_MTU0_TGIA0(vect=VECT(MTU0,TGIA0))  expands to :  */\r
+/*         #pragma interrupt INT_MTU0_TGIA0(vect=142)                           */\r
+/*       #pragma interrupt INT_TPU0_TGI0A(vect=VECT(TPU0,TGI0A))  expands to :  */\r
+/*         #pragma interrupt INT_TPU0_TGI0A(vect=126)                           */\r
+/*                                                                              */\r
+/*  Usage : MSTPCRA,MSTPCRB,MSTPCRC of SYSTEM Register                          */\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,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,MTU5  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
+/*         SYSTEM.MSTPCRA.BIT.MSTPA14 = 0;                                      */\r
+/*                                                                              */\r
+/*                                                                              */\r
+/********************************************************************************/\r
+#ifndef __RX63NIODEFINE_HEADER__\r
+#define __RX63NIODEFINE_HEADER__\r
+#pragma bit_order left\r
+#pragma unpack\r
+struct st_ad {\r
+       unsigned short ADDRA;\r
+       unsigned short ADDRB;\r
+       unsigned short ADDRC;\r
+       unsigned short ADDRD;\r
+       unsigned short ADDRE;\r
+       unsigned short ADDRF;\r
+       unsigned short ADDRG;\r
+       unsigned short ADDRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ADIE:1;\r
+                       unsigned char ADST:1;\r
+                       unsigned char :2;\r
+                       unsigned char CH:3;\r
+               } BIT;\r
+       } ADCSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TRGS:3;\r
+                       unsigned char :1;\r
+                       unsigned char CKS:2;\r
+                       unsigned char MODE:2;\r
+               } BIT;\r
+       } ADCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSEL:1;\r
+                       unsigned char EXOEN:1;\r
+                       unsigned char EXSEL:2;\r
+               } BIT;\r
+       } ADCR2;\r
+       unsigned char  ADSSTR;\r
+       char           wk0[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char DIAG:2;\r
+               } BIT;\r
+       } ADDIAGR;\r
+};\r
+\r
+struct st_bsc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char STSCLR:1;\r
+               } BIT;\r
+       } BERCLR;\r
+       char           wk0[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TOEN:1;\r
+                       unsigned char IGAEN:1;\r
+               } BIT;\r
+       } BEREN;\r
+       char           wk1[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char MST:3;\r
+                       unsigned char :2;\r
+                       unsigned char TO:1;\r
+                       unsigned char IA:1;\r
+               } BIT;\r
+       } BERSR1;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADDR:13;\r
+               } BIT;\r
+       } BERSR2;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short BPEB:2;\r
+                       unsigned short BPFB:2;\r
+                       unsigned short BPHB:2;\r
+                       unsigned short BPGB:2;\r
+                       unsigned short BPIB:2;\r
+                       unsigned short BPRO:2;\r
+                       unsigned short BPRA:2;\r
+               } BIT;\r
+       } BUSPRI;\r
+       char           wk4[7408];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS0MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS0WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS0WCR2;\r
+       char           wk5[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS1MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS1WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS1WCR2;\r
+       char           wk6[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS2MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS2WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS2WCR2;\r
+       char           wk7[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS3MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS3WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS3WCR2;\r
+       char           wk8[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS4MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS4WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS4WCR2;\r
+       char           wk9[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS5MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS5WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS5WCR2;\r
+       char           wk10[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS6MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS6WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS6WCR2;\r
+       char           wk11[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRMOD:1;\r
+                       unsigned short :5;\r
+                       unsigned short PWENB:1;\r
+                       unsigned short PRENB:1;\r
+                       unsigned short :4;\r
+                       unsigned short EWENB:1;\r
+                       unsigned short :2;\r
+                       unsigned short WRMOD:1;\r
+               } BIT;\r
+       } CS7MOD;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long CSRWAIT:5;\r
+                       unsigned long :3;\r
+                       unsigned long CSWWAIT:5;\r
+                       unsigned long :5;\r
+                       unsigned long CSPRWAIT:3;\r
+                       unsigned long :5;\r
+                       unsigned long CSPWWAIT:3;\r
+               } BIT;\r
+       } CS7WCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :1;\r
+                       unsigned long CSON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WDON:3;\r
+                       unsigned long :1;\r
+                       unsigned long WRON:3;\r
+                       unsigned long :1;\r
+                       unsigned long RDON:3;\r
+                       unsigned long :2;\r
+                       unsigned long AWAIT:2;\r
+                       unsigned long :1;\r
+                       unsigned long WDOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSWOFF:3;\r
+                       unsigned long :1;\r
+                       unsigned long CSROFF:3;\r
+               } BIT;\r
+       } CS7WCR2;\r
+       char           wk12[1926];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS0CR;\r
+       char           wk13[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS0REC;\r
+       char           wk14[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS1CR;\r
+       char           wk15[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS1REC;\r
+       char           wk16[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS2CR;\r
+       char           wk17[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS2REC;\r
+       char           wk18[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS3CR;\r
+       char           wk19[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS3REC;\r
+       char           wk20[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS4CR;\r
+       char           wk21[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS4REC;\r
+       char           wk22[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS5CR;\r
+       char           wk23[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS5REC;\r
+       char           wk24[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS6CR;\r
+       char           wk25[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS6REC;\r
+       char           wk26[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short MPXEN:1;\r
+                       unsigned short :3;\r
+                       unsigned short EMODE:1;\r
+                       unsigned short :2;\r
+                       unsigned short BSIZE:2;\r
+                       unsigned short :3;\r
+                       unsigned short EXENB:1;\r
+               } BIT;\r
+       } CS7CR;\r
+       char           wk27[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short WRCV:4;\r
+                       unsigned short :4;\r
+                       unsigned short RRCV:4;\r
+               } BIT;\r
+       } CS7REC;\r
+       char           wk28[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RCVENM7:1;\r
+                       unsigned short RCVENM6:1;\r
+                       unsigned short RCVENM5:1;\r
+                       unsigned short RCVENM4:1;\r
+                       unsigned short RCVENM3:1;\r
+                       unsigned short RCVENM2:1;\r
+                       unsigned short RCVENM1:1;\r
+                       unsigned short RCVENM0:1;\r
+                       unsigned short RCVEN7:1;\r
+                       unsigned short RCVEN6:1;\r
+                       unsigned short RCVEN5:1;\r
+                       unsigned short RCVEN4:1;\r
+                       unsigned short RCVEN3:1;\r
+                       unsigned short RCVEN2:1;\r
+                       unsigned short RCVEN1:1;\r
+                       unsigned short RCVEN0:1;\r
+               } BIT;\r
+       } CSRECEN;\r
+       char           wk29[894];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char BSIZE:2;\r
+                       unsigned char :3;\r
+                       unsigned char EXENB:1;\r
+               } BIT;\r
+       } SDCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char EMODE:1;\r
+               } BIT;\r
+       } SDCMOD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char BE:1;\r
+               } BIT;\r
+       } SDAMOD;\r
+       char           wk30[13];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SFEN:1;\r
+               } BIT;\r
+       } SDSELF;\r
+       char           wk31[3];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short REFW:4;\r
+                       unsigned short RFC:12;\r
+               } BIT;\r
+       } SDRFCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RFEN:1;\r
+               } BIT;\r
+       } SDRFEN;\r
+       char           wk32[9];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char INIRQ:1;\r
+               } BIT;\r
+       } SDICR;\r
+       char           wk33[3];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short PRC:3;\r
+                       unsigned short ARFC:4;\r
+                       unsigned short ARFI:4;\r
+               } BIT;\r
+       } SDIR;\r
+       char           wk34[26];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char MXC:2;\r
+               } BIT;\r
+       } SDADR;\r
+       char           wk35[3];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :13;\r
+                       unsigned long RAS:3;\r
+                       unsigned long :2;\r
+                       unsigned long RCD:2;\r
+                       unsigned long RP:3;\r
+                       unsigned long WR:1;\r
+                       unsigned long :5;\r
+                       unsigned long CL:3;\r
+               } BIT;\r
+       } SDTR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :1;\r
+                       unsigned short MR:15;\r
+               } BIT;\r
+       } SDMOD;\r
+       char           wk36[6];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char SRFST:1;\r
+                       unsigned char INIST:1;\r
+                       unsigned char :2;\r
+                       unsigned char MRSST:1;\r
+               } BIT;\r
+       } SDSR;\r
+};\r
+\r
+struct st_can {\r
+       struct {\r
+               union {\r
+                       unsigned long LONG;\r
+                       struct {\r
+                               unsigned short H;\r
+                               unsigned short L;\r
+                       } WORD;\r
+                       struct {\r
+                               unsigned char HH;\r
+                               unsigned char HL;\r
+                               unsigned char LH;\r
+                               unsigned char LL;\r
+                       } BYTE;\r
+                       struct {\r
+                               unsigned long IDE:1;\r
+                               unsigned long RTR:1;\r
+                               unsigned long :1;\r
+                               unsigned long SID:11;\r
+                               unsigned long EID:18;\r
+                       } BIT;\r
+               } ID;\r
+               unsigned short DLC;\r
+               unsigned char  DATA[8];\r
+               unsigned short TS;\r
+       } MB[32];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long :3;\r
+                       unsigned long SID:11;\r
+                       unsigned long EID:18;\r
+               } BIT;\r
+       } MKR[8];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long IDE:1;\r
+                       unsigned long RTR:1;\r
+                       unsigned long :1;\r
+                       unsigned long SID:11;\r
+                       unsigned long EID:18;\r
+               } BIT;\r
+       } FIDCR0;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long IDE:1;\r
+                       unsigned long RTR:1;\r
+                       unsigned long :1;\r
+                       unsigned long SID:11;\r
+                       unsigned long EID:18;\r
+               } BIT;\r
+       } FIDCR1;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned char MB31:1;\r
+                       unsigned char MB30:1;\r
+                       unsigned char MB29:1;\r
+                       unsigned char MB28:1;\r
+                       unsigned char MB27:1;\r
+                       unsigned char MB26:1;\r
+                       unsigned char MB25:1;\r
+                       unsigned char MB24:1;\r
+                       unsigned char MB23:1;\r
+                       unsigned char MB22:1;\r
+                       unsigned char MB21:1;\r
+                       unsigned char MB20:1;\r
+                       unsigned char MB19:1;\r
+                       unsigned char MB18:1;\r
+                       unsigned char MB17:1;\r
+                       unsigned char MB16:1;\r
+                       unsigned char MB15:1;\r
+                       unsigned char MB14:1;\r
+                       unsigned char MB13:1;\r
+                       unsigned char MB12:1;\r
+                       unsigned char MB11:1;\r
+                       unsigned char MB10:1;\r
+                       unsigned char MB9:1;\r
+                       unsigned char MB8:1;\r
+                       unsigned char MB7:1;\r
+                       unsigned char MB6:1;\r
+                       unsigned char MB5:1;\r
+                       unsigned char MB4:1;\r
+                       unsigned char MB3:1;\r
+                       unsigned char MB2:1;\r
+                       unsigned char MB1:1;\r
+                       unsigned char MB0:1;\r
+               } BIT;\r
+       } MKIVLR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned char MB31:1;\r
+                       unsigned char MB30:1;\r
+                       unsigned char MB29:1;\r
+                       unsigned char MB28:1;\r
+                       unsigned char MB27:1;\r
+                       unsigned char MB26:1;\r
+                       unsigned char MB25:1;\r
+                       unsigned char MB24:1;\r
+                       unsigned char MB23:1;\r
+                       unsigned char MB22:1;\r
+                       unsigned char MB21:1;\r
+                       unsigned char MB20:1;\r
+                       unsigned char MB19:1;\r
+                       unsigned char MB18:1;\r
+                       unsigned char MB17:1;\r
+                       unsigned char MB16:1;\r
+                       unsigned char MB15:1;\r
+                       unsigned char MB14:1;\r
+                       unsigned char MB13:1;\r
+                       unsigned char MB12:1;\r
+                       unsigned char MB11:1;\r
+                       unsigned char MB10:1;\r
+                       unsigned char MB9:1;\r
+                       unsigned char MB8:1;\r
+                       unsigned char MB7:1;\r
+                       unsigned char MB6:1;\r
+                       unsigned char MB5:1;\r
+                       unsigned char MB4:1;\r
+                       unsigned char MB3:1;\r
+                       unsigned char MB2:1;\r
+                       unsigned char MB1:1;\r
+                       unsigned char MB0:1;\r
+               } BIT;\r
+       } MIER;\r
+       char           wk0[1008];\r
+       union {\r
+               unsigned char BYTE;\r
+               union {\r
+                       struct {\r
+                               unsigned char TRMREQ:1;\r
+                               unsigned char RECREQ:1;\r
+                               unsigned char :1;\r
+                               unsigned char ONESHOT:1;\r
+                               unsigned char :1;\r
+                               unsigned char TRMABT:1;\r
+                               unsigned char TRMACTIVE:1;\r
+                               unsigned char SENTDATA:1;\r
+                       } TX;\r
+                       struct {\r
+                               unsigned char TRMREQ:1;\r
+                               unsigned char RECREQ:1;\r
+                               unsigned char :1;\r
+                               unsigned char ONESHOT:1;\r
+                               unsigned char :1;\r
+                               unsigned char MSGLOST:1;\r
+                               unsigned char INVALDATA:1;\r
+                               unsigned char NEWDATA:1;\r
+                       } RX;\r
+               } BIT;\r
+       } MCTL[32];\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 RBOC:1;\r
+                       unsigned char BOM:2;\r
+                       unsigned char SLPM:1;\r
+                       unsigned char CANM:2;\r
+                       unsigned char TSPS:2;\r
+                       unsigned char TSRC:1;\r
+                       unsigned char TPM:1;\r
+                       unsigned char MLM:1;\r
+                       unsigned char IDFM:2;\r
+                       unsigned char MBM:1;\r
+               } BIT;\r
+       } CTLR;\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 RECST:1;\r
+                       unsigned char TRMST:1;\r
+                       unsigned char BOST:1;\r
+                       unsigned char EPST:1;\r
+                       unsigned char SLPST:1;\r
+                       unsigned char HLTST:1;\r
+                       unsigned char RSTST:1;\r
+                       unsigned char EST:1;\r
+                       unsigned char TABST:1;\r
+                       unsigned char FMLST:1;\r
+                       unsigned char NMLST:1;\r
+                       unsigned char TFST:1;\r
+                       unsigned char RFST:1;\r
+                       unsigned char SDST:1;\r
+                       unsigned char NDST:1;\r
+               } BIT;\r
+       } STR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned short H;\r
+                       unsigned short L;\r
+               } WORD;\r
+               struct {\r
+                       unsigned char HH;\r
+                       unsigned char HL;\r
+                       unsigned char LH;\r
+                       unsigned char LL;\r
+               } BYTE;\r
+               struct {\r
+                       unsigned long TSEG1:4;\r
+                       unsigned long :2;\r
+                       unsigned long BRP:10;\r
+                       unsigned long :2;\r
+                       unsigned long SJW:2;\r
+                       unsigned long :1;\r
+                       unsigned long TSEG2:3;\r
+                       unsigned long :7;\r
+                       unsigned long CCLKS:1;\r
+               } BIT;\r
+       } BCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RFEST:1;\r
+                       unsigned char RFWST:1;\r
+                       unsigned char RFFST:1;\r
+                       unsigned char RFMLF:1;\r
+                       unsigned char RFUST:3;\r
+                       unsigned char RFE:1;\r
+               } BIT;\r
+       } RFCR;\r
+       unsigned char  RFPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TFEST:1;\r
+                       unsigned char TFFST:1;\r
+                       unsigned char :2;\r
+                       unsigned char TFUST:3;\r
+                       unsigned char TFE:1;\r
+               } BIT;\r
+       } TFCR;\r
+       unsigned char  TFPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BLIE:1;\r
+                       unsigned char OLIE:1;\r
+                       unsigned char ORIE:1;\r
+                       unsigned char BORIE:1;\r
+                       unsigned char BOEIE:1;\r
+                       unsigned char EPIE:1;\r
+                       unsigned char EWIE:1;\r
+                       unsigned char BEIE:1;\r
+               } BIT;\r
+       } EIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BLIF:1;\r
+                       unsigned char OLIF:1;\r
+                       unsigned char ORIF:1;\r
+                       unsigned char BORIF:1;\r
+                       unsigned char BOEIF:1;\r
+                       unsigned char EPIF:1;\r
+                       unsigned char EWIF:1;\r
+                       unsigned char BEIF:1;\r
+               } BIT;\r
+       } EIFR;\r
+       unsigned char  RECR;\r
+       unsigned char  TECR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char EDPM:1;\r
+                       unsigned char ADEF:1;\r
+                       unsigned char BE0F:1;\r
+                       unsigned char BE1F:1;\r
+                       unsigned char CEF:1;\r
+                       unsigned char AEF:1;\r
+                       unsigned char FEF:1;\r
+                       unsigned char SEF:1;\r
+               } BIT;\r
+       } ECSR;\r
+       unsigned char  CSSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SEST:1;\r
+                       unsigned char :2;\r
+                       unsigned char MBNST:5;\r
+               } BIT;\r
+       } MSSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char MBSM:2;\r
+               } BIT;\r
+       } MSMR;\r
+       unsigned short TSR;\r
+       unsigned short AFSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TSTM:2;\r
+                       unsigned char TSTE:1;\r
+               } BIT;\r
+       } TCR;\r
+};\r
+\r
+struct st_cmt {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :14;\r
+                       unsigned short STR1:1;\r
+                       unsigned short STR0:1;\r
+               } BIT;\r
+       } CMSTR0;\r
+       char           wk0[14];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :14;\r
+                       unsigned short STR3:1;\r
+                       unsigned short STR2:1;\r
+               } BIT;\r
+       } CMSTR1;\r
+};\r
+\r
+struct st_cmt0 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :9;\r
+                       unsigned short CMIE:1;\r
+                       unsigned short :4;\r
+                       unsigned short CKS:2;\r
+               } BIT;\r
+       } CMCR;\r
+       unsigned short CMCNT;\r
+       unsigned short CMCOR;\r
+};\r
+\r
+struct st_crc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DORCLR:1;\r
+                       unsigned char :4;\r
+                       unsigned char LMS:1;\r
+                       unsigned char GPS:2;\r
+               } BIT;\r
+       } CRCCR;\r
+       unsigned char  CRCDIR;\r
+       unsigned short CRCDOR;\r
+};\r
+\r
+struct st_da {\r
+       unsigned short DADR0;\r
+       unsigned short DADR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DAOE1:1;\r
+                       unsigned char DAOE0:1;\r
+                       unsigned char DAE:1;\r
+               } BIT;\r
+       } DACR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSEL:1;\r
+               } BIT;\r
+       } DADPR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DAADST:1;\r
+               } BIT;\r
+       } DAADSCR;\r
+};\r
+\r
+struct st_dmac {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DMST:1;\r
+               } BIT;\r
+       } DMAST;\r
+};\r
+\r
+struct st_dmac0 {\r
+       unsigned long  DMSAR;\r
+       unsigned long  DMDAR;\r
+       unsigned long  DMCRA;\r
+       unsigned short DMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } DMTMD;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } DMINT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SM:2;\r
+                       unsigned short :1;\r
+                       unsigned short SARA:5;\r
+                       unsigned short DM:2;\r
+                       unsigned short :1;\r
+                       unsigned short DARA:5;\r
+               } BIT;\r
+       } DMAMD;\r
+       char           wk2[2];\r
+       unsigned long  DMOFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } DMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } DMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } DMSTS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DISEL:1;\r
+               } BIT;\r
+       } DMCSL;\r
+};\r
+\r
+struct st_dmac1 {\r
+       unsigned long  DMSAR;\r
+       unsigned long  DMDAR;\r
+       unsigned long  DMCRA;\r
+       unsigned short DMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } DMTMD;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } DMINT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SM:2;\r
+                       unsigned short :1;\r
+                       unsigned short SARA:5;\r
+                       unsigned short DM:2;\r
+                       unsigned short :1;\r
+                       unsigned short DARA:5;\r
+               } BIT;\r
+       } DMAMD;\r
+       char           wk2[6];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } DMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } DMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } DMSTS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DISEL:1;\r
+               } BIT;\r
+       } DMCSL;\r
+};\r
+\r
+struct st_dtc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char RRS:1;\r
+               } BIT;\r
+       } DTCCR;\r
+       char           wk0[3];\r
+       unsigned long  DTCVBR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SHORT:1;\r
+               } BIT;\r
+       } DTCADMOD;\r
+       char           wk1[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTCST:1;\r
+               } BIT;\r
+       } DTCST;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ACT:1;\r
+                       unsigned short :7;\r
+                       unsigned short VECN:8;\r
+               } BIT;\r
+       } DTCSTS;\r
+};\r
+\r
+struct st_edmac {\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
+                       unsigned long :4;\r
+                       unsigned long CND:1;\r
+                       unsigned long DLC:1;\r
+                       unsigned long CD:1;\r
+                       unsigned long TRO:1;\r
+                       unsigned long RMAF:1;\r
+                       unsigned long :2;\r
+                       unsigned long RRF:1;\r
+                       unsigned long RTLF:1;\r
+                       unsigned long RTSF:1;\r
+                       unsigned long PRE:1;\r
+                       unsigned long CERF: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
+                       unsigned long :4;\r
+                       unsigned long CNDIP:1;\r
+                       unsigned long DLCIP:1;\r
+                       unsigned long CDIP:1;\r
+                       unsigned long TROIP:1;\r
+                       unsigned long RMAFIP:1;\r
+                       unsigned long :2;\r
+                       unsigned long RRFIP:1;\r
+                       unsigned long RTLFIP:1;\r
+                       unsigned long RTSFIP:1;\r
+                       unsigned long PREIP:1;\r
+                       unsigned long CERFIP: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
+};\r
+\r
+struct st_etherc {\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :11;\r
+                       unsigned long TPC:1;\r
+                       unsigned long ZPE:1;\r
+                       unsigned long PFR:1;\r
+                       unsigned long RXF:1;\r
+                       unsigned long TXF:1;\r
+                       unsigned long :3;\r
+                       unsigned long PRCEF:1;\r
+                       unsigned long :2;\r
+                       unsigned long MPDE:1;\r
+                       unsigned long :2;\r
+                       unsigned long RE:1;\r
+                       unsigned long TE:1;\r
+                       unsigned long :1;\r
+                       unsigned long ILB:1;\r
+                       unsigned long RTM:1;\r
+                       unsigned long DM:1;\r
+                       unsigned long PRM:1;\r
+               } BIT;\r
+       } ECMR;\r
+       char           wk0[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :20;\r
+                       unsigned long RFL:12;\r
+               } BIT;\r
+       } RFLR;\r
+       char           wk1[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :26;\r
+                       unsigned long BFR:1;\r
+                       unsigned long PSRTO:1;\r
+                       unsigned long :1;\r
+                       unsigned long LCHNG:1;\r
+                       unsigned long MPD:1;\r
+                       unsigned long ICD:1;\r
+               } BIT;\r
+       } ECSR;\r
+       char           wk2[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :26;\r
+                       unsigned long BFSIPR:1;\r
+                       unsigned long PSRTOIP:1;\r
+                       unsigned long :1;\r
+                       unsigned long LCHNGIP:1;\r
+                       unsigned long MPDIP:1;\r
+                       unsigned long ICDIP:1;\r
+               } BIT;\r
+       } ECSIPR;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :28;\r
+                       unsigned long MDI:1;\r
+                       unsigned long MDO:1;\r
+                       unsigned long MMD:1;\r
+                       unsigned long MDC:1;\r
+               } BIT;\r
+       } PIR;\r
+       char           wk4[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :31;\r
+                       unsigned long LMON:1;\r
+               } BIT;\r
+       } PSR;\r
+       char           wk5[20];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :12;\r
+                       unsigned long RMD:20;\r
+               } BIT;\r
+       } RDMLR;\r
+       char           wk6[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :27;\r
+                       unsigned long IPG:5;\r
+               } BIT;\r
+       } IPGR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long AP:16;\r
+               } BIT;\r
+       } APR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long MP:16;\r
+               } BIT;\r
+       } MPR;\r
+       char           wk7[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :24;\r
+                       unsigned long RPAUSE:8;\r
+               } BIT;\r
+       } RFCF;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long TPAUSE:16;\r
+               } BIT;\r
+       } TPAUSER;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :24;\r
+                       unsigned long TXP:8;\r
+               } BIT;\r
+       } TPAUSECR;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long BCF:16;\r
+               } BIT;\r
+       } BCFRR;\r
+       char           wk8[80];\r
+       unsigned long  MAHR;\r
+       char           wk9[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\r
+                       unsigned long MA:16;\r
+               } BIT;\r
+       } MALR;\r
+       char           wk10[4];\r
+       unsigned long  TROCR;\r
+       unsigned long  CDCR;\r
+       unsigned long  LCCR;\r
+       unsigned long  CNDCR;\r
+       char           wk11[4];\r
+       unsigned long  CEFCR;\r
+       unsigned long  FRECR;\r
+       unsigned long  TSFRCR;\r
+       unsigned long  TLFRCR;\r
+       unsigned long  RFCR;\r
+       unsigned long  MAFCR;\r
+};\r
+\r
+struct st_exdmac {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DMST:1;\r
+               } BIT;\r
+       } EDMAST;\r
+       char           wk0[479];\r
+       unsigned long  CLSBR0;\r
+       unsigned long  CLSBR1;\r
+       unsigned long  CLSBR2;\r
+       unsigned long  CLSBR3;\r
+       unsigned long  CLSBR4;\r
+       unsigned long  CLSBR5;\r
+       unsigned long  CLSBR6;\r
+       unsigned long  CLSBR7;\r
+};\r
+\r
+struct st_exdmac0 {\r
+       unsigned long  EDMSAR;\r
+       unsigned long  EDMDAR;\r
+       unsigned long  EDMCRA;\r
+       unsigned short EDMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } EDMTMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char DACKS:1;\r
+                       unsigned char DACKE:1;\r
+                       unsigned char DACKW:1;\r
+               } BIT;\r
+       } EDMOMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } EDMINT;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :14;\r
+                       unsigned long AMS:1;\r
+                       unsigned long DIR:1;\r
+                       unsigned long SM:2;\r
+                       unsigned long :1;\r
+                       unsigned long SARA:5;\r
+                       unsigned long DM:2;\r
+                       unsigned long :1;\r
+                       unsigned long DARA:5;\r
+               } BIT;\r
+       } EDMAMD;\r
+       unsigned long  EDMOFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } EDMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } EDMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } EDMSTS;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char DREQS:2;\r
+               } BIT;\r
+       } EDMRMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char EREQ:1;\r
+               } BIT;\r
+       } EDMERF;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PREQ:1;\r
+               } BIT;\r
+       } EDMPRF;\r
+};\r
+\r
+struct st_exdmac1 {\r
+       unsigned long  EDMSAR;\r
+       unsigned long  EDMDAR;\r
+       unsigned long  EDMCRA;\r
+       unsigned short EDMCRB;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short MD:2;\r
+                       unsigned short DTS:2;\r
+                       unsigned short :2;\r
+                       unsigned short SZ:2;\r
+                       unsigned short :6;\r
+                       unsigned short DCTG:2;\r
+               } BIT;\r
+       } EDMTMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char DACKS:1;\r
+                       unsigned char DACKE:1;\r
+                       unsigned char DACKW:1;\r
+               } BIT;\r
+       } EDMOMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char DTIE:1;\r
+                       unsigned char ESIE:1;\r
+                       unsigned char RPTIE:1;\r
+                       unsigned char SARIE:1;\r
+                       unsigned char DARIE:1;\r
+               } BIT;\r
+       } EDMINT;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :14;\r
+                       unsigned long AMS:1;\r
+                       unsigned long DIR:1;\r
+                       unsigned long SM:2;\r
+                       unsigned long :1;\r
+                       unsigned long SARA:5;\r
+                       unsigned long DM:2;\r
+                       unsigned long :1;\r
+                       unsigned long DARA:5;\r
+               } BIT;\r
+       } EDMAMD;\r
+       char           wk1[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTE:1;\r
+               } BIT;\r
+       } EDMCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char CLRS:1;\r
+                       unsigned char :3;\r
+                       unsigned char SWREQ:1;\r
+               } BIT;\r
+       } EDMREQ;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ACT:1;\r
+                       unsigned char :2;\r
+                       unsigned char DTIF:1;\r
+                       unsigned char :3;\r
+                       unsigned char ESIF:1;\r
+               } BIT;\r
+       } EDMSTS;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char DREQS:2;\r
+               } BIT;\r
+       } EDMRMD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char EREQ:1;\r
+               } BIT;\r
+       } EDMERF;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PREQ:1;\r
+               } BIT;\r
+       } EDMPRF;\r
+};\r
+\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[7799147];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char FRDMD:1;\r
+               } BIT;\r
+       } FMODR;\r
+       char           wk1[13];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ROMAE:1;\r
+                       unsigned char :2;\r
+                       unsigned char CMDLK:1;\r
+                       unsigned char DFLAE:1;\r
+                       unsigned char :1;\r
+                       unsigned char DFLRPE:1;\r
+                       unsigned char DFLWPE:1;\r
+               } BIT;\r
+       } FASTAT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ROMAEIE:1;\r
+                       unsigned char :2;\r
+                       unsigned char CMDLKIE:1;\r
+                       unsigned char DFLAEIE:1;\r
+                       unsigned char :1;\r
+                       unsigned char DFLRPEIE:1;\r
+                       unsigned char DFLWPEIE:1;\r
+               } BIT;\r
+       } FAEINT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char FRDYIE:1;\r
+               } BIT;\r
+       } FRDYIE;\r
+       char           wk2[45];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBRE07:1;\r
+                       unsigned short DBRE06:1;\r
+                       unsigned short DBRE05:1;\r
+                       unsigned short DBRE04:1;\r
+                       unsigned short DBRE03:1;\r
+                       unsigned short DBRE02:1;\r
+                       unsigned short DBRE01:1;\r
+                       unsigned short DBRE00:1;\r
+               } BIT;\r
+       } DFLRE0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBRE15:1;\r
+                       unsigned short DBRE14:1;\r
+                       unsigned short DBRE13:1;\r
+                       unsigned short DBRE12:1;\r
+                       unsigned short DBRE11:1;\r
+                       unsigned short DBRE10:1;\r
+                       unsigned short DBRE09:1;\r
+                       unsigned short DBRE08:1;\r
+               } BIT;\r
+       } DFLRE1;\r
+       char           wk3[12];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBWE07:1;\r
+                       unsigned short DBW006:1;\r
+                       unsigned short DBWE05:1;\r
+                       unsigned short DBWE04:1;\r
+                       unsigned short DBWE03:1;\r
+                       unsigned short DBWE02:1;\r
+                       unsigned short DBWE01:1;\r
+                       unsigned short DBWE00:1;\r
+               } BIT;\r
+       } DFLWE0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short DBWE15:1;\r
+                       unsigned short DBWE14:1;\r
+                       unsigned short DBWE13:1;\r
+                       unsigned short DBWE12:1;\r
+                       unsigned short DBWE11:1;\r
+                       unsigned short DBWE10:1;\r
+                       unsigned short DBWE09:1;\r
+                       unsigned short DBWE08:1;\r
+               } BIT;\r
+       } DFLWE1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FCRME:1;\r
+               } BIT;\r
+       } FCURAME;\r
+       char           wk4[15194];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FRDY:1;\r
+                       unsigned char ILGLERR:1;\r
+                       unsigned char ERSERR:1;\r
+                       unsigned char PRGERR:1;\r
+                       unsigned char SUSRDY:1;\r
+                       unsigned char :1;\r
+                       unsigned char ERSSPD:1;\r
+                       unsigned char PRGSPD:1;\r
+               } BIT;\r
+       } FSTATR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FCUERR:1;\r
+                       unsigned char :2;\r
+                       unsigned char FLOCKST:1;\r
+               } BIT;\r
+       } FSTATR1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FEKEY:8;\r
+                       unsigned short FENTRYD:1;\r
+                       unsigned short :3;\r
+                       unsigned short FENTRY3:1;\r
+                       unsigned short FENTRY2:1;\r
+                       unsigned short FENTRY1:1;\r
+                       unsigned short FENTRY0:1;\r
+               } BIT;\r
+       } FENTRYR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FPKEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FPROTCN:1;\r
+               } BIT;\r
+       } FPROTR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FRKEY:8;\r
+                       unsigned short :7;\r
+                       unsigned short FRESET:1;\r
+               } BIT;\r
+       } FRESETR;\r
+       char           wk5[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short CMDR:8;\r
+                       unsigned short PCMDR:8;\r
+               } BIT;\r
+       } FCMDR;\r
+       char           wk6[12];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short ESUSPMD:1;\r
+               } BIT;\r
+       } FCPSR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BCSIZE:1;\r
+                       unsigned short :4;\r
+                       unsigned short BCADR:11;\r
+               } BIT;\r
+       } DFLBCCNT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short PEERRST:8;\r
+               } BIT;\r
+       } FPESTAT;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short BCST:1;\r
+               } BIT;\r
+       } DFLBCSTAT;\r
+       char           wk7[24];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short PCKA:8;\r
+               } BIT;\r
+       } PCKAR;\r
+};\r
+\r
+struct st_icu {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IR:1;\r
+               } BIT;\r
+       } IR[254];\r
+       char           wk0[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DTCE:1;\r
+               } BIT;\r
+       } DTCER[252];\r
+       char           wk1[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IEN7:1;\r
+                       unsigned char IEN6:1;\r
+                       unsigned char IEN5:1;\r
+                       unsigned char IEN4:1;\r
+                       unsigned char IEN3:1;\r
+                       unsigned char IEN2:1;\r
+                       unsigned char IEN1:1;\r
+                       unsigned char IEN0:1;\r
+               } BIT;\r
+       } IER[32];\r
+       char           wk2[192];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SWINT:1;\r
+               } BIT;\r
+       } SWINTR;\r
+       char           wk3[15];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FIEN:1;\r
+                       unsigned short :7;\r
+                       unsigned short FVCT:8;\r
+               } BIT;\r
+       } FIR;\r
+       char           wk4[14];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char IPR:4;\r
+               } BIT;\r
+       } IPR[254];\r
+       char           wk5[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR0;\r
+       char           wk6[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR1;\r
+       char           wk7[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR2;\r
+       char           wk8[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DMRS:8;\r
+               } BIT;\r
+       } DMRSR3;\r
+       char           wk9[243];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char IRQMD:2;\r
+               } BIT;\r
+       } IRQCR[16];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FLTEN7:1;\r
+                       unsigned char FLTEN6:1;\r
+                       unsigned char FLTEN5:1;\r
+                       unsigned char FLTEN4:1;\r
+                       unsigned char FLTEN3:1;\r
+                       unsigned char FLTEN2:1;\r
+                       unsigned char FLTEN1:1;\r
+                       unsigned char FLTEN0:1;\r
+               } BIT;\r
+       } IRQFLTE0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FLTEN15:1;\r
+                       unsigned char FLTEN14:1;\r
+                       unsigned char FLTEN13:1;\r
+                       unsigned char FLTEN12:1;\r
+                       unsigned char FLTEN11:1;\r
+                       unsigned char FLTEN10:1;\r
+                       unsigned char FLTEN9:1;\r
+                       unsigned char FLTEN8:1;\r
+               } BIT;\r
+       } IRQFLTE1;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FCLKSEL7:2;\r
+                       unsigned short FCLKSEL6:2;\r
+                       unsigned short FCLKSEL5:2;\r
+                       unsigned short FCLKSEL4:2;\r
+                       unsigned short FCLKSEL3:2;\r
+                       unsigned short FCLKSEL2:2;\r
+                       unsigned short FCLKSEL1:2;\r
+                       unsigned short FCLKSEL0:2;\r
+               } BIT;\r
+       } IRQFLTC0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short FCLKSEL15:2;\r
+                       unsigned short FCLKSEL14:2;\r
+                       unsigned short FCLKSEL13:2;\r
+                       unsigned short FCLKSEL12:2;\r
+                       unsigned short FCLKSEL11:2;\r
+                       unsigned short FCLKSEL10:2;\r
+                       unsigned short FCLKSEL9:2;\r
+                       unsigned short FCLKSEL8:2;\r
+               } BIT;\r
+       } IRQFLTC1;\r
+       char           wk11[104];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char LVD2ST:1;\r
+                       unsigned char LVD1ST:1;\r
+                       unsigned char IWDTST:1;\r
+                       unsigned char WDTST:1;\r
+                       unsigned char OSTST:1;\r
+                       unsigned char NMIST:1;\r
+               } BIT;\r
+       } NMISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char LVD2EN:1;\r
+                       unsigned char LVD1EN:1;\r
+                       unsigned char IWDTEN:1;\r
+                       unsigned char WDTEN:1;\r
+                       unsigned char OSTEN:1;\r
+                       unsigned char NMIEN:1;\r
+               } BIT;\r
+       } NMIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char LVD2CLR:1;\r
+                       unsigned char LVD1CLR:1;\r
+                       unsigned char IWDTCLR:1;\r
+                       unsigned char WDTCLR:1;\r
+                       unsigned char OSTCLR:1;\r
+                       unsigned char NMICLR:1;\r
+               } BIT;\r
+       } NMICLR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NMIMD:1;\r
+               } BIT;\r
+       } NMICR;\r
+       char           wk12[12];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char NFLTEN:1;\r
+               } BIT;\r
+       } NMIFLTE;\r
+       char           wk13[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char NFCLKSEL:2;\r
+               } BIT;\r
+       } NMIFLTC;\r
+       char           wk14[19819];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\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
+       } GRP[13];\r
+       char           wk15[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\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
+       } GEN[13];\r
+       char           wk16[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :16;\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
+       } GCR[13];\r
+       char           wk17[12];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :26;\r
+                       unsigned long CN5:1;\r
+                       unsigned long CN4:1;\r
+                       unsigned long CN3:1;\r
+                       unsigned long CN2:1;\r
+                       unsigned long CN1:1;\r
+                       unsigned long CN0:1;\r
+               } BIT;\r
+       } SEL;\r
+};\r
+\r
+struct st_ieb {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char IOL:1;\r
+                       unsigned char DEE:1;\r
+                       unsigned char :1;\r
+                       unsigned char RE:1;\r
+               } BIT;\r
+       } IECTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char CMD:3;\r
+               } BIT;\r
+       } IECMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SS:1;\r
+                       unsigned char RN:3;\r
+                       unsigned char CTL:4;\r
+               } BIT;\r
+       } IEMCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IARL4:4;\r
+                       unsigned char IMD:2;\r
+                       unsigned char :1;\r
+                       unsigned char STE:1;\r
+               } BIT;\r
+       } IEAR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IARU8:8;\r
+               } BIT;\r
+       } IEAR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ISAL4:4;\r
+               } BIT;\r
+       } IESA1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ISAU8:8;\r
+               } BIT;\r
+       } IESA2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IBFL:8;\r
+               } BIT;\r
+       } IETBFL;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ISAL4:4;\r
+               } BIT;\r
+       } IEMA1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IMAU8:8;\r
+               } BIT;\r
+       } IEMA2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char RCTL:4;\r
+               } BIT;\r
+       } IERCTL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RBFL:8;\r
+               } BIT;\r
+       } IERBFL;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ILAL8:8;\r
+               } BIT;\r
+       } IELA1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char ILAU4:4;\r
+               } BIT;\r
+       } IELA2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CMX:1;\r
+                       unsigned char MRQ:1;\r
+                       unsigned char SRQ:1;\r
+                       unsigned char SRE:1;\r
+                       unsigned char LCK:1;\r
+                       unsigned char :1;\r
+                       unsigned char RSS:1;\r
+                       unsigned char GG:1;\r
+               } BIT;\r
+       } IEFLG;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char TXS:1;\r
+                       unsigned char TXF:1;\r
+                       unsigned char :1;\r
+                       unsigned char TXEAL:1;\r
+                       unsigned char TXETTME:1;\r
+                       unsigned char TXERO:1;\r
+                       unsigned char TXEACK:1;\r
+               } BIT;\r
+       } IETSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char TXSE:1;\r
+                       unsigned char TXFE:1;\r
+                       unsigned char :1;\r
+                       unsigned char TXEALE:1;\r
+                       unsigned char TXETTMEE:1;\r
+                       unsigned char TXEROE:1;\r
+                       unsigned char TXEACKE:1;\r
+               } BIT;\r
+       } IEIET;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RXBSY:1;\r
+                       unsigned char RXS:1;\r
+                       unsigned char RXF:1;\r
+                       unsigned char RXEDE:1;\r
+                       unsigned char RXEOVE:1;\r
+                       unsigned char RXERTME:1;\r
+                       unsigned char RXEDLE:1;\r
+                       unsigned char RXEPE:1;\r
+               } BIT;\r
+       } IERSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RXBSYE:1;\r
+                       unsigned char RXSE:1;\r
+                       unsigned char RXFE:1;\r
+                       unsigned char RXEDEE:1;\r
+                       unsigned char RXEOVEE:1;\r
+                       unsigned char RXERTMEE:1;\r
+                       unsigned char RXEDLEE:1;\r
+                       unsigned char RXEPEE:1;\r
+               } BIT;\r
+       } IEIER;\r
+       char           wk3[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FLT:1;\r
+                       unsigned char FCKS:2;\r
+                       unsigned char CKS3:1;\r
+                       unsigned char SRSTP:1;\r
+                       unsigned char CKS:3;\r
+               } BIT;\r
+       } IECKSR;\r
+       char           wk4[230];\r
+       unsigned char  IETB[33];\r
+       char           wk5[223];\r
+       unsigned char  IERB[33];\r
+};\r
+\r
+struct st_iwdt {\r
+       unsigned char  IWDTRR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short RPSS:2;\r
+                       unsigned short :2;\r
+                       unsigned short RPES:2;\r
+                       unsigned short CKS:4;\r
+                       unsigned short :2;\r
+                       unsigned short TOPS:2;\r
+               } BIT;\r
+       } IWDTCR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short REFEF:1;\r
+                       unsigned short UNDFF:1;\r
+                       unsigned short CNTVAL:14;\r
+               } BIT;\r
+       } IWDTSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RSTIRQS:1;\r
+               } BIT;\r
+       } IWDTRCR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SLCSTP:1;\r
+               } BIT;\r
+       } IWDTCSTPR;\r
+};\r
+\r
+struct st_mpc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CS7E:1;\r
+                       unsigned char CS6E:1;\r
+                       unsigned char CS5E:1;\r
+                       unsigned char CS4E:1;\r
+                       unsigned char CS3E:1;\r
+                       unsigned char CS2E:1;\r
+                       unsigned char CS1E:1;\r
+                       unsigned char CS0E:1;\r
+               } BIT;\r
+       } PFCSE;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CS3S:2;\r
+                       unsigned char CS2S:2;\r
+                       unsigned char CS1S:2;\r
+                       unsigned char :1;\r
+                       unsigned char CS0S:1;\r
+               } BIT;\r
+       } PFCSS0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CS7S:2;\r
+                       unsigned char CS6S:2;\r
+                       unsigned char CS5S:2;\r
+                       unsigned char CS4S:2;\r
+               } BIT;\r
+       } PFCSS1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char A15E:1;\r
+                       unsigned char A14E:1;\r
+                       unsigned char A13E:1;\r
+                       unsigned char A12E:1;\r
+                       unsigned char A11E:1;\r
+                       unsigned char A10E:1;\r
+                       unsigned char A9E:1;\r
+                       unsigned char A8E:1;\r
+               } BIT;\r
+       } PFAOE0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char A23E:1;\r
+                       unsigned char A22E:1;\r
+                       unsigned char A21E:1;\r
+                       unsigned char A20E:1;\r
+                       unsigned char A19E:1;\r
+                       unsigned char A18E:1;\r
+                       unsigned char A17E:1;\r
+                       unsigned char A16E:1;\r
+               } BIT;\r
+       } PFAOE1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char WR32BC32E:1;\r
+                       unsigned char WR1BC1E:1;\r
+                       unsigned char DH32E:1;\r
+                       unsigned char DHE:1;\r
+                       unsigned char :2;\r
+                       unsigned char ADRHMS:1;\r
+                       unsigned char ADRLE:1;\r
+               } BIT;\r
+       } PFBCR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SDCLKE:1;\r
+                       unsigned char DQM1E:1;\r
+                       unsigned char :1;\r
+                       unsigned char MDSDE:1;\r
+                       unsigned char :1;\r
+                       unsigned char ALEOE:1;\r
+                       unsigned char WAITS:2;\r
+               } BIT;\r
+       } PFBCR1;\r
+       char           wk1[6];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PHYMODE:1;\r
+               } BIT;\r
+       } PFENET;\r
+       char           wk2[5];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char PUPHZS:1;\r
+               } BIT;\r
+       } PFUSB0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char PUPHZS:1;\r
+               } BIT;\r
+       } PFUSB1;\r
+       char           wk3[9];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B0WI:1;\r
+                       unsigned char PFSWE:1;\r
+               } BIT;\r
+       } PWPR;\r
+       char           wk4[32];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P00PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P01PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P02PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P03PFS;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P05PFS;\r
+       char           wk6[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P07PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P10PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P11PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P12PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P13PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P14PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P15PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P16PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P17PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P20PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P21PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P22PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P23PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P24PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P25PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P26PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P27PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P30PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P31PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P32PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P33PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P34PFS;\r
+       char           wk7[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P40PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P41PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P42PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P43PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P44PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P45PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P46PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+               } BIT;\r
+       } P47PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P50PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P51PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P52PFS;\r
+       char           wk8[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P54PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P55PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P56PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P57PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P60PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P61PFS;\r
+       char           wk9[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P66PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P67PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P70PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P71PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P72PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P73PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P74PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P75PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P76PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P77PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P80PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P81PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P82PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P83PFS;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P86PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P87PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P90PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P91PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P92PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } P93PFS;\r
+       char           wk11[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PA7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PB7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PC7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PD7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE2PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE3PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char :2;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE4PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE5PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE6PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ASEL:1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PE7PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF0PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF1PFS;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF2PFS;\r
+       char           wk12[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char ISEL:1;\r
+                       unsigned char :1;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PF5PFS;\r
+       char           wk13[21];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSEL:5;\r
+               } BIT;\r
+       } PJ3PFS;\r
+};\r
+\r
+struct st_mtu {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char OE4D:1;\r
+                       unsigned char OE4C:1;\r
+                       unsigned char OE3D:1;\r
+                       unsigned char OE4B:1;\r
+                       unsigned char OE4A:1;\r
+                       unsigned char OE3B:1;\r
+               } BIT;\r
+       } TOER;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char BDC:1;\r
+                       unsigned char N:1;\r
+                       unsigned char P:1;\r
+                       unsigned char FB:1;\r
+                       unsigned char WF:1;\r
+                       unsigned char VF:1;\r
+                       unsigned char UF:1;\r
+               } BIT;\r
+       } TGCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char PSYE:1;\r
+                       unsigned char :2;\r
+                       unsigned char TOCL:1;\r
+                       unsigned char TOCS:1;\r
+                       unsigned char OLSN:1;\r
+                       unsigned char OLSP:1;\r
+               } BIT;\r
+       } TOCR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BF:2;\r
+                       unsigned char OLS3N:1;\r
+                       unsigned char OLS3P:1;\r
+                       unsigned char OLS2N:1;\r
+                       unsigned char OLS2P:1;\r
+                       unsigned char OLS1N:1;\r
+                       unsigned char OLS1P:1;\r
+               } BIT;\r
+       } TOCR2;\r
+       char           wk1[4];\r
+       unsigned short TCDR;\r
+       unsigned short TDDR;\r
+       char           wk2[8];\r
+       unsigned short TCNTS;\r
+       unsigned short TCBR;\r
+       char           wk3[12];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char T3AEN:1;\r
+                       unsigned char T3ACOR:3;\r
+                       unsigned char T4VEN:1;\r
+                       unsigned char T4VCOR:3;\r
+               } BIT;\r
+       } TITCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char T3ACNT:3;\r
+                       unsigned char :1;\r
+                       unsigned char T4VCNT:3;\r
+               } BIT;\r
+       } TITCNT;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char BTE:2;\r
+               } BIT;\r
+       } TBTER;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char TDER:1;\r
+               } BIT;\r
+       } TDER;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char OLS3N:1;\r
+                       unsigned char OLS3P:1;\r
+                       unsigned char OLS2N:1;\r
+                       unsigned char OLS2P:1;\r
+                       unsigned char OLS1N:1;\r
+                       unsigned char OLS1P:1;\r
+               } BIT;\r
+       } TOLBR;\r
+       char           wk6[41];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCE:1;\r
+                       unsigned char :6;\r
+                       unsigned char WRE:1;\r
+               } BIT;\r
+       } TWCR;\r
+       char           wk7[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CST4:1;\r
+                       unsigned char CST3:1;\r
+                       unsigned char :3;\r
+                       unsigned char CST2:1;\r
+                       unsigned char CST1:1;\r
+                       unsigned char CST0:1;\r
+               } BIT;\r
+       } TSTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SYNC4:1;\r
+                       unsigned char SYNC3:1;\r
+                       unsigned char :3;\r
+                       unsigned char SYNC2:1;\r
+                       unsigned char SYNC1:1;\r
+                       unsigned char SYNC0:1;\r
+               } BIT;\r
+       } TSYR;\r
+       char           wk8[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RWE:1;\r
+               } BIT;\r
+       } TRWER;\r
+};\r
+\r
+struct st_mtu0 {\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
+       } NFCR;\r
+       char           wk0[111];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char BFE:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :2;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char TGIED:1;\r
+                       unsigned char TGIEC:1;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+       char           wk1[16];\r
+       unsigned short TGRE;\r
+       unsigned short TGRF;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TGIEF:1;\r
+                       unsigned char TGIEE:1;\r
+               } BIT;\r
+       } TIER2;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TTSE:1;\r
+                       unsigned char TTSB:1;\r
+                       unsigned char TTSA:1;\r
+               } BIT;\r
+       } TBTM;\r
+};\r
+\r
+struct st_mtu1 {\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
+       } NFCR;\r
+       char           wk1[238];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCIEU:1;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char :2;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char I2BE:1;\r
+                       unsigned char I2AE:1;\r
+                       unsigned char I1BE:1;\r
+                       unsigned char I1AE:1;\r
+               } BIT;\r
+       } TICCR;\r
+};\r
+\r
+struct st_mtu2 {\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
+       } NFCR;\r
+       char           wk0[365];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char CCLR:2;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCIEU:1;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char :2;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_mtu3 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       char           wk2[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char :2;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char TGIED:1;\r
+                       unsigned char TGIEC:1;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       char           wk3[7];\r
+       unsigned short TCNT;\r
+       char           wk4[6];\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       char           wk5[8];\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+       char           wk6[4];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       char           wk7[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TTSE:1;\r
+                       unsigned char TTSB:1;\r
+                       unsigned char TTSA:1;\r
+               } BIT;\r
+       } TBTM;\r
+       char           wk8[90];\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
+       } NFCR;\r
+};\r
+\r
+struct st_mtu4 {\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       char           wk2[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       char           wk3[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       unsigned char TTGE2:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCIEV:1;\r
+                       unsigned char TGIED:1;\r
+                       unsigned char TGIEC:1;\r
+                       unsigned char TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       char           wk4[8];\r
+       unsigned short TCNT;\r
+       char           wk5[8];\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       char           wk6[8];\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+       char           wk7[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCFD:1;\r
+               } BIT;\r
+       } TSR;\r
+       char           wk8[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TTSE:1;\r
+                       unsigned char TTSB:1;\r
+                       unsigned char TTSA:1;\r
+               } BIT;\r
+       } TBTM;\r
+       char           wk9[6];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BF:2;\r
+                       unsigned short :6;\r
+                       unsigned short UT4AE:1;\r
+                       unsigned short DT4AE:1;\r
+                       unsigned short UT4BE:1;\r
+                       unsigned short DT4BE:1;\r
+                       unsigned short ITA3AE:1;\r
+                       unsigned short ITA4VE:1;\r
+                       unsigned short ITB3AE:1;\r
+                       unsigned short ITB4VE:1;\r
+               } BIT;\r
+       } TADCR;\r
+       char           wk10[2];\r
+       unsigned short TADCORA;\r
+       unsigned short TADCORB;\r
+       unsigned short TADCOBRA;\r
+       unsigned short TADCOBRB;\r
+       char           wk11[72];\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
+       } NFCR;\r
+};\r
+\r
+struct st_mtu5 {\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFCS:2;\r
+                       unsigned char :1;\r
+                       unsigned char NFWEN:1;\r
+                       unsigned char NFVEN:1;\r
+                       unsigned char NFUEN:1;\r
+               } BIT;\r
+       } NFCR;\r
+       char           wk1[490];\r
+       unsigned short TCNTU;\r
+       unsigned short TGRU;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TPSC:2;\r
+               } BIT;\r
+       } TCRU;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char IOC:5;\r
+               } BIT;\r
+       } TIORU;\r
+       char           wk3[9];\r
+       unsigned short TCNTV;\r
+       unsigned short TGRV;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TPSC:2;\r
+               } BIT;\r
+       } TCRV;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char IOC:5;\r
+               } BIT;\r
+       } TIORV;\r
+       char           wk5[9];\r
+       unsigned short TCNTW;\r
+       unsigned short TGRW;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char TPSC:2;\r
+               } BIT;\r
+       } TCRW;\r
+       char           wk6[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char IOC:5;\r
+               } BIT;\r
+       } TIORW;\r
+       char           wk7[11];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char TGIE5U:1;\r
+                       unsigned char TGIE5V:1;\r
+                       unsigned char TGIE5W:1;\r
+               } BIT;\r
+       } TIER;\r
+       char           wk8[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char CSTU5:1;\r
+                       unsigned char CSTV5:1;\r
+                       unsigned char CSTW5:1;\r
+               } BIT;\r
+       } TSTR;\r
+       char           wk9[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char CMPCLR5U:1;\r
+                       unsigned char CMPCLR5V:1;\r
+                       unsigned char CMPCLR5W:1;\r
+               } BIT;\r
+       } TCNTCMPCLR;\r
+};\r
+\r
+struct st_poe {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short POE3F:1;\r
+                       unsigned short POE2F:1;\r
+                       unsigned short POE1F:1;\r
+                       unsigned short POE0F:1;\r
+                       unsigned short :3;\r
+                       unsigned short PIE1:1;\r
+                       unsigned short POE3M:2;\r
+                       unsigned short POE2M:2;\r
+                       unsigned short POE1M:2;\r
+                       unsigned short POE0M:2;\r
+               } BIT;\r
+       } ICSR1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short OSF1:1;\r
+                       unsigned short :5;\r
+                       unsigned short OCE1:1;\r
+                       unsigned short OIE1:1;\r
+               } BIT;\r
+       } OCSR1;\r
+       char           wk0[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short POE8F:1;\r
+                       unsigned short :2;\r
+                       unsigned short POE8E:1;\r
+                       unsigned short PIE2:1;\r
+                       unsigned short :6;\r
+                       unsigned short POE8M:2;\r
+               } BIT;\r
+       } ICSR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char CH0HIZ:1;\r
+                       unsigned char CH34HIZ:1;\r
+               } BIT;\r
+       } SPOER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char PE3ZE:1;\r
+                       unsigned char PE2ZE:1;\r
+                       unsigned char PE1ZE:1;\r
+                       unsigned char PE0ZE:1;\r
+               } BIT;\r
+       } POECR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char P1CZEA:1;\r
+                       unsigned char P2CZEA:1;\r
+                       unsigned char P3CZEA:1;\r
+               } BIT;\r
+       } POECR2;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :3;\r
+                       unsigned short OSTSTF:1;\r
+                       unsigned short :2;\r
+                       unsigned short OSTSTE:1;\r
+               } BIT;\r
+       } ICSR3;\r
+};\r
+\r
+struct st_port0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :3;\r
+                       unsigned char B2:1;\r
+               } BIT;\r
+       } ODR1;\r
+       char           wk4[62];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char :1;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_port1 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[32];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[61];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port2 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[33];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[60];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_port3 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[34];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[59];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port4 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[35];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[58];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port5 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[36];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[57];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :3;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_port6 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[37];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[56];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port7 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[38];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[55];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port8 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[39];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_port9 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[40];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[53];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_porta {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[41];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[52];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portb {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[42];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[51];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[43];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[50];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portd {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[44];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[49];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_porte {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[45];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char B6:1;\r
+                       unsigned char :1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char :1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[48];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_portf {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[46];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char B2:1;\r
+                       unsigned char :1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } ODR1;\r
+       char           wk4[47];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_portg {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[47];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       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[46];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+       char           wk5[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } DSCR;\r
+};\r
+\r
+struct st_porth {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char B7:1;\r
+                       unsigned char B6:1;\r
+                       unsigned char B5:1;\r
+                       unsigned char B4:1;\r
+                       unsigned char B3:1;\r
+                       unsigned char B2:1;\r
+                       unsigned char B1:1;\r
+                       unsigned char B0:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_portj {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PDR;\r
+       char           wk0[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PODR;\r
+       char           wk1[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PIDR;\r
+       char           wk2[31];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PMR;\r
+       char           wk3[49];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char B6:1;\r
+               } BIT;\r
+       } ODR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char B2:1;\r
+               } BIT;\r
+       } ODR1;\r
+       char           wk4[44];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char B5:1;\r
+                       unsigned char :1;\r
+                       unsigned char B3:1;\r
+               } BIT;\r
+       } PCR;\r
+};\r
+\r
+struct st_ppg0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3CMS:2;\r
+                       unsigned char G2CMS:2;\r
+                       unsigned char G1CMS:2;\r
+                       unsigned char G0CMS:2;\r
+               } BIT;\r
+       } PCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3INV:1;\r
+                       unsigned char G2INV:1;\r
+                       unsigned char G1INV:1;\r
+                       unsigned char G0INV:1;\r
+                       unsigned char G3NOV:1;\r
+                       unsigned char G2NOV:1;\r
+                       unsigned char G1NOV:1;\r
+                       unsigned char G0NOV:1;\r
+               } BIT;\r
+       } PMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER15:1;\r
+                       unsigned char NDER14:1;\r
+                       unsigned char NDER13:1;\r
+                       unsigned char NDER12:1;\r
+                       unsigned char NDER11:1;\r
+                       unsigned char NDER10:1;\r
+                       unsigned char NDER9:1;\r
+                       unsigned char NDER8:1;\r
+               } BIT;\r
+       } NDERH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER7:1;\r
+                       unsigned char NDER6:1;\r
+                       unsigned char NDER5:1;\r
+                       unsigned char NDER4:1;\r
+                       unsigned char NDER3:1;\r
+                       unsigned char NDER2:1;\r
+                       unsigned char NDER1:1;\r
+                       unsigned char NDER0:1;\r
+               } BIT;\r
+       } NDERL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD15:1;\r
+                       unsigned char POD14:1;\r
+                       unsigned char POD13:1;\r
+                       unsigned char POD12:1;\r
+                       unsigned char POD11:1;\r
+                       unsigned char POD10:1;\r
+                       unsigned char POD9:1;\r
+                       unsigned char POD8:1;\r
+               } BIT;\r
+       } PODRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD7:1;\r
+                       unsigned char POD6:1;\r
+                       unsigned char POD5:1;\r
+                       unsigned char POD4:1;\r
+                       unsigned char POD3:1;\r
+                       unsigned char POD2:1;\r
+                       unsigned char POD1:1;\r
+                       unsigned char POD0:1;\r
+               } BIT;\r
+       } PODRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR15:1;\r
+                       unsigned char NDR14:1;\r
+                       unsigned char NDR13:1;\r
+                       unsigned char NDR12:1;\r
+                       unsigned char NDR11:1;\r
+                       unsigned char NDR10:1;\r
+                       unsigned char NDR9:1;\r
+                       unsigned char NDR8:1;\r
+               } BIT;\r
+       } NDRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR7:1;\r
+                       unsigned char NDR6:1;\r
+                       unsigned char NDR5:1;\r
+                       unsigned char NDR4:1;\r
+                       unsigned char NDR3:1;\r
+                       unsigned char NDR2:1;\r
+                       unsigned char NDR1:1;\r
+                       unsigned char NDR0:1;\r
+               } BIT;\r
+       } NDRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR11:1;\r
+                       unsigned char NDR10:1;\r
+                       unsigned char NDR9:1;\r
+                       unsigned char NDR8:1;\r
+               } BIT;\r
+       } NDRH2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR3:1;\r
+                       unsigned char NDR2:1;\r
+                       unsigned char NDR1:1;\r
+                       unsigned char NDR0:1;\r
+               } BIT;\r
+       } NDRL2;\r
+};\r
+\r
+struct st_ppg1 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PTRSL:1;\r
+               } BIT;\r
+       } PTRSLR;\r
+       char           wk0[5];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3CMS:2;\r
+                       unsigned char G2CMS:2;\r
+                       unsigned char G1CMS:2;\r
+                       unsigned char G0CMS:2;\r
+               } BIT;\r
+       } PCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char G3INV:1;\r
+                       unsigned char G2INV:1;\r
+                       unsigned char G1INV:1;\r
+                       unsigned char G0INV:1;\r
+                       unsigned char G3NOV:1;\r
+                       unsigned char G2NOV:1;\r
+                       unsigned char G1NOV:1;\r
+                       unsigned char G0NOV:1;\r
+               } BIT;\r
+       } PMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER31:1;\r
+                       unsigned char NDER30:1;\r
+                       unsigned char NDER29:1;\r
+                       unsigned char NDER28:1;\r
+                       unsigned char NDER27:1;\r
+                       unsigned char NDER26:1;\r
+                       unsigned char NDER25:1;\r
+                       unsigned char NDER24:1;\r
+               } BIT;\r
+       } NDERH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDER23:1;\r
+                       unsigned char NDER22:1;\r
+                       unsigned char NDER21:1;\r
+                       unsigned char NDER20:1;\r
+                       unsigned char NDER19:1;\r
+                       unsigned char NDER18:1;\r
+                       unsigned char NDER17:1;\r
+                       unsigned char NDER16:1;\r
+               } BIT;\r
+       } NDERL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD31:1;\r
+                       unsigned char POD30:1;\r
+                       unsigned char POD29:1;\r
+                       unsigned char POD28:1;\r
+                       unsigned char POD27:1;\r
+                       unsigned char POD26:1;\r
+                       unsigned char POD25:1;\r
+                       unsigned char POD24:1;\r
+               } BIT;\r
+       } PODRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char POD23:1;\r
+                       unsigned char POD22:1;\r
+                       unsigned char POD21:1;\r
+                       unsigned char POD20:1;\r
+                       unsigned char POD19:1;\r
+                       unsigned char POD18:1;\r
+                       unsigned char POD17:1;\r
+                       unsigned char POD16:1;\r
+               } BIT;\r
+       } PODRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR31:1;\r
+                       unsigned char NDR30:1;\r
+                       unsigned char NDR29:1;\r
+                       unsigned char NDR28:1;\r
+                       unsigned char NDR27:1;\r
+                       unsigned char NDR26:1;\r
+                       unsigned char NDR25:1;\r
+                       unsigned char NDR24:1;\r
+               } BIT;\r
+       } NDRH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char NDR23:1;\r
+                       unsigned char NDR22:1;\r
+                       unsigned char NDR21:1;\r
+                       unsigned char NDR20:1;\r
+                       unsigned char NDR19:1;\r
+                       unsigned char NDR18:1;\r
+                       unsigned char NDR17:1;\r
+                       unsigned char NDR16:1;\r
+               } BIT;\r
+       } NDRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR27:1;\r
+                       unsigned char NDR26:1;\r
+                       unsigned char NDR25:1;\r
+                       unsigned char NDR24:1;\r
+               } BIT;\r
+       } NDRH2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char NDR19:1;\r
+                       unsigned char NDR18:1;\r
+                       unsigned char NDR17:1;\r
+                       unsigned char NDR16:1;\r
+               } BIT;\r
+       } NDRL2;\r
+};\r
+\r
+struct st_riic0 {\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
+               } BIT;\r
+       } ICCR1;\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
+               } BIT;\r
+       } ICCR2;\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
+               } BIT;\r
+       } ICMR1;\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
+               } BIT;\r
+       } ICMR2;\r
+       union {\r
+               unsigned char BYTE;\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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char FMPE: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
+               } BIT;\r
+       } ICFER;\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 :1;\r
+                       unsigned char GCAE:1;\r
+                       unsigned char SAR2E:1;\r
+                       unsigned char SAR1E:1;\r
+                       unsigned char SAR0E:1;\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_riic1 {\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
+               } BIT;\r
+       } ICCR1;\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
+               } BIT;\r
+       } ICCR2;\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
+               } BIT;\r
+       } ICMR1;\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
+               } BIT;\r
+       } ICMR2;\r
+       union {\r
+               unsigned char BYTE;\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
+       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
+               } BIT;\r
+       } ICFER;\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 :1;\r
+                       unsigned char GCAE:1;\r
+                       unsigned char SAR2E:1;\r
+                       unsigned char SAR1E:1;\r
+                       unsigned char SAR0E:1;\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_rspi {\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 :1;\r
+                       unsigned char SPOM:1;\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
+       unsigned long  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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char SPR7:1;\r
+                       unsigned char SPR6:1;\r
+                       unsigned char SPR5:1;\r
+                       unsigned char SPR4:1;\r
+                       unsigned char SPR3:1;\r
+                       unsigned char SPR2:1;\r
+                       unsigned char SPR1:1;\r
+                       unsigned char SPR0:1;\r
+               } BIT;\r
+       } SPBR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char SPLW:1;\r
+                       unsigned char SPRDTD:1;\r
+                       unsigned char SLSEL:2;\r
+                       unsigned char SPFC:2;\r
+               } BIT;\r
+       } SPDCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char SCKDL:3;\r
+               } BIT;\r
+       } SPCKD;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char SLNDL:3;\r
+               } BIT;\r
+       } SSLND;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char SPNDL:3;\r
+               } BIT;\r
+       } SPND;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char PTE:1;\r
+                       unsigned char SPIIE:1;\r
+                       unsigned char SPOE:1;\r
+                       unsigned char SPPE:1;\r
+               } BIT;\r
+       } SPCR2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD4;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD5;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD6;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SCKDEN:1;\r
+                       unsigned short SLNDEN:1;\r
+                       unsigned short SPNDEN:1;\r
+                       unsigned short LSBF:1;\r
+                       unsigned short SPB:4;\r
+                       unsigned short SSLKP:1;\r
+                       unsigned short SSLA:3;\r
+                       unsigned short BRDV:2;\r
+                       unsigned short CPOL:1;\r
+                       unsigned short CPHA:1;\r
+               } BIT;\r
+       } SPCMD7;\r
+};\r
+\r
+struct st_rtc {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char F1HZ:1;\r
+                       unsigned char F2HZ:1;\r
+                       unsigned char F4HZ:1;\r
+                       unsigned char F8HZ:1;\r
+                       unsigned char F16HZ:1;\r
+                       unsigned char F32HZ:1;\r
+                       unsigned char F64HZ:1;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       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
+       char           wk4[1];\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
+       } RDAYCNT;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } RMONCNT;\r
+       char           wk6[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
+       } 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
+       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
+       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
+       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
+       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
+       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 char BYTE;\r
+               struct {\r
+                       unsigned char ENB:1;\r
+               } BIT;\r
+       } RYRAREN;\r
+       char           wk13[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char PES:4;\r
+                       unsigned char :1;\r
+                       unsigned char PIE:1;\r
+                       unsigned char CIE:1;\r
+                       unsigned char AIE:1;\r
+               } BIT;\r
+       } RCR1;\r
+       char           wk14[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char HR24:1;\r
+                       unsigned char AADJP:1;\r
+                       unsigned char AADJE:1;\r
+                       unsigned char RTCOE:1;\r
+                       unsigned char ADJ30:1;\r
+                       unsigned char RESET:1;\r
+                       unsigned char START:1;\r
+               } BIT;\r
+       } RCR2;\r
+       char           wk15[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RTCEN:1;\r
+               } BIT;\r
+       } RCR3;\r
+       char           wk16[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char RCKSEL:1;\r
+               } BIT;\r
+       } RCR4;\r
+       char           wk17[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short RFC:1;\r
+               } BIT;\r
+       } RFRH;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RFC:16;\r
+               } BIT;\r
+       } RFRL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char PMADJ:2;\r
+                       unsigned char ADJ:6;\r
+               } BIT;\r
+       } RADJ;\r
+       char           wk18[17];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCEN:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCNF:2;\r
+                       unsigned char :1;\r
+                       unsigned char TCST:1;\r
+                       unsigned char TCCT:2;\r
+               } BIT;\r
+       } RTCCR0;\r
+       char           wk19[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCEN:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCNF:2;\r
+                       unsigned char :1;\r
+                       unsigned char TCST:1;\r
+                       unsigned char TCCT:2;\r
+               } BIT;\r
+       } RTCCR1;\r
+       char           wk20[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TCEN:1;\r
+                       unsigned char :1;\r
+                       unsigned char TCNF:2;\r
+                       unsigned char :1;\r
+                       unsigned char TCST:1;\r
+                       unsigned char TCCT:2;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       char           wk24[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DATE10:3;\r
+                       unsigned char DATE1:4;\r
+               } BIT;\r
+       } RDAYCP0;\r
+       char           wk25[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       char           wk29[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DATE10:3;\r
+                       unsigned char DATE1:4;\r
+               } BIT;\r
+       } RDAYCP1;\r
+       char           wk30[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } 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
+       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
+       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
+       char           wk34[3];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DATE10:3;\r
+                       unsigned char DATE1:4;\r
+               } BIT;\r
+       } RDAYCP2;\r
+       char           wk35[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MON10:1;\r
+                       unsigned char MON1:4;\r
+               } BIT;\r
+       } RMONCP2;\r
+};\r
+\r
+struct st_s12ad {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ADST:1;\r
+                       unsigned char ADCS:1;\r
+                       unsigned char :1;\r
+                       unsigned char ADIE:1;\r
+                       unsigned char CKS:2;\r
+                       unsigned char TRGE:1;\r
+                       unsigned char EXTRG:1;\r
+               } BIT;\r
+       } ADCSR;\r
+       char           wk0[3];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ANS0:16;\r
+               } BIT;\r
+       } ADANS0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :11;\r
+                       unsigned short ANS1:5;\r
+               } BIT;\r
+       } ADANS1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADS0:16;\r
+               } BIT;\r
+       } ADADS0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :11;\r
+                       unsigned short ADS1:5;\r
+               } BIT;\r
+       } ADADS1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char ADC:2;\r
+               } BIT;\r
+       } ADADC;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short ADRFMT:1;\r
+                       unsigned short :9;\r
+                       unsigned short ACE:1;\r
+               } BIT;\r
+       } ADCER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char ADSTRS:4;\r
+               } BIT;\r
+       } ADSTRGR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :6;\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           wk3[6];\r
+       unsigned short ADTSDR;\r
+       unsigned short ADOCDR;\r
+       char           wk4[2];\r
+       unsigned short ADDR0;\r
+       unsigned short ADDR1;\r
+       unsigned short ADDR2;\r
+       unsigned short ADDR3;\r
+       unsigned short ADDR4;\r
+       unsigned short ADDR5;\r
+       unsigned short ADDR6;\r
+       unsigned short ADDR7;\r
+       unsigned short ADDR8;\r
+       unsigned short ADDR9;\r
+       unsigned short ADDR10;\r
+       unsigned short ADDR11;\r
+       unsigned short ADDR12;\r
+       unsigned short ADDR13;\r
+       unsigned short ADDR14;\r
+       unsigned short ADDR15;\r
+       unsigned short ADDR16;\r
+       unsigned short ADDR17;\r
+       unsigned short ADDR18;\r
+       unsigned short ADDR19;\r
+       unsigned short ADDR20;\r
+       char           wk5[38];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SST2:8;\r
+               } BIT;\r
+       } ADSSTR23;\r
+};\r
+\r
+struct st_sci0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CM:1;\r
+                       unsigned char CHR:1;\r
+                       unsigned char PE:1;\r
+                       unsigned char PM:1;\r
+                       unsigned char STOP:1;\r
+                       unsigned char MP:1;\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 FER: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 :3;\r
+                       unsigned char SDIR:1;\r
+                       unsigned char SINV:1;\r
+                       unsigned char :1;\r
+                       unsigned char SMIF:1;\r
+               } BIT;\r
+       } SCMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFEN:1;\r
+                       unsigned char ABCS:1;\r
+                       unsigned char :3;\r
+                       unsigned char ACS0:1;\r
+               } BIT;\r
+       } SEMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char NFCS:3;\r
+               } BIT;\r
+       } SNFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICDL:5;\r
+                       unsigned char :2;\r
+                       unsigned char IICM:1;\r
+               } BIT;\r
+       } SIMR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char IICACKT:1;\r
+                       unsigned char :3;\r
+                       unsigned char IICCSC:1;\r
+                       unsigned char IICINTM:1;\r
+               } BIT;\r
+       } SIMR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICSCLS:2;\r
+                       unsigned char IICSDAS:2;\r
+                       unsigned char IICSTIF:1;\r
+                       unsigned char IICSTPREQ:1;\r
+                       unsigned char IICRSTAREQ:1;\r
+                       unsigned char IICSTAREQ:1;\r
+               } BIT;\r
+       } SIMR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IICACKR:1;\r
+               } BIT;\r
+       } SISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CKPH:1;\r
+                       unsigned char CKPOL:1;\r
+                       unsigned char :1;\r
+                       unsigned char MFF:1;\r
+                       unsigned char :1;\r
+                       unsigned char MSS:1;\r
+                       unsigned char CTSE:1;\r
+                       unsigned char SSE:1;\r
+               } BIT;\r
+       } SPMR;\r
+};\r
+\r
+struct st_sci7 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CM:1;\r
+                       unsigned char CHR:1;\r
+                       unsigned char PE:1;\r
+                       unsigned char PM:1;\r
+                       unsigned char STOP:1;\r
+                       unsigned char MP:1;\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 FER: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
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char MPB:1;\r
+                       unsigned char MPBT:1;\r
+               } BIT;\r
+       } RDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BCP2:1;\r
+                       unsigned char :3;\r
+                       unsigned char SDIR:1;\r
+                       unsigned char SINV:1;\r
+                       unsigned char :1;\r
+                       unsigned char SMIF:1;\r
+               } BIT;\r
+       } SCMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFEN:1;\r
+                       unsigned char ABCS:1;\r
+                       unsigned char :3;\r
+                       unsigned char ACS0:1;\r
+               } BIT;\r
+       } SEMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char NFCS:3;\r
+               } BIT;\r
+       } SNFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICDL:5;\r
+                       unsigned char :2;\r
+                       unsigned char IICM:1;\r
+               } BIT;\r
+       } SIMR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char IICACKT:1;\r
+                       unsigned char :3;\r
+                       unsigned char IICCSC:1;\r
+                       unsigned char IICINTM:1;\r
+               } BIT;\r
+       } SIMR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICSCLS:2;\r
+                       unsigned char IICSDAS:2;\r
+                       unsigned char IICSTIF:1;\r
+                       unsigned char IICSTPREQ:1;\r
+                       unsigned char IICRSTAREQ:1;\r
+                       unsigned char IICSTAREQ:1;\r
+               } BIT;\r
+       } SIMR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IICACKR:1;\r
+               } BIT;\r
+       } SISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CKPH:1;\r
+                       unsigned char CKPOL:1;\r
+                       unsigned char :1;\r
+                       unsigned char MFF:1;\r
+                       unsigned char :1;\r
+                       unsigned char MSS:1;\r
+                       unsigned char CTSE:1;\r
+                       unsigned char SSE:1;\r
+               } BIT;\r
+       } SPMR;\r
+};\r
+\r
+struct st_sci12 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CM:1;\r
+                       unsigned char CHR:1;\r
+                       unsigned char PE:1;\r
+                       unsigned char PM:1;\r
+                       unsigned char STOP:1;\r
+                       unsigned char MP:1;\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 FER: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 :3;\r
+                       unsigned char SDIR:1;\r
+                       unsigned char SINV:1;\r
+                       unsigned char :1;\r
+                       unsigned char SMIF:1;\r
+               } BIT;\r
+       } SCMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char NFEN:1;\r
+                       unsigned char ABCS:1;\r
+                       unsigned char :3;\r
+                       unsigned char ACS0:1;\r
+               } BIT;\r
+       } SEMR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :5;\r
+                       unsigned char NFCS:3;\r
+               } BIT;\r
+       } SNFR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICDL:5;\r
+                       unsigned char :2;\r
+                       unsigned char IICM:1;\r
+               } BIT;\r
+       } SIMR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char IICACKT:1;\r
+                       unsigned char :3;\r
+                       unsigned char IICCSC:1;\r
+                       unsigned char IICINTM:1;\r
+               } BIT;\r
+       } SIMR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IICSCLS:2;\r
+                       unsigned char IICSDAS:2;\r
+                       unsigned char IICSTIF:1;\r
+                       unsigned char IICSTPREQ:1;\r
+                       unsigned char IICRSTAREQ:1;\r
+                       unsigned char IICSTAREQ:1;\r
+               } BIT;\r
+       } SIMR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char IICACKR:1;\r
+               } BIT;\r
+       } SISR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CKPH:1;\r
+                       unsigned char CKPOL:1;\r
+                       unsigned char :1;\r
+                       unsigned char MFF:1;\r
+                       unsigned char :1;\r
+                       unsigned char MSS:1;\r
+                       unsigned char CTSE:1;\r
+                       unsigned char SSE:1;\r
+               } BIT;\r
+       } SPMR;\r
+       char           wk0[18];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char ESME:1;\r
+               } BIT;\r
+       } ESMER;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char BRME:1;\r
+                       unsigned char RXDSF:1;\r
+                       unsigned char SFSF:1;\r
+               } BIT;\r
+       } CR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char PIBS:3;\r
+                       unsigned char PIBE:1;\r
+                       unsigned char CF1DS:2;\r
+                       unsigned char CF0RE:1;\r
+                       unsigned char BFE:1;\r
+               } BIT;\r
+       } CR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RTS:2;\r
+                       unsigned char BCCS:2;\r
+                       unsigned char :1;\r
+                       unsigned char DFCS:3;\r
+               } BIT;\r
+       } CR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SDST:1;\r
+               } BIT;\r
+       } CR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char SHARPS:1;\r
+                       unsigned char :2;\r
+                       unsigned char RXDXPS:1;\r
+                       unsigned char TXDXPS:1;\r
+               } BIT;\r
+       } PCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char AEDIE:1;\r
+                       unsigned char BCDIE:1;\r
+                       unsigned char PIBDIE:1;\r
+                       unsigned char CF1MIE:1;\r
+                       unsigned char CF0MIE:1;\r
+                       unsigned char BFDIE:1;\r
+               } BIT;\r
+       } ICR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char AEDF:1;\r
+                       unsigned char BCDF:1;\r
+                       unsigned char PIBDF:1;\r
+                       unsigned char CF1MF:1;\r
+                       unsigned char CF0MF:1;\r
+                       unsigned char BFDF:1;\r
+               } BIT;\r
+       } STR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char AEDCL:1;\r
+                       unsigned char BCDCL:1;\r
+                       unsigned char PIBDCL:1;\r
+                       unsigned char CF1MCL:1;\r
+                       unsigned char CF0MCL:1;\r
+                       unsigned char BFDCL:1;\r
+               } BIT;\r
+       } STCR;\r
+       unsigned char  CF0DR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CF0CE7:1;\r
+                       unsigned char CF0CE6:1;\r
+                       unsigned char CF0CE5:1;\r
+                       unsigned char CF0CE4:1;\r
+                       unsigned char CF0CE3:1;\r
+                       unsigned char CF0CE2:1;\r
+                       unsigned char CF0CE1:1;\r
+                       unsigned char CF0CE0:1;\r
+               } BIT;\r
+       } CF0CR;\r
+       unsigned char  CF0RR;\r
+       unsigned char  PCF1DR;\r
+       unsigned char  SCF1DR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CF1CE7:1;\r
+                       unsigned char CF1CE6:1;\r
+                       unsigned char CF1CE5:1;\r
+                       unsigned char CF1CE4:1;\r
+                       unsigned char CF1CE3:1;\r
+                       unsigned char CF1CE2:1;\r
+                       unsigned char CF1CE1:1;\r
+                       unsigned char CF1CE0:1;\r
+               } BIT;\r
+       } CF1CR;\r
+       unsigned char  CF1RR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char TCST:1;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char TCSS:3;\r
+                       unsigned char TWRC:1;\r
+                       unsigned char :1;\r
+                       unsigned char TOMS:2;\r
+               } BIT;\r
+       } TMR;\r
+       unsigned char  TPRE;\r
+       unsigned char  TCNT;\r
+};\r
+\r
+struct st_smci0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char GM:1;\r
+                       unsigned char BCLK: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 :3;\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_smci7 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char GM:1;\r
+                       unsigned char BCLK: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
+               } BIT;\r
+       } SSR;\r
+       unsigned char  RDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char BCP2:1;\r
+                       unsigned char :3;\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_system {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short MD:1;\r
+               } BIT;\r
+       } MDMONR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :10;\r
+                       unsigned short UBTS:1;\r
+                       unsigned short BOTS:1;\r
+                       unsigned short :2;\r
+                       unsigned short EXB:1;\r
+                       unsigned short IROM:1;\r
+               } BIT;\r
+       } MDSR;\r
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short KEY:8;\r
+                       unsigned short :6;\r
+                       unsigned short EXBE:1;\r
+                       unsigned short ROME:1;\r
+               } BIT;\r
+       } SYSCR0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :15;\r
+                       unsigned short RAME:1;\r
+               } BIT;\r
+       } SYSCR1;\r
+       char           wk1[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short SSBY:1;\r
+                       unsigned short OPE:1;\r
+               } BIT;\r
+       } SBYCR;\r
+       char           wk2[2];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long ACSE:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPA29:1;\r
+                       unsigned long MSTPA28:1;\r
+                       unsigned long MSTPA27:1;\r
+                       unsigned long :2;\r
+                       unsigned long MSTPA24:1;\r
+                       unsigned long MSTPA23:1;\r
+                       unsigned long :3;\r
+                       unsigned long MSTPA19:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPA17:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPA15:1;\r
+                       unsigned long MSTPA14:1;\r
+                       unsigned long MSTPA13:1;\r
+                       unsigned long MSTPA12:1;\r
+                       unsigned long MSTPA11:1;\r
+                       unsigned long MSTPA10:1;\r
+                       unsigned long MSTPA9:1;\r
+                       unsigned long :3;\r
+                       unsigned long MSTPA5:1;\r
+                       unsigned long MSTPA4:1;\r
+               } BIT;\r
+       } MSTPCRA;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long MSTPB31:1;\r
+                       unsigned long MSTPB30:1;\r
+                       unsigned long MSTPB29:1;\r
+                       unsigned long MSTPB28:1;\r
+                       unsigned long MSTPB27:1;\r
+                       unsigned long MSTPB26:1;\r
+                       unsigned long MSTPB25:1;\r
+                       unsigned long MSTPB24:1;\r
+                       unsigned long MSTPB23:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPB21:1;\r
+                       unsigned long MSTPB20:1;\r
+                       unsigned long MSTPB19:1;\r
+                       unsigned long MSTPB18:1;\r
+                       unsigned long MSTPB17:1;\r
+                       unsigned long MSTPB16:1;\r
+                       unsigned long MSTPB15:1;\r
+                       unsigned long :6;\r
+                       unsigned long MSTPB8:1;\r
+                       unsigned long :3;\r
+                       unsigned long MSTPB4:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPB2:1;\r
+                       unsigned long MSTPB1:1;\r
+                       unsigned long MSTPB0:1;\r
+               } BIT;\r
+       } MSTPCRB;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long :4;\r
+                       unsigned long MSTPC27:1;\r
+                       unsigned long MSTPC26:1;\r
+                       unsigned long MSTPC25:1;\r
+                       unsigned long MSTPC24:1;\r
+                       unsigned long :1;\r
+                       unsigned long MSTPC22:1;\r
+                       unsigned long :2;\r
+                       unsigned long MSTPC19:1;\r
+                       unsigned long MSTPC18:1;\r
+                       unsigned long MSTPC17:1;\r
+                       unsigned long MSTPC16:1;\r
+                       unsigned long :14;\r
+                       unsigned long MSTPC1:1;\r
+                       unsigned long MSTPC0:1;\r
+               } BIT;\r
+       } MSTPCRC;\r
+       char           wk3[4];\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long FCK:4;\r
+                       unsigned long ICK:4;\r
+                       unsigned long PSTOP1:1;\r
+                       unsigned long PSTOP0:1;\r
+                       unsigned long :2;\r
+                       unsigned long BCK:4;\r
+                       unsigned long PCKA:4;\r
+                       unsigned long PCKB:4;\r
+               } BIT;\r
+       } SCKCR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short UCK:4;\r
+                       unsigned short IEBCK:4;\r
+               } BIT;\r
+       } SCKCR2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short CKSEL:3;\r
+               } BIT;\r
+       } SCKCR3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short STC:6;\r
+                       unsigned short :6;\r
+                       unsigned short PLIDIV:2;\r
+               } BIT;\r
+       } PLLCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char PLLEN:1;\r
+               } BIT;\r
+       } PLLCR2;\r
+       char           wk4[5];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char BCLKDIV:1;\r
+               } BIT;\r
+       } BCKCR;\r
+       char           wk5[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char MOSTP:1;\r
+               } BIT;\r
+       } MOSCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char SOSTP:1;\r
+               } BIT;\r
+       } SOSCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char LCSTP:1;\r
+               } BIT;\r
+       } LOCOCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char ILCSTP:1;\r
+               } BIT;\r
+       } ILOCOCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char HCSTP:1;\r
+               } BIT;\r
+       } HOCOCR;\r
+       char           wk6[9];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char OSTDE:1;\r
+                       unsigned char :6;\r
+                       unsigned char OSTDIE:1;\r
+               } BIT;\r
+       } OSTDCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char OSTDF:1;\r
+               } BIT;\r
+       } OSTDSR;\r
+       char           wk7[94];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char OPCMTSF:1;\r
+                       unsigned char :1;\r
+                       unsigned char OPCM:3;\r
+               } BIT;\r
+       } OPCCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RSTCKEN:1;\r
+                       unsigned char :4;\r
+                       unsigned char RSTCKSEL:3;\r
+               } BIT;\r
+       } RSTCKCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char MSTS:5;\r
+               } BIT;\r
+       } MOSCWTCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char SSTS:5;\r
+               } BIT;\r
+       } SOSCWTCR;\r
+       char           wk8[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char PSTS:5;\r
+               } BIT;\r
+       } PLLWTCR;\r
+       char           wk9[25];\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
+               } BIT;\r
+       } RSTSR2;\r
+       char           wk10[1];\r
+       unsigned short SWRR;\r
+       char           wk11[28];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD1IDTSEL:2;\r
+               } BIT;\r
+       } LVD1CR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD1MON:1;\r
+                       unsigned char LVD1DET:1;\r
+               } BIT;\r
+       } LVD1SR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD2IDTSEL:2;\r
+               } BIT;\r
+       } LVD2CR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char LVD2MON:1;\r
+                       unsigned char LVD2DET:1;\r
+               } BIT;\r
+       } LVD2SR;\r
+       char           wk12[794];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short PRKEY:8;\r
+                       unsigned short :4;\r
+                       unsigned short PRC3:1;\r
+                       unsigned short :1;\r
+                       unsigned short PRC1:1;\r
+                       unsigned short PRC0:1;\r
+               } BIT;\r
+       } PRCR;\r
+       char           wk13[48768];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSBY:1;\r
+                       unsigned char IOKEEP:1;\r
+                       unsigned char :4;\r
+                       unsigned char DEEPCUT:2;\r
+               } BIT;\r
+       } DPSBYCR;\r
+       char           wk14[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ7E:1;\r
+                       unsigned char DIRQ6E:1;\r
+                       unsigned char DIRQ5E:1;\r
+                       unsigned char DIRQ4E:1;\r
+                       unsigned char DIRQ3E:1;\r
+                       unsigned char DIRQ2E:1;\r
+                       unsigned char DIRQ1E:1;\r
+                       unsigned char DIRQ0E:1;\r
+               } BIT;\r
+       } DPSIER0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ15E:1;\r
+                       unsigned char DIRQ14E:1;\r
+                       unsigned char DIRQ13E:1;\r
+                       unsigned char DIRQ12E:1;\r
+                       unsigned char DIRQ11E:1;\r
+                       unsigned char DIRQ10E:1;\r
+                       unsigned char DIRQ9E:1;\r
+                       unsigned char DIRQ8E:1;\r
+               } BIT;\r
+       } DPSIER1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DUSBIE:1;\r
+                       unsigned char DIICCIE:1;\r
+                       unsigned char DIICDIE:1;\r
+                       unsigned char DNMIE:1;\r
+                       unsigned char DRTCAIE:1;\r
+                       unsigned char DRTCIIE:1;\r
+                       unsigned char DLVD2IE:1;\r
+                       unsigned char DLVD1IE:1;\r
+               } BIT;\r
+       } DPSIER2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DCANIE:1;\r
+               } BIT;\r
+       } DPSIER3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ7F:1;\r
+                       unsigned char DIRQ6F:1;\r
+                       unsigned char DIRQ5F:1;\r
+                       unsigned char DIRQ4F:1;\r
+                       unsigned char DIRQ3F:1;\r
+                       unsigned char DIRQ2F:1;\r
+                       unsigned char DIRQ1F:1;\r
+                       unsigned char DIRQ0F:1;\r
+               } BIT;\r
+       } DPSIFR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ15F:1;\r
+                       unsigned char DIRQ14F:1;\r
+                       unsigned char DIRQ13F:1;\r
+                       unsigned char DIRQ12F:1;\r
+                       unsigned char DIRQ11F:1;\r
+                       unsigned char DIRQ10F:1;\r
+                       unsigned char DIRQ9F:1;\r
+                       unsigned char DIRQ8F:1;\r
+               } BIT;\r
+       } DPSIFR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DUSBIF:1;\r
+                       unsigned char DIICCIF:1;\r
+                       unsigned char DIICDIF:1;\r
+                       unsigned char DNMIF:1;\r
+                       unsigned char DRTCAIF:1;\r
+                       unsigned char DRTCIIF:1;\r
+                       unsigned char DLVD2IF:1;\r
+                       unsigned char DLVD1IF:1;\r
+               } BIT;\r
+       } DPSIFR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DCANIF:1;\r
+               } BIT;\r
+       } DPSIFR3;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ7EG:1;\r
+                       unsigned char DIRQ6EG:1;\r
+                       unsigned char DIRQ5EG:1;\r
+                       unsigned char DIRQ4EG:1;\r
+                       unsigned char DIRQ3EG:1;\r
+                       unsigned char DIRQ2EG:1;\r
+                       unsigned char DIRQ1EG:1;\r
+                       unsigned char DIRQ0EG:1;\r
+               } BIT;\r
+       } DPSIEGR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DIRQ15EG:1;\r
+                       unsigned char DIRQ14EG:1;\r
+                       unsigned char DIRQ13EG:1;\r
+                       unsigned char DIRQ12EG:1;\r
+                       unsigned char DIRQ11EG:1;\r
+                       unsigned char DIRQ10EG:1;\r
+                       unsigned char DIRQ9EG:1;\r
+                       unsigned char DIRQ8EG:1;\r
+               } BIT;\r
+       } DPSIEGR1;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char DIICCEG:1;\r
+                       unsigned char DIICDEG:1;\r
+                       unsigned char DNMIEG:1;\r
+                       unsigned char :2;\r
+                       unsigned char DLVD2EG:1;\r
+                       unsigned char DLVD1EG:1;\r
+               } BIT;\r
+       } DPSIEGR2;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char DCANIEG:1;\r
+               } BIT;\r
+       } DPSIEGR3;\r
+       char           wk15[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char DPSRSTF:1;\r
+                       unsigned char :3;\r
+                       unsigned char LVD2RF:1;\r
+                       unsigned char LVD1RF:1;\r
+                       unsigned char LVD0RF:1;\r
+                       unsigned char PORF:1;\r
+               } BIT;\r
+       } RSTSR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char CWSF:1;\r
+               } BIT;\r
+       } RSTSR1;\r
+       char           wk16[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char MOFXIN:1;\r
+               } BIT;\r
+       } MOFCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :7;\r
+                       unsigned char HOCOPCNT:1;\r
+               } BIT;\r
+       } HOCOPCR;\r
+       char           wk17[2];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :1;\r
+                       unsigned char LVD2E:1;\r
+                       unsigned char LVD1E:1;\r
+               } BIT;\r
+       } LVCMPCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char LVD2LVL:4;\r
+                       unsigned char LVD1LVL:4;\r
+               } BIT;\r
+       } LVDLVLR;\r
+       char           wk18[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char LVD1RN:1;\r
+                       unsigned char LVD1RI:1;\r
+                       unsigned char LVD1FSAMP:2;\r
+                       unsigned char :1;\r
+                       unsigned char LVD1CMPE:1;\r
+                       unsigned char LVD1DFDIS:1;\r
+                       unsigned char LVD1RIE:1;\r
+               } BIT;\r
+       } LVD1CR0;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char LVD2RN:1;\r
+                       unsigned char LVD2RI:1;\r
+                       unsigned char LVD2FSAMP:2;\r
+                       unsigned char :1;\r
+                       unsigned char LVD2CMPE:1;\r
+                       unsigned char LVD2DFDIS:1;\r
+                       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
+       unsigned char  DPSBKR[32];\r
+       char           wk21[1472];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char SCK:2;\r
+               } BIT;\r
+       } SCK1;\r
+       char           wk22[15];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :6;\r
+                       unsigned char SCK:2;\r
+               } BIT;\r
+       } SCK2;\r
+};\r
+\r
+struct st_temps {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TSEN:1;\r
+                       unsigned char :2;\r
+                       unsigned char TSOE:1;\r
+               } BIT;\r
+       } TSCR;\r
+};\r
+\r
+struct st_tmr0 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CMIEB:1;\r
+                       unsigned char CMIEA:1;\r
+                       unsigned char OVIE:1;\r
+                       unsigned char CCLR:2;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :3;\r
+                       unsigned char ADTE:1;\r
+                       unsigned char OSB:2;\r
+                       unsigned char OSA:2;\r
+               } BIT;\r
+       } TCSR;\r
+       char           wk1[1];\r
+       unsigned char  TCORA;\r
+       char           wk2[1];\r
+       unsigned char  TCORB;\r
+       char           wk3[1];\r
+       unsigned char  TCNT;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TMRIS:1;\r
+                       unsigned char :2;\r
+                       unsigned char CSS:2;\r
+                       unsigned char CKS:3;\r
+               } BIT;\r
+       } TCCR;\r
+};\r
+\r
+struct st_tmr1 {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CMIEB:1;\r
+                       unsigned char CMIEA:1;\r
+                       unsigned char OVIE:1;\r
+                       unsigned char CCLR:2;\r
+               } BIT;\r
+       } TCR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :4;\r
+                       unsigned char OSB:2;\r
+                       unsigned char OSA:2;\r
+               } BIT;\r
+       } TCSR;\r
+       char           wk1[1];\r
+       unsigned char  TCORA;\r
+       char           wk2[1];\r
+       unsigned char  TCORB;\r
+       char           wk3[1];\r
+       unsigned char  TCNT;\r
+       char           wk4[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TMRIS:1;\r
+                       unsigned char :2;\r
+                       unsigned char CSS:2;\r
+                       unsigned char CKS:3;\r
+               } BIT;\r
+       } TCCR;\r
+};\r
+\r
+struct st_tmr01 {\r
+       unsigned short TCORA;\r
+       unsigned short TCORB;\r
+       unsigned short TCNT;\r
+       unsigned short TCCR;\r
+};\r
+\r
+struct st_tpu0 {\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
+       } NFCR;\r
+       char           wk0[7];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+};\r
+\r
+struct st_tpu1 {\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
+       } NFCR;\r
+       char           wk1[22];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpu2 {\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
+       } NFCR;\r
+       char           wk0[37];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpu3 {\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
+       } NFCR;\r
+       char           wk1[52];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIORH;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOD:4;\r
+                       unsigned char IOC:4;\r
+               } BIT;\r
+       } TIORL;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+       unsigned short TGRC;\r
+       unsigned short TGRD;\r
+};\r
+\r
+struct st_tpu4 {\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
+       } NFCR;\r
+       char           wk0[67];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk1[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpu5 {\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
+       } NFCR;\r
+       char           wk1[82];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char CCLR:3;\r
+                       unsigned char CKEG:2;\r
+                       unsigned char TPSC:3;\r
+               } BIT;\r
+       } TCR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char ICSELD:1;\r
+                       unsigned char ICSELB:1;\r
+                       unsigned char BFB:1;\r
+                       unsigned char BFA:1;\r
+                       unsigned char MD:4;\r
+               } BIT;\r
+       } TMDR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char IOB:4;\r
+                       unsigned char IOA:4;\r
+               } BIT;\r
+       } TIOR;\r
+       char           wk2[1];\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char TTGE:1;\r
+                       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 TGIEB:1;\r
+                       unsigned char TGIEA:1;\r
+               } BIT;\r
+       } TIER;\r
+       union {\r
+               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 TGFD:1;\r
+                       unsigned char TGFC:1;\r
+                       unsigned char TGFB:1;\r
+                       unsigned char TGFA:1;\r
+               } BIT;\r
+       } TSR;\r
+       unsigned short TCNT;\r
+       unsigned short TGRA;\r
+       unsigned short TGRB;\r
+};\r
+\r
+struct st_tpua {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char CST5:1;\r
+                       unsigned char CST4:1;\r
+                       unsigned char CST3:1;\r
+                       unsigned char CST2:1;\r
+                       unsigned char CST1:1;\r
+                       unsigned char CST0:1;\r
+               } BIT;\r
+       } TSTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char SYNC5:1;\r
+                       unsigned char SYNC4:1;\r
+                       unsigned char SYNC3:1;\r
+                       unsigned char SYNC2:1;\r
+                       unsigned char SYNC1:1;\r
+                       unsigned char SYNC0:1;\r
+               } BIT;\r
+       } TSYR;\r
+};\r
+\r
+struct st_tpub {\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char CST11:1;\r
+                       unsigned char CST10:1;\r
+                       unsigned char CST9:1;\r
+                       unsigned char CST8:1;\r
+                       unsigned char CST7:1;\r
+                       unsigned char CST6:1;\r
+               } BIT;\r
+       } TSTR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char :2;\r
+                       unsigned char SYNC11:1;\r
+                       unsigned char SYNC10:1;\r
+                       unsigned char SYNC9:1;\r
+                       unsigned char SYNC8:1;\r
+                       unsigned char SYNC7:1;\r
+                       unsigned char SYNC6:1;\r
+               } BIT;\r
+       } TSYR;\r
+};\r
+\r
+struct st_usb {\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long DVSTS1:1;\r
+                       unsigned long :5;\r
+                       unsigned long DM1:1;\r
+                       unsigned long DP1:1;\r
+                       unsigned long DVBSTS0:1;\r
+                       unsigned long :1;\r
+                       unsigned long DOVCB0:1;\r
+                       unsigned long DOVCA0:1;\r
+                       unsigned long :2;\r
+                       unsigned long DM0:1;\r
+                       unsigned long DP0:1;\r
+                       unsigned long :3;\r
+                       unsigned long FIXPHY1:1;\r
+                       unsigned long :3;\r
+                       unsigned long SRPC1:1;\r
+                       unsigned long :3;\r
+                       unsigned long FIXPHY0:1;\r
+                       unsigned long :3;\r
+                       unsigned long SRPC0:1;\r
+               } BIT;\r
+       } DPUSR0R;\r
+       union {\r
+               unsigned long LONG;\r
+               struct {\r
+                       unsigned long DVBINT1:1;\r
+                       unsigned long :5;\r
+                       unsigned long DMINT1:1;\r
+                       unsigned long DPINT1:1;\r
+                       unsigned long DVBINT0:1;\r
+                       unsigned long :1;\r
+                       unsigned long DOVRCRB0:1;\r
+                       unsigned long DOVRCRA0:1;\r
+                       unsigned long :2;\r
+                       unsigned long DMINT0:1;\r
+                       unsigned long DPINT0:1;\r
+                       unsigned long DVBSE1:1;\r
+                       unsigned long :5;\r
+                       unsigned long DMINTE1:1;\r
+                       unsigned long DPINTE1:1;\r
+                       unsigned long DVBSE0:1;\r
+                       unsigned long :1;\r
+                       unsigned long DOVRCRBE0:1;\r
+                       unsigned long DOVRCRAE0:1;\r
+                       unsigned long :2;\r
+                       unsigned long DMINTE0:1;\r
+                       unsigned long DPINTE0:1;\r
+               } BIT;\r
+       } DPUSR1R;\r
+};\r
+\r
+struct st_usb0 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short SCKE:1;\r
+                       unsigned short :3;\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
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short OVCMON:2;\r
+                       unsigned short :7;\r
+                       unsigned short HTACT:1;\r
+                       unsigned short :3;\r
+                       unsigned short IDMON:1;\r
+                       unsigned short LNST:2;\r
+               } BIT;\r
+       } SYSSTS0;\r
+       char           wk1[2];\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
+       } DVSTCTR0;\r
+       char           wk2[10];\r
+       unsigned short CFIFO;\r
+       char           wk3[2];\r
+       unsigned short D0FIFO;\r
+       char           wk4[2];\r
+       unsigned short D1FIFO;\r
+       char           wk5[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RCNT:1;\r
+                       unsigned short REW:1;\r
+                       unsigned short :3;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\r
+               } BIT;\r
+       } CFIFOCTR;\r
+       char           wk6[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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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
+       } 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 :4;\r
+                       unsigned short EOFERRE:1;\r
+                       unsigned short SIGNE:1;\r
+                       unsigned short SACKE:1;\r
+               } BIT;\r
+       } INTENB1;\r
+       char           wk7[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :6;\r
+                       unsigned short PIPE9BRDYE:1;\r
+                       unsigned short PIPE8BRDYE:1;\r
+                       unsigned short PIPE7BRDYE:1;\r
+                       unsigned short PIPE6BRDYE:1;\r
+                       unsigned short PIPE5BRDYE:1;\r
+                       unsigned short PIPE4BRDYE:1;\r
+                       unsigned short PIPE3BRDYE:1;\r
+                       unsigned short PIPE2BRDYE:1;\r
+                       unsigned short PIPE1BRDYE:1;\r
+                       unsigned short PIPE0BRDYE:1;\r
+               } BIT;\r
+       } BRDYENB;\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
+       } NRDYENB;\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 PIPE7BEMPE:1;\r
+                       unsigned short PIPE6BEMPE:1;\r
+                       unsigned short PIPE5BEMPE:1;\r
+                       unsigned short PIPE4BEMPE:1;\r
+                       unsigned short PIPE3BEMPE:1;\r
+                       unsigned short PIPE2BEMPE:1;\r
+                       unsigned short PIPE1BEMPE:1;\r
+                       unsigned short PIPE0BEMPE:1;\r
+               } BIT;\r
+       } 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 :1;\r
+                       unsigned short EDGESTS:1;\r
+               } BIT;\r
+       } SOFCFG;\r
+       char           wk8[2];\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
+       } 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 :4;\r
+                       unsigned short EOFERR:1;\r
+                       unsigned short SIGN:1;\r
+                       unsigned short SACK:1;\r
+               } BIT;\r
+       } INTSTS1;\r
+       char           wk9[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
+       } 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
+       } 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
+       } 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
+       } FRMNUM;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DVCHG:1;\r
+               } BIT;\r
+       } DVCHGR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short STSRECOV:4;\r
+                       unsigned short :1;\r
+                       unsigned short USBADDR:7;\r
+               } BIT;\r
+       } USBADDR;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BREQUEST:8;\r
+                       unsigned short BMREQUESTTYPE:8;\r
+               } BIT;\r
+       } USBREQ;\r
+       unsigned short USBVAL;\r
+       unsigned short USBINDX;\r
+       unsigned short USBLENG;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\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
+       } DCPMAXP;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short SUREQ:1;\r
+                       unsigned short :2;\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 :2;\r
+                       unsigned short CCPL:1;\r
+                       unsigned short PID:2;\r
+               } BIT;\r
+       } DCPCTR;\r
+       char           wk11[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :12;\r
+                       unsigned short PIPESEL:4;\r
+               } BIT;\r
+       } PIPESEL;\r
+       char           wk12[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 :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
+       char           wk13[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DEVSEL:4;\r
+                       unsigned short :3;\r
+                       unsigned short MXPS:9;\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
+       } PIPEPERI;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short INBUFM:1;\r
+                       unsigned short :3;\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 :3;\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 :3;\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 :3;\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 :3;\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 :5;\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 :5;\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 :5;\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 :5;\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           wk14[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
+       } PIPE1TRE;\r
+       unsigned short 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
+       } PIPE2TRE;\r
+       unsigned short 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
+       } PIPE3TRE;\r
+       unsigned short 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
+       } PIPE4TRE;\r
+       unsigned short 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
+       } PIPE5TRE;\r
+       unsigned short PIPE5TRN;\r
+       char           wk15[44];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD4;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD5;\r
+};\r
+\r
+struct st_usb1 {\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :5;\r
+                       unsigned short SCKE:1;\r
+                       unsigned short :3;\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
+       char           wk0[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short OVCMON:2;\r
+                       unsigned short :7;\r
+                       unsigned short HTACT:1;\r
+                       unsigned short :3;\r
+                       unsigned short IDMON:1;\r
+                       unsigned short LNST:2;\r
+               } BIT;\r
+       } SYSSTS0;\r
+       char           wk1[2];\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
+       } DVSTCTR0;\r
+       char           wk2[10];\r
+       unsigned short CFIFO;\r
+       char           wk3[2];\r
+       unsigned short D0FIFO;\r
+       char           wk4[2];\r
+       unsigned short D1FIFO;\r
+       char           wk5[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short RCNT:1;\r
+                       unsigned short REW:1;\r
+                       unsigned short :3;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\r
+               } BIT;\r
+       } CFIFOCTR;\r
+       char           wk6[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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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 :1;\r
+                       unsigned short MBW:1;\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 :4;\r
+                       unsigned short DTLN:9;\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
+       } INTENB0;\r
+       char           wk7[4];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :6;\r
+                       unsigned short PIPE9BRDYE:1;\r
+                       unsigned short PIPE8BRDYE:1;\r
+                       unsigned short PIPE7BRDYE:1;\r
+                       unsigned short PIPE6BRDYE:1;\r
+                       unsigned short PIPE5BRDYE:1;\r
+                       unsigned short PIPE4BRDYE:1;\r
+                       unsigned short PIPE3BRDYE:1;\r
+                       unsigned short PIPE2BRDYE:1;\r
+                       unsigned short PIPE1BRDYE:1;\r
+                       unsigned short PIPE0BRDYE:1;\r
+               } BIT;\r
+       } BRDYENB;\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
+       } NRDYENB;\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 PIPE7BEMPE:1;\r
+                       unsigned short PIPE6BEMPE:1;\r
+                       unsigned short PIPE5BEMPE:1;\r
+                       unsigned short PIPE4BEMPE:1;\r
+                       unsigned short PIPE3BEMPE:1;\r
+                       unsigned short PIPE2BEMPE:1;\r
+                       unsigned short PIPE1BEMPE:1;\r
+                       unsigned short PIPE0BEMPE:1;\r
+               } BIT;\r
+       } BEMPENB;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :9;\r
+                       unsigned short BRDYM:1;\r
+                       unsigned short :1;\r
+                       unsigned short EDGESTS:1;\r
+               } BIT;\r
+       } SOFCFG;\r
+       char           wk8[2];\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
+       } INTSTS0;\r
+       char           wk9[4];\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
+       } 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
+       } 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
+       } 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
+       } FRMNUM;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DVCHG:1;\r
+               } BIT;\r
+       } DVCHGR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :4;\r
+                       unsigned short STSRECOV:4;\r
+                       unsigned short :1;\r
+                       unsigned short USBADDR:7;\r
+               } BIT;\r
+       } USBADDR;\r
+       char           wk10[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BREQUEST:8;\r
+                       unsigned short BMREQUESTTYPE:8;\r
+               } BIT;\r
+       } USBREQ;\r
+       unsigned short USBVAL;\r
+       unsigned short USBINDX;\r
+       unsigned short USBLENG;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\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
+       } DCPMAXP;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short SUREQ:1;\r
+                       unsigned short :2;\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 :2;\r
+                       unsigned short CCPL:1;\r
+                       unsigned short PID:2;\r
+               } BIT;\r
+       } DCPCTR;\r
+       char           wk11[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :12;\r
+                       unsigned short PIPESEL:4;\r
+               } BIT;\r
+       } PIPESEL;\r
+       char           wk12[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 :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
+       char           wk13[2];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short DEVSEL:4;\r
+                       unsigned short :3;\r
+                       unsigned short MXPS:9;\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
+       } PIPEPERI;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short BSTS:1;\r
+                       unsigned short INBUFM:1;\r
+                       unsigned short :3;\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 :3;\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 :3;\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 :3;\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 :3;\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 :5;\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 :5;\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 :5;\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 :5;\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           wk14[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
+       } PIPE1TRE;\r
+       unsigned short 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
+       } PIPE2TRE;\r
+       unsigned short 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
+       } PIPE3TRE;\r
+       unsigned short 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
+       } PIPE4TRE;\r
+       unsigned short 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
+       } PIPE5TRE;\r
+       unsigned short PIPE5TRN;\r
+       char           wk15[44];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD0;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD1;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD2;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD3;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD4;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :8;\r
+                       unsigned short USBSPD:2;\r
+               } BIT;\r
+       } DEVADD5;\r
+};\r
+\r
+struct st_wdt {\r
+       unsigned char  WDTRR;\r
+       char           wk0[1];\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short :2;\r
+                       unsigned short RPSS:2;\r
+                       unsigned short :2;\r
+                       unsigned short RPES:2;\r
+                       unsigned short CKS:4;\r
+                       unsigned short :2;\r
+                       unsigned short TOPS:2;\r
+               } BIT;\r
+       } WDTCR;\r
+       union {\r
+               unsigned short WORD;\r
+               struct {\r
+                       unsigned short REFEF:1;\r
+                       unsigned short UNDFF:1;\r
+                       unsigned short CNTVAL:14;\r
+               } BIT;\r
+       } WDTSR;\r
+       union {\r
+               unsigned char BYTE;\r
+               struct {\r
+                       unsigned char RSTIRQS:1;\r
+               } BIT;\r
+       } WDTRCR;\r
+};\r
+\r
+enum enum_ir {\r
+IR_BSC_BUSERR=16,IR_FCU_FIFERR=21,\r
+IR_ICU_SWINT=27,\r
+IR_CMT0_CMI0,\r
+IR_CMT1_CMI1,\r
+IR_CMT2_CMI2,\r
+IR_CMT3_CMI3,\r
+IR_ETHER_EINT,\r
+IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,IR_USB0_USBI0,\r
+IR_USB1_D0FIFO1,IR_USB1_D1FIFO1,IR_USB1_USBI1,\r
+IR_RSPI0_SPRI0,IR_RSPI0_SPTI0,IR_RSPI0_SPII0,\r
+IR_RSPI1_SPRI1,IR_RSPI1_SPTI1,IR_RSPI1_SPII1,\r
+IR_RSPI2_SPRI2,IR_RSPI2_SPTI2,IR_RSPI2_SPII2,\r
+IR_CAN0_RXF0,IR_CAN0_TXF0,IR_CAN0_RXM0,IR_CAN0_TXM0,\r
+IR_CAN1_RXF1,IR_CAN1_TXF1,IR_CAN1_RXM1,IR_CAN1_TXM1,\r
+IR_CAN2_RXF2,IR_CAN2_TXF2,IR_CAN2_RXM2,IR_CAN2_TXM2,\r
+IR_RTC_COUNTUP=62,\r
+IR_ICU_IRQ0=64,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_USB_USBR0=90,IR_USB_USBR1,\r
+IR_RTC_ALARM,IR_RTC_PRD,\r
+IR_AD0_ADI0=98,\r
+IR_S12AD0_S12ADI0=102,\r
+IR_ICU_GROUPE0=106,IR_ICU_GROUPE1,IR_ICU_GROUPE2,IR_ICU_GROUPE3,IR_ICU_GROUPE4,IR_ICU_GROUPE5,IR_ICU_GROUPE6,IR_ICU_GROUPL0=114,\r
+IR_SCIX_SCIX0=122,IR_SCIX_SCIX1,IR_SCIX_SCIX2,IR_SCIX_SCIX3,\r
+IR_TPU0_TGI0A,IR_TPU0_TGI0B,IR_TPU0_TGI0C,IR_TPU0_TGI0D,\r
+IR_TPU1_TGI1A,IR_TPU1_TGI1B,\r
+IR_TPU2_TGI2A,IR_TPU2_TGI2B,\r
+IR_TPU3_TGI3A,IR_TPU3_TGI3B,IR_TPU3_TGI3C,IR_TPU3_TGI3D,\r
+IR_TPU4_TGI4A,IR_TPU4_TGI4B,\r
+IR_TPU5_TGI5A,IR_TPU5_TGI5B,\r
+IR_TPU6_TGI6A,IR_TPU6_TGI6B,IR_TPU6_TGI6C,IR_TPU6_TGI6D,\r
+IR_MTU0_TGIA0=142,IR_MTU0_TGIB0,IR_MTU0_TGIC0,IR_MTU0_TGID0,IR_MTU0_TGIE0,IR_MTU0_TGIF0,\r
+IR_TPU7_TGI7A,IR_TPU7_TGI7B,\r
+IR_MTU1_TGIA1=148,IR_MTU1_TGIB1,\r
+IR_TPU8_TGI8A,IR_TPU8_TGI8B,\r
+IR_MTU2_TGIA2=150,IR_MTU2_TGIB2,\r
+IR_TPU9_TGI9A,IR_TPU9_TGI9B,IR_TPU9_TGI9C,IR_TPU9_TGI9D,\r
+IR_MTU3_TGIA3=152,IR_MTU3_TGIB3,IR_MTU3_TGIC3,IR_MTU3_TGID3,\r
+IR_TPU10_TGI10A,IR_TPU10_TGI10B,\r
+IR_MTU4_TGIA4=156,IR_MTU4_TGIB4,IR_MTU4_TGIC4,IR_MTU4_TGID4,IR_MTU4_TCIV4,\r
+IR_MTU5_TGIU5,IR_MTU5_TGIV5,IR_MTU5_TGIW5,\r
+IR_TPU11_TGI11A,IR_TPU11_TGI11B,\r
+IR_POE_OEI1,IR_POE_OEI2,\r
+IR_TMR0_CMIA0=170,IR_TMR0_CMIB0,IR_TMR0_OVI0,\r
+IR_TMR1_CMIA1,IR_TMR1_CMIB1,IR_TMR1_OVI1,\r
+IR_TMR2_CMIA2,IR_TMR2_CMIB2,IR_TMR2_OVI2,\r
+IR_TMR3_CMIA3,IR_TMR3_CMIB3,IR_TMR3_OVI3,\r
+IR_RIIC0_EEI0,IR_RIIC0_RXI0,IR_RIIC0_TXI0,IR_RIIC0_TEI0,\r
+IR_RIIC1_EEI1,IR_RIIC1_RXI1,IR_RIIC1_TXI1,IR_RIIC1_TEI1,\r
+IR_RIIC2_EEI2,IR_RIIC2_RXI2,IR_RIIC2_TXI2,IR_RIIC2_TEI2,\r
+IR_RIIC3_EEI3,IR_RIIC3_RXI3,IR_RIIC3_TXI3,IR_RIIC3_TEI3,\r
+IR_DMAC_DMAC0I,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,\r
+IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
+IR_SCI0_RXI0=214,IR_SCI0_TXI0,IR_SCI0_TEI0,\r
+IR_SCI1_RXI1,IR_SCI1_TXI1,IR_SCI1_TEI1,\r
+IR_SCI2_RXI2,IR_SCI2_TXI2,IR_SCI2_TEI2,\r
+IR_SCI3_RXI3,IR_SCI3_TXI3,IR_SCI3_TEI3,\r
+IR_SCI4_RXI4,IR_SCI4_TXI4,IR_SCI4_TEI4,\r
+IR_SCI5_RXI5,IR_SCI5_TXI5,IR_SCI5_TEI5,\r
+IR_SCI6_RXI6,IR_SCI6_TXI6,IR_SCI6_TEI6,\r
+IR_SCI7_RXI7,IR_SCI7_TXI7,IR_SCI7_TEI7,\r
+IR_SCI8_RXI8,IR_SCI8_TXI8,IR_SCI8_TEI8,\r
+IR_SCI9_RXI9,IR_SCI9_TXI9,IR_SCI9_TEI9,\r
+IR_SCI10_RXI10,IR_SCI10_TXI10,IR_SCI10_TEI10,\r
+IR_SCI11_RXI11,IR_SCI11_TXI11,IR_SCI11_TEI11,\r
+IR_SCI12_RXI12,IR_SCI12_TXI12,IR_SCI12_TEI12,\r
+IR_IEB_IEBINT\r
+};\r
+\r
+enum enum_dtce {\r
+DTCE_ICU_SWINT=27,\r
+DTCE_CMT0_CMI0,\r
+DTCE_CMT1_CMI1,\r
+DTCE_CMT2_CMI2,\r
+DTCE_CMT3_CMI3,\r
+DTCE_USB0_D0FIFO0=33,DTCE_USB0_D1FIFO0,\r
+DTCE_USB1_D0FIFO1=36,DTCE_USB1_D1FIFO1,\r
+DTCE_RSPI0_SPRI0=39,DTCE_RSPI0_SPTI0,\r
+DTCE_RSPI1_SPRI1=42,DTCE_RSPI1_SPTI1,\r
+DTCE_RSPI2_SPRI2=45,DTCE_RSPI2_SPTI2,\r
+DTCE_ICU_IRQ0=64,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_AD0_ADI0=98,\r
+DTCE_S12AD0_S12ADI0=102,\r
+DTCE_TPU0_TGI0A=126,DTCE_TPU0_TGI0B,DTCE_TPU0_TGI0C,DTCE_TPU0_TGI0D,\r
+DTCE_TPU1_TGI1A,DTCE_TPU1_TGI1B,\r
+DTCE_TPU2_TGI2A,DTCE_TPU2_TGI2B,\r
+DTCE_TPU3_TGI3A,DTCE_TPU3_TGI3B,DTCE_TPU3_TGI3C,DTCE_TPU3_TGI3D,\r
+DTCE_TPU4_TGI4A,DTCE_TPU4_TGI4B,\r
+DTCE_TPU5_TGI5A,DTCE_TPU5_TGI5B,\r
+DTCE_TPU6_TGI6A,DTCE_TPU6_TGI6B,DTCE_TPU6_TGI6C,DTCE_TPU6_TGI6D,\r
+DTCE_MTU0_TGIA0=142,DTCE_MTU0_TGIB0,DTCE_MTU0_TGIC0,DTCE_MTU0_TGID0,\r
+DTCE_TPU7_TGI7A=148,DTCE_TPU7_TGI7B,\r
+DTCE_MTU1_TGIA1=148,DTCE_MTU1_TGIB1,\r
+DTCE_TPU8_TGI8A,DTCE_TPU8_TGI8B,\r
+DTCE_MTU2_TGIA2=150,DTCE_MTU2_TGIB2,\r
+DTCE_TPU9_TGI9A,DTCE_TPU9_TGI9B,DTCE_TPU9_TGI9C,DTCE_TPU9_TGI9D,\r
+DTCE_MTU3_TGIA3=152,DTCE_MTU3_TGIB3,DTCE_MTU3_TGIC3,DTCE_MTU3_TGID3,\r
+DTCE_TPU10_TGI10A,DTCE_TPU10_TGI10B,\r
+DTCE_MTU4_TGIA4=156,DTCE_MTU4_TGIB4,DTCE_MTU4_TGIC4,DTCE_MTU4_TGID4,DTCE_MTU4_TCIV4,\r
+DTCE_MTU5_TGIU5,DTCE_MTU5_TGIV5,DTCE_MTU5_TGIW5,\r
+DTCE_TPU11_TGI11A,DTCE_TPU11_TGI11B,\r
+DTCE_TMR0_CMIA0=170,DTCE_TMR0_CMIB0,\r
+DTCE_TMR1_CMIA1=173,DTCE_TMR1_CMIB1,\r
+DTCE_TMR2_CMIA2=176,DTCE_TMR2_CMIB2,\r
+DTCE_TMR3_CMIA3=179,DTCE_TMR3_CMIB3,\r
+DTCE_RIIC0_RXI0=183,DTCE_RIIC0_TXI0,\r
+DTCE_RIIC1_RXI1=187,DTCE_RIIC1_TXI1,\r
+DTCE_RIIC2_RXI2=191,DTCE_RIIC2_TXI2,\r
+DTCE_RIIC3_RXI3=195,DTCE_RIIC3_TXI3,\r
+DTCE_DMAC_DMAC0I=198,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
+DTCE_EXDMAC_EXDMAC0I,DTCE_EXDMAC_EXDMAC1I,\r
+DTCE_SCI0_RXI0=214,DTCE_SCI0_TXI0,\r
+DTCE_SCI1_RXI1=217,DTCE_SCI1_TXI1,\r
+DTCE_SCI2_RXI2=220,DTCE_SCI2_TXI2,\r
+DTCE_SCI3_RXI3=223,DTCE_SCI3_TXI3,\r
+DTCE_SCI4_RXI4=226,DTCE_SCI4_TXI4,\r
+DTCE_SCI5_RXI5=229,DTCE_SCI5_TXI5,\r
+DTCE_SCI6_RXI6=232,DTCE_SCI6_TXI6,\r
+DTCE_SCI7_RXI7=235,DTCE_SCI7_TXI7,\r
+DTCE_SCI8_RXI8=238,DTCE_SCI8_TXI8,\r
+DTCE_SCI9_RXI9=241,DTCE_SCI9_TXI9,\r
+DTCE_SCI10_RXI10=244,DTCE_SCI10_TXI10,\r
+DTCE_SCI11_RXI11=247,DTCE_SCI11_TXI11,\r
+DTCE_SCI12_RXI12=250,DTCE_SCI12_TXI12\r
+};\r
+\r
+enum enum_ier {\r
+IER_BSC_BUSERR=0x02,\r
+IER_FCU_FIFERR=0x02,IER_FCU_FRDYI=0x02,\r
+IER_ICU_SWINT=0x03,\r
+IER_CMT0_CMI0=0x03,\r
+IER_CMT1_CMI1=0x03,\r
+IER_CMT2_CMI2=0x03,\r
+IER_CMT3_CMI3=0x03,\r
+IER_ETHER_EINT=0x04,\r
+IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,IER_USB0_USBI0=0x04,\r
+IER_USB1_D0FIFO1=0x04,IER_USB1_D1FIFO1=0x04,IER_USB1_USBI1=0x04,\r
+IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x05,IER_RSPI0_SPII0=0x05,\r
+IER_RSPI1_SPRI1=0x05,IER_RSPI1_SPTI1=0x05,IER_RSPI1_SPII1=0x05,\r
+IER_RSPI2_SPRI2=0x05,IER_RSPI2_SPTI2=0x05,IER_RSPI2_SPII2=0x05,\r
+IER_CAN0_RXF0=0x06,IER_CAN0_TXF0=0x06,IER_CAN0_RXM0=0x06,IER_CAN0_TXM0=0x06,\r
+IER_CAN1_RXF1=0x06,IER_CAN1_TXF1=0x06,IER_CAN1_RXM1=0x06,IER_CAN1_TXM1=0x06,\r
+IER_CAN2_RXF2=0x07,IER_CAN2_TXF2=0x07,IER_CAN2_RXM2=0x07,IER_CAN2_TXM2=0x07,\r
+IER_RTC_COUNTUP=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_USB_USBR0=0x0B,IER_USB_USBR1=0x0B,\r
+IER_RTC_ALARM=0x0B,IER_RTC_PRD=0x0B,\r
+IER_AD0_ADI0=0x0C,\r
+IER_S12AD0_S12ADI0=0x0C,\r
+IER_ICU_GROUPE0=0x0D,IER_ICU_GROUPE1=0x0D,IER_ICU_GROUPE2=0x0D,IER_ICU_GROUPE3=0x0D,IER_ICU_GROUPE4=0x0D,IER_ICU_GROUPE5=0x0D,IER_ICU_GROUPE6=0x0E,IER_ICU_GROUPL0=0x0E,\r
+IER_SCIX_SCIX0=0x0F,IER_SCIX_SCIX1=0x0F,IER_SCIX_SCIX2=0x0F,IER_SCIX_SCIX3=0x0F,\r
+IER_TPU0_TGI0A=0x0F,IER_TPU0_TGI0B=0x0F,IER_TPU0_TGI0C=0x10,IER_TPU0_TGI0D=0x10,\r
+IER_TPU1_TGI1A=0x10,IER_TPU1_TGI1B=0x10,\r
+IER_TPU2_TGI2A=0x10,IER_TPU2_TGI2B=0x10,\r
+IER_TPU3_TGI3A=0x10,IER_TPU3_TGI3B=0x10,IER_TPU3_TGI3C=0x11,IER_TPU3_TGI3D=0x11,\r
+IER_TPU4_TGI4A=0x11,IER_TPU4_TGI4B=0x11,\r
+IER_TPU5_TGI5A=0x11,IER_TPU5_TGI5B=0x11,\r
+IER_TPU6_TGI6A=0x11,IER_TPU6_TGI6B=0x11,IER_TPU6_TGI6C=0x12,IER_TPU6_TGI6D=0x12,\r
+IER_MTU0_TGIA0=0x11,IER_MTU0_TGIB0=0x11,IER_MTU0_TGIC0=0x12,IER_MTU0_TGID0=0x12,IER_MTU0_TGIE0=0x12,IER_MTU0_TGIF0=0x12,\r
+IER_TPU7_TGI7A=0x12,IER_TPU7_TGI7B=0x12,\r
+IER_MTU1_TGIA1=0x12,IER_MTU1_TGIB1=0x12,\r
+IER_TPU8_TGI8A=0x12,IER_TPU8_TGI8B=0x12,\r
+IER_MTU2_TGIA2=0x12,IER_MTU2_TGIB2=0x12,\r
+IER_TPU9_TGI9A=0x13,IER_TPU9_TGI9B=0x13,IER_TPU9_TGI9C=0x13,IER_TPU9_TGI9D=0x13,\r
+IER_MTU3_TGIA3=0x13,IER_MTU3_TGIB3=0x13,IER_MTU3_TGIC3=0x13,IER_MTU3_TGID3=0x13,\r
+IER_TPU10_TGI10A=0x13,IER_TPU10_TGI10B=0x13,\r
+IER_MTU4_TGIA4=0x13,IER_MTU4_TGIB4=0x13,IER_MTU4_TGIC4=0x13,IER_MTU4_TGID4=0x13,IER_MTU4_TCIV4=0x14,\r
+IER_MTU5_TGIU5=0x14,IER_MTU5_TGIV5=0x14,IER_MTU5_TGIW5=0x14,\r
+IER_TPU11_TGI11A=0x14,IER_TPU11_TGI11B=0x14,\r
+IER_POE_OEI1=0x14,IER_POE_OEI2=0x14,\r
+IER_TMR0_CMIA0=0x15,IER_TMR0_CMIB0=0x15,IER_TMR0_OVI0=0x15,\r
+IER_TMR1_CMIA1=0x15,IER_TMR1_CMIB1=0x15,IER_TMR1_OVI1=0x15,\r
+IER_TMR2_CMIA2=0x16,IER_TMR2_CMIB2=0x16,IER_TMR2_OVI2=0x16,\r
+IER_TMR3_CMIA3=0x16,IER_TMR3_CMIB3=0x16,IER_TMR3_OVI3=0x16,\r
+IER_RIIC0_EEI0=0x16,IER_RIIC0_RXI0=0x16,IER_RIIC0_TXI0=0x17,IER_RIIC0_TEI0=0x17,\r
+IER_RIIC1_EEI1=0x17,IER_RIIC1_RXI1=0x17,IER_RIIC1_TXI1=0x17,IER_RIIC1_TEI1=0x17,\r
+IER_RIIC2_EEI2=0x17,IER_RIIC2_RXI2=0x17,IER_RIIC2_TXI2=0x18,IER_RIIC2_TEI2=0x18,\r
+IER_RIIC3_EEI3=0x18,IER_RIIC3_RXI3=0x18,IER_RIIC3_TXI3=0x18,IER_RIIC3_TEI3=0x18,\r
+IER_DMAC_DMAC0I=0x18,IER_DMAC_DMAC1I=0x18,IER_DMAC_DMAC2I=0x19,IER_DMAC_DMAC3I=0x19,\r
+IER_EXDMAC_EXDMAC0I=0x19,IER_EXDMAC_EXDMAC1I=0x19,\r
+IER_SCI0_RXI0=0x1A,IER_SCI0_TXI0=0x1A,IER_SCI0_TEI0=0x1B,\r
+IER_SCI1_RXI1=0x1B,IER_SCI1_TXI1=0x1B,IER_SCI1_TEI1=0x1B,\r
+IER_SCI2_RXI2=0x1B,IER_SCI2_TXI2=0x1B,IER_SCI2_TEI2=0x1B,\r
+IER_SCI3_RXI3=0x1B,IER_SCI3_TXI3=0x1C,IER_SCI3_TEI3=0x1C,\r
+IER_SCI4_RXI4=0x1C,IER_SCI4_TXI4=0x1C,IER_SCI4_TEI4=0x1C,\r
+IER_SCI5_RXI5=0x1C,IER_SCI5_TXI5=0x1C,IER_SCI5_TEI5=0x1C,\r
+IER_SCI6_RXI6=0x1D,IER_SCI6_TXI6=0x1D,IER_SCI6_TEI6=0x1D,\r
+IER_SCI7_RXI7=0x1D,IER_SCI7_TXI7=0x1D,IER_SCI7_TEI7=0x1D,\r
+IER_SCI8_RXI8=0x1D,IER_SCI8_TXI8=0x1D,IER_SCI8_TEI8=0x1E,\r
+IER_SCI9_RXI9=0x1E,IER_SCI9_TXI9=0x1E,IER_SCI9_TEI9=0x1E,\r
+IER_SCI10_RXI10=0x1E,IER_SCI10_TXI10=0x1E,IER_SCI10_TEI10=0x1E,\r
+IER_SCI11_RXI11=0x1E,IER_SCI11_TXI11=0x1F,IER_SCI11_TEI11=0x1F,\r
+IER_SCI12_RXI12=0x1F,IER_SCI12_TXI12=0x1F,IER_SCI12_TEI12=0x1F,\r
+IER_IEB_IEBINT=0x1F\r
+};\r
+\r
+enum enum_ipr {\r
+IPR_BSC_BUSERR=0,\r
+IPR_FCU_FIFERR=1,IPR_FCU_FRDYI=2,\r
+IPR_ICU_SWINT=3,\r
+IPR_CMT0_CMI0=4,\r
+IPR_CMT1_CMI1=5,\r
+IPR_CMT2_CMI2=6,\r
+IPR_CMT3_CMI3=7,\r
+IPR_ETHER_EINT=32,\r
+IPR_USB0_D0FIFO0=33,IPR_USB0_D1FIFO0=34,IPR_USB0_USBI0=35,\r
+IPR_USB1_D0FIFO1=36,IPR_USB1_D1FIFO1=37,IPR_USB1_USBI1=38,\r
+IPR_RSPI0_SPRI0=39,IPR_RSPI0_SPTI0=39,IPR_RSPI0_SPII0=39,\r
+IPR_RSPI1_SPRI1=42,IPR_RSPI1_SPTI1=42,IPR_RSPI1_SPII1=42,\r
+IPR_RSPI2_SPRI2=45,IPR_RSPI2_SPTI2=45,IPR_RSPI2_SPII2=45,\r
+IPR_CAN0_RXF0=48,IPR_CAN0_TXF0=48,IPR_CAN0_RXM0=48,IPR_CAN0_TXM0=48,\r
+IPR_CAN1_RXF1=52,IPR_CAN1_TXF1=52,IPR_CAN1_RXM1=52,IPR_CAN1_TXM1=52,\r
+IPR_CAN2_RXF2=56,IPR_CAN2_TXF2=56,IPR_CAN2_RXM2=56,IPR_CAN2_TXM2=56,\r
+IPR_RTC_COUNTUP=62,\r
+IPR_ICU_IRQ0=64,IPR_ICU_IRQ1=65,IPR_ICU_IRQ2=66,IPR_ICU_IRQ3=67,IPR_ICU_IRQ4=68,IPR_ICU_IRQ5=69,IPR_ICU_IRQ6=70,IPR_ICU_IRQ7=71,IPR_ICU_IRQ8=72,IPR_ICU_IRQ9=73,IPR_ICU_IRQ10=74,IPR_ICU_IRQ11=75,IPR_ICU_IRQ12=76,IPR_ICU_IRQ13=77,IPR_ICU_IRQ14=78,IPR_ICU_IRQ15=79,\r
+IPR_USB_USBR0=90,IPR_USB_USBR1=91,\r
+IPR_RTC_ALARM=92,IPR_RTC_PRD=93,\r
+IPR_AD0_ADI0=98,\r
+IPR_S12AD0_S12ADI0=102,\r
+IPR_ICU_GROUPE0=106,IPR_ICU_GROUPE1=107,IPR_ICU_GROUPE2=108,IPR_ICU_GROUPE3=109,IPR_ICU_GROUPE4=110,IPR_ICU_GROUPE5=111,IPR_ICU_GROUPE6=112,IPR_ICU_GROUPL0=114,\r
+IPR_SCIX_SCIX0=122,IPR_SCIX_SCIX1=122,IPR_SCIX_SCIX2=122,IPR_SCIX_SCIX3=122,\r
+IPR_TPU0_TGI0A=126,IPR_TPU0_TGI0B=126,IPR_TPU0_TGI0C=126,IPR_TPU0_TGI0D=126,\r
+IPR_TPU1_TGI1A=130,IPR_TPU1_TGI1B=130,\r
+IPR_TPU2_TGI2A=132,IPR_TPU2_TGI2B=132,\r
+IPR_TPU3_TGI3A=134,IPR_TPU3_TGI3B=134,IPR_TPU3_TGI3C=134,IPR_TPU3_TGI3D=134,\r
+IPR_TPU4_TGI4A=138,IPR_TPU4_TGI4B=138,\r
+IPR_TPU5_TGI5A=140,IPR_TPU5_TGI5B=140,\r
+IPR_TPU6_TGI6A=142,IPR_TPU6_TGI6B=142,IPR_TPU6_TGI6C=142,IPR_TPU6_TGI6D=142,\r
+IPR_MTU0_TGIA0=142,IPR_MTU0_TGIB0=142,IPR_MTU0_TGIC0=142,IPR_MTU0_TGID0=142,IPR_MTU0_TGIE0=146,IPR_MTU0_TGIF0=146,\r
+IPR_TPU7_TGI7A=148,IPR_TPU7_TGI7B=148,\r
+IPR_MTU1_TGIA1=148,IPR_MTU1_TGIB1=148,\r
+IPR_TPU8_TGI8A=150,IPR_TPU8_TGI8B=150,\r
+IPR_MTU2_TGIA2=150,IPR_MTU2_TGIB2=150,\r
+IPR_TPU9_TGI9A=152,IPR_TPU9_TGI9B=152,IPR_TPU9_TGI9C=152,IPR_TPU9_TGI9D=152,\r
+IPR_MTU3_TGIA3=152,IPR_MTU3_TGIB3=152,IPR_MTU3_TGIC3=152,IPR_MTU3_TGID3=152,\r
+IPR_TPU10_TGI10A=156,IPR_TPU10_TGI10B=156,\r
+IPR_MTU4_TGIA4=156,IPR_MTU4_TGIB4=156,IPR_MTU4_TGIC4=156,IPR_MTU4_TGID4=156,IPR_MTU4_TCIV4=160,\r
+IPR_MTU5_TGIU5=161,IPR_MTU5_TGIV5=161,IPR_MTU5_TGIW5=161,\r
+IPR_TPU11_TGI11A=164,IPR_TPU11_TGI11B=164,\r
+IPR_POE_OEI1=166,IPR_POE_OEI2=166,\r
+IPR_TMR0_CMIA0=170,IPR_TMR0_CMIB0=170,IPR_TMR0_OVI0=170,\r
+IPR_TMR1_CMIA1=173,IPR_TMR1_CMIB1=173,IPR_TMR1_OVI1=173,\r
+IPR_TMR2_CMIA2=176,IPR_TMR2_CMIB2=176,IPR_TMR2_OVI2=176,\r
+IPR_TMR3_CMIA3=179,IPR_TMR3_CMIB3=179,IPR_TMR3_OVI3=179,\r
+IPR_RIIC0_EEI0=182,IPR_RIIC0_RXI0=183,IPR_RIIC0_TXI0=184,IPR_RIIC0_TEI0=185,\r
+IPR_RIIC1_EEI1=186,IPR_RIIC1_RXI1=187,IPR_RIIC1_TXI1=188,IPR_RIIC1_TEI1=189,\r
+IPR_RIIC2_EEI2=190,IPR_RIIC2_RXI2=191,IPR_RIIC2_TXI2=192,IPR_RIIC2_TEI2=193,\r
+IPR_RIIC3_EEI3=194,IPR_RIIC3_RXI3=195,IPR_RIIC3_TXI3=196,IPR_RIIC3_TEI3=197,\r
+IPR_DMAC_DMAC0I=198,IPR_DMAC_DMAC1I=199,IPR_DMAC_DMAC2I=200,IPR_DMAC_DMAC3I=201,\r
+IPR_EXDMAC_EXDMAC0I=202,IPR_EXDMAC_EXDMAC1I=203,\r
+IPR_SCI0_RXI0=214,IPR_SCI0_TXI0=214,IPR_SCI0_TEI0=214,\r
+IPR_SCI1_RXI1=217,IPR_SCI1_TXI1=217,IPR_SCI1_TEI1=217,\r
+IPR_SCI2_RXI2=220,IPR_SCI2_TXI2=220,IPR_SCI2_TEI2=220,\r
+IPR_SCI3_RXI3=223,IPR_SCI3_TXI3=223,IPR_SCI3_TEI3=223,\r
+IPR_SCI4_RXI4=226,IPR_SCI4_TXI4=226,IPR_SCI4_TEI4=226,\r
+IPR_SCI5_RXI5=229,IPR_SCI5_TXI5=229,IPR_SCI5_TEI5=229,\r
+IPR_SCI6_RXI6=232,IPR_SCI6_TXI6=232,IPR_SCI6_TEI6=232,\r
+IPR_SCI7_RXI7=235,IPR_SCI7_TXI7=235,IPR_SCI7_TEI7=235,\r
+IPR_SCI8_RXI8=238,IPR_SCI8_TXI8=238,IPR_SCI8_TEI8=238,\r
+IPR_SCI9_RXI9=241,IPR_SCI9_TXI9=241,IPR_SCI9_TEI9=241,\r
+IPR_SCI10_RXI10=244,IPR_SCI10_TXI10=244,IPR_SCI10_TEI10=244,\r
+IPR_SCI11_RXI11=247,IPR_SCI11_TXI11=247,IPR_SCI11_TEI11=247,\r
+IPR_SCI12_RXI12=250,IPR_SCI12_TXI12=250,IPR_SCI12_TEI12=250,\r
+IPR_IEB_IEBINT=253,\r
+IPR_BSC_=0,\r
+IPR_CMT0_=4,\r
+IPR_CMT1_=5,\r
+IPR_CMT2_=6,\r
+IPR_CMT3_=7,\r
+IPR_ETHER_=32,\r
+IPR_RSPI0_=39,\r
+IPR_RSPI1_=42,\r
+IPR_RSPI2_=45,\r
+IPR_CAN0_=48,\r
+IPR_CAN1_=52,\r
+IPR_CAN2_=56,\r
+IPR_AD0_=98,\r
+IPR_S12AD0_=102,\r
+IPR_SCIX_=122,\r
+IPR_SCIX_SCI=122,\r
+IPR_TPU0_=126,\r
+IPR_TPU0_TGI=126,\r
+IPR_TPU1_=130,\r
+IPR_TPU1_TGI=130,\r
+IPR_TPU2_=132,\r
+IPR_TPU2_TGI=132,\r
+IPR_TPU3_=134,\r
+IPR_TPU3_TGI=134,\r
+IPR_TPU4_=138,\r
+IPR_TPU4_TGI=138,\r
+IPR_TPU5_=140,\r
+IPR_TPU5_TGI=140,\r
+IPR_MTU5_=161,\r
+IPR_MTU5_TGI=161,\r
+IPR_TPU11_=164,\r
+IPR_TPU11_TGI=164,\r
+IPR_POE_=166,\r
+IPR_POE_OEI=166,\r
+IPR_TMR0_=170,\r
+IPR_TMR1_=173,\r
+IPR_TMR2_=176,\r
+IPR_TMR3_=179,\r
+IPR_SCI0_=214,\r
+IPR_SCI1_=217,\r
+IPR_SCI2_=220,\r
+IPR_SCI3_=223,\r
+IPR_SCI4_=226,\r
+IPR_SCI5_=229,\r
+IPR_SCI6_=232,\r
+IPR_SCI7_=235,\r
+IPR_SCI8_=238,\r
+IPR_SCI9_=241,\r
+IPR_SCI10_=244,\r
+IPR_SCI11_=247,\r
+IPR_SCI12_=250,\r
+IPR_IEB_=253\r
+};\r
+\r
+enum enum_grp {\r
+GRP_CAN0_ERS0=0,GRP_CAN1_ERS1=0,GRP_CAN2_ERS2=0,\r
+GRP_MTU0_TCIV0=1,GRP_MTU1_TCIV1=1,GRP_MTU1_TCIU1=1,\r
+GRP_MTU2_TCIV2=2,GRP_MTU2_TCIU2=2,GRP_MTU3_TCIV3=2,\r
+GRP_TPU0_TCI0V=3,GRP_TPU1_TCI1V=3,GRP_TPU1_TCI1U=3,GRP_TPU5_TCI5V=3,GRP_TPU5_TCI5U=3,\r
+GRP_TPU2_TCI2V=4,GRP_TPU2_TCI2U=4,GRP_TPU3_TCI3V=4,GRP_TPU4_TCI4V=4,GRP_TPU4_TCI4U=4,\r
+GRP_TPU6_TCI6V=5,GRP_TPU7_TCI7V=5,GRP_TPU7_TCI7U=5,GRP_TPU11_TCI11V=5,GRP_TPU11_TCI11U=5,\r
+GRP_TPU8_TCI8V=6,GRP_TPU8_TCI8U=6,GRP_TPU9_TCI9V=6,GRP_TPU10_TCI10V=6,GRP_TPU10_TCI10U=6,\r
+GRP_SCI0_ERI0=12,GRP_SCI1_ERI1=12,GRP_SCI2_ERI2=12,GRP_SCI3_ERI3=12,GRP_SCI4_ERI4=12,GRP_SCI5_ERI5=12,GRP_SCI6_ERI6=12,\r
+GRP_SCI7_ERI7=12,GRP_SCI8_ERI8=12,GRP_SCI9_ERI9=12,GRP_SCI10_ERI10=12,GRP_SCI11_ERI11=12,GRP_SCI12_ERI12=12,\r
+GRP_RSPI0_SPEI0=12,GRP_RSPI1_SPEI1=12,GRP_RSPI2_SPEI2=12\r
+};\r
+\r
+enum enum_gen {\r
+GEN_CAN0_ERS0=0,GEN_CAN1_ERS1=0,GEN_CAN2_ERS2=0,\r
+GEN_MTU0_TCIV0=1,GEN_MTU1_TCIV1=1,GEN_MTU1_TCIU1=1,\r
+GEN_MTU2_TCIV2=2,GEN_MTU2_TCIU2=2,GEN_MTU3_TCIV3=2,\r
+GEN_TPU0_TCI0V=3,GEN_TPU1_TCI1V=3,GEN_TPU1_TCI1U=3,GEN_TPU5_TCI5V=3,GEN_TPU5_TCI5U=3,\r
+GEN_TPU2_TCI2V=4,GEN_TPU2_TCI2U=4,GEN_TPU3_TCI3V=4,GEN_TPU4_TCI4V=4,GEN_TPU4_TCI4U=4,\r
+GEN_TPU6_TCI6V=5,GEN_TPU7_TCI7V=5,GEN_TPU7_TCI7U=5,GEN_TPU11_TCI11V=5,GEN_TPU11_TCI11U=5,\r
+GEN_TPU8_TCI8V=6,GEN_TPU8_TCI8U=6,GEN_TPU9_TCI9V=6,GEN_TPU10_TCI10V=6,GEN_TPU10_TCI10U=6,\r
+GEN_SCI0_ERI0=12,GEN_SCI1_ERI1=12,GEN_SCI2_ERI2=12,GEN_SCI3_ERI3=12,GEN_SCI4_ERI4=12,GEN_SCI5_ERI5=12,GEN_SCI6_ERI6=12,\r
+GEN_SCI7_ERI7=12,GEN_SCI8_ERI8=12,GEN_SCI9_ERI9=12,GEN_SCI10_ERI10=12,GEN_SCI11_ERI11=12,GEN_SCI12_ERI12=12,\r
+GEN_RSPI0_SPEI0=12,GEN_RSPI1_SPEI1=12,GEN_RSPI2_SPEI2=12\r
+};\r
+\r
+enum enum_gcr {\r
+GCR_CAN0_ERS0=0,GCR_CAN1_ERS1=0,GCR_CAN2_ERS2=0,\r
+GCR_MTU0_TCIV0=1,GCR_MTU1_TCIV1=1,GCR_MTU1_TCIU1=1,\r
+GCR_MTU2_TCIV2=2,GCR_MTU2_TCIU2=2,GCR_MTU3_TCIV3=2,\r
+GCR_TPU0_TCI0V=3,GCR_TPU1_TCI1V=3,GCR_TPU1_TCI1U=3,GCR_TPU5_TCI5V=3,GCR_TPU5_TCI5U=3,\r
+GCR_TPU2_TCI2V=4,GCR_TPU2_TCI2U=4,GCR_TPU3_TCI3V=4,GCR_TPU4_TCI4V=4,GCR_TPU4_TCI4U=4,\r
+GCR_TPU6_TCI6V=5,GCR_TPU7_TCI7V=5,GCR_TPU7_TCI7U=5,GCR_TPU11_TCI11V=5,GCR_TPU11_TCI11U=5,\r
+GCR_TPU8_TCI8V=6,GCR_TPU8_TCI8U=6,GCR_TPU9_TCI9V=6,GCR_TPU10_TCI10V=6,GCR_TPU10_TCI10U=6,\r
+GCR_SCI0_ERI0=12,GCR_SCI1_ERI1=12,GCR_SCI2_ERI2=12,GCR_SCI3_ERI3=12,GCR_SCI4_ERI4=12,GCR_SCI5_ERI5=12,GCR_SCI6_ERI6=12,\r
+GCR_SCI7_ERI7=12,GCR_SCI8_ERI8=12,GCR_SCI9_ERI9=12,GCR_SCI10_ERI10=12,GCR_SCI11_ERI11=12,GCR_SCI12_ERI12=12,\r
+GCR_RSPI0_SPEI0=12,GCR_RSPI1_SPEI1=12,GCR_RSPI2_SPEI2=12\r
+};\r
+\r
+#define        IEN_BSC_BUSERR          IEN0\r
+#define        IEN_FCU_FIFERR          IEN5\r
+#define        IEN_FCU_FRDYI           IEN7\r
+#define        IEN_ICU_SWINT           IEN3\r
+#define        IEN_CMT0_CMI0           IEN4\r
+#define        IEN_CMT1_CMI1           IEN5\r
+#define        IEN_CMT2_CMI2           IEN6\r
+#define        IEN_CMT3_CMI3           IEN7\r
+#define        IEN_ETHER_EINT          IEN0\r
+#define        IEN_USB0_D0FIFO0        IEN1\r
+#define        IEN_USB0_D1FIFO0        IEN2\r
+#define        IEN_USB0_USBI0          IEN3\r
+#define        IEN_USB1_D0FIFO1        IEN4\r
+#define        IEN_USB1_D1FIFO1        IEN5\r
+#define        IEN_USB1_USBI1          IEN6\r
+#define        IEN_RSPI0_SPRI0         IEN7\r
+#define        IEN_RSPI0_SPTI0         IEN0\r
+#define        IEN_RSPI0_SPII0         IEN1\r
+#define        IEN_RSPI1_SPRI1         IEN2\r
+#define        IEN_RSPI1_SPTI1         IEN3\r
+#define        IEN_RSPI1_SPII1         IEN4\r
+#define        IEN_RSPI2_SPRI2         IEN5\r
+#define        IEN_RSPI2_SPTI2         IEN6\r
+#define        IEN_RSPI2_SPII2         IEN7\r
+#define        IEN_CAN0_RXF0           IEN0\r
+#define        IEN_CAN0_TXF0           IEN1\r
+#define        IEN_CAN0_RXM0           IEN2\r
+#define        IEN_CAN0_TXM0           IEN3\r
+#define        IEN_CAN1_RXF1           IEN4\r
+#define        IEN_CAN1_TXF1           IEN5\r
+#define        IEN_CAN1_RXM1           IEN6\r
+#define        IEN_CAN1_TXM1           IEN7\r
+#define        IEN_CAN2_RXF2           IEN0\r
+#define        IEN_CAN2_TXF2           IEN1\r
+#define        IEN_CAN2_RXM2           IEN2\r
+#define        IEN_CAN2_TXM2           IEN3\r
+#define        IEN_RTC_COUNTUP         IEN6\r
+#define        IEN_ICU_IRQ0            IEN0\r
+#define        IEN_ICU_IRQ1            IEN1\r
+#define        IEN_ICU_IRQ2            IEN2\r
+#define        IEN_ICU_IRQ3            IEN3\r
+#define        IEN_ICU_IRQ4            IEN4\r
+#define        IEN_ICU_IRQ5            IEN5\r
+#define        IEN_ICU_IRQ6            IEN6\r
+#define        IEN_ICU_IRQ7            IEN7\r
+#define        IEN_ICU_IRQ8            IEN0\r
+#define        IEN_ICU_IRQ9            IEN1\r
+#define        IEN_ICU_IRQ10           IEN2\r
+#define        IEN_ICU_IRQ11           IEN3\r
+#define        IEN_ICU_IRQ12           IEN4\r
+#define        IEN_ICU_IRQ13           IEN5\r
+#define        IEN_ICU_IRQ14           IEN6\r
+#define        IEN_ICU_IRQ15           IEN7\r
+#define        IEN_USB_USBR0           IEN2\r
+#define        IEN_USB_USBR1           IEN3\r
+#define        IEN_RTC_ALARM           IEN4\r
+#define        IEN_RTC_PRD                     IEN5\r
+#define        IEN_AD0_ADI0            IEN2\r
+#define        IEN_S12AD0_S12ADI0      IEN6\r
+#define        IEN_ICU_GROUPE0         IEN2\r
+#define        IEN_ICU_GROUPE1         IEN3\r
+#define        IEN_ICU_GROUPE2         IEN4\r
+#define        IEN_ICU_GROUPE3         IEN5\r
+#define        IEN_ICU_GROUPE4         IEN6\r
+#define        IEN_ICU_GROUPE5         IEN7\r
+#define        IEN_ICU_GROUPE6         IEN0\r
+#define        IEN_ICU_GROUPL0         IEN2\r
+#define        IEN_SCIX_SCIX0          IEN2\r
+#define        IEN_SCIX_SCIX1          IEN3\r
+#define        IEN_SCIX_SCIX2          IEN4\r
+#define        IEN_SCIX_SCIX3          IEN5\r
+#define        IEN_TPU0_TGI0A          IEN6\r
+#define        IEN_TPU0_TGI0B          IEN7\r
+#define        IEN_TPU0_TGI0C          IEN0\r
+#define        IEN_TPU0_TGI0D          IEN1\r
+#define        IEN_TPU1_TGI1A          IEN2\r
+#define        IEN_TPU1_TGI1B          IEN3\r
+#define        IEN_TPU2_TGI2A          IEN4\r
+#define        IEN_TPU2_TGI2B          IEN5\r
+#define        IEN_TPU3_TGI3A          IEN6\r
+#define        IEN_TPU3_TGI3B          IEN7\r
+#define        IEN_TPU3_TGI3C          IEN0\r
+#define        IEN_TPU3_TGI3D          IEN1\r
+#define        IEN_TPU4_TGI4A          IEN2\r
+#define        IEN_TPU4_TGI4B          IEN3\r
+#define        IEN_TPU5_TGI5A          IEN4\r
+#define        IEN_TPU5_TGI5B          IEN5\r
+#define        IEN_TPU6_TGI6A          IEN6\r
+#define        IEN_TPU6_TGI6B          IEN7\r
+#define        IEN_TPU6_TGI6C          IEN0\r
+#define        IEN_TPU6_TGI6D          IEN1\r
+#define        IEN_MTU0_TGIA0          IEN6\r
+#define        IEN_MTU0_TGIB0          IEN7\r
+#define        IEN_MTU0_TGIC0          IEN0\r
+#define        IEN_MTU0_TGID0          IEN1\r
+#define        IEN_MTU0_TGIE0          IEN2\r
+#define        IEN_MTU0_TGIF0          IEN3\r
+#define        IEN_TPU7_TGI7A          IEN4\r
+#define        IEN_TPU7_TGI7B          IEN5\r
+#define        IEN_MTU1_TGIA1          IEN4\r
+#define        IEN_MTU1_TGIB1          IEN5\r
+#define        IEN_TPU8_TGI8A          IEN6\r
+#define        IEN_TPU8_TGI8B          IEN7\r
+#define        IEN_MTU2_TGIA2          IEN6\r
+#define        IEN_MTU2_TGIB2          IEN7\r
+#define        IEN_TPU9_TGI9A          IEN0\r
+#define        IEN_TPU9_TGI9B          IEN1\r
+#define        IEN_TPU9_TGI9C          IEN2\r
+#define        IEN_TPU9_TGI9D          IEN3\r
+#define        IEN_MTU3_TGIA3          IEN0\r
+#define        IEN_MTU3_TGIB3          IEN1\r
+#define        IEN_MTU3_TGIC3          IEN2\r
+#define        IEN_MTU3_TGID3          IEN3\r
+#define        IEN_TPU10_TGI10A        IEN4\r
+#define        IEN_TPU10_TGI10B        IEN5\r
+#define        IEN_MTU4_TGIA4          IEN4\r
+#define        IEN_MTU4_TGIB4          IEN5\r
+#define        IEN_MTU4_TGIC4          IEN6\r
+#define        IEN_MTU4_TGID4          IEN7\r
+#define        IEN_MTU4_TCIV4          IEN0\r
+#define        IEN_MTU5_TGIU5          IEN1\r
+#define        IEN_MTU5_TGIV5          IEN2\r
+#define        IEN_MTU5_TGIW5          IEN3\r
+#define        IEN_TPU11_TGI11A        IEN4\r
+#define        IEN_TPU11_TGI11B        IEN5\r
+#define        IEN_POE_OEI1            IEN6\r
+#define        IEN_POE_OEI2            IEN7\r
+#define        IEN_TMR0_CMIA0          IEN2\r
+#define        IEN_TMR0_CMIB0          IEN3\r
+#define        IEN_TMR0_OVI0           IEN4\r
+#define        IEN_TMR1_CMIA1          IEN5\r
+#define        IEN_TMR1_CMIB1          IEN6\r
+#define        IEN_TMR1_OVI1           IEN7\r
+#define        IEN_TMR2_CMIA2          IEN0\r
+#define        IEN_TMR2_CMIB2          IEN1\r
+#define        IEN_TMR2_OVI2           IEN2\r
+#define        IEN_TMR3_CMIA3          IEN3\r
+#define        IEN_TMR3_CMIB3          IEN4\r
+#define        IEN_TMR3_OVI3           IEN5\r
+#define        IEN_RIIC0_EEI0          IEN6\r
+#define        IEN_RIIC0_RXI0          IEN7\r
+#define        IEN_RIIC0_TXI0          IEN0\r
+#define        IEN_RIIC0_TEI0          IEN1\r
+#define        IEN_RIIC1_EEI1          IEN2\r
+#define        IEN_RIIC1_RXI1          IEN3\r
+#define        IEN_RIIC1_TXI1          IEN4\r
+#define        IEN_RIIC1_TEI1          IEN5\r
+#define        IEN_RIIC2_EEI2          IEN6\r
+#define        IEN_RIIC2_RXI2          IEN7\r
+#define        IEN_RIIC2_TXI2          IEN0\r
+#define        IEN_RIIC2_TEI2          IEN1\r
+#define        IEN_RIIC3_EEI3          IEN2\r
+#define        IEN_RIIC3_RXI3          IEN3\r
+#define        IEN_RIIC3_TXI3          IEN4\r
+#define        IEN_RIIC3_TEI3          IEN5\r
+#define        IEN_DMAC_DMAC0I         IEN6\r
+#define        IEN_DMAC_DMAC1I         IEN7\r
+#define        IEN_DMAC_DMAC2I         IEN0\r
+#define        IEN_DMAC_DMAC3I         IEN1\r
+#define        IEN_EXDMAC_EXDMAC0I     IEN2\r
+#define        IEN_EXDMAC_EXDMAC1I     IEN3\r
+#define        IEN_SCI0_RXI0           IEN6\r
+#define        IEN_SCI0_TXI0           IEN7\r
+#define        IEN_SCI0_TEI0           IEN0\r
+#define        IEN_SCI1_RXI1           IEN1\r
+#define        IEN_SCI1_TXI1           IEN2\r
+#define        IEN_SCI1_TEI1           IEN3\r
+#define        IEN_SCI2_RXI2           IEN4\r
+#define        IEN_SCI2_TXI2           IEN5\r
+#define        IEN_SCI2_TEI2           IEN6\r
+#define        IEN_SCI3_RXI3           IEN7\r
+#define        IEN_SCI3_TXI3           IEN0\r
+#define        IEN_SCI3_TEI3           IEN1\r
+#define        IEN_SCI4_RXI4           IEN2\r
+#define        IEN_SCI4_TXI4           IEN3\r
+#define        IEN_SCI4_TEI4           IEN4\r
+#define        IEN_SCI5_RXI5           IEN5\r
+#define        IEN_SCI5_TXI5           IEN6\r
+#define        IEN_SCI5_TEI5           IEN7\r
+#define        IEN_SCI6_RXI6           IEN0\r
+#define        IEN_SCI6_TXI6           IEN1\r
+#define        IEN_SCI6_TEI6           IEN2\r
+#define        IEN_SCI7_RXI7           IEN3\r
+#define        IEN_SCI7_TXI7           IEN4\r
+#define        IEN_SCI7_TEI7           IEN5\r
+#define        IEN_SCI8_RXI8           IEN6\r
+#define        IEN_SCI8_TXI8           IEN7\r
+#define        IEN_SCI8_TEI8           IEN0\r
+#define        IEN_SCI9_RXI9           IEN1\r
+#define        IEN_SCI9_TXI9           IEN2\r
+#define        IEN_SCI9_TEI9           IEN3\r
+#define        IEN_SCI10_RXI10         IEN4\r
+#define        IEN_SCI10_TXI10         IEN5\r
+#define        IEN_SCI10_TEI10         IEN6\r
+#define        IEN_SCI11_RXI11         IEN7\r
+#define        IEN_SCI11_TXI11         IEN0\r
+#define        IEN_SCI11_TEI11         IEN1\r
+#define        IEN_SCI12_RXI12         IEN2\r
+#define        IEN_SCI12_TXI12         IEN3\r
+#define        IEN_SCI12_TEI12         IEN4\r
+#define        IEN_IEB_IEBINT          IEN5\r
+\r
+#define        VECT_BSC_BUSERR         16\r
+#define        VECT_FCU_FIFERR         21\r
+#define        VECT_FCU_FRDYI          23\r
+#define        VECT_ICU_SWINT          27\r
+#define        VECT_CMT0_CMI0          28\r
+#define        VECT_CMT1_CMI1          29\r
+#define        VECT_CMT2_CMI2          30\r
+#define        VECT_CMT3_CMI3          31\r
+#define        VECT_ETHER_EINT         32\r
+#define        VECT_USB0_D0FIFO0       33\r
+#define        VECT_USB0_D1FIFO0       34\r
+#define        VECT_USB0_USBI0         35\r
+#define        VECT_USB1_D0FIFO1       36\r
+#define        VECT_USB1_D1FIFO1       37\r
+#define        VECT_USB1_USBI1         38\r
+#define        VECT_RSPI0_SPRI0        39\r
+#define        VECT_RSPI0_SPTI0        40\r
+#define        VECT_RSPI0_SPII0        41\r
+#define        VECT_RSPI1_SPRI1        42\r
+#define        VECT_RSPI1_SPTI1        43\r
+#define        VECT_RSPI1_SPII1        44\r
+#define        VECT_RSPI2_SPRI2        45\r
+#define        VECT_RSPI2_SPTI2        46\r
+#define        VECT_RSPI2_SPII2        47\r
+#define        VECT_CAN0_RXF0          48\r
+#define        VECT_CAN0_TXF0          49\r
+#define        VECT_CAN0_RXM0          50\r
+#define        VECT_CAN0_TXM0          51\r
+#define        VECT_CAN1_RXF1          52\r
+#define        VECT_CAN1_TXF1          53\r
+#define        VECT_CAN1_RXM1          54\r
+#define        VECT_CAN1_TXM1          55\r
+#define        VECT_CAN2_RXF2          56\r
+#define        VECT_CAN2_TXF2          57\r
+#define        VECT_CAN2_RXM2          58\r
+#define        VECT_CAN2_TXM2          59\r
+#define        VECT_RTC_COUNTUP        62\r
+#define        VECT_ICU_IRQ0           64\r
+#define        VECT_ICU_IRQ1           65\r
+#define        VECT_ICU_IRQ2           66\r
+#define        VECT_ICU_IRQ3           67\r
+#define        VECT_ICU_IRQ4           68\r
+#define        VECT_ICU_IRQ5           69\r
+#define        VECT_ICU_IRQ6           70\r
+#define        VECT_ICU_IRQ7           71\r
+#define        VECT_ICU_IRQ8           72\r
+#define        VECT_ICU_IRQ9           73\r
+#define        VECT_ICU_IRQ10          74\r
+#define        VECT_ICU_IRQ11          75\r
+#define        VECT_ICU_IRQ12          76\r
+#define        VECT_ICU_IRQ13          77\r
+#define        VECT_ICU_IRQ14          78\r
+#define        VECT_ICU_IRQ15          79\r
+#define        VECT_USB_USBR0          90\r
+#define        VECT_USB_USBR1          91\r
+#define        VECT_RTC_ALARM          92\r
+#define        VECT_RTC_PRD            93\r
+#define        VECT_AD0_ADI0           98\r
+#define        VECT_S12AD0_S12ADI0     102\r
+#define        VECT_ICU_GROUPE0        106\r
+#define        VECT_ICU_GROUPE1        107\r
+#define        VECT_ICU_GROUPE2        108\r
+#define        VECT_ICU_GROUPE3        109\r
+#define        VECT_ICU_GROUPE4        110\r
+#define        VECT_ICU_GROUPE5        111\r
+#define        VECT_ICU_GROUPE6        112\r
+#define        VECT_ICU_GROUPL0        114\r
+#define        VECT_SCIX_SCIX0         122\r
+#define        VECT_SCIX_SCIX1         123\r
+#define        VECT_SCIX_SCIX2         124\r
+#define        VECT_SCIX_SCIX3         125\r
+#define        VECT_TPU0_TGI0A         126\r
+#define        VECT_TPU0_TGI0B         127\r
+#define        VECT_TPU0_TGI0C         128\r
+#define        VECT_TPU0_TGI0D         129\r
+#define        VECT_TPU1_TGI1A         130\r
+#define        VECT_TPU1_TGI1B         131\r
+#define        VECT_TPU2_TGI2A         132\r
+#define        VECT_TPU2_TGI2B         133\r
+#define        VECT_TPU3_TGI3A         134\r
+#define        VECT_TPU3_TGI3B         135\r
+#define        VECT_TPU3_TGI3C         136\r
+#define        VECT_TPU3_TGI3D         137\r
+#define        VECT_TPU4_TGI4A         138\r
+#define        VECT_TPU4_TGI4B         139\r
+#define        VECT_TPU5_TGI5A         140\r
+#define        VECT_TPU5_TGI5B         141\r
+#define        VECT_TPU6_TGI6A         142\r
+#define        VECT_TPU6_TGI6B         143\r
+#define        VECT_TPU6_TGI6C         144\r
+#define        VECT_TPU6_TGI6D         145\r
+#define        VECT_MTU0_TGIA0         142\r
+#define        VECT_MTU0_TGIB0         143\r
+#define        VECT_MTU0_TGIC0         144\r
+#define        VECT_MTU0_TGID0         145\r
+#define        VECT_MTU0_TGIE0         146\r
+#define        VECT_MTU0_TGIF0         147\r
+#define        VECT_TPU7_TGI7A         148\r
+#define        VECT_TPU7_TGI7B         149\r
+#define        VECT_MTU1_TGIA1         148\r
+#define        VECT_MTU1_TGIB1         149\r
+#define        VECT_TPU8_TGI8A         150\r
+#define        VECT_TPU8_TGI8B         151\r
+#define        VECT_MTU2_TGIA2         150\r
+#define        VECT_MTU2_TGIB2         151\r
+#define        VECT_TPU9_TGI9A         152\r
+#define        VECT_TPU9_TGI9B         153\r
+#define        VECT_TPU9_TGI9C         154\r
+#define        VECT_TPU9_TGI9D         155\r
+#define        VECT_MTU3_TGIA3         152\r
+#define        VECT_MTU3_TGIB3         153\r
+#define        VECT_MTU3_TGIC3         154\r
+#define        VECT_MTU3_TGID3         155\r
+#define        VECT_TPU10_TGI10A       156\r
+#define        VECT_TPU10_TGI10B       157\r
+#define        VECT_MTU4_TGIA4         156\r
+#define        VECT_MTU4_TGIB4         157\r
+#define        VECT_MTU4_TGIC4         158\r
+#define        VECT_MTU4_TGID4         159\r
+#define        VECT_MTU4_TCIV4         160\r
+#define        VECT_MTU5_TGIU5         161\r
+#define        VECT_MTU5_TGIV5         162\r
+#define        VECT_MTU5_TGIW5         163\r
+#define        VECT_TPU11_TGI11A       164\r
+#define        VECT_TPU11_TGI11B       165\r
+#define        VECT_POE_OEI1           166\r
+#define        VECT_POE_OEI2           167\r
+#define        VECT_TMR0_CMIA0         170\r
+#define        VECT_TMR0_CMIB0         171\r
+#define        VECT_TMR0_OVI0          172\r
+#define        VECT_TMR1_CMIA1         173\r
+#define        VECT_TMR1_CMIB1         174\r
+#define        VECT_TMR1_OVI1          175\r
+#define        VECT_TMR2_CMIA2         176\r
+#define        VECT_TMR2_CMIB2         177\r
+#define        VECT_TMR2_OVI2          178\r
+#define        VECT_TMR3_CMIA3         179\r
+#define        VECT_TMR3_CMIB3         180\r
+#define        VECT_TMR3_OVI3          181\r
+#define        VECT_RIIC0_EEI0         182\r
+#define        VECT_RIIC0_RXI0         183\r
+#define        VECT_RIIC0_TXI0         184\r
+#define        VECT_RIIC0_TEI0         185\r
+#define        VECT_RIIC1_EEI1         186\r
+#define        VECT_RIIC1_RXI1         187\r
+#define        VECT_RIIC1_TXI1         188\r
+#define        VECT_RIIC1_TEI1         189\r
+#define        VECT_RIIC2_EEI2         190\r
+#define        VECT_RIIC2_RXI2         191\r
+#define        VECT_RIIC2_TXI2         192\r
+#define        VECT_RIIC2_TEI2         193\r
+#define        VECT_RIIC3_EEI3         194\r
+#define        VECT_RIIC3_RXI3         195\r
+#define        VECT_RIIC3_TXI3         196\r
+#define        VECT_RIIC3_TEI3         197\r
+#define        VECT_DMAC_DMAC0I        198\r
+#define        VECT_DMAC_DMAC1I        199\r
+#define        VECT_DMAC_DMAC2I        200\r
+#define        VECT_DMAC_DMAC3I        201\r
+#define        VECT_EXDMAC_EXDMAC0I    202\r
+#define        VECT_EXDMAC_EXDMAC1I    203\r
+#define        VECT_SCI0_RXI0          214\r
+#define        VECT_SCI0_TXI0          215\r
+#define        VECT_SCI0_TEI0          216\r
+#define        VECT_SCI1_RXI1          217\r
+#define        VECT_SCI1_TXI1          218\r
+#define        VECT_SCI1_TEI1          219\r
+#define        VECT_SCI2_RXI2          220\r
+#define        VECT_SCI2_TXI2          221\r
+#define        VECT_SCI2_TEI2          222\r
+#define        VECT_SCI3_RXI3          223\r
+#define        VECT_SCI3_TXI3          224\r
+#define        VECT_SCI3_TEI3          225\r
+#define        VECT_SCI4_RXI4          226\r
+#define        VECT_SCI4_TXI4          227\r
+#define        VECT_SCI4_TEI4          228\r
+#define        VECT_SCI5_RXI5          229\r
+#define        VECT_SCI5_TXI5          230\r
+#define        VECT_SCI5_TEI5          231\r
+#define        VECT_SCI6_RXI6          232\r
+#define        VECT_SCI6_TXI6          233\r
+#define        VECT_SCI6_TEI6          234\r
+#define        VECT_SCI7_RXI7          235\r
+#define        VECT_SCI7_TXI7          236\r
+#define        VECT_SCI7_TEI7          237\r
+#define        VECT_SCI8_RXI8          238\r
+#define        VECT_SCI8_TXI8          239\r
+#define        VECT_SCI8_TEI8          240\r
+#define        VECT_SCI9_RXI9          241\r
+#define        VECT_SCI9_TXI9          242\r
+#define        VECT_SCI9_TEI9          243\r
+#define        VECT_SCI10_RXI10        244\r
+#define        VECT_SCI10_TXI10        245\r
+#define        VECT_SCI10_TEI10        246\r
+#define        VECT_SCI11_RXI11        247\r
+#define        VECT_SCI11_TXI11        248\r
+#define        VECT_SCI11_TEI11        249\r
+#define        VECT_SCI12_RXI12        250\r
+#define        VECT_SCI12_TXI12        251\r
+#define        VECT_SCI12_TEI12        252\r
+#define        VECT_IEB_IEBINT         253\r
+\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_DTC        SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define        MSTP_AD         SYSTEM.MSTPCRA.BIT.MSTPA23\r
+#define        MSTP_DA         SYSTEM.MSTPCRA.BIT.MSTPA19\r
+#define        MSTP_S12AD      SYSTEM.MSTPCRA.BIT.MSTPA17\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_TPU6       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU7       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU8       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU9       SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU10      SYSTEM.MSTPCRA.BIT.MSTPA12\r
+#define        MSTP_TPU11      SYSTEM.MSTPCRA.BIT.MSTPA12\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_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_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_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPB21\r
+#define        MSTP_RIIC1      SYSTEM.MSTPCRB.BIT.MSTPB20\r
+#define        MSTP_USB0       SYSTEM.MSTPCRB.BIT.MSTPB19\r
+#define        MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPB17\r
+#define        MSTP_RSPI1      SYSTEM.MSTPCRB.BIT.MSTPB16\r
+#define        MSTP_TEMPS      SYSTEM.MSTPCRB.BIT.MSTPB8\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_SCI8       SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define        MSTP_SMCI8      SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define        MSTP_SCI9       SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define        MSTP_SMCI9      SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define        MSTP_SCI10      SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define        MSTP_SMCI10     SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define        MSTP_SCI11      SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define        MSTP_SMCI11     SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define        MSTP_RSPI2      SYSTEM.MSTPCRC.BIT.MSTPC22\r
+#define        MSTP_LVD        SYSTEM.MSTPCRC.BIT.MSTPC20\r
+#define        MSTP_IEB        SYSTEM.MSTPCRC.BIT.MSTPC18\r
+#define        MSTP_RIIC2      SYSTEM.MSTPCRC.BIT.MSTPC17\r
+#define        MSTP_RIIC3      SYSTEM.MSTPCRC.BIT.MSTPC16\r
+#define        MSTP_RAM1       SYSTEM.MSTPCRC.BIT.MSTPC1\r
+#define        MSTP_RAM0       SYSTEM.MSTPCRC.BIT.MSTPC0\r
+\r
+#define        IS_CAN0_ERS0            IS0\r
+#define        IS_CAN1_ERS1            IS1\r
+#define        IS_CAN2_ERS2            IS2\r
+#define        IS_MTU0_TCIV0           IS0\r
+#define        IS_MTU1_TCIV1           IS1\r
+#define        IS_MTU1_TCIU1           IS2\r
+#define        IS_MTU2_TCIV2           IS0\r
+#define        IS_MTU2_TCIU2           IS1\r
+#define        IS_MTU3_TCIV3           IS2\r
+#define        IS_TPU0_TCI0V           IS0\r
+#define        IS_TPU1_TCI1V           IS1\r
+#define        IS_TPU1_TCI1U           IS2\r
+#define        IS_TPU5_TCI5V           IS3\r
+#define        IS_TPU5_TCI5U           IS4\r
+#define        IS_TPU2_TCI2V           IS0\r
+#define        IS_TPU2_TCI2U           IS1\r
+#define        IS_TPU3_TCI3V           IS2\r
+#define        IS_TPU4_TCI4V           IS3\r
+#define        IS_TPU4_TCI4U           IS4\r
+#define        IS_TPU6_TCI6V           IS0\r
+#define        IS_TPU7_TCI7V           IS1\r
+#define        IS_TPU7_TCI7U           IS2\r
+#define        IS_TPU11_TCI11V         IS3\r
+#define        IS_TPU11_TCI11U         IS4\r
+#define        IS_TPU8_TCI8V           IS0\r
+#define        IS_TPU8_TCI8U           IS1\r
+#define        IS_TPU9_TCI9V           IS2\r
+#define        IS_TPU10_TCI10V         IS3\r
+#define        IS_TPU10_TCI10U         IS4\r
+#define        IS_SCI0_ERI0            IS0\r
+#define        IS_SCI1_ERI1            IS1\r
+#define        IS_SCI2_ERI2            IS2\r
+#define        IS_SCI3_ERI3            IS3\r
+#define        IS_SCI4_ERI4            IS4\r
+#define        IS_SCI5_ERI5            IS5\r
+#define        IS_SCI6_ERI6            IS6\r
+#define        IS_SCI7_ERI7            IS7\r
+#define        IS_SCI8_ERI8            IS8\r
+#define        IS_SCI9_ERI9            IS9\r
+#define        IS_SCI10_ERI10          IS10\r
+#define        IS_SCI11_ERI11          IS11\r
+#define        IS_SCI12_ERI12          IS12\r
+#define        IS_RSPI0_SPEI0          IS13\r
+#define        IS_RSPI1_SPEI1          IS14\r
+#define        IS_RSPI2_SPEI2          IS15\r
+\r
+#define        EN_CAN0_ERS0            EN0\r
+#define        EN_CAN1_ERS1            EN1\r
+#define        EN_CAN2_ERS2            EN2\r
+#define        EN_MTU0_TCIV0           EN0\r
+#define        EN_MTU1_TCIV1           EN1\r
+#define        EN_MTU1_TCIU1           EN2\r
+#define        EN_MTU2_TCIV2           EN0\r
+#define        EN_MTU2_TCIU2           EN1\r
+#define        EN_MTU3_TCIV3           EN2\r
+#define        EN_TPU0_TCI0V           EN0\r
+#define        EN_TPU1_TCI1V           EN1\r
+#define        EN_TPU1_TCI1U           EN2\r
+#define        EN_TPU5_TCI5V           EN3\r
+#define        EN_TPU5_TCI5U           EN4\r
+#define        EN_TPU2_TCI2V           EN0\r
+#define        EN_TPU2_TCI2U           EN1\r
+#define        EN_TPU3_TCI3V           EN2\r
+#define        EN_TPU4_TCI4V           EN3\r
+#define        EN_TPU4_TCI4U           EN4\r
+#define        EN_TPU6_TCI6V           EN0\r
+#define        EN_TPU7_TCI7V           EN1\r
+#define        EN_TPU7_TCI7U           EN2\r
+#define        EN_TPU11_TCI11V         EN3\r
+#define        EN_TPU11_TCI11U         EN4\r
+#define        EN_TPU8_TCI8V           EN0\r
+#define        EN_TPU8_TCI8U           EN1\r
+#define        EN_TPU9_TCI9V           EN2\r
+#define        EN_TPU10_TCI10V         EN3\r
+#define        EN_TPU10_TCI10U         EN4\r
+#define        EN_SCI0_ERI0            EN0\r
+#define        EN_SCI1_ERI1            EN1\r
+#define        EN_SCI2_ERI2            EN2\r
+#define        EN_SCI3_ERI3            EN3\r
+#define        EN_SCI4_ERI4            EN4\r
+#define        EN_SCI5_ERI5            EN5\r
+#define        EN_SCI6_ERI6            EN6\r
+#define        EN_SCI7_ERI7            EN7\r
+#define        EN_SCI8_ERI8            EN8\r
+#define        EN_SCI9_ERI9            EN9\r
+#define        EN_SCI10_ERI10          EN10\r
+#define        EN_SCI11_ERI11          EN11\r
+#define        EN_SCI12_ERI12          EN12\r
+#define        EN_RSPI0_SPEI0          EN13\r
+#define        EN_RSPI1_SPEI1          EN14\r
+#define        EN_RSPI2_SPEI2          EN15\r
+\r
+#define        CLR_CAN0_ERS0           CLR0\r
+#define        CLR_CAN1_ERS1           CLR1\r
+#define        CLR_CAN2_ERS2           CLR2\r
+#define        CLR_MTU0_TCIV0          CLR0\r
+#define        CLR_MTU1_TCIV1          CLR1\r
+#define        CLR_MTU1_TCIU1          CLR2\r
+#define        CLR_MTU2_TCIV2          CLR0\r
+#define        CLR_MTU2_TCIU2          CLR1\r
+#define        CLR_MTU3_TCIV3          CLR2\r
+#define        CLR_TPU0_TCI0V          CLR0\r
+#define        CLR_TPU1_TCI1V          CLR1\r
+#define        CLR_TPU1_TCI1U          CLR2\r
+#define        CLR_TPU5_TCI5V          CLR3\r
+#define        CLR_TPU5_TCI5U          CLR4\r
+#define        CLR_TPU2_TCI2V          CLR0\r
+#define        CLR_TPU2_TCI2U          CLR1\r
+#define        CLR_TPU3_TCI3V          CLR2\r
+#define        CLR_TPU4_TCI4V          CLR3\r
+#define        CLR_TPU4_TCI4U          CLR4\r
+#define        CLR_TPU6_TCI6V          CLR0\r
+#define        CLR_TPU7_TCI7V          CLR1\r
+#define        CLR_TPU7_TCI7U          CLR2\r
+#define        CLR_TPU11_TCI11V        CLR3\r
+#define        CLR_TPU11_TCI11U        CLR4\r
+#define        CLR_TPU8_TCI8V          CLR0\r
+#define        CLR_TPU8_TCI8U          CLR1\r
+#define        CLR_TPU9_TCI9V          CLR2\r
+#define        CLR_TPU10_TCI10V        CLR3\r
+#define        CLR_TPU10_TCI10U        CLR4\r
+#define        CLR_SCI0_ERI0           CLR0\r
+#define        CLR_SCI1_ERI1           CLR1\r
+#define        CLR_SCI2_ERI2           CLR2\r
+#define        CLR_SCI3_ERI3           CLR3\r
+#define        CLR_SCI4_ERI4           CLR4\r
+#define        CLR_SCI5_ERI5           CLR5\r
+#define        CLR_SCI6_ERI6           CLR6\r
+#define        CLR_SCI7_ERI7           CLR7\r
+#define        CLR_SCI8_ERI8           CLR8\r
+#define        CLR_SCI9_ERI9           CLR9\r
+#define        CLR_SCI10_ERI10         CLR10\r
+#define        CLR_SCI11_ERI11         CLR11\r
+#define        CLR_SCI12_ERI12         CLR12\r
+#define        CLR_RSPI0_SPEI0         CLR13\r
+#define        CLR_RSPI1_SPEI1         CLR14\r
+#define        CLR_RSPI2_SPEI2         CLR15\r
+\r
+#define        CN_TPU6_TGI6A           CN0\r
+#define        CN_TPU6_TGI6B           CN0\r
+#define        CN_TPU6_TGI6C           CN0\r
+#define        CN_TPU6_TGI6D           CN0\r
+#define        CN_MTU0_TGIA0           CN0\r
+#define        CN_MTU0_TGIB0           CN0\r
+#define        CN_MTU0_TGIC0           CN0\r
+#define        CN_MTU0_TGID0           CN0\r
+#define        CN_MTU0_TGIE0           CN0\r
+#define        CN_MTU0_TGIF0           CN0\r
+#define        CN_TPU7_TGI7A           CN1\r
+#define        CN_TPU7_TGI7B           CN1\r
+#define        CN_MTU1_TGIA1           CN1\r
+#define        CN_MTU1_TGIB1           CN1\r
+#define        CN_TPU8_TGI8A           CN2\r
+#define        CN_TPU8_TGI8B           CN2\r
+#define        CN_MTU2_TGIA2           CN2\r
+#define        CN_MTU2_TGIB2           CN2\r
+#define        CN_TPU9_TGI9A           CN3\r
+#define        CN_TPU9_TGI9B           CN3\r
+#define        CN_TPU9_TGI9C           CN3\r
+#define        CN_TPU9_TGI9D           CN3\r
+#define        CN_MTU3_TGIA3           CN3\r
+#define        CN_MTU3_TGIB3           CN3\r
+#define        CN_MTU3_TGIC3           CN3\r
+#define        CN_MTU3_TGID3           CN3\r
+#define        CN_TPU10_TGI10A         CN4\r
+#define        CN_TPU10_TGI10B         CN4\r
+#define        CN_MTU4_TGIA4           CN4\r
+#define        CN_MTU4_TGIB4           CN4\r
+#define        CN_MTU4_TGIC4           CN4\r
+#define        CN_MTU4_TGID4           CN4\r
+#define        CN_MTU4_TGIV4           CN4\r
+#define        CN_TPU11_TGI11A         CN5\r
+#define        CN_TPU11_TGI11B         CN5\r
+#define        CN_MTU5_TGIU5           CN5\r
+#define        CN_MTU5_TGIV5           CN5\r
+#define        CN_MTU5_TGIW5           CN5\r
+#define        CN_TPU6_                        CN0\r
+#define        CN_MTU0_                        CN0\r
+#define        CN_TPU7_                        CN1\r
+#define        CN_MTU1_                        CN1\r
+#define        CN_TPU8_                        CN2\r
+#define        CN_MTU2_                        CN2\r
+#define        CN_TPU9_                        CN3\r
+#define        CN_MTU3_                        CN3\r
+#define        CN_TPU10_                       CN4\r
+#define        CN_MTU4_                        CN4\r
+#define        CN_TPU11_                       CN5\r
+#define        CN_MTU5_                        CN5\r
+\r
+#define        __IR( x )               ICU.IR[ IR ## x ].BIT.IR\r
+#define         _IR( x )               __IR( x )\r
+#define          IR( x , y )   _IR( _ ## x ## _ ## y )\r
+#define        __DTCE( x )             ICU.DTCER[ DTCE ## x ].BIT.DTCE\r
+#define         _DTCE( x )             __DTCE( x )\r
+#define          DTCE( x , y ) _DTCE( _ ## x ## _ ## y )\r
+#define        __IEN( x )              ICU.IER[ IER ## x ].BIT.IEN ## x\r
+#define         _IEN( x )              __IEN( x )\r
+#define          IEN( x , y )  _IEN( _ ## x ## _ ## y )\r
+#define        __IPR( x )              ICU.IPR[ IPR ## x ].BIT.IPR\r
+#define         _IPR( x )              __IPR( x )\r
+#define          IPR( x , y )  _IPR( _ ## x ## _ ## y )\r
+#define        __VECT( x )             VECT ## x\r
+#define         _VECT( x )             __VECT( x )\r
+#define          VECT( x , y ) _VECT( _ ## x ## _ ## y )\r
+#define        __MSTP( x )             MSTP ## x\r
+#define         _MSTP( x )             __MSTP( x )\r
+#define          MSTP( x )             _MSTP( _ ## x )\r
+\r
+#define        __IS( x )               ICU.GRP[ 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[ 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[ GCR ## x ].BIT.CLR ## x\r
+#define         _CLR( x )              __CLR( x )\r
+#define          CLR( x , y )  _CLR( _ ## x ## _ ## y )\r
+#define        __CN( x )               ICU.SEL.BIT.CN ## x\r
+#define         _CN( x )               __CN( x )\r
+#define          CN( x , y )   _CN( _ ## x ## _ ## y )\r
+\r
+#define        AD              (*(volatile struct st_ad      __evenaccess *)0x89800)\r
+#define        BSC             (*(volatile struct st_bsc     __evenaccess *)0x81300)\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        CRC             (*(volatile struct st_crc     __evenaccess *)0x88280)\r
+#define        DA              (*(volatile struct st_da      __evenaccess *)0x880C0)\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        DTC             (*(volatile struct st_dtc     __evenaccess *)0x82400)\r
+#define        EDMAC   (*(volatile struct st_edmac   __evenaccess *)0xC0000)\r
+#define        ETHERC  (*(volatile struct st_etherc  __evenaccess *)0xC0100)\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        ICU             (*(volatile struct st_icu     __evenaccess *)0x87000)\r
+#define        IEB             (*(volatile struct st_ieb     __evenaccess *)0x8A800)\r
+#define        IWDT    (*(volatile struct st_iwdt    __evenaccess *)0x88030)\r
+#define        MPC             (*(volatile struct st_mpc     __evenaccess *)0x8C100)\r
+#define        MTU             (*(volatile struct st_mtu     __evenaccess *)0x8860A)\r
+#define        MTU0    (*(volatile struct st_mtu0    __evenaccess *)0x88690)\r
+#define        MTU1    (*(volatile struct st_mtu1    __evenaccess *)0x88690)\r
+#define        MTU2    (*(volatile struct st_mtu2    __evenaccess *)0x88692)\r
+#define        MTU3    (*(volatile struct st_mtu3    __evenaccess *)0x88600)\r
+#define        MTU4    (*(volatile struct st_mtu4    __evenaccess *)0x88600)\r
+#define        MTU5    (*(volatile struct st_mtu5    __evenaccess *)0x88694)\r
+#define        POE             (*(volatile struct st_poe     __evenaccess *)0x88900)\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        PORTH   (*(volatile struct st_porth   __evenaccess *)0x8C0D1)\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        RIIC0   (*(volatile struct st_riic0   __evenaccess *)0x88300)\r
+#define        RIIC1   (*(volatile struct st_riic1   __evenaccess *)0x88320)\r
+#define        RIIC2   (*(volatile struct st_riic1   __evenaccess *)0x88340)\r
+#define        RIIC3   (*(volatile struct st_riic1   __evenaccess *)0x88360)\r
+#define        RSPI0   (*(volatile struct st_rspi    __evenaccess *)0x88380)\r
+#define        RSPI1   (*(volatile struct st_rspi    __evenaccess *)0x883A0)\r
+#define        RSPI2   (*(volatile struct st_rspi    __evenaccess *)0x883C0)\r
+#define        RTC             (*(volatile struct st_rtc     __evenaccess *)0x8C400)\r
+#define        S12AD   (*(volatile struct st_s12ad   __evenaccess *)0x89000)\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_sci7    __evenaccess *)0x8A0E0)\r
+#define        SCI8    (*(volatile struct st_sci0    __evenaccess *)0x8A100)\r
+#define        SCI9    (*(volatile struct st_sci0    __evenaccess *)0x8A120)\r
+#define        SCI10   (*(volatile struct st_sci0    __evenaccess *)0x8A140)\r
+#define        SCI11   (*(volatile struct st_sci0    __evenaccess *)0x8A160)\r
+#define        SCI12   (*(volatile struct st_sci12   __evenaccess *)0x8B300)\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_smci7   __evenaccess *)0x8A0E0)\r
+#define        SMCI8   (*(volatile struct st_smci0   __evenaccess *)0x8A100)\r
+#define        SMCI9   (*(volatile struct st_smci0   __evenaccess *)0x8A120)\r
+#define        SMCI10  (*(volatile struct st_smci0   __evenaccess *)0x8A140)\r
+#define        SMCI11  (*(volatile struct st_smci0   __evenaccess *)0x8A160)\r
+#define        SMCI12  (*(volatile struct st_smci0   __evenaccess *)0x8B300)\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        TPU6    (*(volatile struct st_tpu0    __evenaccess *)0x88178)\r
+#define        TPU7    (*(volatile struct st_tpu1    __evenaccess *)0x88178)\r
+#define        TPU8    (*(volatile struct st_tpu2    __evenaccess *)0x8817A)\r
+#define        TPU9    (*(volatile struct st_tpu3    __evenaccess *)0x8817A)\r
+#define        TPU10   (*(volatile struct st_tpu4    __evenaccess *)0x8817C)\r
+#define        TPU11   (*(volatile struct st_tpu5    __evenaccess *)0x8817C)\r
+#define        TPUA    (*(volatile struct st_tpua    __evenaccess *)0x88100)\r
+#define        TPUB    (*(volatile struct st_tpub    __evenaccess *)0x88170)\r
+#define        USB             (*(volatile struct st_usb     __evenaccess *)0xA0400)\r
+#define        USB0    (*(volatile struct st_usb0    __evenaccess *)0xA0000)\r
+#define        USB1    (*(volatile struct st_usb1    __evenaccess *)0xA0200)\r
+#define        WDT             (*(volatile struct st_wdt     __evenaccess *)0x88020)\r
+#pragma bit_order\r
+#pragma packoption\r
+#endif\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/platform.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/Renesas-Files/platform.h
new file mode 100644 (file)
index 0000000..1851bfb
--- /dev/null
@@ -0,0 +1,75 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name       : platform.h\r
+* Version      : 1.20 \r
+* Description  : The user chooses which MCU and board they are developing for in this file. If the board you are using\r
+*                is not listed below, please add your own or use the default 'User Board'.\r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* History : DD.MM.YYYY Version  Description\r
+*         : 30.11.2011 1.00     First Release\r
+*         : 13.01.2012 1.10     Moved from having platform defined using macro defintion, to having platform defined\r
+*                               by choosing an include path. This makes this file simpler and cleans up the issue\r
+*                               where HEW shows all header files for all platforms under 'Dependencies'.\r
+*         : 14.02.2012 1.20     Added RX210 BSP.\r
+***********************************************************************************************************************/\r
+\r
+#ifndef _PLATFORM_H_\r
+#define _PLATFORM_H_\r
+\r
+/***********************************************************************************************************************\r
+DEFINE YOUR SYSTEM - UNCOMMENT THE INCLUDE PATH FOR THE PLATFORM YOU ARE USING.\r
+***********************************************************************************************************************/\r
+/* RSKRX610 */\r
+//#include "./board/rskrx610/r_bsp.h"\r
+\r
+/* RSKRX62N */\r
+//#include "./board/rskrx62n/r_bsp.h"\r
+\r
+/* RSKRX62T */\r
+//#include "./board/rskrx62t/r_bsp.h"\r
+\r
+/* RDKRX62N */\r
+//#include "./board/rdkrx62n/r_bsp.h"\r
+\r
+/* RSKRX630 */\r
+//#include "./board/rskrx630/r_bsp.h"\r
+\r
+/* RSKRX63N */\r
+#include "./board/rskrx63n/r_bsp.h"\r
+\r
+/* RDKRX63N */\r
+//#include "./board/rdkrx63n/r_bsp.h"\r
+\r
+/* RSKRX210 */\r
+//#include "./board/rskrx210/r_bsp.h"\r
+\r
+/* User Board - Define your own board here. */\r
+//#include "./board/user/r_bsp.h"\r
+\r
+/***********************************************************************************************************************\r
+MAKE SURE AT LEAST ONE PLATFORM WAS DEFINED - DO NOT EDIT BELOW THIS POINT\r
+***********************************************************************************************************************/\r
+#ifndef PLATFORM_DEFINED\r
+#error  "Error - No platform defined in platform.h!"\r
+#endif\r
+\r
+#endif /* _PLATFORM_H_ */\r
+\r
index 2844913f6bc102da3c5bf8b0e67753bba65c3ec5..498235f1931c1b637d61b851a9781d2bb9f6498c 100644 (file)
 "{5F75FDA0-6FF0-11D5-B7CE-00E029352378}PACtrlViews" "0" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_DENORMAL_MODE" "16777216" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_EVAL_ROUND_MODE" "768" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "0000000000000000\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_0" "0000000000001E28\r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_1" "0000000000000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_12" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_13" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_14" "0000000000000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_15" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "0000000000000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "00000000FFF80000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "0000000000000000\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_10" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_11" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_12" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_13" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_14" "000000000000DEA0" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_15" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_16" "0000000000001E28\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_17" "0000000000000400" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_18" "0000000000030003\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_19" "00000000FFF839D3\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_2" "000000000000DD44\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_20" "00000000FFF803C8\r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_21" "0000000000000000" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_22" "0000000000000000" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_23" "0000000000000000" \r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_24" "0000000000000100" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_25" "0000000000000000" \r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_3" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_4" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_5" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_7" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_8" "0000000000000000\r
-"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_9" "0000000000000000\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_25" "1234567887650000" \r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_3" "0000000000000001\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_4" "0000000000000001\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_5" "000000000000DD44\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_6" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_7" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_8" "00000000A5A5A5A5\r
+"{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_9" "00000000A5A5A5A5\r
 "{64753FED-D387-4B8C-A91D-D3419C869C07}C_REGISTER_REG_COUNT" "26" \r
 "{6C4D5B81-FD67-46A9-A089-EA44DCDE47FD}RAMMonitorManagerCtrlBlockInfoFileDir" "" \r
 "{6C4D5B81-FD67-46A9-A089-EA44DCDE47FD}RAMMonitorManagerCtrlBlockInfoFileName" "" \r
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth12" "116" \r
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth2" "127" \r
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ColWidth3" "200" \r
-"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "pxCurrentRxDesc, 10, 0, P, Col, Hex, N" \r
-"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000_SCOPE" "Current Scope,\r
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000" "xTickCount, 2, 0, P, Col, Hex, MN" \r
+"{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0000_SCOPE" "Unit,C:\E\Dev\FreeRTOS\WorkingCopy\Source\tasks.c:RTOSDemo.abs\r
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001" "pcStatusMessage, 4, 0, P, Col, Hex, MN" \r
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0001_SCOPE" "Current Scope," \r
 "{B266D880-6FA1-11D5-8613-00A024591A38}WatchWnd0ECX_WATCH_ITEM0002" "SwitchQueue, 4, 0, P, Col, Hex, MN" \r
 "Help" "TOOLBAR 0" 59419 1 5 "0.00" 0 0 0 0 0 17 0 "" "0.0" \r
 "QzROM" "TOOLBAR 0" 59419 4 1 "0.00" 0 0 0 0 0 17 0 "" "0.0" \r
 "{WK_00000001_CmdLine}ADC_Single_DTC_MTUDefaultSession" "WINDOW" 59422 0 1 "0.50" 230 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" \r
-"{WK_00000001_CmdLine}" "WINDOW" 59422 0 2 "0.15" 187 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" \r
-"{WK_00000001_DEBUGCONSOLE}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59421 0 1 "1.00" 300 0 0 350 200 17 0 "57634|57637|57633|<<separator>>|32781|32782|<<separator>>|32780|32785|32787" "0.0" \r
+"{WK_00000001_CmdLine}" "WINDOW" 59422 0 2 "0.10" 187 0 0 350 200 17 0 "32771|32772|32778|<<separator>>|32773|32774|<<separator>>|32820|<<separator>>|32801|32824" "0.0" \r
+"{WK_00000001_DEBUGCONSOLE}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59421 0 1 "1.00" 386 0 0 350 200 17 0 "57634|57637|57633|<<separator>>|32781|32782|<<separator>>|32780|32785|32787" "0.0" \r
 "{WK_00000001_DISASSEMBLY}" "WINDOW" 0 0 0 "0.00" 0 176 176 1120 448 9 0 "" "0.0" \r
 "{WK_00000001_IO}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59422 0 1 "0.50" 187 0 0 869 657 17 0 "32817|32826|32819|32820|32821" "0.0" \r
 "{WK_00000001_MEMORY}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59422 0 0 "1.00" 219 1452 519 1033 219 2053 0 "42202|42203|42204|42233|<<separator>>|42206|42205|42230|42229|42207|<<separator>>|42208|42209|42210|49076|42228|42227|<<separator>>|42231|42232|42234|42235|<<separator>>|42211|<<separator>>" "0.0" \r
 "{WK_00000001_OUTPUT}" "WINDOW" 59422 0 0 "1.00" 187 560 340 350 200 18 0 "36756|36757|36758|36759|<<separator>>|36746|36747|<<separator>>|39531|<<separator>>|39500|39534|<<separator>>|36687" "0.0" \r
 "{WK_00000001_REGISTERS}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59421 0 1 "1.00" 300 0 0 350 200 2065 0 "" "0.0" \r
 "{WK_00000001_STACKTRACE}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59422 0 0 "0.50" 277 0 0 350 200 2065 0 "" "0.0" \r
-"{WK_00000001_WATCH}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59421 0 0 "0.50" 300 0 0 1040 307 17 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811" "0.0" \r
+"{WK_00000001_WATCH}RTOSDemoSessionRX600_E1_E20_SYSTEM" "WINDOW" 59421 0 0 "1.00" 386 0 0 1040 307 17 0 "32781|32783|<<separator>>|32771|32829|32772|32827|32773|<<separator>>|32786|<<separator>>|32810|32811" "0.0" \r
 "{WK_00000002_WORKSPACE}" "WINDOW" 59420 0 0 "1.00" 330 560 340 350 200 18 0 "" "0.0" \r
 "{WK_TB00000001_STANDARD}" "TOOLBAR 0" 59419 0 3 "0.00" 0 0 0 0 0 18 0 "" "0.0" \r
 "{WK_TB00000002_EDITOR}" "TOOLBAR 0" 59419 0 0 "0.00" 0 0 0 0 0 18 0 "" "0.0" \r
 "SBK_TAR_EMUE100|Exception" 1 \r
 "SBK_TAR_EMUE100|BreakCondition" 1 \r
 "SBK_TAR_EMUE100|TaskID" 1 \r
-"SBK_TAR_EMUE100|PC" 1 \r
 "SBK_TAR_EMUE100|ExecutionTime" 1 \r
+"SBK_TAR_EMUE100|PC" 1 \r
 [STATUSBAR_DEBUGGER_PANESTATE_VD2]\r
 [STATUSBAR_DEBUGGER_PANESTATE_VD3]\r
 [STATUSBAR_DEBUGGER_PANESTATE_VD4]\r
 [FLASH_DETAILS]\r
 "0.000000" 0 0 "" 0 "" 0 0 "" 1 1 0 0 0 0 0 "" "" "" "" "" \r
 [BREAKPOINTS]\r
-"c:\e\dev\freertos\workingcopy\demo\rx600_rx63n-rsk_renesas\rtosdemo\renesas-files\resetprg.c" 137 -524165 1 "{00000000-0000-0000-C000-000000000046}" "" \r
+"c:\e\dev\freertos\workingcopy\demo\rx600_rx63n-rsk_renesas\rtosdemo\renesas-files\resetprg.c" 137 0 1 "{00000000-0000-0000-C000-000000000046}" "" \r
 [END]\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/IntQueueTimer.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/IntQueueTimer.h
deleted file mode 100644 (file)
index 663b26f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*\r
-    FreeRTOS V7.1.0 - Copyright (C) 2011 Real Time Engineers Ltd.\r
-       \r
-\r
-    ***************************************************************************\r
-     *                                                                       *\r
-     *    FreeRTOS tutorial books are available in pdf and paperback.        *\r
-     *    Complete, revised, and edited pdf reference manuals are also       *\r
-     *    available.                                                         *\r
-     *                                                                       *\r
-     *    Purchasing FreeRTOS documentation will not only help you, by       *\r
-     *    ensuring you get running as quickly as possible and with an        *\r
-     *    in-depth knowledge of how to use FreeRTOS, it will also help       *\r
-     *    the FreeRTOS project to continue with its mission of providing     *\r
-     *    professional grade, cross platform, de facto standard solutions    *\r
-     *    for microcontrollers - completely free of charge!                  *\r
-     *                                                                       *\r
-     *    >>> See http://www.FreeRTOS.org/Documentation for details. <<<     *\r
-     *                                                                       *\r
-     *    Thank you for using FreeRTOS, and thank you for your support!      *\r
-     *                                                                       *\r
-    ***************************************************************************\r
-\r
-\r
-    This file is part of the FreeRTOS distribution.\r
-\r
-    FreeRTOS is free software; you can redistribute it and/or modify it under\r
-    the terms of the GNU General Public License (version 2) as published by the\r
-    Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
-    >>>NOTE<<< The modification to the GPL is included to allow you to\r
-    distribute a combined work that includes FreeRTOS without being obliged to\r
-    provide the source code for proprietary components outside of the FreeRTOS\r
-    kernel.  FreeRTOS is distributed in the hope that it will be useful, but\r
-    WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
-    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\r
-    more details. You should have received a copy of the GNU General Public\r
-    License and the FreeRTOS license exception along with FreeRTOS; if not it\r
-    can be viewed here: http://www.freertos.org/a00114.html and also obtained\r
-    by writing to Richard Barry, contact details for whom are available on the\r
-    FreeRTOS WEB site.\r
-\r
-    1 tab == 4 spaces!\r
-\r
-    http://www.FreeRTOS.org - Documentation, latest information, license and\r
-    contact details.\r
-\r
-    http://www.SafeRTOS.com - A version that is certified for use in safety\r
-    critical systems.\r
-\r
-    http://www.OpenRTOS.com - Commercial support, development, porting,\r
-    licensing and training services.\r
-*/\r
-\r
-#ifndef INT_QUEUE_TIMER_H\r
-#define INT_QUEUE_TIMER_H\r
-\r
-void vInitialiseTimerForIntQueueTest( void );\r
-portBASE_TYPE xTimer0Handler( void );\r
-portBASE_TYPE xTimer1Handler( void );\r
-\r
-#endif\r
-\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/OLDiodefine.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/OLDiodefine.h
deleted file mode 100644 (file)
index 405b090..0000000
+++ /dev/null
@@ -1,6615 +0,0 @@
-/********************************************************************************/\r
-/*                                                                              */\r
-/* Device     : RX/RX200/RX210                                                  */\r
-/* File Name  : ioedfine.h                                                      */\r
-/* Abstract   : Definition of I/O Register.                                     */\r
-/* History    : V0.1  (2010-10-05)  [Hardware Manual Revision : 0.10]           */\r
-/* Note       : This is a typical example.                                      */\r
-/*                                                                              */\r
-/*  Copyright(c) 2010 Renesas Electronics Corp.                                 */\r
-/*                  And Renesas Solutions Corp. ,All Rights Reserved.           */\r
-/*                                                                              */\r
-/********************************************************************************/\r
-/*                                                                              */\r
-/*  DESCRIPTION : Definition of ICU Register                                    */\r
-/*  CPU TYPE    : RX210                                                         */\r
-/*                                                                              */\r
-/*  Usage : IR,DTCER,IER,IPR of ICU Register                                    */\r
-/*     The following IR, DTCE, IEN, IPR macro functions simplify usage.         */\r
-/*     The bit access operation is "Bit_Name(interrupt source,name)".           */\r
-/*     A part of the name can be omitted.                                       */\r
-/*     for example :                                                            */\r
-/*       IR(MTU0,TGIA0) = 0;     expands to :                                   */\r
-/*         ICU.IR[114].BIT.IR = 0;                                              */\r
-/*                                                                              */\r
-/*       DTCE(ICU,IRQ0) = 1;     expands to :                                   */\r
-/*         ICU.DTCER[64].BIT.DTCE = 1;                                          */\r
-/*                                                                              */\r
-/*       IEN(CMT0,CMI0) = 1;     expands to :                                   */\r
-/*         ICU.IER[0x03].BIT.IEN4 = 1;                                          */\r
-/*                                                                              */\r
-/*       IPR(MTU0,TGIV0) = 2;    expands to :                                   */\r
-/*       IPR(MTU0,TGI  ) = 2;    // TGIV0,TGIE0,TGIF0 share IPR level.          */\r
-/*         ICU.IPR[0x118].BIT.IPR = 2;                                          */\r
-/*                                                                              */\r
-/*       IPR(SCI0,ERI0) = 3;     expands to :                                   */\r
-/*       IPR(SCI0,    ) = 3;     // SCI0 uses single IPR for all sources.       */\r
-/*         ICU.IPR[0x214].BIT.IPR = 3;                                          */\r
-/*                                                                              */\r
-/*  Usage : #pragma interrupt Function_Identifier(vect=**)                      */\r
-/*     The number of vector is "(interrupt source, name)".                      */\r
-/*     for example :                                                            */\r
-/*       #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0))          expands to :  */\r
-/*         #pragma interrupt INT_IRQ0(vect=64)                                  */\r
-/*       #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0))    expands to :  */\r
-/*         #pragma interrupt INT_CMT0_CMI0(vect=28)                             */\r
-/*       #pragma interrupt INT_MTU0_TGIA0(vect=VECT(MTU0,TGIA0))  expands to :  */\r
-/*         #pragma interrupt INT_MTU0_TGIA0(vect=114)                           */\r
-/*                                                                              */\r
-/*  Usage : MSTPCRA,MSTPCRB,MSTPCRC of SYSTEM Register                          */\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,TMR23                    expands to :  */\r
-/*         SYSTEM.MSTPCRA.BIT.MSTPA4  = 0;                                      */\r
-/*       MSTP(SCI0) = 0;    // SCI0                               expands to :  */\r
-/*         SYSTEM.MSTPCRB.BIT.MSTPB31 = 0;                                      */\r
-/*       MSTP(MTU4) = 0;    // MTU,MTU0,MTU1,MTU2,MTU3,MTU4,MTU5  expands to :  */\r
-/*         SYSTEM.MSTPCRA.BIT.MSTPA9  = 0;                                      */\r
-/*       MSTP(CMT3) = 0;    // CMT2,CMT3                          expands to :  */\r
-/*         SYSTEM.MSTPCRA.BIT.MSTPA14 = 0;                                      */\r
-/*                                                                              */\r
-/*                                                                              */\r
-/********************************************************************************/\r
-#ifndef __RX210IODEFINE_HEADER__\r
-#define __RX210IODEFINE_HEADER__\r
-#pragma bit_order left\r
-#pragma unpack\r
-struct st_bsc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char STSCLR:1;\r
-               } BIT;\r
-       } BERCLR;\r
-       char           wk0[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TOEN:1;\r
-                       unsigned char IGAEN:1;\r
-               } BIT;\r
-       } BEREN;\r
-       char           wk1[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char MST:3;\r
-                       unsigned char :2;\r
-                       unsigned char TO:1;\r
-                       unsigned char IA:1;\r
-               } BIT;\r
-       } BERSR1;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADDR:13;\r
-               } BIT;\r
-       } BERSR2;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short BPEB:2;\r
-                       unsigned short BPFB:2;\r
-                       unsigned short BPHB:2;\r
-                       unsigned short BPGB:2;\r
-                       unsigned short BPIB:2;\r
-                       unsigned short BPRO:2;\r
-                       unsigned short BPRA:2;\r
-               } BIT;\r
-       } BUSPRI;\r
-       char           wk4[7408];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS0MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS0WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS0WCR2;\r
-       char           wk5[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS1MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS1WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS1WCR2;\r
-       char           wk6[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS2MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS2WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS2WCR2;\r
-       char           wk7[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS3MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS3WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS3WCR2;\r
-       char           wk8[1990];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS0CR;\r
-       char           wk9[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS0REC;\r
-       char           wk10[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS1CR;\r
-       char           wk11[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS1REC;\r
-       char           wk12[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS2CR;\r
-       char           wk13[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS2REC;\r
-       char           wk14[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS3CR;\r
-       char           wk15[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS3REC;\r
-       char           wk16[68];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short RCVENM7:1;\r
-                       unsigned short RCVENM6:1;\r
-                       unsigned short RCVENM5:1;\r
-                       unsigned short RCVENM4:1;\r
-                       unsigned short RCVENM3:1;\r
-                       unsigned short RCVENM2:1;\r
-                       unsigned short RCVENM1:1;\r
-                       unsigned short RCVENM0:1;\r
-                       unsigned short RCVEN7:1;\r
-                       unsigned short RCVEN6:1;\r
-                       unsigned short RCVEN5:1;\r
-                       unsigned short RCVEN4:1;\r
-                       unsigned short RCVEN3:1;\r
-                       unsigned short RCVEN2:1;\r
-                       unsigned short RCVEN1:1;\r
-                       unsigned short RCVEN0:1;\r
-               } BIT;\r
-       } CSRECEN;\r
-};\r
-\r
-struct st_cac {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char CFME:1;\r
-               } BIT;\r
-       } CACR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char EDGES:2;\r
-                       unsigned char TCSS:2;\r
-                       unsigned char FMCS:3;\r
-                       unsigned char CACIE:1;\r
-               } BIT;\r
-       } CACR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char RCDS:2;\r
-                       unsigned char RSCS:3;\r
-                       unsigned char RPS:1;\r
-               } BIT;\r
-       } CACR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char OVFFCL:1;\r
-                       unsigned char MENDFCL:1;\r
-                       unsigned char FERRFCL:1;\r
-                       unsigned char :1;\r
-                       unsigned char OVFIE:1;\r
-                       unsigned char MENDIE:1;\r
-                       unsigned char FERRIE:1;\r
-               } BIT;\r
-       } CAICR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char OVFF:1;\r
-                       unsigned char MENDF:1;\r
-                       unsigned char FERRF:1;\r
-               } BIT;\r
-       } CASTR;\r
-       char           wk0[1];\r
-       unsigned short CAULVR;\r
-       unsigned short CALLVR;\r
-       unsigned short CACNTBR;\r
-};\r
-\r
-struct st_cmpb {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CPB2INI:1;\r
-                       unsigned char :3;\r
-                       unsigned char CPB1INI:1;\r
-               } BIT;\r
-       } CPBCNT1;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CPB2OUT:1;\r
-                       unsigned char :3;\r
-                       unsigned char CPB1OUT:1;\r
-               } BIT;\r
-       } CPBFLG;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char CPB2INTPL:1;\r
-                       unsigned char CPB2INTEG:1;\r
-                       unsigned char CPB2INTEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char CPB1INTPL:1;\r
-                       unsigned char CPB1INTEG:1;\r
-                       unsigned char CPB1INTEN:1;\r
-               } BIT;\r
-       } CPBINT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CPB2F:2;\r
-                       unsigned char :1;\r
-                       unsigned char CPB2FEN:1;\r
-                       unsigned char CPB1F:2;\r
-                       unsigned char :1;\r
-                       unsigned char CPB1FEN:1;\r
-               } BIT;\r
-       } CPBF;\r
-};\r
-\r
-struct st_cmt {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :14;\r
-                       unsigned short STR1:1;\r
-                       unsigned short STR0:1;\r
-               } BIT;\r
-       } CMSTR0;\r
-       char           wk0[14];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :14;\r
-                       unsigned short STR3:1;\r
-                       unsigned short STR2:1;\r
-               } BIT;\r
-       } CMSTR1;\r
-};\r
-\r
-struct st_cmt0 {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :9;\r
-                       unsigned short CMIE:1;\r
-                       unsigned short :4;\r
-                       unsigned short CKS:2;\r
-               } BIT;\r
-       } CMCR;\r
-       unsigned short CMCNT;\r
-       unsigned short CMCOR;\r
-};\r
-\r
-struct st_crc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DORCLR:1;\r
-                       unsigned char :4;\r
-                       unsigned char LMS:1;\r
-                       unsigned char GPS:2;\r
-               } BIT;\r
-       } CRCCR;\r
-       unsigned char  CRCDIR;\r
-       unsigned short CRCDOR;\r
-};\r
-\r
-struct st_da {\r
-       unsigned short DADR0;\r
-       unsigned short DADR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DAOE1:1;\r
-                       unsigned char DAOE0:1;\r
-                       unsigned char DAE:1;\r
-               } BIT;\r
-       } DACR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSEL:1;\r
-               } BIT;\r
-       } DADPR;\r
-};\r
-\r
-struct st_dmac {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DMST:1;\r
-               } BIT;\r
-       } DMAST;\r
-};\r
-\r
-struct st_dmac0 {\r
-       unsigned long  DMSAR;\r
-       unsigned long  DMDAR;\r
-       unsigned long  DMCRA;\r
-       unsigned short DMCRB;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short MD:2;\r
-                       unsigned short DTS:2;\r
-                       unsigned short :2;\r
-                       unsigned short SZ:2;\r
-                       unsigned short :6;\r
-                       unsigned short DCTG:2;\r
-               } BIT;\r
-       } DMTMD;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char DTIE:1;\r
-                       unsigned char ESIE:1;\r
-                       unsigned char RPTIE:1;\r
-                       unsigned char SARIE:1;\r
-                       unsigned char DARIE:1;\r
-               } BIT;\r
-       } DMINT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SM:2;\r
-                       unsigned short :1;\r
-                       unsigned short SARA:5;\r
-                       unsigned short DM:2;\r
-                       unsigned short :1;\r
-                       unsigned short DARA:5;\r
-               } BIT;\r
-       } DMAMD;\r
-       char           wk2[2];\r
-       unsigned long  DMOFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTE:1;\r
-               } BIT;\r
-       } DMCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CLRS:1;\r
-                       unsigned char :3;\r
-                       unsigned char SWREQ:1;\r
-               } BIT;\r
-       } DMREQ;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ACT:1;\r
-                       unsigned char :2;\r
-                       unsigned char DTIF:1;\r
-                       unsigned char :3;\r
-                       unsigned char ESIF:1;\r
-               } BIT;\r
-       } DMSTS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DISEL:1;\r
-               } BIT;\r
-       } DMCSL;\r
-};\r
-\r
-struct st_dmac1 {\r
-       unsigned long  DMSAR;\r
-       unsigned long  DMDAR;\r
-       unsigned long  DMCRA;\r
-       unsigned short DMCRB;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short MD:2;\r
-                       unsigned short DTS:2;\r
-                       unsigned short :2;\r
-                       unsigned short SZ:2;\r
-                       unsigned short :6;\r
-                       unsigned short DCTG:2;\r
-               } BIT;\r
-       } DMTMD;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char DTIE:1;\r
-                       unsigned char ESIE:1;\r
-                       unsigned char RPTIE:1;\r
-                       unsigned char SARIE:1;\r
-                       unsigned char DARIE:1;\r
-               } BIT;\r
-       } DMINT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SM:2;\r
-                       unsigned short :1;\r
-                       unsigned short SARA:5;\r
-                       unsigned short DM:2;\r
-                       unsigned short :1;\r
-                       unsigned short DARA:5;\r
-               } BIT;\r
-       } DMAMD;\r
-       char           wk2[6];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTE:1;\r
-               } BIT;\r
-       } DMCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CLRS:1;\r
-                       unsigned char :3;\r
-                       unsigned char SWREQ:1;\r
-               } BIT;\r
-       } DMREQ;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ACT:1;\r
-                       unsigned char :2;\r
-                       unsigned char DTIF:1;\r
-                       unsigned char :3;\r
-                       unsigned char ESIF:1;\r
-               } BIT;\r
-       } DMSTS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DISEL:1;\r
-               } BIT;\r
-       } DMCSL;\r
-};\r
-\r
-struct st_doc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DOPCFCL:1;\r
-                       unsigned char DOPCF:1;\r
-                       unsigned char DOPCIE:1;\r
-                       unsigned char :1;\r
-                       unsigned char DCSEL:1;\r
-                       unsigned char OMS:2;\r
-               } BIT;\r
-       } DOCR;\r
-       char           wk0[1];\r
-       unsigned short DODIR;\r
-       unsigned short DODSR;\r
-};\r
-\r
-struct st_dtc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char RRS:1;\r
-               } BIT;\r
-       } DTCCR;\r
-       char           wk0[3];\r
-       unsigned long  DTCVBR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SHORT:1;\r
-               } BIT;\r
-       } DTCADMOD;\r
-       char           wk1[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTCST:1;\r
-               } BIT;\r
-       } DTCST;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ACT:1;\r
-                       unsigned short :7;\r
-                       unsigned short VECN:8;\r
-               } BIT;\r
-       } DTCSTS;\r
-};\r
-\r
-struct st_elc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ELCON:1;\r
-               } BIT;\r
-       } ELCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ELS:8;\r
-               } BIT;\r
-       } ELSR[30];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char MTU3MD:2;\r
-                       unsigned char MTU2MD:2;\r
-                       unsigned char MTU1MD:2;\r
-               } BIT;\r
-       } ELOPA;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char MTU4MD:2;\r
-               } BIT;\r
-       } ELOPB;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char CMT1MD:2;\r
-               } BIT;\r
-       } ELOPC;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char TMR2MD:2;\r
-                       unsigned char :2;\r
-                       unsigned char TMR0MD:2;\r
-               } BIT;\r
-       } ELOPD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PRG7:1;\r
-                       unsigned char PRG6:1;\r
-                       unsigned char PRG5:1;\r
-                       unsigned char PRG4:1;\r
-                       unsigned char PRG3:1;\r
-                       unsigned char PRG2:1;\r
-                       unsigned char PRG1:1;\r
-                       unsigned char PRG0:1;\r
-               } BIT;\r
-       } PGR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PRG7:1;\r
-                       unsigned char PRG6:1;\r
-                       unsigned char PRG5:1;\r
-                       unsigned char PRG4:1;\r
-                       unsigned char PRG3:1;\r
-                       unsigned char PRG2:1;\r
-                       unsigned char PRG1:1;\r
-                       unsigned char PRG0:1;\r
-               } BIT;\r
-       } PGR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PGCO:3;\r
-                       unsigned char :1;\r
-                       unsigned char PGCOVE:1;\r
-                       unsigned char PGCI:2;\r
-               } BIT;\r
-       } PGC1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PGCO:3;\r
-                       unsigned char :1;\r
-                       unsigned char PGCOVE:1;\r
-                       unsigned char PGCI:2;\r
-               } BIT;\r
-       } PGC2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PDBF7:1;\r
-                       unsigned char PDBF6:1;\r
-                       unsigned char PDBF5:1;\r
-                       unsigned char PDBF4:1;\r
-                       unsigned char PDBF3:1;\r
-                       unsigned char PDBF2:1;\r
-                       unsigned char PDBF1:1;\r
-                       unsigned char PDBF0:1;\r
-               } BIT;\r
-       } PDBF1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PDBF7:1;\r
-                       unsigned char PDBF6:1;\r
-                       unsigned char PDBF5:1;\r
-                       unsigned char PDBF4:1;\r
-                       unsigned char PDBF3:1;\r
-                       unsigned char PDBF2:1;\r
-                       unsigned char PDBF1:1;\r
-                       unsigned char PDBF0:1;\r
-               } BIT;\r
-       } PDBF2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PSM:2;\r
-                       unsigned char PSP:2;\r
-                       unsigned char PSB:3;\r
-               } BIT;\r
-       } PEL0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PSM:2;\r
-                       unsigned char PSP:2;\r
-                       unsigned char PSB:3;\r
-               } BIT;\r
-       } PEL1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PSM:2;\r
-                       unsigned char PSP:2;\r
-                       unsigned char PSB:3;\r
-               } BIT;\r
-       } PEL2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PSM:2;\r
-                       unsigned char PSP:2;\r
-                       unsigned char PSB:3;\r
-               } BIT;\r
-       } 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
-       } ELSEGR;\r
-};\r
-\r
-struct st_exsystem {\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :29;\r
-                       unsigned long MDE:3;\r
-               } BIT;\r
-       } MDEB;\r
-       char           wk0[8388484];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :29;\r
-                       unsigned long MDE:3;\r
-               } BIT;\r
-       } MDES;\r
-       char           wk1[4];\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
-       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
-};\r
-\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[7799147];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char FRDMD:1;\r
-               } BIT;\r
-       } FMODR;\r
-       char           wk1[13];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ROMAE:1;\r
-                       unsigned char :2;\r
-                       unsigned char CMDLK:1;\r
-                       unsigned char DFLAE:1;\r
-                       unsigned char :1;\r
-                       unsigned char DFLRPE:1;\r
-                       unsigned char DFLWPE:1;\r
-               } BIT;\r
-       } FASTAT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ROMAEIE:1;\r
-                       unsigned char :2;\r
-                       unsigned char CMDLKIE:1;\r
-                       unsigned char DFLAEIE:1;\r
-                       unsigned char :1;\r
-                       unsigned char DFLRPEIE:1;\r
-                       unsigned char DFLWPEIE:1;\r
-               } BIT;\r
-       } FAEINT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char FRDYIE:1;\r
-               } BIT;\r
-       } FRDYIE;\r
-       char           wk2[45];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short :4;\r
-                       unsigned short DBRE3:1;\r
-                       unsigned short DBRE2:1;\r
-                       unsigned short DBRE1:1;\r
-                       unsigned short DBRE0:1;\r
-               } BIT;\r
-       } DFLRE0;\r
-       char           wk3[14];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short :4;\r
-                       unsigned short DBWE3:1;\r
-                       unsigned short DBWE2:1;\r
-                       unsigned short DBWE1:1;\r
-                       unsigned short DBWE0:1;\r
-               } BIT;\r
-       } DFLWE0;\r
-       char           wk4[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short :7;\r
-                       unsigned short FCRME:1;\r
-               } BIT;\r
-       } FCURAME;\r
-       char           wk5[15194];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FRDY:1;\r
-                       unsigned char ILGLERR:1;\r
-                       unsigned char ERSERR:1;\r
-                       unsigned char PRGERR:1;\r
-                       unsigned char SUSRDY:1;\r
-                       unsigned char :1;\r
-                       unsigned char ERSSPD:1;\r
-                       unsigned char PRGSPD:1;\r
-               } BIT;\r
-       } FSTATR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FCUERR:1;\r
-                       unsigned char :2;\r
-                       unsigned char FLOCKST:1;\r
-               } BIT;\r
-       } FSTATR1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FEKEY:8;\r
-                       unsigned short FENTRYD:1;\r
-                       unsigned short :6;\r
-                       unsigned short FENTRY:1;\r
-               } BIT;\r
-       } FENTRYR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FPKEY:8;\r
-                       unsigned short :7;\r
-                       unsigned short FPROTCN:1;\r
-               } BIT;\r
-       } FPROTR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FRKEY:8;\r
-                       unsigned short :7;\r
-                       unsigned short FRESET:1;\r
-               } BIT;\r
-       } FRESETR;\r
-       char           wk6[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short CMDR:8;\r
-                       unsigned short PCMDR:8;\r
-               } BIT;\r
-       } FCMDR;\r
-       char           wk7[12];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short ESUSPMD:1;\r
-               } BIT;\r
-       } FCPSR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BCSIZE:1;\r
-                       unsigned short BCMODE:2;\r
-                       unsigned short :2;\r
-                       unsigned short BCADR:11;\r
-               } BIT;\r
-       } DFLBCCNT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short PEERRST:8;\r
-               } BIT;\r
-       } FPESTAT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short BCST:1;\r
-               } BIT;\r
-       } DFLBCSTAT;\r
-       char           wk8[24];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short PCKA:8;\r
-               } BIT;\r
-       } PCKAR;\r
-};\r
-\r
-struct st_icu {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IR:1;\r
-               } BIT;\r
-       } IR[250];\r
-       char           wk0[6];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTCE:1;\r
-               } BIT;\r
-       } DTCER[249];\r
-       char           wk1[7];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IEN7:1;\r
-                       unsigned char IEN6:1;\r
-                       unsigned char IEN5:1;\r
-                       unsigned char IEN4:1;\r
-                       unsigned char IEN3:1;\r
-                       unsigned char IEN2:1;\r
-                       unsigned char IEN1:1;\r
-                       unsigned char IEN0:1;\r
-               } BIT;\r
-       } IER[32];\r
-       char           wk2[192];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SWINT:1;\r
-               } BIT;\r
-       } SWINTR;\r
-       char           wk3[15];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FIEN:1;\r
-                       unsigned short :7;\r
-                       unsigned short FVCT:8;\r
-               } BIT;\r
-       } FIR;\r
-       char           wk4[14];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char IPR:4;\r
-               } BIT;\r
-       } IPR[250];\r
-       char           wk5[6];\r
-       unsigned char  DMRSR0;\r
-       char           wk6[3];\r
-       unsigned char  DMRSR1;\r
-       char           wk7[3];\r
-       unsigned char  DMRSR2;\r
-       char           wk8[3];\r
-       unsigned char  DMRSR3;\r
-       char           wk9[243];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char IRQMD:2;\r
-               } BIT;\r
-       } IRQCR[8];\r
-       char           wk10[120];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SRAMST:1;\r
-                       unsigned char LVD2ST:1;\r
-                       unsigned char LVD1ST:1;\r
-                       unsigned char IWDTST:1;\r
-                       unsigned char WDTST:1;\r
-                       unsigned char OSTST:1;\r
-                       unsigned char NMIST:1;\r
-               } BIT;\r
-       } NMISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char SRAMEN:1;\r
-                       unsigned char LVD2EN:1;\r
-                       unsigned char LVD1EN:1;\r
-                       unsigned char IWDTEN:1;\r
-                       unsigned char WDTEN:1;\r
-                       unsigned char OSTEN:1;\r
-                       unsigned char NMIEN:1;\r
-               } BIT;\r
-       } NMIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char LVD2CLR:1;\r
-                       unsigned char LVD1CLR:1;\r
-                       unsigned char IWDTCLR:1;\r
-                       unsigned char WDTCLR:1;\r
-                       unsigned char OSTCLR:1;\r
-                       unsigned char NMICLR:1;\r
-               } BIT;\r
-       } NMICLR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char NMIMD:1;\r
-               } BIT;\r
-       } NMICR;\r
-};\r
-\r
-struct st_iwdt {\r
-       unsigned char  IWDTRR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short RPSS:2;\r
-                       unsigned short :2;\r
-                       unsigned short RPES:2;\r
-                       unsigned short CKS:4;\r
-                       unsigned short :2;\r
-                       unsigned short TOPS:2;\r
-               } BIT;\r
-       } IWDTCR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short REFEF:1;\r
-                       unsigned short UNDFF:1;\r
-                       unsigned short CNTVAL:14;\r
-               } BIT;\r
-       } IWDTSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RSTIRQS:1;\r
-               } BIT;\r
-       } IWDTRCR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SLCSTP:1;\r
-               } BIT;\r
-       } IWDTCSTPR;\r
-};\r
-\r
-struct st_mpc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B0WI:1;\r
-                       unsigned char PFSWE:1;\r
-               } BIT;\r
-       } PWPR;\r
-       char           wk0[35];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P03PFS;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P05PFS;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P07PFS;\r
-       char           wk3[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:4;\r
-               } BIT;\r
-       } P12PFS;\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:4;\r
-               } BIT;\r
-       } P13PFS;\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:4;\r
-               } BIT;\r
-       } P14PFS;\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:4;\r
-               } BIT;\r
-       } P15PFS;\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:4;\r
-               } BIT;\r
-       } P16PFS;\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:4;\r
-               } BIT;\r
-       } P17PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P20PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P21PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P22PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P23PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P24PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P25PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P26PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P27PFS;\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:4;\r
-               } BIT;\r
-       } P30PFS;\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:4;\r
-               } BIT;\r
-       } P31PFS;\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:4;\r
-               } BIT;\r
-       } P32PFS;\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:4;\r
-               } BIT;\r
-       } P33PFS;\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:4;\r
-               } BIT;\r
-       } P34PFS;\r
-       char           wk4[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P40PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P41PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P42PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P43PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P44PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P45PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P46PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-               } BIT;\r
-       } P47PFS;\r
-       char           wk5[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P54PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } P55PFS;\r
-       char           wk6[34];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PA0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PA1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PA2PFS;\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:4;\r
-               } BIT;\r
-       } PA3PFS;\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:4;\r
-               } BIT;\r
-       } PA4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PA5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PA6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PA7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB0PFS;\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:4;\r
-               } BIT;\r
-       } PB1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PB7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PC7PFS;\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:4;\r
-               } BIT;\r
-       } PD0PFS;\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:4;\r
-               } BIT;\r
-       } PD1PFS;\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:4;\r
-               } BIT;\r
-       } PD2PFS;\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:4;\r
-               } BIT;\r
-       } PD3PFS;\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:4;\r
-               } BIT;\r
-       } PD4PFS;\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:4;\r
-               } BIT;\r
-       } PD5PFS;\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:4;\r
-               } BIT;\r
-       } PD6PFS;\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:4;\r
-               } BIT;\r
-       } PD7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PE7PFS;\r
-       char           wk7[16];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PH0PFS;\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:4;\r
-               } BIT;\r
-       } PH1PFS;\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:4;\r
-               } BIT;\r
-       } PH2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PH3PFS;\r
-       char           wk8[5];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PJ1PFS;\r
-       char           wk9[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PSEL:4;\r
-               } BIT;\r
-       } PJ3PFS;\r
-};\r
-\r
-struct st_mtu {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char OE4D:1;\r
-                       unsigned char OE4C:1;\r
-                       unsigned char OE3D:1;\r
-                       unsigned char OE4B:1;\r
-                       unsigned char OE4A:1;\r
-                       unsigned char OE3B:1;\r
-               } BIT;\r
-       } TOER;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char BDC:1;\r
-                       unsigned char N:1;\r
-                       unsigned char P:1;\r
-                       unsigned char FB:1;\r
-                       unsigned char WF:1;\r
-                       unsigned char VF:1;\r
-                       unsigned char UF:1;\r
-               } BIT;\r
-       } TGCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PSYE:1;\r
-                       unsigned char :2;\r
-                       unsigned char TOCL:1;\r
-                       unsigned char TOCS:1;\r
-                       unsigned char OLSN:1;\r
-                       unsigned char OLSP:1;\r
-               } BIT;\r
-       } TOCR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BF:2;\r
-                       unsigned char OLS3N:1;\r
-                       unsigned char OLS3P:1;\r
-                       unsigned char OLS2N:1;\r
-                       unsigned char OLS2P:1;\r
-                       unsigned char OLS1N:1;\r
-                       unsigned char OLS1P:1;\r
-               } BIT;\r
-       } TOCR2;\r
-       char           wk1[4];\r
-       unsigned short TCDR;\r
-       unsigned short TDDR;\r
-       char           wk2[8];\r
-       unsigned short TCNTS;\r
-       unsigned short TCBR;\r
-       char           wk3[12];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char T3AEN:1;\r
-                       unsigned char T3ACOR:3;\r
-                       unsigned char T4VEN:1;\r
-                       unsigned char T4VCOR:3;\r
-               } BIT;\r
-       } TITCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char T3ACNT:3;\r
-                       unsigned char :1;\r
-                       unsigned char T4VCNT:3;\r
-               } BIT;\r
-       } TITCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char BTE:2;\r
-               } BIT;\r
-       } TBTER;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char TDER:1;\r
-               } BIT;\r
-       } TDER;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char OLS3N:1;\r
-                       unsigned char OLS3P:1;\r
-                       unsigned char OLS2N:1;\r
-                       unsigned char OLS2P:1;\r
-                       unsigned char OLS1N:1;\r
-                       unsigned char OLS1P:1;\r
-               } BIT;\r
-       } TOLBR;\r
-       char           wk6[41];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCE:1;\r
-                       unsigned char :6;\r
-                       unsigned char WRE:1;\r
-               } BIT;\r
-       } TWCR;\r
-       char           wk7[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CST4:1;\r
-                       unsigned char CST3:1;\r
-                       unsigned char :3;\r
-                       unsigned char CST2:1;\r
-                       unsigned char CST1:1;\r
-                       unsigned char CST0:1;\r
-               } BIT;\r
-       } TSTR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SYNC4:1;\r
-                       unsigned char SYNC3:1;\r
-                       unsigned char :3;\r
-                       unsigned char SYNC2:1;\r
-                       unsigned char SYNC1:1;\r
-                       unsigned char SYNC0:1;\r
-               } BIT;\r
-       } TSYR;\r
-       char           wk8[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char RWE:1;\r
-               } BIT;\r
-       } TRWER;\r
-       char           wk9[11];\r
-       unsigned char  NFCR0;\r
-       unsigned char  NFCR1;\r
-       unsigned char  NFCR2;\r
-       unsigned char  NFCR3;\r
-       unsigned char  NFCR4;\r
-       unsigned char  NFCR5;\r
-};\r
-\r
-struct st_mtu0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char BFE:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-       char           wk0[16];\r
-       unsigned short TGRE;\r
-       unsigned short TGRF;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TGIEF:1;\r
-                       unsigned char TGIEE:1;\r
-               } BIT;\r
-       } TIER2;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TTSE:1;\r
-                       unsigned char TTSB:1;\r
-                       unsigned char TTSA:1;\r
-               } BIT;\r
-       } TBTM;\r
-};\r
-\r
-struct st_mtu1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char CCLR:2;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEU:1;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char :2;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       char           wk1[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char I2BE:1;\r
-                       unsigned char I2AE:1;\r
-                       unsigned char I1BE:1;\r
-                       unsigned char I1AE:1;\r
-               } BIT;\r
-       } TICCR;\r
-};\r
-\r
-struct st_mtu2 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char CCLR:2;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEU:1;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char :2;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-};\r
-\r
-struct st_mtu3 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       char           wk3[7];\r
-       unsigned short TCNT;\r
-       char           wk4[6];\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       char           wk5[8];\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-       char           wk6[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       char           wk7[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TTSE:1;\r
-                       unsigned char TTSB:1;\r
-                       unsigned char TTSA:1;\r
-               } BIT;\r
-       } TBTM;\r
-};\r
-\r
-struct st_mtu4 {\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       char           wk3[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char TTGE2:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       char           wk4[8];\r
-       unsigned short TCNT;\r
-       char           wk5[8];\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       char           wk6[8];\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-       char           wk7[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       char           wk8[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TTSE:1;\r
-                       unsigned char TTSB:1;\r
-                       unsigned char TTSA:1;\r
-               } BIT;\r
-       } TBTM;\r
-       char           wk9[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BF:2;\r
-                       unsigned short :6;\r
-                       unsigned short UT4AE:1;\r
-                       unsigned short DT4AE:1;\r
-                       unsigned short UT4BE:1;\r
-                       unsigned short DT4BE:1;\r
-                       unsigned short ITA3AE:1;\r
-                       unsigned short ITA4VE:1;\r
-                       unsigned short ITB3AE:1;\r
-                       unsigned short ITB4VE:1;\r
-               } BIT;\r
-       } TADCR;\r
-       char           wk10[2];\r
-       unsigned short TADCORA;\r
-       unsigned short TADCORB;\r
-       unsigned short TADCOBRA;\r
-       unsigned short TADCOBRB;\r
-};\r
-\r
-struct st_mtu5 {\r
-       unsigned short TCNTU;\r
-       unsigned short TGRU;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TPSC:2;\r
-               } BIT;\r
-       } TCRU;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char IOC:5;\r
-               } BIT;\r
-       } TIORU;\r
-       char           wk1[9];\r
-       unsigned short TCNTV;\r
-       unsigned short TGRV;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TPSC:2;\r
-               } BIT;\r
-       } TCRV;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char IOC:5;\r
-               } BIT;\r
-       } TIORV;\r
-       char           wk3[9];\r
-       unsigned short TCNTW;\r
-       unsigned short TGRW;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TPSC:2;\r
-               } BIT;\r
-       } TCRW;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char IOC:5;\r
-               } BIT;\r
-       } TIORW;\r
-       char           wk5[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TGIE5U:1;\r
-                       unsigned char TGIE5V:1;\r
-                       unsigned char TGIE5W:1;\r
-               } BIT;\r
-       } TIER;\r
-       char           wk6[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char CSTU5:1;\r
-                       unsigned char CSTV5:1;\r
-                       unsigned char CSTW5:1;\r
-               } BIT;\r
-       } TSTR;\r
-       char           wk7[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char CMPCLR5U:1;\r
-                       unsigned char CMPCLR5V:1;\r
-                       unsigned char CMPCLR5W:1;\r
-               } BIT;\r
-       } TCNTCMPCLR;\r
-};\r
-\r
-struct st_poe {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char POE3F:1;\r
-                       unsigned char POE2F:1;\r
-                       unsigned char POE1F:1;\r
-                       unsigned char POE0F:1;\r
-                       unsigned char :3;\r
-                       unsigned char PIE1:1;\r
-                       unsigned char POE3M:2;\r
-                       unsigned char POE2M:2;\r
-                       unsigned char POE1M:2;\r
-                       unsigned char 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
-               } BIT;\r
-       } OCSR1;\r
-       char           wk0[4];\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 PIE2:1;\r
-                       unsigned char :6;\r
-                       unsigned char POE8M:2;\r
-               } BIT;\r
-       } ICSR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char CH0HIZ:1;\r
-                       unsigned char CH34HIZ:1;\r
-               } BIT;\r
-       } SPOER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PE3ZE:1;\r
-                       unsigned char PE2ZE:1;\r
-                       unsigned char PE1ZE:1;\r
-                       unsigned char PE0ZE:1;\r
-               } BIT;\r
-       } POECR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char P1CZEA:1;\r
-                       unsigned char P2CZEA:1;\r
-                       unsigned char P3CZEA:1;\r
-               } BIT;\r
-       } POECR2;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned char H;\r
-                       unsigned char L;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char OSTSTE:1;\r
-               } BIT;\r
-       } ICSR3;\r
-};\r
-\r
-struct st_port {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CS7E:1;\r
-                       unsigned char CS6E:1;\r
-                       unsigned char CS5E:1;\r
-                       unsigned char CS4E:1;\r
-                       unsigned char CS3E:1;\r
-                       unsigned char CS2E:1;\r
-                       unsigned char CS1E:1;\r
-                       unsigned char CS0E:1;\r
-               } BIT;\r
-       } PFCSE;\r
-       char           wk0[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char A15E:1;\r
-                       unsigned char A14E:1;\r
-                       unsigned char A13E:1;\r
-                       unsigned char A12E:1;\r
-                       unsigned char A11E:1;\r
-                       unsigned char A10E:1;\r
-                       unsigned char A9E:1;\r
-                       unsigned char A8E:1;\r
-               } BIT;\r
-       } PFAOE0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char A23E:1;\r
-                       unsigned char A22E:1;\r
-                       unsigned char A21E:1;\r
-                       unsigned char A20E:1;\r
-                       unsigned char A19E:1;\r
-                       unsigned char A18E:1;\r
-                       unsigned char A17E:1;\r
-                       unsigned char A16E:1;\r
-               } BIT;\r
-       } PFAOE1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char WR1BC1E:1;\r
-                       unsigned char :1;\r
-                       unsigned char DHE:1;\r
-                       unsigned char :3;\r
-                       unsigned char ADRLE:1;\r
-               } BIT;\r
-       } PFBCR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char ALEOE:1;\r
-                       unsigned char WAITS:2;\r
-               } BIT;\r
-       } PFBCR1;\r
-};\r
-\r
-struct st_port0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[95];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[32];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :1;\r
-                       unsigned char B4:1;\r
-               } BIT;\r
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[61];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_port2 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[33];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[60];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_port3 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[34];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[59];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_port4 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[95];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port5 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[95];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk4[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_porta {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[41];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[52];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portb {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[42];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[51];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[43];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[50];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portd {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[95];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk4[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_porte {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[45];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char :1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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 B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } ODR1;\r
-       char           wk4[48];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_porth {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[95];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk4[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portj {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char :1;\r
-                       unsigned char B1:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char :1;\r
-                       unsigned char B1:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char :1;\r
-                       unsigned char B1:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char :1;\r
-                       unsigned char B1:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[95];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char :1;\r
-                       unsigned char B1:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk4[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char B3:1;\r
-                       unsigned char :1;\r
-                       unsigned char B1:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_riic {\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
-               } BIT;\r
-       } ICCR1;\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
-               } BIT;\r
-       } ICCR2;\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
-               } BIT;\r
-       } ICMR1;\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
-               } BIT;\r
-       } ICMR2;\r
-       union {\r
-               unsigned char BYTE;\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
-       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
-               } BIT;\r
-       } ICFER;\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 :1;\r
-                       unsigned char GCAE:1;\r
-                       unsigned char SAR2E:1;\r
-                       unsigned char SAR1E:1;\r
-                       unsigned char SAR0E:1;\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_rspi {\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 :1;\r
-                       unsigned char SPOM:1;\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
-                       unsigned short L;\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
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SPR7:1;\r
-                       unsigned char SPR6:1;\r
-                       unsigned char SPR5:1;\r
-                       unsigned char SPR4:1;\r
-                       unsigned char SPR3:1;\r
-                       unsigned char SPR2:1;\r
-                       unsigned char SPR1:1;\r
-                       unsigned char SPR0:1;\r
-               } BIT;\r
-       } SPBR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char SPLW:1;\r
-                       unsigned char SPRDTD:1;\r
-                       unsigned char SLSEL:2;\r
-                       unsigned char SPFC:2;\r
-               } BIT;\r
-       } SPDCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SCKDL:3;\r
-               } BIT;\r
-       } SPCKD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SLNDL:3;\r
-               } BIT;\r
-       } SSLND;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SPNDL:3;\r
-               } BIT;\r
-       } SPND;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PTE:1;\r
-                       unsigned char SPIIE:1;\r
-                       unsigned char SPOE:1;\r
-                       unsigned char SPPE:1;\r
-               } BIT;\r
-       } SPCR2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD3;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD4;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD5;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD6;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD7;\r
-};\r
-\r
-struct st_rtc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char F1HZ:1;\r
-                       unsigned char F2HZ:1;\r
-                       unsigned char F4HZ:1;\r
-                       unsigned char F8HZ:1;\r
-                       unsigned char F16HZ:1;\r
-                       unsigned char F32HZ:1;\r
-                       unsigned char F64HZ:1;\r
-               } BIT;\r
-       } 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
-       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
-       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
-       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
-       char           wk4[1];\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
-       } RDAYCNT;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONCNT;\r
-       char           wk6[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
-       } 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
-       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
-       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
-       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
-       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
-       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 char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-               } BIT;\r
-       } RYRAREN;\r
-       char           wk13[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PES:4;\r
-                       unsigned char :1;\r
-                       unsigned char PIE:1;\r
-                       unsigned char CIE:1;\r
-                       unsigned char AIE:1;\r
-               } BIT;\r
-       } RCR1;\r
-       char           wk14[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char HR24:1;\r
-                       unsigned char AADJP:1;\r
-                       unsigned char AADJE:1;\r
-                       unsigned char RTCOE:1;\r
-                       unsigned char ADJ30:1;\r
-                       unsigned char RESET:1;\r
-                       unsigned char START:1;\r
-               } BIT;\r
-       } RCR2;\r
-       char           wk15[9];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PMADJ:2;\r
-                       unsigned char ADJ:6;\r
-               } BIT;\r
-       } RADJ;\r
-       char           wk16[17];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCNF:2;\r
-                       unsigned char :1;\r
-                       unsigned char TCST:1;\r
-                       unsigned char TCCT:2;\r
-               } BIT;\r
-       } RTCCR0;\r
-       char           wk17[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCNF:2;\r
-                       unsigned char :1;\r
-                       unsigned char TCST:1;\r
-                       unsigned char TCCT:2;\r
-               } BIT;\r
-       } RTCCR1;\r
-       char           wk18[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCNF:2;\r
-                       unsigned char :1;\r
-                       unsigned char TCST:1;\r
-                       unsigned char TCCT:2;\r
-               } BIT;\r
-       } RTCCR2;\r
-       char           wk19[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
-       char           wk20[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
-       char           wk21[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
-       char           wk22[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:3;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP0;\r
-       char           wk23[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONCP0;\r
-       char           wk24[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
-       char           wk25[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
-       char           wk26[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
-       char           wk27[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:3;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP1;\r
-       char           wk28[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONCP1;\r
-       char           wk29[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
-       char           wk30[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
-       char           wk31[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
-       char           wk32[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:3;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP2;\r
-       char           wk33[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONCP2;\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 ANSA15:1;\r
-                       unsigned short ANSA14:1;\r
-                       unsigned short ANSA13:1;\r
-                       unsigned short ANSA12:1;\r
-                       unsigned short ANSA11:1;\r
-                       unsigned short ANSA10:1;\r
-                       unsigned short ANSA9:1;\r
-                       unsigned short ANSA8:1;\r
-                       unsigned short ANSA7:1;\r
-                       unsigned short ANSA6:1;\r
-                       unsigned short ANSA5:1;\r
-                       unsigned short ANSA4:1;\r
-                       unsigned short ANSA3:1;\r
-                       unsigned short ANSA2:1;\r
-                       unsigned short ANSA1:1;\r
-                       unsigned short ANSA0:1;\r
-               } BIT;\r
-       } ADANSA;\r
-       char           wk1[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADS15:1;\r
-                       unsigned short ADS14:1;\r
-                       unsigned short ADS13:1;\r
-                       unsigned short ADS12:1;\r
-                       unsigned short ADS11:1;\r
-                       unsigned short ADS10:1;\r
-                       unsigned short ADS9:1;\r
-                       unsigned short ADS8:1;\r
-                       unsigned short ADS7:1;\r
-                       unsigned short ADS6:1;\r
-                       unsigned short ADS5:1;\r
-                       unsigned short ADS4:1;\r
-                       unsigned short ADS3:1;\r
-                       unsigned short ADS2:1;\r
-                       unsigned short ADS1:1;\r
-                       unsigned short ADS0:1;\r
-               } BIT;\r
-       } ADADS;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\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
-               } BIT;\r
-       } ADCER;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short TRSA:4;\r
-                       unsigned short :4;\r
-                       unsigned short TRSB:4;\r
-               } BIT;\r
-       } ADSTRGR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short OCS:1;\r
-                       unsigned short TSS:1;\r
-                       unsigned short :6;\r
-                       unsigned short OCSAD:1;\r
-               } BIT;\r
-       } ADEXICR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ANSB15:1;\r
-                       unsigned short ANSB14:1;\r
-                       unsigned short ANSB13:1;\r
-                       unsigned short ANSB12:1;\r
-                       unsigned short ANSB11:1;\r
-                       unsigned short ANSB10:1;\r
-                       unsigned short ANSB9:1;\r
-                       unsigned short ANSB8:1;\r
-                       unsigned short ANSB7:1;\r
-                       unsigned short ANSB6:1;\r
-                       unsigned short ANSB5:1;\r
-                       unsigned short ANSB4:1;\r
-                       unsigned short ANSB3:1;\r
-                       unsigned short ANSB2:1;\r
-                       unsigned short ANSB1:1;\r
-                       unsigned short ANSB0:1;\r
-               } BIT;\r
-       } ADANSB;\r
-       char           wk4[2];\r
-       unsigned short ADDBLDR;\r
-       unsigned short ADTSDR;\r
-       unsigned short ADOCDR;\r
-       union {\r
-               unsigned short WORD;\r
-               union {\r
-                       struct {\r
-                               unsigned short DIAGST:2;\r
-                               unsigned short :2;\r
-                               unsigned short DATA:10;\r
-                       } LEFT;\r
-                       struct {\r
-                               unsigned short DATA:10;\r
-                               unsigned short :4;\r
-                               unsigned short DIAGST:2;\r
-                       } RIGHT;\r
-               } BIT;\r
-       } ADRD;\r
-       unsigned short ADDR0;\r
-       unsigned short ADDR1;\r
-       unsigned short ADDR2;\r
-       unsigned short ADDR3;\r
-       unsigned short ADDR4;\r
-       unsigned short ADDR5;\r
-       unsigned short ADDR6;\r
-       unsigned short ADDR7;\r
-       unsigned short ADDR8;\r
-       unsigned short ADDR9;\r
-       unsigned short ADDR10;\r
-       unsigned short ADDR11;\r
-       unsigned short ADDR12;\r
-       unsigned short ADDR13;\r
-       unsigned short ADDR14;\r
-       unsigned short ADDR15;\r
-       char           wk5[32];\r
-       unsigned char  ADSSTR0;\r
-       unsigned char  ADSSTRL;\r
-       char           wk6[4];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short SHANS:3;\r
-                       unsigned short SSTSH:8;\r
-               } BIT;\r
-       } ADSHCR;\r
-       char           wk7[8];\r
-       unsigned char  ADSSTRT;\r
-       unsigned char  ADSSTRO;\r
-       char           wk8[1];\r
-       unsigned char  ADSSTR1;\r
-       unsigned char  ADSSTR2;\r
-       unsigned char  ADSSTR3;\r
-       unsigned char  ADSSTR4;\r
-       unsigned char  ADSSTR5;\r
-       unsigned char  ADSSTR6;\r
-       unsigned char  ADSSTR7;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char ADNDIS:5;\r
-               } BIT;\r
-       } ADDISCR;\r
-};\r
-\r
-struct st_sci0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CM:1;\r
-                       unsigned char CHR:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char MP:1;\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 FER: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 :4;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFEN:1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :3;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char NFCS:3;\r
-               } BIT;\r
-       } SNFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICDL:5;\r
-                       unsigned char :2;\r
-                       unsigned char IICM:1;\r
-               } BIT;\r
-       } SIMR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char IICACKT:1;\r
-                       unsigned char :3;\r
-                       unsigned char IICCSC:1;\r
-                       unsigned char IICINTM:1;\r
-               } BIT;\r
-       } SIMR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICSCLS:2;\r
-                       unsigned char IICSDAS:2;\r
-                       unsigned char :1;\r
-                       unsigned char IICSTPREQ:1;\r
-                       unsigned char IICRSTAREQ:1;\r
-                       unsigned char IICSTAREQ:1;\r
-               } BIT;\r
-       } SIMR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char IICBBS:1;\r
-                       unsigned char :1;\r
-                       unsigned char IICACKR:1;\r
-               } BIT;\r
-       } SISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CKPH:1;\r
-                       unsigned char CKPOL:1;\r
-                       unsigned char :1;\r
-                       unsigned char MFF:1;\r
-                       unsigned char :1;\r
-                       unsigned char MSS:1;\r
-                       unsigned char CTSE:1;\r
-                       unsigned char SSE:1;\r
-               } BIT;\r
-       } SECR;\r
-};\r
-\r
-struct st_sci1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CM:1;\r
-                       unsigned char CHR:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char MP:1;\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 FER: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 :4;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFEN:1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :3;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char NFCS:3;\r
-               } BIT;\r
-       } SNFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICDL:5;\r
-                       unsigned char :2;\r
-                       unsigned char IICM:1;\r
-               } BIT;\r
-       } SIMR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char IICACKT:1;\r
-                       unsigned char :3;\r
-                       unsigned char IICCSC:1;\r
-                       unsigned char IICINTM:1;\r
-               } BIT;\r
-       } SIMR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICSCLS:2;\r
-                       unsigned char IICSDAS:2;\r
-                       unsigned char :1;\r
-                       unsigned char IICSTPREQ:1;\r
-                       unsigned char IICRSTAREQ:1;\r
-                       unsigned char IICSTAREQ:1;\r
-               } BIT;\r
-       } SIMR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IICACKR:1;\r
-               } BIT;\r
-       } SISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CKPH:1;\r
-                       unsigned char CKPOL:1;\r
-                       unsigned char :1;\r
-                       unsigned char MFF:1;\r
-                       unsigned char :1;\r
-                       unsigned char MSS:1;\r
-                       unsigned char CTSE:1;\r
-                       unsigned char SSE:1;\r
-               } BIT;\r
-       } SECR;\r
-};\r
-\r
-struct st_sci12 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CM:1;\r
-                       unsigned char CHR:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char MP:1;\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 FER: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 :4;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFEN:1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :3;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char NFCS:3;\r
-               } BIT;\r
-       } SNFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICDL:5;\r
-                       unsigned char :2;\r
-                       unsigned char IICM:1;\r
-               } BIT;\r
-       } SIMR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char IICACKT:1;\r
-                       unsigned char :3;\r
-                       unsigned char IICCSC:1;\r
-                       unsigned char IICINTM:1;\r
-               } BIT;\r
-       } SIMR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICSCLS:2;\r
-                       unsigned char IICSDAS:2;\r
-                       unsigned char :1;\r
-                       unsigned char IICSTPREQ:1;\r
-                       unsigned char IICRSTAREQ:1;\r
-                       unsigned char IICSTAREQ:1;\r
-               } BIT;\r
-       } SIMR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IICACKR:1;\r
-               } BIT;\r
-       } SISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CKPH:1;\r
-                       unsigned char CKPOL:1;\r
-                       unsigned char :1;\r
-                       unsigned char MFF:1;\r
-                       unsigned char :1;\r
-                       unsigned char MSS:1;\r
-                       unsigned char CTSE:1;\r
-                       unsigned char SSE:1;\r
-               } BIT;\r
-       } SECR;\r
-       char           wk0[18];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SCIXE:1;\r
-               } BIT;\r
-       } MER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char BRME:1;\r
-                       unsigned char RXDSF:1;\r
-                       unsigned char SFSF:1;\r
-               } BIT;\r
-       } CR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIBS:3;\r
-                       unsigned char PIBE:1;\r
-                       unsigned char CF1DS:2;\r
-                       unsigned char CF0RE:1;\r
-                       unsigned char BFE:1;\r
-               } BIT;\r
-       } CR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RTS:2;\r
-                       unsigned char BCCS:2;\r
-                       unsigned char :1;\r
-                       unsigned char DFCS:3;\r
-               } BIT;\r
-       } CR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SDST:1;\r
-               } BIT;\r
-       } CR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char SHARPS:1;\r
-                       unsigned char TXPLOD:1;\r
-                       unsigned char TXPHOD:1;\r
-                       unsigned char RXDXPS:1;\r
-                       unsigned char TXDXPS:1;\r
-               } BIT;\r
-       } PCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char AEDIE:1;\r
-                       unsigned char BCDIE:1;\r
-                       unsigned char PIBDIE:1;\r
-                       unsigned char CF1MIE:1;\r
-                       unsigned char CF0MIE:1;\r
-                       unsigned char BFDIE:1;\r
-               } BIT;\r
-       } ICR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char AEDF:1;\r
-                       unsigned char BCDF:1;\r
-                       unsigned char PIBDF:1;\r
-                       unsigned char CF1MF:1;\r
-                       unsigned char CF0MF:1;\r
-                       unsigned char BFDF:1;\r
-               } BIT;\r
-       } STR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char AEDCL:1;\r
-                       unsigned char BCDCL:1;\r
-                       unsigned char PIBDCL:1;\r
-                       unsigned char CF1MCL:1;\r
-                       unsigned char CF0MCL:1;\r
-                       unsigned char BFDCL:1;\r
-               } BIT;\r
-       } STCR;\r
-       unsigned char  CF0DR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CF0CE7:1;\r
-                       unsigned char CF0CE6:1;\r
-                       unsigned char CF0CE5:1;\r
-                       unsigned char CF0CE4:1;\r
-                       unsigned char CF0CE3:1;\r
-                       unsigned char CF0CE2:1;\r
-                       unsigned char CF0CE1:1;\r
-                       unsigned char CF0CE0:1;\r
-               } BIT;\r
-       } CF0CR;\r
-       unsigned char  CF0RR;\r
-       unsigned char  PCF1DR;\r
-       unsigned char  SCF1DR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CF1CE7:1;\r
-                       unsigned char CF1CE6:1;\r
-                       unsigned char CF1CE5:1;\r
-                       unsigned char CF1CE4:1;\r
-                       unsigned char CF1CE3:1;\r
-                       unsigned char CF1CE2:1;\r
-                       unsigned char CF1CE1:1;\r
-                       unsigned char CF1CE0:1;\r
-               } BIT;\r
-       } CF1CR;\r
-       unsigned char  CF1RR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char TCST:1;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char TCSS:3;\r
-                       unsigned char TWRC:1;\r
-                       unsigned char :1;\r
-                       unsigned char TOMS:2;\r
-               } BIT;\r
-       } TMR;\r
-       unsigned char  TPRE;\r
-       unsigned char  TCNT;\r
-};\r
-\r
-struct st_smci {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char GM:1;\r
-                       unsigned char BCLK: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 :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
-               } BIT;\r
-       } SSR;\r
-       unsigned char  RDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCP2:1;\r
-                       unsigned char :3;\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_system {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short MD:1;\r
-               } BIT;\r
-       } MDMONR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :10;\r
-                       unsigned short UBTS:1;\r
-                       unsigned short BOTS:1;\r
-                       unsigned short :2;\r
-                       unsigned short EXB:1;\r
-                       unsigned short IROM:1;\r
-               } BIT;\r
-       } MDSR;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short :6;\r
-                       unsigned short EXBE:1;\r
-                       unsigned short ROME:1;\r
-               } BIT;\r
-       } SYSCR0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short RAME:1;\r
-               } BIT;\r
-       } SYSCR1;\r
-       char           wk1[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SSBY:1;\r
-                       unsigned short OPE:1;\r
-               } BIT;\r
-       } SBYCR;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long ACSE:1;\r
-                       unsigned long :2;\r
-                       unsigned long MSTPA28:1;\r
-                       unsigned long :8;\r
-                       unsigned long MSTPA19:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPA17:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPA15:1;\r
-                       unsigned long MSTPA14:1;\r
-                       unsigned long :4;\r
-                       unsigned long MSTPA9:1;\r
-                       unsigned long :3;\r
-                       unsigned long MSTPA5:1;\r
-                       unsigned long MSTPA4:1;\r
-               } BIT;\r
-       } MSTPCRA;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long MSTPB31:1;\r
-                       unsigned long MSTPB30:1;\r
-                       unsigned long :3;\r
-                       unsigned long MSTPB26:1;\r
-                       unsigned long MSTPB25:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPB23:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPB21:1;\r
-                       unsigned long :3;\r
-                       unsigned long MSTPB17:1;\r
-                       unsigned long :6;\r
-                       unsigned long MSTPB10:1;\r
-                       unsigned long MSTPB9:1;\r
-                       unsigned long MSTPB8:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPB6:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPB4:1;\r
-               } BIT;\r
-       } MSTPCRB;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :4;\r
-                       unsigned long MSTPC27:1;\r
-                       unsigned long MSTPC26:1;\r
-                       unsigned long :25;\r
-                       unsigned long MSTPC0:1;\r
-               } BIT;\r
-       } MSTPCRC;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long FCK:4;\r
-                       unsigned long ICK:4;\r
-                       unsigned long PSTOP1:1;\r
-                       unsigned long :3;\r
-                       unsigned long BCK:4;\r
-                       unsigned long PCKA:4;\r
-                       unsigned long PCKB:4;\r
-                       unsigned long PCKC:4;\r
-                       unsigned long PCKD:4;\r
-               } BIT;\r
-       } SCKCR;\r
-       char           wk4[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short CKSEL:3;\r
-               } BIT;\r
-       } SCKCR3;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short STC:5;\r
-                       unsigned short :6;\r
-                       unsigned short PLIDIV:2;\r
-               } BIT;\r
-       } PLLCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char PLLEN:1;\r
-               } BIT;\r
-       } PLLCR2;\r
-       char           wk5[5];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char BCLKDIV:1;\r
-               } BIT;\r
-       } BCKCR;\r
-       char           wk6[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char MOSEL:1;\r
-                       unsigned char MOSTP:1;\r
-               } BIT;\r
-       } MOSCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char SOSEL:1;\r
-                       unsigned char SOSTP:1;\r
-               } BIT;\r
-       } SOSCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char LCSTP:1;\r
-               } BIT;\r
-       } LOCOCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char ILCSTP:1;\r
-               } BIT;\r
-       } ILOCOCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char HCSTP:1;\r
-               } BIT;\r
-       } HOCOCR;\r
-       char           wk7[9];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char OSTDE:1;\r
-                       unsigned char :6;\r
-                       unsigned char OSTDIE:1;\r
-               } BIT;\r
-       } OSTDCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char OSTDF:1;\r
-               } BIT;\r
-       } OSTDSR;\r
-       char           wk8[94];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char LPWSTS:1;\r
-                       unsigned char :1;\r
-                       unsigned char LPWM:3;\r
-               } BIT;\r
-       } NMPCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RSTCKEN:1;\r
-                       unsigned char :4;\r
-                       unsigned char RSTCKSEL:3;\r
-               } BIT;\r
-       } RSTCKCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MSTS:5;\r
-               } BIT;\r
-       } MOSCWTCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char SSTS:5;\r
-               } BIT;\r
-       } SOSCWTCR;\r
-       char           wk9[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSTS:5;\r
-               } BIT;\r
-       } PLLWTCR;\r
-       char           wk10[25];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SWRF:1;\r
-                       unsigned char WDRF:1;\r
-                       unsigned char IWDRF:1;\r
-               } BIT;\r
-       } RSTSR2;\r
-       char           wk11[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short SWRR:8;\r
-               } BIT;\r
-       } SWRR;\r
-       char           wk12[28];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char LVD1IRQSEL:1;\r
-                       unsigned char LVD1IDTSEL:2;\r
-               } BIT;\r
-       } LVD1CR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char LVD1MON:1;\r
-                       unsigned char LVD1DET:1;\r
-               } BIT;\r
-       } LVD1SR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char LVD2IRQSEL:1;\r
-                       unsigned char LVD2IDTSEL:2;\r
-               } BIT;\r
-       } LVD2CR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char LVD2MON:1;\r
-                       unsigned char LVD2DET:1;\r
-               } BIT;\r
-       } LVD2SR;\r
-       char           wk13[794];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRKEY:8;\r
-                       unsigned short PRC7:1;\r
-                       unsigned short PRC6:1;\r
-                       unsigned short PRC5:1;\r
-                       unsigned short PRC4:1;\r
-                       unsigned short PRC3:1;\r
-                       unsigned short PRC2:1;\r
-                       unsigned short PRC1:1;\r
-                       unsigned short PRC0:1;\r
-               } BIT;\r
-       } PRCR;\r
-       char           wk14[48768];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSBY:1;\r
-                       unsigned char IOKEEP:1;\r
-                       unsigned char :4;\r
-                       unsigned char DEEPCUT1:1;\r
-               } BIT;\r
-       } DPSBYCR;\r
-       char           wk15[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ7E:1;\r
-                       unsigned char DIRQ6E:1;\r
-                       unsigned char DIRQ5E:1;\r
-                       unsigned char DIRQ4E:1;\r
-                       unsigned char DIRQ3E:1;\r
-                       unsigned char DIRQ2E:1;\r
-                       unsigned char DIRQ1E:1;\r
-                       unsigned char DIRQ0E:1;\r
-               } BIT;\r
-       } DPSIER0;\r
-       char           wk16[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DI2CCIE:1;\r
-                       unsigned char DI2CDIE:1;\r
-                       unsigned char DNMIE:1;\r
-                       unsigned char DRTCAIE:1;\r
-                       unsigned char DRTCIIE:1;\r
-                       unsigned char DLVD2IE:1;\r
-                       unsigned char DLVD1IE:1;\r
-               } BIT;\r
-       } DPSIER2;\r
-       char           wk17[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ7F:1;\r
-                       unsigned char DIRQ6F:1;\r
-                       unsigned char DIRQ5F:1;\r
-                       unsigned char DIRQ4F:1;\r
-                       unsigned char DIRQ3F:1;\r
-                       unsigned char DIRQ2F:1;\r
-                       unsigned char DIRQ1F:1;\r
-                       unsigned char DIRQ0F:1;\r
-               } BIT;\r
-       } DPSIFR0;\r
-       char           wk18[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DRIICCIF:1;\r
-                       unsigned char DRIICDIF:1;\r
-                       unsigned char DNMIF:1;\r
-                       unsigned char DRTCAIF:1;\r
-                       unsigned char DRTCIIF:1;\r
-                       unsigned char DLVD2IF:1;\r
-                       unsigned char DLVD1IF:1;\r
-               } BIT;\r
-       } DPSIFR2;\r
-       char           wk19[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ7EG:1;\r
-                       unsigned char DIRQ6EG:1;\r
-                       unsigned char DIRQ5EG:1;\r
-                       unsigned char DIRQ4EG:1;\r
-                       unsigned char DIRQ3EG:1;\r
-                       unsigned char DIRQ2EG:1;\r
-                       unsigned char DIRQ1EG:1;\r
-                       unsigned char DIRQ0EG:1;\r
-               } BIT;\r
-       } DPSIEGR0;\r
-       char           wk20[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DRIICCEG:1;\r
-                       unsigned char DRIICDEG:1;\r
-                       unsigned char DNMIEG:1;\r
-                       unsigned char :2;\r
-                       unsigned char DLVD2EG:1;\r
-                       unsigned char DLVD1EG:1;\r
-               } BIT;\r
-       } DPSIEGR2;\r
-       char           wk21[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char HCUT:1;\r
-                       unsigned char FCUT:1;\r
-               } BIT;\r
-       } FHSSBYCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSRSTF:1;\r
-                       unsigned char :3;\r
-                       unsigned char LVD2RF:1;\r
-                       unsigned char LVD1RF:1;\r
-                       unsigned char LVD0RF:1;\r
-                       unsigned char PORF:1;\r
-               } BIT;\r
-       } RSTSR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char CWSF:1;\r
-               } BIT;\r
-       } RSTSR1;\r
-       char           wk22[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char MOSCDRV:2;\r
-                       unsigned char MOFXIN:1;\r
-               } BIT;\r
-       } MOFCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char HOCOPCNT:1;\r
-               } BIT;\r
-       } HOCOPCR;\r
-       char           wk23[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char LVD2E:1;\r
-                       unsigned char LVD1E:1;\r
-                       unsigned char :1;\r
-                       unsigned char EXVCCINP2:1;\r
-               } BIT;\r
-       } LVCMPCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char LVD2LVL:4;\r
-                       unsigned char LVD1LVL:4;\r
-               } BIT;\r
-       } LVDLVLR;\r
-       char           wk24[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char LVD1RN:1;\r
-                       unsigned char LVD1RI:1;\r
-                       unsigned char LVD1FSAMP:2;\r
-                       unsigned char :1;\r
-                       unsigned char LVD1CMPE:1;\r
-                       unsigned char LVD1DFDIS:1;\r
-                       unsigned char LVD1RIE:1;\r
-               } BIT;\r
-       } LVD1CR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char LVD2RN:1;\r
-                       unsigned char LVD2RI:1;\r
-                       unsigned char LVD2FSAMP:2;\r
-                       unsigned char :1;\r
-                       unsigned char LVD2CMPE:1;\r
-                       unsigned char LVD2DFDIS:1;\r
-                       unsigned char LVD2RIE:1;\r
-               } BIT;\r
-       } LVD2CR0;\r
-       char           wk25[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char SELICONST:2;\r
-               } BIT;\r
-       } SELICONSTCR;\r
-       unsigned char  DPSBKR[32];\r
-};\r
-\r
-struct st_temps {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TSEN:1;\r
-                       unsigned char PGAEN:1;\r
-                       unsigned char :4;\r
-                       unsigned char PGAGAIN:2;\r
-               } BIT;\r
-       } TSCR;\r
-};\r
-\r
-struct st_tmr0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CMIEB:1;\r
-                       unsigned char CMIEA:1;\r
-                       unsigned char OVIE:1;\r
-                       unsigned char CCLR:2;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char OSB:2;\r
-                       unsigned char OSA:2;\r
-               } BIT;\r
-       } TCSR;\r
-       char           wk1[1];\r
-       unsigned char  TCORA;\r
-       char           wk2[1];\r
-       unsigned char  TCORB;\r
-       char           wk3[1];\r
-       unsigned char  TCNT;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TMRIS:1;\r
-                       unsigned char :2;\r
-                       unsigned char CSS:2;\r
-                       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_tmr1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CMIEB:1;\r
-                       unsigned char CMIEA:1;\r
-                       unsigned char OVIE:1;\r
-                       unsigned char CCLR:2;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char OSB:2;\r
-                       unsigned char OSA:2;\r
-               } BIT;\r
-       } TCSR;\r
-       char           wk1[1];\r
-       unsigned char  TCORA;\r
-       char           wk2[1];\r
-       unsigned char  TCORB;\r
-       char           wk3[1];\r
-       unsigned char  TCNT;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TMRIS:1;\r
-                       unsigned char :2;\r
-                       unsigned char CSS:2;\r
-                       unsigned char CKS:3;\r
-               } BIT;\r
-       } TCCR;\r
-};\r
-\r
-struct st_tmr01 {\r
-       unsigned short TCORA;\r
-       unsigned short TCORB;\r
-       unsigned short TCNT;\r
-       unsigned short TCCR;\r
-};\r
-\r
-struct st_wdt {\r
-       unsigned char  WDTRR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short RPSS:2;\r
-                       unsigned short :2;\r
-                       unsigned short RPES:2;\r
-                       unsigned short CKS:4;\r
-                       unsigned short :2;\r
-                       unsigned short TOPS:2;\r
-               } BIT;\r
-       } WDTCR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short REFEF:1;\r
-                       unsigned short UNDFF:1;\r
-                       unsigned short CNTVAL:14;\r
-               } BIT;\r
-       } WDTSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RSTIRQS:1;\r
-               } BIT;\r
-       } WDTRCR;\r
-};\r
-\r
-enum enum_ir {\r
-IR_BSC_BUSERR=16,IR_FCUIF_FCUERR=21,IR_FCUIF_FRDYI=23,\r
-IR_ICU_SWINT=27,\r
-IR_CMT0_CMI0,\r
-IR_CMT1_CMI1,\r
-IR_CMT2_CMI2,\r
-IR_CMT3_CMI3,\r
-IR_CAC_FERRF,IR_CAC_MENDF,IR_CAC_OVFF,\r
-IR_RSPI0_SPEI2=44,IR_RSPI0_SPRI0,IR_RSPI0_SPTI0,IR_RSPI0_SPII0,\r
-IR_DOC_DOPCF=57,\r
-IR_CMPB0_COMPB0,\r
-IR_CMPB1_COMPB1,\r
-IR_RTC_COUNTUP=63,\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_LVDCMPA_LVD1COMPA1=88,IR_LVDCMPA_LVD1COMPA2,\r
-IR_RTC_ALM=92,IR_RTC_PRD,\r
-IR_S12AD_S12ADI=102,IR_S12AD_GBADI,\r
-IR_ELC_ELSR18I=106,IR_ELC_ELSR19I,\r
-IR_MTU0_TGIA0=114,IR_MTU0_TGIB0,IR_MTU0_TGIC0,IR_MTU0_TGID0,IR_MTU0_TGIV0,IR_MTU0_TGIE0,IR_MTU0_TGIF0,\r
-IR_MTU1_TGIA1,IR_MTU1_TGIB1,IR_MTU1_TGIV1,IR_MTU1_TGIU1,\r
-IR_MTU2_TGIA2,IR_MTU2_TGIB2,IR_MTU2_TGIV2,IR_MTU2_TGIU2,\r
-IR_MTU3_TGIA3,IR_MTU3_TGIB3,IR_MTU3_TGIC3,IR_MTU3_TGID3,IR_MTU3_TGIV3,\r
-IR_MTU4_TGIA4,IR_MTU4_TGIB4,IR_MTU4_TGIC4,IR_MTU4_TGID4,IR_MTU4_TGIV4,\r
-IR_MTU5_TGIU5,IR_MTU5_TGIV5,IR_MTU5_TGIW5,\r
-IR_POE_OEI1=170,IR_POE_OEI2,\r
-IR_TMR0_CMIA0=174,IR_TMR0_CMIB0,IR_TMR0_OVI0,\r
-IR_TMR1_CMIA1,IR_TMR1_CMIB1,IR_TMR1_OVI1,\r
-IR_TMR2_CMIA2,IR_TMR2_CMIB2,IR_TMR2_OVI2,\r
-IR_TMR3_CMIA3,IR_TMR3_CMIB3,IR_TMR3_OVI3,\r
-IR_DMAC_DMAC0I=198,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,\r
-IR_SCI0_ERI0=214,IR_SCI0_RXI0,IR_SCI0_TXI0,IR_SCI0_TEI0,\r
-IR_SCI1_ERI1,IR_SCI1_RXI1,IR_SCI1_TXI1,IR_SCI1_TEI1,\r
-IR_SCI5_ERI5,IR_SCI5_RXI5,IR_SCI5_TXI5,IR_SCI5_TEI5,\r
-IR_SCI6_ERI6,IR_SCI6_RXI6,IR_SCI6_TXI6,IR_SCI6_TEI6,\r
-IR_SCI8_ERI8,IR_SCI8_RXI8,IR_SCI8_TXI8,IR_SCI8_TEI8,\r
-IR_SCI9_ERI9,IR_SCI9_RXI9,IR_SCI9_TXI9,IR_SCI9_TEI9,\r
-IR_SCI12_ERI12,IR_SCI12_RXI12,IR_SCI12_TXI12,IR_SCI12_TEI12,IR_SCI12_SCIX0,IR_SCI12_SCIX1,IR_SCI12_SCIX2,IR_SCI12_SCIX3,\r
-IR_RIIC0_EEI0,IR_RIIC0_RXI0,IR_RIIC0_TXI0,IR_RIIC0_TEI0\r
-};\r
-\r
-enum enum_dtce {\r
-DTCE_ICU_SWINT=27,\r
-DTCE_CMT0_CMI0,\r
-DTCE_CMT1_CMI1,\r
-DTCE_CMT2_CMI2,\r
-DTCE_CMT3_CMI3,\r
-DTCE_RSPI0_SPRI0=45,DTCE_RSPI0_SPTI0,\r
-DTCE_CMPB0_COMPB0=58,\r
-DTCE_CMPB1_COMPB1,\r
-DTCE_ICU_IRQ0=64,DTCE_ICU_IRQ1,DTCE_ICU_IRQ2,DTCE_ICU_IRQ3,DTCE_ICU_IRQ4,DTCE_ICU_IRQ5,DTCE_ICU_IRQ6,DTCE_ICU_IRQ7,\r
-DTCE_LVDCMPA_LVD1COMPA1=88,DTCE_LVDCMPA_LVD1COMPA2,\r
-DTCE_S12AD_S12ADI=102,DTCE_S12AD_GBADI,\r
-DTCE_ELC_ELSR18I=106,DTCE_ELC_ELSR19I,\r
-DTCE_MTU0_TGIA0=114,DTCE_MTU0_TGIB0,DTCE_MTU0_TGIC0,DTCE_MTU0_TGID0,\r
-DTCE_MTU1_TGIA1=121,DTCE_MTU1_TGIB1,\r
-DTCE_MTU2_TGIA2=125,DTCE_MTU2_TGIB2,\r
-DTCE_MTU3_TGIA3=129,DTCE_MTU3_TGIB3,DTCE_MTU3_TGIC3,DTCE_MTU3_TGID3,\r
-DTCE_MTU4_TGIA4=134,DTCE_MTU4_TGIB4,DTCE_MTU4_TGIC4,DTCE_MTU4_TGID4,DTCE_MTU4_TGIV4,\r
-DTCE_MTU5_TGIU5,DTCE_MTU5_TGIV5,DTCE_MTU5_TGIW5,\r
-DTCE_TMR0_CMIA0=174,DTCE_TMR0_CMIB0,\r
-DTCE_TMR1_CMIA1=177,DTCE_TMR1_CMIB1,\r
-DTCE_TMR2_CMIA2=180,DTCE_TMR2_CMIB2,\r
-DTCE_TMR3_CMIA3=183,DTCE_TMR3_CMIB3,\r
-DTCE_DMAC_DMAC0I=198,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
-DTCE_SCI0_RXI0=215,DTCE_SCI0_TXI0,\r
-DTCE_SCI1_RXI1=219,DTCE_SCI1_TXI1,\r
-DTCE_SCI5_RXI5=223,DTCE_SCI5_TXI5,\r
-DTCE_SCI6_RXI6=227,DTCE_SCI6_TXI6,\r
-DTCE_SCI8_RXI8=231,DTCE_SCI8_TXI8,\r
-DTCE_SCI9_RXI9=235,DTCE_SCI9_TXI9,\r
-DTCE_SCI12_RXI12=239,DTCE_SCI12_TXI12,\r
-DTCE_RIIC0_RXI0=247,DTCE_RIIC0_TXI0\r
-};\r
-\r
-enum enum_ier {\r
-IER_BSC_BUSERR=0x02,\r
-IER_FCUIF_FCUERR=0x02,IER_FCUIF_FRDYI=0x02,\r
-IER_ICU_SWINT=0x03,\r
-IER_CMT0_CMI0=0x03,\r
-IER_CMT1_CMI1=0x03,\r
-IER_CMT2_CMI2=0x03,\r
-IER_CMT3_CMI3=0x03,\r
-IER_CAC_FERRF=0x04,IER_CAC_MENDF=0x04,IER_CAC_OVFF=0x04,\r
-IER_RSPI0_SPEI2=0x05,IER_RSPI0_SPRI0=0x05,IER_RSPI0_SPTI0=0x05,IER_RSPI0_SPII0=0x05,\r
-IER_DOC_DOPCF=0x07,\r
-IER_CMPB0_COMPB0=0x07,\r
-IER_CMPB1_COMPB1=0x07,\r
-IER_RTC_COUNTUP=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,\r
-IER_LVDCMPA_LVD1COMPA1=0x0B,IER_LVDCMPA_LVD1COMPA2=0x0B,\r
-IER_RTC_ALM=0x0B,IER_RTC_PRD=0x0B,\r
-IER_S12AD_S12ADI=0x0C,IER_S12AD_GBADI=0x0C,\r
-IER_ELC_ELSR18I=0x0D,IER_ELC_ELSR19I=0x0D,\r
-IER_MTU0_TGIA0=0x0E,IER_MTU0_TGIB0=0x0E,IER_MTU0_TGIC0=0x0E,IER_MTU0_TGID0=0x0E,IER_MTU0_TGIV0=0x0E,IER_MTU0_TGIE0=0x0E,IER_MTU0_TGIF0=0x0F,\r
-IER_MTU1_TGIA1=0x0F,IER_MTU1_TGIB1=0x0F,IER_MTU1_TGIV1=0x0F,IER_MTU1_TGIU1=0x0F,\r
-IER_MTU2_TGIA2=0x0F,IER_MTU2_TGIB2=0x0F,IER_MTU2_TGIV2=0x0F,IER_MTU2_TGIU2=0x0F,\r
-IER_MTU3_TGIA3=0x10,IER_MTU3_TGIB3=0x10,IER_MTU3_TGIC3=0x10,IER_MTU3_TGID3=0x10,IER_MTU3_TGIV3=0x10,\r
-IER_MTU4_TGIA4=0x10,IER_MTU4_TGIB4=0x10,IER_MTU4_TGIC4=0x11,IER_MTU4_TGID4=0x11,IER_MTU4_TGIV4=0x11,\r
-IER_MTU5_TGIU5=0x11,IER_MTU5_TGIV5=0x11,IER_MTU5_TGIW5=0x11,\r
-IER_POE_OEI1=0x15,IER_POE_OEI2=0x15,\r
-IER_TMR0_CMIA0=0x15,IER_TMR0_CMIB0=0x15,IER_TMR0_OVI0=0x16,\r
-IER_TMR1_CMIA1=0x16,IER_TMR1_CMIB1=0x16,IER_TMR1_OVI1=0x16,\r
-IER_TMR2_CMIA2=0x16,IER_TMR2_CMIB2=0x16,IER_TMR2_OVI2=0x16,\r
-IER_TMR3_CMIA3=0x16,IER_TMR3_CMIB3=0x17,IER_TMR3_OVI3=0x17,\r
-IER_DMAC_DMAC0I=0x18,IER_DMAC_DMAC1I=0x18,IER_DMAC_DMAC2I=0x19,IER_DMAC_DMAC3I=0x19,\r
-IER_SCI0_ERI0=0x1A,IER_SCI0_RXI0=0x1A,IER_SCI0_TXI0=0x1B,IER_SCI0_TEI0=0x1B,\r
-IER_SCI1_ERI1=0x1B,IER_SCI1_RXI1=0x1B,IER_SCI1_TXI1=0x1B,IER_SCI1_TEI1=0x1B,\r
-IER_SCI5_ERI5=0x1B,IER_SCI5_RXI5=0x1B,IER_SCI5_TXI5=0x1C,IER_SCI5_TEI5=0x1C,\r
-IER_SCI6_ERI6=0x1C,IER_SCI6_RXI6=0x1C,IER_SCI6_TXI6=0x1C,IER_SCI6_TEI6=0x1C,\r
-IER_SCI8_ERI8=0x1C,IER_SCI8_RXI8=0x1C,IER_SCI8_TXI8=0x1D,IER_SCI8_TEI8=0x1D,\r
-IER_SCI9_ERI9=0x1D,IER_SCI9_RXI9=0x1D,IER_SCI9_TXI9=0x1D,IER_SCI9_TEI9=0x1D,\r
-IER_SCI12_ERI12=0x1D,IER_SCI12_RXI12=0x1D,IER_SCI12_TXI12=0x1E,IER_SCI12_TEI12=0x1E,IER_SCI12_SCIX0=0x1E,IER_SCI12_SCIX1=0x1E,IER_SCI12_SCIX2=0x1E,IER_SCI12_SCIX3=0x1E,\r
-IER_RIIC0_EEI0=0x1E,IER_RIIC0_RXI0=0x1E,IER_RIIC0_TXI0=0x1F,IER_RIIC0_TEI0=0x1F\r
-};\r
-\r
-enum enum_ipr {\r
-IPR_BSC_BUSERR=0x00,\r
-IPR_FCUIF_FCUERR=0x01,IPR_FCUIF_FRDYI=0x02,\r
-IPR_ICU_SWINT=0x03,\r
-IPR_CMT0_CMI0=0x04,\r
-IPR_CMT1_CMI1=0x05,\r
-IPR_CMT2_CMI2=0x06,\r
-IPR_CMT3_CMI3=0x07,\r
-IPR_CAC_FERRF=0x32,IPR_CAC_MENDF=0x33,IPR_CAC_OVFF=0x34,\r
-IPR_RSPI0_SPEI2=0x44,IPR_RSPI0_SPRI0=0x44,IPR_RSPI0_SPTI0=0x44,IPR_RSPI0_SPII0=0x44,\r
-IPR_DOC_DOPCF=0x57,\r
-IPR_CMPB0_COMPB0=0x58,\r
-IPR_CMPB1_COMPB1=0x59,\r
-IPR_RTC_COUNTUP=0x63,\r
-IPR_ICU_IRQ0=0x64,IPR_ICU_IRQ1=0x65,IPR_ICU_IRQ2=0x66,IPR_ICU_IRQ3=0x67,IPR_ICU_IRQ4=0x68,IPR_ICU_IRQ5=0x69,IPR_ICU_IRQ6=0x70,IPR_ICU_IRQ7=0x71,\r
-IPR_LVDCMPA_LVD1COMPA1=0x88,IPR_LVDCMPA_LVD1COMPA2=0x89,\r
-IPR_RTC_ALM=0x92,IPR_RTC_PRD=0x93,\r
-IPR_S12AD_S12ADI=0x102,IPR_S12AD_GBADI=0x103,\r
-IPR_ELC_ELSR18I=0x106,IPR_ELC_ELSR19I=0x107,\r
-IPR_MTU0_TGIA0=0x114,IPR_MTU0_TGIB0=0x114,IPR_MTU0_TGIC0=0x114,IPR_MTU0_TGID0=0x114,IPR_MTU0_TGIV0=0x118,IPR_MTU0_TGIE0=0x118,IPR_MTU0_TGIF0=0x118,\r
-IPR_MTU1_TGIA1=0x121,IPR_MTU1_TGIB1=0x121,IPR_MTU1_TGIV1=0x123,IPR_MTU1_TGIU1=0x123,\r
-IPR_MTU2_TGIA2=0x125,IPR_MTU2_TGIB2=0x125,IPR_MTU2_TGIV2=0x127,IPR_MTU2_TGIU2=0x127,\r
-IPR_MTU3_TGIA3=0x129,IPR_MTU3_TGIB3=0x129,IPR_MTU3_TGIC3=0x129,IPR_MTU3_TGID3=0x129,IPR_MTU3_TGIV3=0x133,\r
-IPR_MTU4_TGIA4=0x134,IPR_MTU4_TGIB4=0x134,IPR_MTU4_TGIC4=0x134,IPR_MTU4_TGID4=0x134,IPR_MTU4_TGIV4=0x138,\r
-IPR_MTU5_TGIU5=0x139,IPR_MTU5_TGIV5=0x139,IPR_MTU5_TGIW5=0x139,\r
-IPR_POE_OEI1=0x170,IPR_POE_OEI2=0x171,\r
-IPR_TMR0_CMIA0=0x174,IPR_TMR0_CMIB0=0x174,IPR_TMR0_OVI0=0x174,\r
-IPR_TMR1_CMIA1=0x177,IPR_TMR1_CMIB1=0x177,IPR_TMR1_OVI1=0x177,\r
-IPR_TMR2_CMIA2=0x180,IPR_TMR2_CMIB2=0x180,IPR_TMR2_OVI2=0x180,\r
-IPR_TMR3_CMIA3=0x183,IPR_TMR3_CMIB3=0x183,IPR_TMR3_OVI3=0x183,\r
-IPR_DMAC_DMAC0I=0x198,IPR_DMAC_DMAC1I=0x199,IPR_DMAC_DMAC2I=0x200,IPR_DMAC_DMAC3I=0x201,\r
-IPR_SCI0_ERI0=0x214,IPR_SCI0_RXI0=0x214,IPR_SCI0_TXI0=0x214,IPR_SCI0_TEI0=0x214,\r
-IPR_SCI1_ERI1=0x218,IPR_SCI1_RXI1=0x218,IPR_SCI1_TXI1=0x218,IPR_SCI1_TEI1=0x218,\r
-IPR_SCI5_ERI5=0x222,IPR_SCI5_RXI5=0x222,IPR_SCI5_TXI5=0x222,IPR_SCI5_TEI5=0x222,\r
-IPR_SCI6_ERI6=0x226,IPR_SCI6_RXI6=0x226,IPR_SCI6_TXI6=0x226,IPR_SCI6_TEI6=0x226,\r
-IPR_SCI8_ERI8=0x230,IPR_SCI8_RXI8=0x230,IPR_SCI8_TXI8=0x230,IPR_SCI8_TEI8=0x230,\r
-IPR_SCI9_ERI9=0x234,IPR_SCI9_RXI9=0x234,IPR_SCI9_TXI9=0x234,IPR_SCI9_TEI9=0x234,\r
-IPR_SCI12_ERI12=0x238,IPR_SCI12_RXI12=0x238,IPR_SCI12_TXI12=0x238,IPR_SCI12_TEI12=0x238,IPR_SCI12_SCIX0=0x242,IPR_SCI12_SCIX1=0x243,IPR_SCI12_SCIX2=0x244,IPR_SCI12_SCIX3=0x245,\r
-IPR_RIIC0_EEI0=0x246,IPR_RIIC0_RXI0=0x247,IPR_RIIC0_TXI0=0x248,IPR_RIIC0_TEI0=0x249,\r
-IPR_MTU0_TGI=0x118,\r
-IPR_MTU1_TGI=0x123,\r
-IPR_MTU2_TGI=0x127,\r
-IPR_MTU5_=0x139,\r
-IPR_MTU5_TGI=0x139,\r
-IPR_TMR0_=0x174,\r
-IPR_TMR1_=0x177,\r
-IPR_TMR2_=0x180,\r
-IPR_TMR3_=0x183,\r
-IPR_SCI0_=0x214,\r
-IPR_SCI1_=0x218,\r
-IPR_SCI5_=0x222,\r
-IPR_SCI6_=0x226,\r
-IPR_SCI8_=0x230,\r
-IPR_SCI9_=0x234\r
-};\r
-\r
-#define        IEN_BSC_BUSERR          IEN0\r
-#define        IEN_FCUIF_FCUERR        IEN5\r
-#define        IEN_FCUIF_FRDYI         IEN7\r
-#define        IEN_ICU_SWINT           IEN3\r
-#define        IEN_CMT0_CMI0           IEN4\r
-#define        IEN_CMT1_CMI1           IEN5\r
-#define        IEN_CMT2_CMI2           IEN6\r
-#define        IEN_CMT3_CMI3           IEN7\r
-#define        IEN_CAC_FERRF           IEN0\r
-#define        IEN_CAC_MENDF           IEN1\r
-#define        IEN_CAC_OVFF            IEN2\r
-#define        IEN_RSPI0_SPEI2         IEN4\r
-#define        IEN_RSPI0_SPRI0         IEN5\r
-#define        IEN_RSPI0_SPTI0         IEN6\r
-#define        IEN_RSPI0_SPII0         IEN7\r
-#define        IEN_DOC_DOPCF           IEN1\r
-#define        IEN_CMPB0_COMPB0        IEN2\r
-#define        IEN_CMPB1_COMPB1        IEN3\r
-#define        IEN_RTC_COUNTUP         IEN7\r
-#define        IEN_ICU_IRQ0            IEN0\r
-#define        IEN_ICU_IRQ1            IEN1\r
-#define        IEN_ICU_IRQ2            IEN2\r
-#define        IEN_ICU_IRQ3            IEN3\r
-#define        IEN_ICU_IRQ4            IEN4\r
-#define        IEN_ICU_IRQ5            IEN5\r
-#define        IEN_ICU_IRQ6            IEN6\r
-#define        IEN_ICU_IRQ7            IEN7\r
-#define        IEN_LVDCMPA_LVD1COMPA1  IEN0\r
-#define        IEN_LVDCMPA_LVD1COMPA2  IEN1\r
-#define        IEN_RTC_ALM                     IEN4\r
-#define        IEN_RTC_PRD                     IEN5\r
-#define        IEN_S12AD_S12ADI        IEN6\r
-#define        IEN_S12AD_GBADI         IEN7\r
-#define        IEN_ELC_ELSR18I         IEN2\r
-#define        IEN_ELC_ELSR19I         IEN3\r
-#define        IEN_MTU0_TGIA0          IEN2\r
-#define        IEN_MTU0_TGIB0          IEN3\r
-#define        IEN_MTU0_TGIC0          IEN4\r
-#define        IEN_MTU0_TGID0          IEN5\r
-#define        IEN_MTU0_TGIV0          IEN6\r
-#define        IEN_MTU0_TGIE0          IEN7\r
-#define        IEN_MTU0_TGIF0          IEN0\r
-#define        IEN_MTU1_TGIA1          IEN1\r
-#define        IEN_MTU1_TGIB1          IEN2\r
-#define        IEN_MTU1_TGIV1          IEN3\r
-#define        IEN_MTU1_TGIU1          IEN4\r
-#define        IEN_MTU2_TGIA2          IEN1\r
-#define        IEN_MTU2_TGIB2          IEN2\r
-#define        IEN_MTU2_TGIV2          IEN3\r
-#define        IEN_MTU2_TGIU2          IEN4\r
-#define        IEN_MTU3_TGIA3          IEN1\r
-#define        IEN_MTU3_TGIB3          IEN2\r
-#define        IEN_MTU3_TGIC3          IEN3\r
-#define        IEN_MTU3_TGID3          IEN4\r
-#define        IEN_MTU3_TGIV3          IEN5\r
-#define        IEN_MTU4_TGIA4          IEN6\r
-#define        IEN_MTU4_TGIB4          IEN7\r
-#define        IEN_MTU4_TGIC4          IEN0\r
-#define        IEN_MTU4_TGID4          IEN1\r
-#define        IEN_MTU4_TGIV4          IEN2\r
-#define        IEN_MTU5_TGIU5          IEN3\r
-#define        IEN_MTU5_TGIV5          IEN4\r
-#define        IEN_MTU5_TGIW5          IEN5\r
-#define        IEN_POE_OEI1            IEN2\r
-#define        IEN_POE_OEI2            IEN3\r
-#define        IEN_TMR0_CMIA0          IEN6\r
-#define        IEN_TMR0_CMIB0          IEN7\r
-#define        IEN_TMR0_OVI0           IEN0\r
-#define        IEN_TMR1_CMIA1          IEN1\r
-#define        IEN_TMR1_CMIB1          IEN2\r
-#define        IEN_TMR1_OVI1           IEN3\r
-#define        IEN_TMR2_CMIA2          IEN4\r
-#define        IEN_TMR2_CMIB2          IEN5\r
-#define        IEN_TMR2_OVI2           IEN6\r
-#define        IEN_TMR3_CMIA3          IEN7\r
-#define        IEN_TMR3_CMIB3          IEN0\r
-#define        IEN_TMR3_OVI3           IEN1\r
-#define        IEN_DMAC_DMAC0I         IEN6\r
-#define        IEN_DMAC_DMAC1I         IEN7\r
-#define        IEN_DMAC_DMAC2I         IEN0\r
-#define        IEN_DMAC_DMAC3I         IEN1\r
-#define        IEN_SCI0_ERI0           IEN6\r
-#define        IEN_SCI0_RXI0           IEN7\r
-#define        IEN_SCI0_TXI0           IEN0\r
-#define        IEN_SCI0_TEI0           IEN1\r
-#define        IEN_SCI1_ERI1           IEN2\r
-#define        IEN_SCI1_RXI1           IEN3\r
-#define        IEN_SCI1_TXI1           IEN4\r
-#define        IEN_SCI1_TEI1           IEN5\r
-#define        IEN_SCI5_ERI5           IEN6\r
-#define        IEN_SCI5_RXI5           IEN7\r
-#define        IEN_SCI5_TXI5           IEN0\r
-#define        IEN_SCI5_TEI5           IEN1\r
-#define        IEN_SCI6_ERI6           IEN2\r
-#define        IEN_SCI6_RXI6           IEN3\r
-#define        IEN_SCI6_TXI6           IEN4\r
-#define        IEN_SCI6_TEI6           IEN5\r
-#define        IEN_SCI8_ERI8           IEN6\r
-#define        IEN_SCI8_RXI8           IEN7\r
-#define        IEN_SCI8_TXI8           IEN0\r
-#define        IEN_SCI8_TEI8           IEN1\r
-#define        IEN_SCI9_ERI9           IEN2\r
-#define        IEN_SCI9_RXI9           IEN3\r
-#define        IEN_SCI9_TXI9           IEN4\r
-#define        IEN_SCI9_TEI9           IEN5\r
-#define        IEN_SCI12_ERI12         IEN6\r
-#define        IEN_SCI12_RXI12         IEN7\r
-#define        IEN_SCI12_TXI12         IEN0\r
-#define        IEN_SCI12_TEI12         IEN1\r
-#define        IEN_SCI12_SCIX0         IEN2\r
-#define        IEN_SCI12_SCIX1         IEN3\r
-#define        IEN_SCI12_SCIX2         IEN4\r
-#define        IEN_SCI12_SCIX3         IEN5\r
-#define        IEN_RIIC0_EEI0          IEN6\r
-#define        IEN_RIIC0_RXI0          IEN7\r
-#define        IEN_RIIC0_TXI0          IEN0\r
-#define        IEN_RIIC0_TEI0          IEN1\r
-\r
-#define        VECT_BSC_BUSERR         16\r
-#define        VECT_FCUIF_FCUERR       21\r
-#define        VECT_FCUIF_FRDYI        23\r
-#define        VECT_ICU_SWINT          27\r
-#define        VECT_CMT0_CMI0          28\r
-#define        VECT_CMT1_CMI1          29\r
-#define        VECT_CMT2_CMI2          30\r
-#define        VECT_CMT3_CMI3          31\r
-#define        VECT_CAC_FERRF          32\r
-#define        VECT_CAC_MENDF          33\r
-#define        VECT_CAC_OVFF           34\r
-#define        VECT_RSPI0_SPEI2        44\r
-#define        VECT_RSPI0_SPRI0        45\r
-#define        VECT_RSPI0_SPTI0        46\r
-#define        VECT_RSPI0_SPII0        47\r
-#define        VECT_DOC_DOPCF          57\r
-#define        VECT_CMPB0_COMPB0       58\r
-#define        VECT_CMPB1_COMPB1       59\r
-#define        VECT_RTC_COUNTUP        63\r
-#define        VECT_ICU_IRQ0           64\r
-#define        VECT_ICU_IRQ1           65\r
-#define        VECT_ICU_IRQ2           66\r
-#define        VECT_ICU_IRQ3           67\r
-#define        VECT_ICU_IRQ4           68\r
-#define        VECT_ICU_IRQ5           69\r
-#define        VECT_ICU_IRQ6           70\r
-#define        VECT_ICU_IRQ7           71\r
-#define        VECT_LVDCMPA_LVD1COMPA1 88\r
-#define        VECT_LVDCMPA_LVD1COMPA2 89\r
-#define        VECT_RTC_ALM            92\r
-#define        VECT_RTC_PRD            93\r
-#define        VECT_S12AD_S12ADI       102\r
-#define        VECT_S12AD_GBADI        103\r
-#define        VECT_ELC_ELSR18I        106\r
-#define        VECT_ELC_ELSR19I        107\r
-#define        VECT_MTU0_TGIA0         114\r
-#define        VECT_MTU0_TGIB0         115\r
-#define        VECT_MTU0_TGIC0         116\r
-#define        VECT_MTU0_TGID0         117\r
-#define        VECT_MTU0_TGIV0         118\r
-#define        VECT_MTU0_TGIE0         119\r
-#define        VECT_MTU0_TGIF0         120\r
-#define        VECT_MTU1_TGIA1         121\r
-#define        VECT_MTU1_TGIB1         122\r
-#define        VECT_MTU1_TGIV1         123\r
-#define        VECT_MTU1_TGIU1         124\r
-#define        VECT_MTU2_TGIA2         125\r
-#define        VECT_MTU2_TGIB2         126\r
-#define        VECT_MTU2_TGIV2         127\r
-#define        VECT_MTU2_TGIU2         128\r
-#define        VECT_MTU3_TGIA3         129\r
-#define        VECT_MTU3_TGIB3         130\r
-#define        VECT_MTU3_TGIC3         131\r
-#define        VECT_MTU3_TGID3         132\r
-#define        VECT_MTU3_TGIV3         133\r
-#define        VECT_MTU4_TGIA4         134\r
-#define        VECT_MTU4_TGIB4         135\r
-#define        VECT_MTU4_TGIC4         136\r
-#define        VECT_MTU4_TGID4         137\r
-#define        VECT_MTU4_TGIV4         138\r
-#define        VECT_MTU5_TGIU5         139\r
-#define        VECT_MTU5_TGIV5         140\r
-#define        VECT_MTU5_TGIW5         141\r
-#define        VECT_POE_OEI1           170\r
-#define        VECT_POE_OEI2           171\r
-#define        VECT_TMR0_CMIA0         174\r
-#define        VECT_TMR0_CMIB0         175\r
-#define        VECT_TMR0_OVI0          176\r
-#define        VECT_TMR1_CMIA1         177\r
-#define        VECT_TMR1_CMIB1         178\r
-#define        VECT_TMR1_OVI1          179\r
-#define        VECT_TMR2_CMIA2         180\r
-#define        VECT_TMR2_CMIB2         181\r
-#define        VECT_TMR2_OVI2          182\r
-#define        VECT_TMR3_CMIA3         183\r
-#define        VECT_TMR3_CMIB3         184\r
-#define        VECT_TMR3_OVI3          185\r
-#define        VECT_DMAC_DMAC0I        198\r
-#define        VECT_DMAC_DMAC1I        199\r
-#define        VECT_DMAC_DMAC2I        200\r
-#define        VECT_DMAC_DMAC3I        201\r
-#define        VECT_SCI0_ERI0          214\r
-#define        VECT_SCI0_RXI0          215\r
-#define        VECT_SCI0_TXI0          216\r
-#define        VECT_SCI0_TEI0          217\r
-#define        VECT_SCI1_ERI1          218\r
-#define        VECT_SCI1_RXI1          219\r
-#define        VECT_SCI1_TXI1          220\r
-#define        VECT_SCI1_TEI1          221\r
-#define        VECT_SCI5_ERI5          222\r
-#define        VECT_SCI5_RXI5          223\r
-#define        VECT_SCI5_TXI5          224\r
-#define        VECT_SCI5_TEI5          225\r
-#define        VECT_SCI6_ERI6          226\r
-#define        VECT_SCI6_RXI6          227\r
-#define        VECT_SCI6_TXI6          228\r
-#define        VECT_SCI6_TEI6          229\r
-#define        VECT_SCI8_ERI8          230\r
-#define        VECT_SCI8_RXI8          231\r
-#define        VECT_SCI8_TXI8          232\r
-#define        VECT_SCI8_TEI8          233\r
-#define        VECT_SCI9_ERI9          234\r
-#define        VECT_SCI9_RXI9          235\r
-#define        VECT_SCI9_TXI9          236\r
-#define        VECT_SCI9_TEI9          237\r
-#define        VECT_SCI12_ERI12        238\r
-#define        VECT_SCI12_RXI12        239\r
-#define        VECT_SCI12_TXI12        240\r
-#define        VECT_SCI12_TEI12        241\r
-#define        VECT_SCI12_SCIX0        242\r
-#define        VECT_SCI12_SCIX1        243\r
-#define        VECT_SCI12_SCIX2        244\r
-#define        VECT_SCI12_SCIX3        245\r
-#define        VECT_RIIC0_EEI0         246\r
-#define        VECT_RIIC0_RXI0         247\r
-#define        VECT_RIIC0_TXI0         248\r
-#define        VECT_RIIC0_TEI0         249\r
-\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_DA         SYSTEM.MSTPCRA.BIT.MSTPA19\r
-#define        MSTP_S12AD      SYSTEM.MSTPCRA.BIT.MSTPA17\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_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_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_SCI0       SYSTEM.MSTPCRB.BIT.MSTPB31\r
-#define        MSTP_SCI1       SYSTEM.MSTPCRB.BIT.MSTPB30\r
-#define        MSTP_SCI5       SYSTEM.MSTPCRB.BIT.MSTPB26\r
-#define        MSTP_SCI6       SYSTEM.MSTPCRB.BIT.MSTPB25\r
-#define        MSTP_CRC        SYSTEM.MSTPCRB.BIT.MSTPB23\r
-#define        MSTP_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPB21\r
-#define        MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPB17\r
-#define        MSTP_CMPB       SYSTEM.MSTPCRB.BIT.MSTPB10\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_SCI8       SYSTEM.MSTPCRC.BIT.MSTPC27\r
-#define        MSTP_SCI9       SYSTEM.MSTPCRC.BIT.MSTPC26\r
-#define        MSTP_RAM0       SYSTEM.MSTPCRC.BIT.MSTPC0\r
-\r
-#define        __IR( x )               ICU.IR[ IR ## x ].BIT.IR\r
-#define         _IR( x )               __IR( x )\r
-#define          IR( x , y )   _IR( _ ## x ## _ ## y )\r
-#define        __DTCE( x )             ICU.DTCER[ DTCE ## x ].BIT.DTCE\r
-#define         _DTCE( x )             __DTCE( x )\r
-#define          DTCE( x , y ) _DTCE( _ ## x ## _ ## y )\r
-#define        __IEN( x )              ICU.IER[ IER ## x ].BIT.IEN ## x\r
-#define         _IEN( x )              __IEN( x )\r
-#define          IEN( x , y )  _IEN( _ ## x ## _ ## y )\r
-#define        __IPR( x )              ICU.IPR[ IPR ## x ].BIT.IPR\r
-#define         _IPR( x )              __IPR( x )\r
-#define          IPR( x , y )  _IPR( _ ## x ## _ ## y )\r
-#define        __VECT( x )             VECT ## x\r
-#define         _VECT( x )             __VECT( x )\r
-#define          VECT( x , y ) _VECT( _ ## x ## _ ## y )\r
-#define        __MSTP( x )             MSTP ## x\r
-#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        CMPB    (*(volatile struct st_cmpb     __evenaccess *)0x8C580)\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        CRC             (*(volatile struct st_crc      __evenaccess *)0x88280)\r
-#define        DA              (*(volatile struct st_da       __evenaccess *)0x880C0)\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        DOC             (*(volatile struct st_doc      __evenaccess *)0x8B080)\r
-#define        DTC             (*(volatile struct st_dtc      __evenaccess *)0x82400)\r
-#define        ELC             (*(volatile struct st_elc      __evenaccess *)0x8B100)\r
-#define        EXSYSTEM                (*(volatile struct st_exsystem __evenaccess *)0xFF7FFFF8)\r
-#define        FLASH   (*(volatile struct st_flash    __evenaccess *)0x8C296)\r
-#define        ICU             (*(volatile struct st_icu      __evenaccess *)0x87000)\r
-#define        IWDT    (*(volatile struct st_iwdt     __evenaccess *)0x88030)\r
-#define        MPC             (*(volatile struct st_mpc      __evenaccess *)0x8C11F)\r
-#define        MTU             (*(volatile struct st_mtu      __evenaccess *)0x8860A)\r
-#define        MTU0    (*(volatile struct st_mtu0     __evenaccess *)0x88700)\r
-#define        MTU1    (*(volatile struct st_mtu1     __evenaccess *)0x88780)\r
-#define        MTU2    (*(volatile struct st_mtu2     __evenaccess *)0x88800)\r
-#define        MTU3    (*(volatile struct st_mtu3     __evenaccess *)0x88600)\r
-#define        MTU4    (*(volatile struct st_mtu4     __evenaccess *)0x88600)\r
-#define        MTU5    (*(volatile struct st_mtu5     __evenaccess *)0x88880)\r
-#define        POE             (*(volatile struct st_poe      __evenaccess *)0x88900)\r
-#define        PORT    (*(volatile struct st_port     __evenaccess *)0x8C100)\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        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        PORTH   (*(volatile struct st_porth    __evenaccess *)0x8C011)\r
-#define        PORTJ   (*(volatile struct st_portj    __evenaccess *)0x8C012)\r
-#define        RIIC0   (*(volatile struct st_riic     __evenaccess *)0x88300)\r
-#define        RSPI0   (*(volatile struct st_rspi     __evenaccess *)0x88380)\r
-#define        RTC             (*(volatile struct st_rtc      __evenaccess *)0x8C400)\r
-#define        S12AD   (*(volatile struct st_s12ad    __evenaccess *)0x89000)\r
-#define        SCI0    (*(volatile struct st_sci0     __evenaccess *)0x8A000)\r
-#define        SCI1    (*(volatile struct st_sci1     __evenaccess *)0x8A020)\r
-#define        SCI5    (*(volatile struct st_sci1     __evenaccess *)0x8A0A0)\r
-#define        SCI6    (*(volatile struct st_sci1     __evenaccess *)0x8A0C0)\r
-#define        SCI8    (*(volatile struct st_sci1     __evenaccess *)0x8A100)\r
-#define        SCI9    (*(volatile struct st_sci1     __evenaccess *)0x8A120)\r
-#define        SCI12   (*(volatile struct st_sci12    __evenaccess *)0x8B300)\r
-#define        SMCI0   (*(volatile struct st_smci     __evenaccess *)0x8A000)\r
-#define        SMCI1   (*(volatile struct st_smci     __evenaccess *)0x8A020)\r
-#define        SMCI5   (*(volatile struct st_smci     __evenaccess *)0x8A0A0)\r
-#define        SMCI6   (*(volatile struct st_smci     __evenaccess *)0x8A0C0)\r
-#define        SMCI8   (*(volatile struct st_smci     __evenaccess *)0x8A100)\r
-#define        SMCI9   (*(volatile struct st_smci     __evenaccess *)0x8A120)\r
-#define        SMCI12  (*(volatile struct st_smci     __evenaccess *)0x8B300)\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        WDT             (*(volatile struct st_wdt      __evenaccess *)0x88020)\r
-#pragma bit_order\r
-#pragma packoption\r
-#endif
\ No newline at end of file
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/iodefine.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/iodefine.h
deleted file mode 100644 (file)
index 3b8facc..0000000
+++ /dev/null
@@ -1,12074 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  FILE        :iodefine.h                                            */\r
-/*  DATE        :Fri, Sep 02, 2011                                     */\r
-/*  DESCRIPTION :Definition of I/O Register                            */\r
-/*  CPU TYPE    :RX63N                                                 */\r
-/*                                                                     */\r
-/*  This file is generated by Renesas Project Generator (Ver.4.52).    */\r
-/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-/************************************************************************\r
-*\r
-* Device     : RX/RX600/RX63N\r
-*\r
-* File Name  : ioedfine.h\r
-*\r
-* Abstract   : Definition of I/O Register.\r
-*\r
-* History    : 0.50  (2011-03-28)  [Hardware Manual Revision : 0.50]\r
-*            : 0.02  (2010-11-01)  [Hardware Manual Revision : 0.01]\r
-*\r
-* NOTE       : THIS IS A TYPICAL EXAMPLE.\r
-*\r
-* Copyright (C) 2010(2011) Renesas Electronics Corporation\r
-* and Renesas Solutions Corp.\r
-*\r
-************************************************************************/\r
-/********************************************************************************/\r
-/*                                                                              */\r
-/*  DESCRIPTION : Definition of ICU Register                                    */\r
-/*  CPU TYPE    : RX63N                                                         */\r
-/*                                                                              */\r
-/*  Usage : IR,DTCER,IER,IPR of ICU Register                                    */\r
-/*     The following IR, DTCE, IEN, IPR macro functions simplify usage.         */\r
-/*     The bit access operation is "Bit_Name(interrupt source,name)".           */\r
-/*     A part of the name can be omitted.                                       */\r
-/*     for example :                                                            */\r
-/*       IR(TPU0,TGI0A) = 0;     expands to :                                   */\r
-/*         ICU.IR[126].BIT.IR = 0;                                              */\r
-/*                                                                              */\r
-/*       DTCE(ICU,IRQ0) = 1;     expands to :                                   */\r
-/*         ICU.DTCER[64].BIT.DTCE = 1;                                          */\r
-/*                                                                              */\r
-/*       IEN(CMT0,CMI0) = 1;     expands to :                                   */\r
-/*         ICU.IER[0x03].BIT.IEN4 = 1;                                          */\r
-/*                                                                              */\r
-/*       IPR(TPU0,TGI0A) = 2;    expands to :                                   */\r
-/*       IPR(TPU0,TGI  ) = 2;    // TGI0A,TGI0B,TGI0C,TGI0D share IPR level.    */\r
-/*         ICU.IPR[126].BIT.IPR = 2;                                            */\r
-/*                                                                              */\r
-/*       IPR(SCI0,RXI0) = 3;     expands to :                                   */\r
-/*       IPR(SCI0,    ) = 3;     // SCI0 uses single IPR for all sources.       */\r
-/*         ICU.IPR[214].BIT.IPR = 3;                                            */\r
-/*                                                                              */\r
-/*  Usage : #pragma interrupt Function_Identifier(vect=**)                      */\r
-/*     The number of vector is "(interrupt source, name)".                      */\r
-/*     for example :                                                            */\r
-/*       #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0))          expands to :  */\r
-/*         #pragma interrupt INT_IRQ0(vect=64)                                  */\r
-/*       #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0))    expands to :  */\r
-/*         #pragma interrupt INT_CMT0_CMI0(vect=28)                             */\r
-/*       #pragma interrupt INT_MTU0_TGIA0(vect=VECT(MTU0,TGIA0))  expands to :  */\r
-/*         #pragma interrupt INT_MTU0_TGIA0(vect=142)                           */\r
-/*       #pragma interrupt INT_TPU0_TGI0A(vect=VECT(TPU0,TGI0A))  expands to :  */\r
-/*         #pragma interrupt INT_TPU0_TGI0A(vect=126)                           */\r
-/*                                                                              */\r
-/*  Usage : MSTPCRA,MSTPCRB,MSTPCRC of SYSTEM Register                          */\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,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,MTU5  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
-/*         SYSTEM.MSTPCRA.BIT.MSTPA14 = 0;                                      */\r
-/*                                                                              */\r
-/*                                                                              */\r
-/********************************************************************************/\r
-#ifndef __RX63NIODEFINE_HEADER__\r
-#define __RX63NIODEFINE_HEADER__\r
-#pragma bit_order left\r
-#pragma unpack\r
-struct st_ad {\r
-       unsigned short ADDRA;\r
-       unsigned short ADDRB;\r
-       unsigned short ADDRC;\r
-       unsigned short ADDRD;\r
-       unsigned short ADDRE;\r
-       unsigned short ADDRF;\r
-       unsigned short ADDRG;\r
-       unsigned short ADDRH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ADIE:1;\r
-                       unsigned char ADST:1;\r
-                       unsigned char :2;\r
-                       unsigned char CH:3;\r
-               } BIT;\r
-       } ADCSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TRGS:3;\r
-                       unsigned char :1;\r
-                       unsigned char CKS:2;\r
-                       unsigned char MODE:2;\r
-               } BIT;\r
-       } ADCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSEL:1;\r
-                       unsigned char EXOEN:1;\r
-                       unsigned char EXSEL:2;\r
-               } BIT;\r
-       } ADCR2;\r
-       unsigned char  ADSSTR;\r
-       char           wk0[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char DIAG:2;\r
-               } BIT;\r
-       } ADDIAGR;\r
-};\r
-\r
-struct st_bsc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char STSCLR:1;\r
-               } BIT;\r
-       } BERCLR;\r
-       char           wk0[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TOEN:1;\r
-                       unsigned char IGAEN:1;\r
-               } BIT;\r
-       } BEREN;\r
-       char           wk1[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char MST:3;\r
-                       unsigned char :2;\r
-                       unsigned char TO:1;\r
-                       unsigned char IA:1;\r
-               } BIT;\r
-       } BERSR1;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADDR:13;\r
-               } BIT;\r
-       } BERSR2;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short BPEB:2;\r
-                       unsigned short BPFB:2;\r
-                       unsigned short BPHB:2;\r
-                       unsigned short BPGB:2;\r
-                       unsigned short BPIB:2;\r
-                       unsigned short BPRO:2;\r
-                       unsigned short BPRA:2;\r
-               } BIT;\r
-       } BUSPRI;\r
-       char           wk4[7408];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS0MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS0WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS0WCR2;\r
-       char           wk5[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS1MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS1WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS1WCR2;\r
-       char           wk6[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS2MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS2WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS2WCR2;\r
-       char           wk7[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS3MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS3WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS3WCR2;\r
-       char           wk8[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS4MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS4WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS4WCR2;\r
-       char           wk9[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS5MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS5WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS5WCR2;\r
-       char           wk10[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS6MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS6WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS6WCR2;\r
-       char           wk11[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRMOD:1;\r
-                       unsigned short :5;\r
-                       unsigned short PWENB:1;\r
-                       unsigned short PRENB:1;\r
-                       unsigned short :4;\r
-                       unsigned short EWENB:1;\r
-                       unsigned short :2;\r
-                       unsigned short WRMOD:1;\r
-               } BIT;\r
-       } CS7MOD;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long CSRWAIT:5;\r
-                       unsigned long :3;\r
-                       unsigned long CSWWAIT:5;\r
-                       unsigned long :5;\r
-                       unsigned long CSPRWAIT:3;\r
-                       unsigned long :5;\r
-                       unsigned long CSPWWAIT:3;\r
-               } BIT;\r
-       } CS7WCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :1;\r
-                       unsigned long CSON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WDON:3;\r
-                       unsigned long :1;\r
-                       unsigned long WRON:3;\r
-                       unsigned long :1;\r
-                       unsigned long RDON:3;\r
-                       unsigned long :2;\r
-                       unsigned long AWAIT:2;\r
-                       unsigned long :1;\r
-                       unsigned long WDOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSWOFF:3;\r
-                       unsigned long :1;\r
-                       unsigned long CSROFF:3;\r
-               } BIT;\r
-       } CS7WCR2;\r
-       char           wk12[1926];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS0CR;\r
-       char           wk13[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS0REC;\r
-       char           wk14[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS1CR;\r
-       char           wk15[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS1REC;\r
-       char           wk16[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS2CR;\r
-       char           wk17[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS2REC;\r
-       char           wk18[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS3CR;\r
-       char           wk19[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS3REC;\r
-       char           wk20[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS4CR;\r
-       char           wk21[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS4REC;\r
-       char           wk22[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS5CR;\r
-       char           wk23[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS5REC;\r
-       char           wk24[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS6CR;\r
-       char           wk25[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS6REC;\r
-       char           wk26[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short MPXEN:1;\r
-                       unsigned short :3;\r
-                       unsigned short EMODE:1;\r
-                       unsigned short :2;\r
-                       unsigned short BSIZE:2;\r
-                       unsigned short :3;\r
-                       unsigned short EXENB:1;\r
-               } BIT;\r
-       } CS7CR;\r
-       char           wk27[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short WRCV:4;\r
-                       unsigned short :4;\r
-                       unsigned short RRCV:4;\r
-               } BIT;\r
-       } CS7REC;\r
-       char           wk28[4];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short RCVENM7:1;\r
-                       unsigned short RCVENM6:1;\r
-                       unsigned short RCVENM5:1;\r
-                       unsigned short RCVENM4:1;\r
-                       unsigned short RCVENM3:1;\r
-                       unsigned short RCVENM2:1;\r
-                       unsigned short RCVENM1:1;\r
-                       unsigned short RCVENM0:1;\r
-                       unsigned short RCVEN7:1;\r
-                       unsigned short RCVEN6:1;\r
-                       unsigned short RCVEN5:1;\r
-                       unsigned short RCVEN4:1;\r
-                       unsigned short RCVEN3:1;\r
-                       unsigned short RCVEN2:1;\r
-                       unsigned short RCVEN1:1;\r
-                       unsigned short RCVEN0:1;\r
-               } BIT;\r
-       } CSRECEN;\r
-       char           wk29[894];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char BSIZE:2;\r
-                       unsigned char :3;\r
-                       unsigned char EXENB:1;\r
-               } BIT;\r
-       } SDCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char EMODE:1;\r
-               } BIT;\r
-       } SDCMOD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char BE:1;\r
-               } BIT;\r
-       } SDAMOD;\r
-       char           wk30[13];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SFEN:1;\r
-               } BIT;\r
-       } SDSELF;\r
-       char           wk31[3];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short REFW:4;\r
-                       unsigned short RFC:12;\r
-               } BIT;\r
-       } SDRFCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char RFEN:1;\r
-               } BIT;\r
-       } SDRFEN;\r
-       char           wk32[9];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char INIRQ:1;\r
-               } BIT;\r
-       } SDICR;\r
-       char           wk33[3];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short PRC:3;\r
-                       unsigned short ARFC:4;\r
-                       unsigned short ARFI:4;\r
-               } BIT;\r
-       } SDIR;\r
-       char           wk34[26];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char MXC:2;\r
-               } BIT;\r
-       } SDADR;\r
-       char           wk35[3];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :13;\r
-                       unsigned long RAS:3;\r
-                       unsigned long :2;\r
-                       unsigned long RCD:2;\r
-                       unsigned long RP:3;\r
-                       unsigned long WR:1;\r
-                       unsigned long :5;\r
-                       unsigned long CL:3;\r
-               } BIT;\r
-       } SDTR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :1;\r
-                       unsigned short MR:15;\r
-               } BIT;\r
-       } SDMOD;\r
-       char           wk36[6];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char SRFST:1;\r
-                       unsigned char INIST:1;\r
-                       unsigned char :2;\r
-                       unsigned char MRSST:1;\r
-               } BIT;\r
-       } SDSR;\r
-};\r
-\r
-struct st_can {\r
-       struct {\r
-               union {\r
-                       unsigned long LONG;\r
-                       struct {\r
-                               unsigned short H;\r
-                               unsigned short L;\r
-                       } WORD;\r
-                       struct {\r
-                               unsigned char HH;\r
-                               unsigned char HL;\r
-                               unsigned char LH;\r
-                               unsigned char LL;\r
-                       } BYTE;\r
-                       struct {\r
-                               unsigned long IDE:1;\r
-                               unsigned long RTR:1;\r
-                               unsigned long :1;\r
-                               unsigned long SID:11;\r
-                               unsigned long EID:18;\r
-                       } BIT;\r
-               } ID;\r
-               unsigned short DLC;\r
-               unsigned char  DATA[8];\r
-               unsigned short TS;\r
-       } MB[32];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-                       unsigned short L;\r
-               } WORD;\r
-               struct {\r
-                       unsigned char HH;\r
-                       unsigned char HL;\r
-                       unsigned char LH;\r
-                       unsigned char LL;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned long :3;\r
-                       unsigned long SID:11;\r
-                       unsigned long EID:18;\r
-               } BIT;\r
-       } MKR[8];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-                       unsigned short L;\r
-               } WORD;\r
-               struct {\r
-                       unsigned char HH;\r
-                       unsigned char HL;\r
-                       unsigned char LH;\r
-                       unsigned char LL;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned long IDE:1;\r
-                       unsigned long RTR:1;\r
-                       unsigned long :1;\r
-                       unsigned long SID:11;\r
-                       unsigned long EID:18;\r
-               } BIT;\r
-       } FIDCR0;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-                       unsigned short L;\r
-               } WORD;\r
-               struct {\r
-                       unsigned char HH;\r
-                       unsigned char HL;\r
-                       unsigned char LH;\r
-                       unsigned char LL;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned long IDE:1;\r
-                       unsigned long RTR:1;\r
-                       unsigned long :1;\r
-                       unsigned long SID:11;\r
-                       unsigned long EID:18;\r
-               } BIT;\r
-       } FIDCR1;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-                       unsigned short L;\r
-               } WORD;\r
-               struct {\r
-                       unsigned char HH;\r
-                       unsigned char HL;\r
-                       unsigned char LH;\r
-                       unsigned char LL;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char MB31:1;\r
-                       unsigned char MB30:1;\r
-                       unsigned char MB29:1;\r
-                       unsigned char MB28:1;\r
-                       unsigned char MB27:1;\r
-                       unsigned char MB26:1;\r
-                       unsigned char MB25:1;\r
-                       unsigned char MB24:1;\r
-                       unsigned char MB23:1;\r
-                       unsigned char MB22:1;\r
-                       unsigned char MB21:1;\r
-                       unsigned char MB20:1;\r
-                       unsigned char MB19:1;\r
-                       unsigned char MB18:1;\r
-                       unsigned char MB17:1;\r
-                       unsigned char MB16:1;\r
-                       unsigned char MB15:1;\r
-                       unsigned char MB14:1;\r
-                       unsigned char MB13:1;\r
-                       unsigned char MB12:1;\r
-                       unsigned char MB11:1;\r
-                       unsigned char MB10:1;\r
-                       unsigned char MB9:1;\r
-                       unsigned char MB8:1;\r
-                       unsigned char MB7:1;\r
-                       unsigned char MB6:1;\r
-                       unsigned char MB5:1;\r
-                       unsigned char MB4:1;\r
-                       unsigned char MB3:1;\r
-                       unsigned char MB2:1;\r
-                       unsigned char MB1:1;\r
-                       unsigned char MB0:1;\r
-               } BIT;\r
-       } MKIVLR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-                       unsigned short L;\r
-               } WORD;\r
-               struct {\r
-                       unsigned char HH;\r
-                       unsigned char HL;\r
-                       unsigned char LH;\r
-                       unsigned char LL;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned char MB31:1;\r
-                       unsigned char MB30:1;\r
-                       unsigned char MB29:1;\r
-                       unsigned char MB28:1;\r
-                       unsigned char MB27:1;\r
-                       unsigned char MB26:1;\r
-                       unsigned char MB25:1;\r
-                       unsigned char MB24:1;\r
-                       unsigned char MB23:1;\r
-                       unsigned char MB22:1;\r
-                       unsigned char MB21:1;\r
-                       unsigned char MB20:1;\r
-                       unsigned char MB19:1;\r
-                       unsigned char MB18:1;\r
-                       unsigned char MB17:1;\r
-                       unsigned char MB16:1;\r
-                       unsigned char MB15:1;\r
-                       unsigned char MB14:1;\r
-                       unsigned char MB13:1;\r
-                       unsigned char MB12:1;\r
-                       unsigned char MB11:1;\r
-                       unsigned char MB10:1;\r
-                       unsigned char MB9:1;\r
-                       unsigned char MB8:1;\r
-                       unsigned char MB7:1;\r
-                       unsigned char MB6:1;\r
-                       unsigned char MB5:1;\r
-                       unsigned char MB4:1;\r
-                       unsigned char MB3:1;\r
-                       unsigned char MB2:1;\r
-                       unsigned char MB1:1;\r
-                       unsigned char MB0:1;\r
-               } BIT;\r
-       } MIER;\r
-       char           wk0[1008];\r
-       union {\r
-               unsigned char BYTE;\r
-               union {\r
-                       struct {\r
-                               unsigned char TRMREQ:1;\r
-                               unsigned char RECREQ:1;\r
-                               unsigned char :1;\r
-                               unsigned char ONESHOT:1;\r
-                               unsigned char :1;\r
-                               unsigned char TRMABT:1;\r
-                               unsigned char TRMACTIVE:1;\r
-                               unsigned char SENTDATA:1;\r
-                       } TX;\r
-                       struct {\r
-                               unsigned char TRMREQ:1;\r
-                               unsigned char RECREQ:1;\r
-                               unsigned char :1;\r
-                               unsigned char ONESHOT:1;\r
-                               unsigned char :1;\r
-                               unsigned char MSGLOST:1;\r
-                               unsigned char INVALDATA:1;\r
-                               unsigned char NEWDATA:1;\r
-                       } RX;\r
-               } BIT;\r
-       } MCTL[32];\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 RBOC:1;\r
-                       unsigned char BOM:2;\r
-                       unsigned char SLPM:1;\r
-                       unsigned char CANM:2;\r
-                       unsigned char TSPS:2;\r
-                       unsigned char TSRC:1;\r
-                       unsigned char TPM:1;\r
-                       unsigned char MLM:1;\r
-                       unsigned char IDFM:2;\r
-                       unsigned char MBM:1;\r
-               } BIT;\r
-       } CTLR;\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 RECST:1;\r
-                       unsigned char TRMST:1;\r
-                       unsigned char BOST:1;\r
-                       unsigned char EPST:1;\r
-                       unsigned char SLPST:1;\r
-                       unsigned char HLTST:1;\r
-                       unsigned char RSTST:1;\r
-                       unsigned char EST:1;\r
-                       unsigned char TABST:1;\r
-                       unsigned char FMLST:1;\r
-                       unsigned char NMLST:1;\r
-                       unsigned char TFST:1;\r
-                       unsigned char RFST:1;\r
-                       unsigned char SDST:1;\r
-                       unsigned char NDST:1;\r
-               } BIT;\r
-       } STR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned short H;\r
-                       unsigned short L;\r
-               } WORD;\r
-               struct {\r
-                       unsigned char HH;\r
-                       unsigned char HL;\r
-                       unsigned char LH;\r
-                       unsigned char LL;\r
-               } BYTE;\r
-               struct {\r
-                       unsigned long TSEG1:4;\r
-                       unsigned long :2;\r
-                       unsigned long BRP:10;\r
-                       unsigned long :2;\r
-                       unsigned long SJW:2;\r
-                       unsigned long :1;\r
-                       unsigned long TSEG2:3;\r
-                       unsigned long :7;\r
-                       unsigned long CCLKS:1;\r
-               } BIT;\r
-       } BCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RFEST:1;\r
-                       unsigned char RFWST:1;\r
-                       unsigned char RFFST:1;\r
-                       unsigned char RFMLF:1;\r
-                       unsigned char RFUST:3;\r
-                       unsigned char RFE:1;\r
-               } BIT;\r
-       } RFCR;\r
-       unsigned char  RFPCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TFEST:1;\r
-                       unsigned char TFFST:1;\r
-                       unsigned char :2;\r
-                       unsigned char TFUST:3;\r
-                       unsigned char TFE:1;\r
-               } BIT;\r
-       } TFCR;\r
-       unsigned char  TFPCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BLIE:1;\r
-                       unsigned char OLIE:1;\r
-                       unsigned char ORIE:1;\r
-                       unsigned char BORIE:1;\r
-                       unsigned char BOEIE:1;\r
-                       unsigned char EPIE:1;\r
-                       unsigned char EWIE:1;\r
-                       unsigned char BEIE:1;\r
-               } BIT;\r
-       } EIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BLIF:1;\r
-                       unsigned char OLIF:1;\r
-                       unsigned char ORIF:1;\r
-                       unsigned char BORIF:1;\r
-                       unsigned char BOEIF:1;\r
-                       unsigned char EPIF:1;\r
-                       unsigned char EWIF:1;\r
-                       unsigned char BEIF:1;\r
-               } BIT;\r
-       } EIFR;\r
-       unsigned char  RECR;\r
-       unsigned char  TECR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char EDPM:1;\r
-                       unsigned char ADEF:1;\r
-                       unsigned char BE0F:1;\r
-                       unsigned char BE1F:1;\r
-                       unsigned char CEF:1;\r
-                       unsigned char AEF:1;\r
-                       unsigned char FEF:1;\r
-                       unsigned char SEF:1;\r
-               } BIT;\r
-       } ECSR;\r
-       unsigned char  CSSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SEST:1;\r
-                       unsigned char :2;\r
-                       unsigned char MBNST:5;\r
-               } BIT;\r
-       } MSSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char MBSM:2;\r
-               } BIT;\r
-       } MSMR;\r
-       unsigned short TSR;\r
-       unsigned short AFSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TSTM:2;\r
-                       unsigned char TSTE:1;\r
-               } BIT;\r
-       } TCR;\r
-};\r
-\r
-struct st_cmt {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :14;\r
-                       unsigned short STR1:1;\r
-                       unsigned short STR0:1;\r
-               } BIT;\r
-       } CMSTR0;\r
-       char           wk0[14];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :14;\r
-                       unsigned short STR3:1;\r
-                       unsigned short STR2:1;\r
-               } BIT;\r
-       } CMSTR1;\r
-};\r
-\r
-struct st_cmt0 {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :9;\r
-                       unsigned short CMIE:1;\r
-                       unsigned short :4;\r
-                       unsigned short CKS:2;\r
-               } BIT;\r
-       } CMCR;\r
-       unsigned short CMCNT;\r
-       unsigned short CMCOR;\r
-};\r
-\r
-struct st_crc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DORCLR:1;\r
-                       unsigned char :4;\r
-                       unsigned char LMS:1;\r
-                       unsigned char GPS:2;\r
-               } BIT;\r
-       } CRCCR;\r
-       unsigned char  CRCDIR;\r
-       unsigned short CRCDOR;\r
-};\r
-\r
-struct st_da {\r
-       unsigned short DADR0;\r
-       unsigned short DADR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DAOE1:1;\r
-                       unsigned char DAOE0:1;\r
-                       unsigned char DAE:1;\r
-               } BIT;\r
-       } DACR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSEL:1;\r
-               } BIT;\r
-       } DADPR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DAADST:1;\r
-               } BIT;\r
-       } DAADSCR;\r
-};\r
-\r
-struct st_dmac {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DMST:1;\r
-               } BIT;\r
-       } DMAST;\r
-};\r
-\r
-struct st_dmac0 {\r
-       unsigned long  DMSAR;\r
-       unsigned long  DMDAR;\r
-       unsigned long  DMCRA;\r
-       unsigned short DMCRB;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short MD:2;\r
-                       unsigned short DTS:2;\r
-                       unsigned short :2;\r
-                       unsigned short SZ:2;\r
-                       unsigned short :6;\r
-                       unsigned short DCTG:2;\r
-               } BIT;\r
-       } DMTMD;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char DTIE:1;\r
-                       unsigned char ESIE:1;\r
-                       unsigned char RPTIE:1;\r
-                       unsigned char SARIE:1;\r
-                       unsigned char DARIE:1;\r
-               } BIT;\r
-       } DMINT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SM:2;\r
-                       unsigned short :1;\r
-                       unsigned short SARA:5;\r
-                       unsigned short DM:2;\r
-                       unsigned short :1;\r
-                       unsigned short DARA:5;\r
-               } BIT;\r
-       } DMAMD;\r
-       char           wk2[2];\r
-       unsigned long  DMOFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTE:1;\r
-               } BIT;\r
-       } DMCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CLRS:1;\r
-                       unsigned char :3;\r
-                       unsigned char SWREQ:1;\r
-               } BIT;\r
-       } DMREQ;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ACT:1;\r
-                       unsigned char :2;\r
-                       unsigned char DTIF:1;\r
-                       unsigned char :3;\r
-                       unsigned char ESIF:1;\r
-               } BIT;\r
-       } DMSTS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DISEL:1;\r
-               } BIT;\r
-       } DMCSL;\r
-};\r
-\r
-struct st_dmac1 {\r
-       unsigned long  DMSAR;\r
-       unsigned long  DMDAR;\r
-       unsigned long  DMCRA;\r
-       unsigned short DMCRB;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short MD:2;\r
-                       unsigned short DTS:2;\r
-                       unsigned short :2;\r
-                       unsigned short SZ:2;\r
-                       unsigned short :6;\r
-                       unsigned short DCTG:2;\r
-               } BIT;\r
-       } DMTMD;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char DTIE:1;\r
-                       unsigned char ESIE:1;\r
-                       unsigned char RPTIE:1;\r
-                       unsigned char SARIE:1;\r
-                       unsigned char DARIE:1;\r
-               } BIT;\r
-       } DMINT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SM:2;\r
-                       unsigned short :1;\r
-                       unsigned short SARA:5;\r
-                       unsigned short DM:2;\r
-                       unsigned short :1;\r
-                       unsigned short DARA:5;\r
-               } BIT;\r
-       } DMAMD;\r
-       char           wk2[6];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTE:1;\r
-               } BIT;\r
-       } DMCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CLRS:1;\r
-                       unsigned char :3;\r
-                       unsigned char SWREQ:1;\r
-               } BIT;\r
-       } DMREQ;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ACT:1;\r
-                       unsigned char :2;\r
-                       unsigned char DTIF:1;\r
-                       unsigned char :3;\r
-                       unsigned char ESIF:1;\r
-               } BIT;\r
-       } DMSTS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DISEL:1;\r
-               } BIT;\r
-       } DMCSL;\r
-};\r
-\r
-struct st_dtc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char RRS:1;\r
-               } BIT;\r
-       } DTCCR;\r
-       char           wk0[3];\r
-       unsigned long  DTCVBR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SHORT:1;\r
-               } BIT;\r
-       } DTCADMOD;\r
-       char           wk1[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTCST:1;\r
-               } BIT;\r
-       } DTCST;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ACT:1;\r
-                       unsigned short :7;\r
-                       unsigned short VECN:8;\r
-               } BIT;\r
-       } DTCSTS;\r
-};\r
-\r
-struct st_edmac {\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
-                       unsigned long :4;\r
-                       unsigned long CND:1;\r
-                       unsigned long DLC:1;\r
-                       unsigned long CD:1;\r
-                       unsigned long TRO:1;\r
-                       unsigned long RMAF:1;\r
-                       unsigned long :2;\r
-                       unsigned long RRF:1;\r
-                       unsigned long RTLF:1;\r
-                       unsigned long RTSF:1;\r
-                       unsigned long PRE:1;\r
-                       unsigned long CERF: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
-                       unsigned long :4;\r
-                       unsigned long CNDIP:1;\r
-                       unsigned long DLCIP:1;\r
-                       unsigned long CDIP:1;\r
-                       unsigned long TROIP:1;\r
-                       unsigned long RMAFIP:1;\r
-                       unsigned long :2;\r
-                       unsigned long RRFIP:1;\r
-                       unsigned long RTLFIP:1;\r
-                       unsigned long RTSFIP:1;\r
-                       unsigned long PREIP:1;\r
-                       unsigned long CERFIP: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
-};\r
-\r
-struct st_etherc {\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :11;\r
-                       unsigned long TPC:1;\r
-                       unsigned long ZPE:1;\r
-                       unsigned long PFR:1;\r
-                       unsigned long RXF:1;\r
-                       unsigned long TXF:1;\r
-                       unsigned long :3;\r
-                       unsigned long PRCEF:1;\r
-                       unsigned long :2;\r
-                       unsigned long MPDE:1;\r
-                       unsigned long :2;\r
-                       unsigned long RE:1;\r
-                       unsigned long TE:1;\r
-                       unsigned long :1;\r
-                       unsigned long ILB:1;\r
-                       unsigned long RTM:1;\r
-                       unsigned long DM:1;\r
-                       unsigned long PRM:1;\r
-               } BIT;\r
-       } ECMR;\r
-       char           wk0[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :20;\r
-                       unsigned long RFL:12;\r
-               } BIT;\r
-       } RFLR;\r
-       char           wk1[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :26;\r
-                       unsigned long BFR:1;\r
-                       unsigned long PSRTO:1;\r
-                       unsigned long :1;\r
-                       unsigned long LCHNG:1;\r
-                       unsigned long MPD:1;\r
-                       unsigned long ICD:1;\r
-               } BIT;\r
-       } ECSR;\r
-       char           wk2[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :26;\r
-                       unsigned long BFSIPR:1;\r
-                       unsigned long PSRTOIP:1;\r
-                       unsigned long :1;\r
-                       unsigned long LCHNGIP:1;\r
-                       unsigned long MPDIP:1;\r
-                       unsigned long ICDIP:1;\r
-               } BIT;\r
-       } ECSIPR;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :28;\r
-                       unsigned long MDI:1;\r
-                       unsigned long MDO:1;\r
-                       unsigned long MMD:1;\r
-                       unsigned long MDC:1;\r
-               } BIT;\r
-       } PIR;\r
-       char           wk4[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :31;\r
-                       unsigned long LMON:1;\r
-               } BIT;\r
-       } PSR;\r
-       char           wk5[20];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :12;\r
-                       unsigned long RMD:20;\r
-               } BIT;\r
-       } RDMLR;\r
-       char           wk6[12];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :27;\r
-                       unsigned long IPG:5;\r
-               } BIT;\r
-       } IPGR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long AP:16;\r
-               } BIT;\r
-       } APR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long MP:16;\r
-               } BIT;\r
-       } MPR;\r
-       char           wk7[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :24;\r
-                       unsigned long RPAUSE:8;\r
-               } BIT;\r
-       } RFCF;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long TPAUSE:16;\r
-               } BIT;\r
-       } TPAUSER;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :24;\r
-                       unsigned long TXP:8;\r
-               } BIT;\r
-       } TPAUSECR;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long BCF:16;\r
-               } BIT;\r
-       } BCFRR;\r
-       char           wk8[80];\r
-       unsigned long  MAHR;\r
-       char           wk9[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\r
-                       unsigned long MA:16;\r
-               } BIT;\r
-       } MALR;\r
-       char           wk10[4];\r
-       unsigned long  TROCR;\r
-       unsigned long  CDCR;\r
-       unsigned long  LCCR;\r
-       unsigned long  CNDCR;\r
-       char           wk11[4];\r
-       unsigned long  CEFCR;\r
-       unsigned long  FRECR;\r
-       unsigned long  TSFRCR;\r
-       unsigned long  TLFRCR;\r
-       unsigned long  RFCR;\r
-       unsigned long  MAFCR;\r
-};\r
-\r
-struct st_exdmac {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DMST:1;\r
-               } BIT;\r
-       } EDMAST;\r
-       char           wk0[479];\r
-       unsigned long  CLSBR0;\r
-       unsigned long  CLSBR1;\r
-       unsigned long  CLSBR2;\r
-       unsigned long  CLSBR3;\r
-       unsigned long  CLSBR4;\r
-       unsigned long  CLSBR5;\r
-       unsigned long  CLSBR6;\r
-       unsigned long  CLSBR7;\r
-};\r
-\r
-struct st_exdmac0 {\r
-       unsigned long  EDMSAR;\r
-       unsigned long  EDMDAR;\r
-       unsigned long  EDMCRA;\r
-       unsigned short EDMCRB;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short MD:2;\r
-                       unsigned short DTS:2;\r
-                       unsigned short :2;\r
-                       unsigned short SZ:2;\r
-                       unsigned short :6;\r
-                       unsigned short DCTG:2;\r
-               } BIT;\r
-       } EDMTMD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char DACKS:1;\r
-                       unsigned char DACKE:1;\r
-                       unsigned char DACKW:1;\r
-               } BIT;\r
-       } EDMOMD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char DTIE:1;\r
-                       unsigned char ESIE:1;\r
-                       unsigned char RPTIE:1;\r
-                       unsigned char SARIE:1;\r
-                       unsigned char DARIE:1;\r
-               } BIT;\r
-       } EDMINT;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :14;\r
-                       unsigned long AMS:1;\r
-                       unsigned long DIR:1;\r
-                       unsigned long SM:2;\r
-                       unsigned long :1;\r
-                       unsigned long SARA:5;\r
-                       unsigned long DM:2;\r
-                       unsigned long :1;\r
-                       unsigned long DARA:5;\r
-               } BIT;\r
-       } EDMAMD;\r
-       unsigned long  EDMOFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTE:1;\r
-               } BIT;\r
-       } EDMCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CLRS:1;\r
-                       unsigned char :3;\r
-                       unsigned char SWREQ:1;\r
-               } BIT;\r
-       } EDMREQ;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ACT:1;\r
-                       unsigned char :2;\r
-                       unsigned char DTIF:1;\r
-                       unsigned char :3;\r
-                       unsigned char ESIF:1;\r
-               } BIT;\r
-       } EDMSTS;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char DREQS:2;\r
-               } BIT;\r
-       } EDMRMD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char EREQ:1;\r
-               } BIT;\r
-       } EDMERF;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char PREQ:1;\r
-               } BIT;\r
-       } EDMPRF;\r
-};\r
-\r
-struct st_exdmac1 {\r
-       unsigned long  EDMSAR;\r
-       unsigned long  EDMDAR;\r
-       unsigned long  EDMCRA;\r
-       unsigned short EDMCRB;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short MD:2;\r
-                       unsigned short DTS:2;\r
-                       unsigned short :2;\r
-                       unsigned short SZ:2;\r
-                       unsigned short :6;\r
-                       unsigned short DCTG:2;\r
-               } BIT;\r
-       } EDMTMD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char DACKS:1;\r
-                       unsigned char DACKE:1;\r
-                       unsigned char DACKW:1;\r
-               } BIT;\r
-       } EDMOMD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char DTIE:1;\r
-                       unsigned char ESIE:1;\r
-                       unsigned char RPTIE:1;\r
-                       unsigned char SARIE:1;\r
-                       unsigned char DARIE:1;\r
-               } BIT;\r
-       } EDMINT;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :14;\r
-                       unsigned long AMS:1;\r
-                       unsigned long DIR:1;\r
-                       unsigned long SM:2;\r
-                       unsigned long :1;\r
-                       unsigned long SARA:5;\r
-                       unsigned long DM:2;\r
-                       unsigned long :1;\r
-                       unsigned long DARA:5;\r
-               } BIT;\r
-       } EDMAMD;\r
-       char           wk1[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTE:1;\r
-               } BIT;\r
-       } EDMCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char CLRS:1;\r
-                       unsigned char :3;\r
-                       unsigned char SWREQ:1;\r
-               } BIT;\r
-       } EDMREQ;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ACT:1;\r
-                       unsigned char :2;\r
-                       unsigned char DTIF:1;\r
-                       unsigned char :3;\r
-                       unsigned char ESIF:1;\r
-               } BIT;\r
-       } EDMSTS;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char DREQS:2;\r
-               } BIT;\r
-       } EDMRMD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char EREQ:1;\r
-               } BIT;\r
-       } EDMERF;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char PREQ:1;\r
-               } BIT;\r
-       } EDMPRF;\r
-};\r
-\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[7799147];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char FRDMD:1;\r
-               } BIT;\r
-       } FMODR;\r
-       char           wk1[13];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ROMAE:1;\r
-                       unsigned char :2;\r
-                       unsigned char CMDLK:1;\r
-                       unsigned char DFLAE:1;\r
-                       unsigned char :1;\r
-                       unsigned char DFLRPE:1;\r
-                       unsigned char DFLWPE:1;\r
-               } BIT;\r
-       } FASTAT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ROMAEIE:1;\r
-                       unsigned char :2;\r
-                       unsigned char CMDLKIE:1;\r
-                       unsigned char DFLAEIE:1;\r
-                       unsigned char :1;\r
-                       unsigned char DFLRPEIE:1;\r
-                       unsigned char DFLWPEIE:1;\r
-               } BIT;\r
-       } FAEINT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char FRDYIE:1;\r
-               } BIT;\r
-       } FRDYIE;\r
-       char           wk2[45];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short DBRE07:1;\r
-                       unsigned short DBRE06:1;\r
-                       unsigned short DBRE05:1;\r
-                       unsigned short DBRE04:1;\r
-                       unsigned short DBRE03:1;\r
-                       unsigned short DBRE02:1;\r
-                       unsigned short DBRE01:1;\r
-                       unsigned short DBRE00:1;\r
-               } BIT;\r
-       } DFLRE0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short DBRE15:1;\r
-                       unsigned short DBRE14:1;\r
-                       unsigned short DBRE13:1;\r
-                       unsigned short DBRE12:1;\r
-                       unsigned short DBRE11:1;\r
-                       unsigned short DBRE10:1;\r
-                       unsigned short DBRE09:1;\r
-                       unsigned short DBRE08:1;\r
-               } BIT;\r
-       } DFLRE1;\r
-       char           wk3[12];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short DBWE07:1;\r
-                       unsigned short DBW006:1;\r
-                       unsigned short DBWE05:1;\r
-                       unsigned short DBWE04:1;\r
-                       unsigned short DBWE03:1;\r
-                       unsigned short DBWE02:1;\r
-                       unsigned short DBWE01:1;\r
-                       unsigned short DBWE00:1;\r
-               } BIT;\r
-       } DFLWE0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short DBWE15:1;\r
-                       unsigned short DBWE14:1;\r
-                       unsigned short DBWE13:1;\r
-                       unsigned short DBWE12:1;\r
-                       unsigned short DBWE11:1;\r
-                       unsigned short DBWE10:1;\r
-                       unsigned short DBWE09:1;\r
-                       unsigned short DBWE08:1;\r
-               } BIT;\r
-       } DFLWE1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short :7;\r
-                       unsigned short FCRME:1;\r
-               } BIT;\r
-       } FCURAME;\r
-       char           wk4[15194];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FRDY:1;\r
-                       unsigned char ILGLERR:1;\r
-                       unsigned char ERSERR:1;\r
-                       unsigned char PRGERR:1;\r
-                       unsigned char SUSRDY:1;\r
-                       unsigned char :1;\r
-                       unsigned char ERSSPD:1;\r
-                       unsigned char PRGSPD:1;\r
-               } BIT;\r
-       } FSTATR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FCUERR:1;\r
-                       unsigned char :2;\r
-                       unsigned char FLOCKST:1;\r
-               } BIT;\r
-       } FSTATR1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FEKEY:8;\r
-                       unsigned short FENTRYD:1;\r
-                       unsigned short :3;\r
-                       unsigned short FENTRY3:1;\r
-                       unsigned short FENTRY2:1;\r
-                       unsigned short FENTRY1:1;\r
-                       unsigned short FENTRY0:1;\r
-               } BIT;\r
-       } FENTRYR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FPKEY:8;\r
-                       unsigned short :7;\r
-                       unsigned short FPROTCN:1;\r
-               } BIT;\r
-       } FPROTR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FRKEY:8;\r
-                       unsigned short :7;\r
-                       unsigned short FRESET:1;\r
-               } BIT;\r
-       } FRESETR;\r
-       char           wk5[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short CMDR:8;\r
-                       unsigned short PCMDR:8;\r
-               } BIT;\r
-       } FCMDR;\r
-       char           wk6[12];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short ESUSPMD:1;\r
-               } BIT;\r
-       } FCPSR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BCSIZE:1;\r
-                       unsigned short :4;\r
-                       unsigned short BCADR:11;\r
-               } BIT;\r
-       } DFLBCCNT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short PEERRST:8;\r
-               } BIT;\r
-       } FPESTAT;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short BCST:1;\r
-               } BIT;\r
-       } DFLBCSTAT;\r
-       char           wk7[24];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short PCKA:8;\r
-               } BIT;\r
-       } PCKAR;\r
-};\r
-\r
-struct st_icu {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IR:1;\r
-               } BIT;\r
-       } IR[254];\r
-       char           wk0[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DTCE:1;\r
-               } BIT;\r
-       } DTCER[252];\r
-       char           wk1[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IEN7:1;\r
-                       unsigned char IEN6:1;\r
-                       unsigned char IEN5:1;\r
-                       unsigned char IEN4:1;\r
-                       unsigned char IEN3:1;\r
-                       unsigned char IEN2:1;\r
-                       unsigned char IEN1:1;\r
-                       unsigned char IEN0:1;\r
-               } BIT;\r
-       } IER[32];\r
-       char           wk2[192];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SWINT:1;\r
-               } BIT;\r
-       } SWINTR;\r
-       char           wk3[15];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FIEN:1;\r
-                       unsigned short :7;\r
-                       unsigned short FVCT:8;\r
-               } BIT;\r
-       } FIR;\r
-       char           wk4[14];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char IPR:4;\r
-               } BIT;\r
-       } IPR[254];\r
-       char           wk5[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DMRS:8;\r
-               } BIT;\r
-       } DMRSR0;\r
-       char           wk6[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DMRS:8;\r
-               } BIT;\r
-       } DMRSR1;\r
-       char           wk7[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DMRS:8;\r
-               } BIT;\r
-       } DMRSR2;\r
-       char           wk8[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DMRS:8;\r
-               } BIT;\r
-       } DMRSR3;\r
-       char           wk9[243];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char IRQMD:2;\r
-               } BIT;\r
-       } IRQCR[16];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FLTEN7:1;\r
-                       unsigned char FLTEN6:1;\r
-                       unsigned char FLTEN5:1;\r
-                       unsigned char FLTEN4:1;\r
-                       unsigned char FLTEN3:1;\r
-                       unsigned char FLTEN2:1;\r
-                       unsigned char FLTEN1:1;\r
-                       unsigned char FLTEN0:1;\r
-               } BIT;\r
-       } IRQFLTE0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FLTEN15:1;\r
-                       unsigned char FLTEN14:1;\r
-                       unsigned char FLTEN13:1;\r
-                       unsigned char FLTEN12:1;\r
-                       unsigned char FLTEN11:1;\r
-                       unsigned char FLTEN10:1;\r
-                       unsigned char FLTEN9:1;\r
-                       unsigned char FLTEN8:1;\r
-               } BIT;\r
-       } IRQFLTE1;\r
-       char           wk10[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FCLKSEL7:2;\r
-                       unsigned short FCLKSEL6:2;\r
-                       unsigned short FCLKSEL5:2;\r
-                       unsigned short FCLKSEL4:2;\r
-                       unsigned short FCLKSEL3:2;\r
-                       unsigned short FCLKSEL2:2;\r
-                       unsigned short FCLKSEL1:2;\r
-                       unsigned short FCLKSEL0:2;\r
-               } BIT;\r
-       } IRQFLTC0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short FCLKSEL15:2;\r
-                       unsigned short FCLKSEL14:2;\r
-                       unsigned short FCLKSEL13:2;\r
-                       unsigned short FCLKSEL12:2;\r
-                       unsigned short FCLKSEL11:2;\r
-                       unsigned short FCLKSEL10:2;\r
-                       unsigned short FCLKSEL9:2;\r
-                       unsigned short FCLKSEL8:2;\r
-               } BIT;\r
-       } IRQFLTC1;\r
-       char           wk11[104];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char LVD2ST:1;\r
-                       unsigned char LVD1ST:1;\r
-                       unsigned char IWDTST:1;\r
-                       unsigned char WDTST:1;\r
-                       unsigned char OSTST:1;\r
-                       unsigned char NMIST:1;\r
-               } BIT;\r
-       } NMISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char LVD2EN:1;\r
-                       unsigned char LVD1EN:1;\r
-                       unsigned char IWDTEN:1;\r
-                       unsigned char WDTEN:1;\r
-                       unsigned char OSTEN:1;\r
-                       unsigned char NMIEN:1;\r
-               } BIT;\r
-       } NMIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char LVD2CLR:1;\r
-                       unsigned char LVD1CLR:1;\r
-                       unsigned char IWDTCLR:1;\r
-                       unsigned char WDTCLR:1;\r
-                       unsigned char OSTCLR:1;\r
-                       unsigned char NMICLR:1;\r
-               } BIT;\r
-       } NMICLR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char NMIMD:1;\r
-               } BIT;\r
-       } NMICR;\r
-       char           wk12[12];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char NFLTEN:1;\r
-               } BIT;\r
-       } NMIFLTE;\r
-       char           wk13[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char NFCLKSEL:2;\r
-               } BIT;\r
-       } NMIFLTC;\r
-       char           wk14[19819];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\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
-       } GRP[13];\r
-       char           wk15[12];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\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
-       } GEN[13];\r
-       char           wk16[12];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :16;\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
-       } GCR[13];\r
-       char           wk17[12];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :26;\r
-                       unsigned long CN5:1;\r
-                       unsigned long CN4:1;\r
-                       unsigned long CN3:1;\r
-                       unsigned long CN2:1;\r
-                       unsigned long CN1:1;\r
-                       unsigned long CN0:1;\r
-               } BIT;\r
-       } SEL;\r
-};\r
-\r
-struct st_ieb {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char IOL:1;\r
-                       unsigned char DEE:1;\r
-                       unsigned char :1;\r
-                       unsigned char RE:1;\r
-               } BIT;\r
-       } IECTR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char CMD:3;\r
-               } BIT;\r
-       } IECMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SS:1;\r
-                       unsigned char RN:3;\r
-                       unsigned char CTL:4;\r
-               } BIT;\r
-       } IEMCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IARL4:4;\r
-                       unsigned char IMD:2;\r
-                       unsigned char :1;\r
-                       unsigned char STE:1;\r
-               } BIT;\r
-       } IEAR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IARU8:8;\r
-               } BIT;\r
-       } IEAR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ISAL4:4;\r
-               } BIT;\r
-       } IESA1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ISAU8:8;\r
-               } BIT;\r
-       } IESA2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IBFL:8;\r
-               } BIT;\r
-       } IETBFL;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ISAL4:4;\r
-               } BIT;\r
-       } IEMA1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IMAU8:8;\r
-               } BIT;\r
-       } IEMA2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char RCTL:4;\r
-               } BIT;\r
-       } IERCTL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RBFL:8;\r
-               } BIT;\r
-       } IERBFL;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ILAL8:8;\r
-               } BIT;\r
-       } IELA1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char ILAU4:4;\r
-               } BIT;\r
-       } IELA2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CMX:1;\r
-                       unsigned char MRQ:1;\r
-                       unsigned char SRQ:1;\r
-                       unsigned char SRE:1;\r
-                       unsigned char LCK:1;\r
-                       unsigned char :1;\r
-                       unsigned char RSS:1;\r
-                       unsigned char GG:1;\r
-               } BIT;\r
-       } IEFLG;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char TXS:1;\r
-                       unsigned char TXF:1;\r
-                       unsigned char :1;\r
-                       unsigned char TXEAL:1;\r
-                       unsigned char TXETTME:1;\r
-                       unsigned char TXERO:1;\r
-                       unsigned char TXEACK:1;\r
-               } BIT;\r
-       } IETSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char TXSE:1;\r
-                       unsigned char TXFE:1;\r
-                       unsigned char :1;\r
-                       unsigned char TXEALE:1;\r
-                       unsigned char TXETTMEE:1;\r
-                       unsigned char TXEROE:1;\r
-                       unsigned char TXEACKE:1;\r
-               } BIT;\r
-       } IEIET;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RXBSY:1;\r
-                       unsigned char RXS:1;\r
-                       unsigned char RXF:1;\r
-                       unsigned char RXEDE:1;\r
-                       unsigned char RXEOVE:1;\r
-                       unsigned char RXERTME:1;\r
-                       unsigned char RXEDLE:1;\r
-                       unsigned char RXEPE:1;\r
-               } BIT;\r
-       } IERSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RXBSYE:1;\r
-                       unsigned char RXSE:1;\r
-                       unsigned char RXFE:1;\r
-                       unsigned char RXEDEE:1;\r
-                       unsigned char RXEOVEE:1;\r
-                       unsigned char RXERTMEE:1;\r
-                       unsigned char RXEDLEE:1;\r
-                       unsigned char RXEPEE:1;\r
-               } BIT;\r
-       } IEIER;\r
-       char           wk3[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FLT:1;\r
-                       unsigned char FCKS:2;\r
-                       unsigned char CKS3:1;\r
-                       unsigned char SRSTP:1;\r
-                       unsigned char CKS:3;\r
-               } BIT;\r
-       } IECKSR;\r
-       char           wk4[230];\r
-       unsigned char  IETB[33];\r
-       char           wk5[223];\r
-       unsigned char  IERB[33];\r
-};\r
-\r
-struct st_iwdt {\r
-       unsigned char  IWDTRR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short RPSS:2;\r
-                       unsigned short :2;\r
-                       unsigned short RPES:2;\r
-                       unsigned short CKS:4;\r
-                       unsigned short :2;\r
-                       unsigned short TOPS:2;\r
-               } BIT;\r
-       } IWDTCR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short REFEF:1;\r
-                       unsigned short UNDFF:1;\r
-                       unsigned short CNTVAL:14;\r
-               } BIT;\r
-       } IWDTSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RSTIRQS:1;\r
-               } BIT;\r
-       } IWDTRCR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SLCSTP:1;\r
-               } BIT;\r
-       } IWDTCSTPR;\r
-};\r
-\r
-struct st_mpc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CS7E:1;\r
-                       unsigned char CS6E:1;\r
-                       unsigned char CS5E:1;\r
-                       unsigned char CS4E:1;\r
-                       unsigned char CS3E:1;\r
-                       unsigned char CS2E:1;\r
-                       unsigned char CS1E:1;\r
-                       unsigned char CS0E:1;\r
-               } BIT;\r
-       } PFCSE;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CS3S:2;\r
-                       unsigned char CS2S:2;\r
-                       unsigned char CS1S:2;\r
-                       unsigned char :1;\r
-                       unsigned char CS0S:1;\r
-               } BIT;\r
-       } PFCSS0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CS7S:2;\r
-                       unsigned char CS6S:2;\r
-                       unsigned char CS5S:2;\r
-                       unsigned char CS4S:2;\r
-               } BIT;\r
-       } PFCSS1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char A15E:1;\r
-                       unsigned char A14E:1;\r
-                       unsigned char A13E:1;\r
-                       unsigned char A12E:1;\r
-                       unsigned char A11E:1;\r
-                       unsigned char A10E:1;\r
-                       unsigned char A9E:1;\r
-                       unsigned char A8E:1;\r
-               } BIT;\r
-       } PFAOE0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char A23E:1;\r
-                       unsigned char A22E:1;\r
-                       unsigned char A21E:1;\r
-                       unsigned char A20E:1;\r
-                       unsigned char A19E:1;\r
-                       unsigned char A18E:1;\r
-                       unsigned char A17E:1;\r
-                       unsigned char A16E:1;\r
-               } BIT;\r
-       } PFAOE1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char WR32BC32E:1;\r
-                       unsigned char WR1BC1E:1;\r
-                       unsigned char DH32E:1;\r
-                       unsigned char DHE:1;\r
-                       unsigned char :2;\r
-                       unsigned char ADRHMS:1;\r
-                       unsigned char ADRLE:1;\r
-               } BIT;\r
-       } PFBCR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SDCLKE:1;\r
-                       unsigned char DQM1E:1;\r
-                       unsigned char :1;\r
-                       unsigned char MDSDE:1;\r
-                       unsigned char :1;\r
-                       unsigned char ALEOE:1;\r
-                       unsigned char WAITS:2;\r
-               } BIT;\r
-       } PFBCR1;\r
-       char           wk1[6];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PHYMODE:1;\r
-               } BIT;\r
-       } PFENET;\r
-       char           wk2[5];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char PUPHZS:1;\r
-               } BIT;\r
-       } PFUSB0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char PUPHZS:1;\r
-               } BIT;\r
-       } PFUSB1;\r
-       char           wk3[9];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B0WI:1;\r
-                       unsigned char PFSWE:1;\r
-               } BIT;\r
-       } PWPR;\r
-       char           wk4[32];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P00PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P01PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P02PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P03PFS;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P05PFS;\r
-       char           wk6[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P07PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P10PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P11PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P12PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P13PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P14PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P15PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P16PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P17PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P20PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P21PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P22PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P23PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P24PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P25PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P26PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P27PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P30PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P31PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P32PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P33PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P34PFS;\r
-       char           wk7[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P40PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P41PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P42PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P43PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P44PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P45PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P46PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-               } BIT;\r
-       } P47PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P50PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P51PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P52PFS;\r
-       char           wk8[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P54PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P55PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P56PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P57PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P60PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P61PFS;\r
-       char           wk9[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P66PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P67PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P70PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P71PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P72PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P73PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P74PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P75PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P76PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P77PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P80PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P81PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P82PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P83PFS;\r
-       char           wk10[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P86PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P87PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P90PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P91PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P92PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } P93PFS;\r
-       char           wk11[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PA7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PB7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PC7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PD7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE2PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE3PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char :2;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE4PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE5PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE6PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ASEL:1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PE7PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PF0PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PF1PFS;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PF2PFS;\r
-       char           wk12[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char ISEL:1;\r
-                       unsigned char :1;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PF5PFS;\r
-       char           wk13[21];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSEL:5;\r
-               } BIT;\r
-       } PJ3PFS;\r
-};\r
-\r
-struct st_mtu {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char OE4D:1;\r
-                       unsigned char OE4C:1;\r
-                       unsigned char OE3D:1;\r
-                       unsigned char OE4B:1;\r
-                       unsigned char OE4A:1;\r
-                       unsigned char OE3B:1;\r
-               } BIT;\r
-       } TOER;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char BDC:1;\r
-                       unsigned char N:1;\r
-                       unsigned char P:1;\r
-                       unsigned char FB:1;\r
-                       unsigned char WF:1;\r
-                       unsigned char VF:1;\r
-                       unsigned char UF:1;\r
-               } BIT;\r
-       } TGCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char PSYE:1;\r
-                       unsigned char :2;\r
-                       unsigned char TOCL:1;\r
-                       unsigned char TOCS:1;\r
-                       unsigned char OLSN:1;\r
-                       unsigned char OLSP:1;\r
-               } BIT;\r
-       } TOCR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BF:2;\r
-                       unsigned char OLS3N:1;\r
-                       unsigned char OLS3P:1;\r
-                       unsigned char OLS2N:1;\r
-                       unsigned char OLS2P:1;\r
-                       unsigned char OLS1N:1;\r
-                       unsigned char OLS1P:1;\r
-               } BIT;\r
-       } TOCR2;\r
-       char           wk1[4];\r
-       unsigned short TCDR;\r
-       unsigned short TDDR;\r
-       char           wk2[8];\r
-       unsigned short TCNTS;\r
-       unsigned short TCBR;\r
-       char           wk3[12];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char T3AEN:1;\r
-                       unsigned char T3ACOR:3;\r
-                       unsigned char T4VEN:1;\r
-                       unsigned char T4VCOR:3;\r
-               } BIT;\r
-       } TITCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char T3ACNT:3;\r
-                       unsigned char :1;\r
-                       unsigned char T4VCNT:3;\r
-               } BIT;\r
-       } TITCNT;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char BTE:2;\r
-               } BIT;\r
-       } TBTER;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char TDER:1;\r
-               } BIT;\r
-       } TDER;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char OLS3N:1;\r
-                       unsigned char OLS3P:1;\r
-                       unsigned char OLS2N:1;\r
-                       unsigned char OLS2P:1;\r
-                       unsigned char OLS1N:1;\r
-                       unsigned char OLS1P:1;\r
-               } BIT;\r
-       } TOLBR;\r
-       char           wk6[41];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCE:1;\r
-                       unsigned char :6;\r
-                       unsigned char WRE:1;\r
-               } BIT;\r
-       } TWCR;\r
-       char           wk7[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CST4:1;\r
-                       unsigned char CST3:1;\r
-                       unsigned char :3;\r
-                       unsigned char CST2:1;\r
-                       unsigned char CST1:1;\r
-                       unsigned char CST0:1;\r
-               } BIT;\r
-       } TSTR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SYNC4:1;\r
-                       unsigned char SYNC3:1;\r
-                       unsigned char :3;\r
-                       unsigned char SYNC2:1;\r
-                       unsigned char SYNC1:1;\r
-                       unsigned char SYNC0:1;\r
-               } BIT;\r
-       } TSYR;\r
-       char           wk8[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char RWE:1;\r
-               } BIT;\r
-       } TRWER;\r
-};\r
-\r
-struct st_mtu0 {\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
-       } NFCR;\r
-       char           wk0[111];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char BFE:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-       char           wk1[16];\r
-       unsigned short TGRE;\r
-       unsigned short TGRF;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TGIEF:1;\r
-                       unsigned char TGIEE:1;\r
-               } BIT;\r
-       } TIER2;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TTSE:1;\r
-                       unsigned char TTSB:1;\r
-                       unsigned char TTSA:1;\r
-               } BIT;\r
-       } TBTM;\r
-};\r
-\r
-struct st_mtu1 {\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
-       } NFCR;\r
-       char           wk1[238];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char CCLR:2;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEU:1;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char :2;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char I2BE:1;\r
-                       unsigned char I2AE:1;\r
-                       unsigned char I1BE:1;\r
-                       unsigned char I1AE:1;\r
-               } BIT;\r
-       } TICCR;\r
-};\r
-\r
-struct st_mtu2 {\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
-       } NFCR;\r
-       char           wk0[365];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char CCLR:2;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEU:1;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char :2;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-};\r
-\r
-struct st_mtu3 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char :2;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       char           wk3[7];\r
-       unsigned short TCNT;\r
-       char           wk4[6];\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       char           wk5[8];\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-       char           wk6[4];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       char           wk7[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TTSE:1;\r
-                       unsigned char TTSB:1;\r
-                       unsigned char TTSA:1;\r
-               } BIT;\r
-       } TBTM;\r
-       char           wk8[90];\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
-       } NFCR;\r
-};\r
-\r
-struct st_mtu4 {\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       char           wk3[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       unsigned char TTGE2:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCIEV:1;\r
-                       unsigned char TGIED:1;\r
-                       unsigned char TGIEC:1;\r
-                       unsigned char TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       char           wk4[8];\r
-       unsigned short TCNT;\r
-       char           wk5[8];\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       char           wk6[8];\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-       char           wk7[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCFD:1;\r
-               } BIT;\r
-       } TSR;\r
-       char           wk8[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TTSE:1;\r
-                       unsigned char TTSB:1;\r
-                       unsigned char TTSA:1;\r
-               } BIT;\r
-       } TBTM;\r
-       char           wk9[6];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BF:2;\r
-                       unsigned short :6;\r
-                       unsigned short UT4AE:1;\r
-                       unsigned short DT4AE:1;\r
-                       unsigned short UT4BE:1;\r
-                       unsigned short DT4BE:1;\r
-                       unsigned short ITA3AE:1;\r
-                       unsigned short ITA4VE:1;\r
-                       unsigned short ITB3AE:1;\r
-                       unsigned short ITB4VE:1;\r
-               } BIT;\r
-       } TADCR;\r
-       char           wk10[2];\r
-       unsigned short TADCORA;\r
-       unsigned short TADCORB;\r
-       unsigned short TADCOBRA;\r
-       unsigned short TADCOBRB;\r
-       char           wk11[72];\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
-       } NFCR;\r
-};\r
-\r
-struct st_mtu5 {\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFCS:2;\r
-                       unsigned char :1;\r
-                       unsigned char NFWEN:1;\r
-                       unsigned char NFVEN:1;\r
-                       unsigned char NFUEN:1;\r
-               } BIT;\r
-       } NFCR;\r
-       char           wk1[490];\r
-       unsigned short TCNTU;\r
-       unsigned short TGRU;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TPSC:2;\r
-               } BIT;\r
-       } TCRU;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char IOC:5;\r
-               } BIT;\r
-       } TIORU;\r
-       char           wk3[9];\r
-       unsigned short TCNTV;\r
-       unsigned short TGRV;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TPSC:2;\r
-               } BIT;\r
-       } TCRV;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char IOC:5;\r
-               } BIT;\r
-       } TIORV;\r
-       char           wk5[9];\r
-       unsigned short TCNTW;\r
-       unsigned short TGRW;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char TPSC:2;\r
-               } BIT;\r
-       } TCRW;\r
-       char           wk6[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char IOC:5;\r
-               } BIT;\r
-       } TIORW;\r
-       char           wk7[11];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char TGIE5U:1;\r
-                       unsigned char TGIE5V:1;\r
-                       unsigned char TGIE5W:1;\r
-               } BIT;\r
-       } TIER;\r
-       char           wk8[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char CSTU5:1;\r
-                       unsigned char CSTV5:1;\r
-                       unsigned char CSTW5:1;\r
-               } BIT;\r
-       } TSTR;\r
-       char           wk9[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char CMPCLR5U:1;\r
-                       unsigned char CMPCLR5V:1;\r
-                       unsigned char CMPCLR5W:1;\r
-               } BIT;\r
-       } TCNTCMPCLR;\r
-};\r
-\r
-struct st_poe {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short POE3F:1;\r
-                       unsigned short POE2F:1;\r
-                       unsigned short POE1F:1;\r
-                       unsigned short POE0F:1;\r
-                       unsigned short :3;\r
-                       unsigned short PIE1:1;\r
-                       unsigned short POE3M:2;\r
-                       unsigned short POE2M:2;\r
-                       unsigned short POE1M:2;\r
-                       unsigned short POE0M:2;\r
-               } BIT;\r
-       } ICSR1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short OSF1:1;\r
-                       unsigned short :5;\r
-                       unsigned short OCE1:1;\r
-                       unsigned short OIE1:1;\r
-               } BIT;\r
-       } OCSR1;\r
-       char           wk0[4];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short POE8F:1;\r
-                       unsigned short :2;\r
-                       unsigned short POE8E:1;\r
-                       unsigned short PIE2:1;\r
-                       unsigned short :6;\r
-                       unsigned short POE8M:2;\r
-               } BIT;\r
-       } ICSR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char CH0HIZ:1;\r
-                       unsigned char CH34HIZ:1;\r
-               } BIT;\r
-       } SPOER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PE3ZE:1;\r
-                       unsigned char PE2ZE:1;\r
-                       unsigned char PE1ZE:1;\r
-                       unsigned char PE0ZE:1;\r
-               } BIT;\r
-       } POECR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char P1CZEA:1;\r
-                       unsigned char P2CZEA:1;\r
-                       unsigned char P3CZEA:1;\r
-               } BIT;\r
-       } POECR2;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :3;\r
-                       unsigned short OSTSTF:1;\r
-                       unsigned short :2;\r
-                       unsigned short OSTSTE:1;\r
-               } BIT;\r
-       } ICSR3;\r
-};\r
-\r
-struct st_port0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :3;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } ODR1;\r
-       char           wk4[62];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char :1;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_port1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[32];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[61];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port2 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[33];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[60];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_port3 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[34];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[59];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port4 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[35];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[58];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port5 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[36];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[57];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :3;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_port6 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[37];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[56];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port7 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[38];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[55];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port8 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[39];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_port9 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[40];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[53];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_porta {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[41];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[52];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portb {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[42];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[51];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[43];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[50];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portd {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[44];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[49];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_porte {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[45];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char B6:1;\r
-                       unsigned char :1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char :1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[48];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_portf {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[46];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char B2:1;\r
-                       unsigned char :1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } ODR1;\r
-       char           wk4[47];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_portg {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[47];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       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[46];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-       char           wk5[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } DSCR;\r
-};\r
-\r
-struct st_porth {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char B7:1;\r
-                       unsigned char B6:1;\r
-                       unsigned char B5:1;\r
-                       unsigned char B4:1;\r
-                       unsigned char B3:1;\r
-                       unsigned char B2:1;\r
-                       unsigned char B1:1;\r
-                       unsigned char B0:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_portj {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PDR;\r
-       char           wk0[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PODR;\r
-       char           wk1[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PIDR;\r
-       char           wk2[31];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PMR;\r
-       char           wk3[49];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char B6:1;\r
-               } BIT;\r
-       } ODR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char B2:1;\r
-               } BIT;\r
-       } ODR1;\r
-       char           wk4[44];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char B5:1;\r
-                       unsigned char :1;\r
-                       unsigned char B3:1;\r
-               } BIT;\r
-       } PCR;\r
-};\r
-\r
-struct st_ppg0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char G3CMS:2;\r
-                       unsigned char G2CMS:2;\r
-                       unsigned char G1CMS:2;\r
-                       unsigned char G0CMS:2;\r
-               } BIT;\r
-       } PCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char G3INV:1;\r
-                       unsigned char G2INV:1;\r
-                       unsigned char G1INV:1;\r
-                       unsigned char G0INV:1;\r
-                       unsigned char G3NOV:1;\r
-                       unsigned char G2NOV:1;\r
-                       unsigned char G1NOV:1;\r
-                       unsigned char G0NOV:1;\r
-               } BIT;\r
-       } PMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDER15:1;\r
-                       unsigned char NDER14:1;\r
-                       unsigned char NDER13:1;\r
-                       unsigned char NDER12:1;\r
-                       unsigned char NDER11:1;\r
-                       unsigned char NDER10:1;\r
-                       unsigned char NDER9:1;\r
-                       unsigned char NDER8:1;\r
-               } BIT;\r
-       } NDERH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDER7:1;\r
-                       unsigned char NDER6:1;\r
-                       unsigned char NDER5:1;\r
-                       unsigned char NDER4:1;\r
-                       unsigned char NDER3:1;\r
-                       unsigned char NDER2:1;\r
-                       unsigned char NDER1:1;\r
-                       unsigned char NDER0:1;\r
-               } BIT;\r
-       } NDERL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char POD15:1;\r
-                       unsigned char POD14:1;\r
-                       unsigned char POD13:1;\r
-                       unsigned char POD12:1;\r
-                       unsigned char POD11:1;\r
-                       unsigned char POD10:1;\r
-                       unsigned char POD9:1;\r
-                       unsigned char POD8:1;\r
-               } BIT;\r
-       } PODRH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char POD7:1;\r
-                       unsigned char POD6:1;\r
-                       unsigned char POD5:1;\r
-                       unsigned char POD4:1;\r
-                       unsigned char POD3:1;\r
-                       unsigned char POD2:1;\r
-                       unsigned char POD1:1;\r
-                       unsigned char POD0:1;\r
-               } BIT;\r
-       } PODRL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDR15:1;\r
-                       unsigned char NDR14:1;\r
-                       unsigned char NDR13:1;\r
-                       unsigned char NDR12:1;\r
-                       unsigned char NDR11:1;\r
-                       unsigned char NDR10:1;\r
-                       unsigned char NDR9:1;\r
-                       unsigned char NDR8:1;\r
-               } BIT;\r
-       } NDRH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDR7:1;\r
-                       unsigned char NDR6:1;\r
-                       unsigned char NDR5:1;\r
-                       unsigned char NDR4:1;\r
-                       unsigned char NDR3:1;\r
-                       unsigned char NDR2:1;\r
-                       unsigned char NDR1:1;\r
-                       unsigned char NDR0:1;\r
-               } BIT;\r
-       } NDRL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char NDR11:1;\r
-                       unsigned char NDR10:1;\r
-                       unsigned char NDR9:1;\r
-                       unsigned char NDR8:1;\r
-               } BIT;\r
-       } NDRH2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char NDR3:1;\r
-                       unsigned char NDR2:1;\r
-                       unsigned char NDR1:1;\r
-                       unsigned char NDR0:1;\r
-               } BIT;\r
-       } NDRL2;\r
-};\r
-\r
-struct st_ppg1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char PTRSL:1;\r
-               } BIT;\r
-       } PTRSLR;\r
-       char           wk0[5];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char G3CMS:2;\r
-                       unsigned char G2CMS:2;\r
-                       unsigned char G1CMS:2;\r
-                       unsigned char G0CMS:2;\r
-               } BIT;\r
-       } PCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char G3INV:1;\r
-                       unsigned char G2INV:1;\r
-                       unsigned char G1INV:1;\r
-                       unsigned char G0INV:1;\r
-                       unsigned char G3NOV:1;\r
-                       unsigned char G2NOV:1;\r
-                       unsigned char G1NOV:1;\r
-                       unsigned char G0NOV:1;\r
-               } BIT;\r
-       } PMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDER31:1;\r
-                       unsigned char NDER30:1;\r
-                       unsigned char NDER29:1;\r
-                       unsigned char NDER28:1;\r
-                       unsigned char NDER27:1;\r
-                       unsigned char NDER26:1;\r
-                       unsigned char NDER25:1;\r
-                       unsigned char NDER24:1;\r
-               } BIT;\r
-       } NDERH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDER23:1;\r
-                       unsigned char NDER22:1;\r
-                       unsigned char NDER21:1;\r
-                       unsigned char NDER20:1;\r
-                       unsigned char NDER19:1;\r
-                       unsigned char NDER18:1;\r
-                       unsigned char NDER17:1;\r
-                       unsigned char NDER16:1;\r
-               } BIT;\r
-       } NDERL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char POD31:1;\r
-                       unsigned char POD30:1;\r
-                       unsigned char POD29:1;\r
-                       unsigned char POD28:1;\r
-                       unsigned char POD27:1;\r
-                       unsigned char POD26:1;\r
-                       unsigned char POD25:1;\r
-                       unsigned char POD24:1;\r
-               } BIT;\r
-       } PODRH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char POD23:1;\r
-                       unsigned char POD22:1;\r
-                       unsigned char POD21:1;\r
-                       unsigned char POD20:1;\r
-                       unsigned char POD19:1;\r
-                       unsigned char POD18:1;\r
-                       unsigned char POD17:1;\r
-                       unsigned char POD16:1;\r
-               } BIT;\r
-       } PODRL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDR31:1;\r
-                       unsigned char NDR30:1;\r
-                       unsigned char NDR29:1;\r
-                       unsigned char NDR28:1;\r
-                       unsigned char NDR27:1;\r
-                       unsigned char NDR26:1;\r
-                       unsigned char NDR25:1;\r
-                       unsigned char NDR24:1;\r
-               } BIT;\r
-       } NDRH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char NDR23:1;\r
-                       unsigned char NDR22:1;\r
-                       unsigned char NDR21:1;\r
-                       unsigned char NDR20:1;\r
-                       unsigned char NDR19:1;\r
-                       unsigned char NDR18:1;\r
-                       unsigned char NDR17:1;\r
-                       unsigned char NDR16:1;\r
-               } BIT;\r
-       } NDRL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char NDR27:1;\r
-                       unsigned char NDR26:1;\r
-                       unsigned char NDR25:1;\r
-                       unsigned char NDR24:1;\r
-               } BIT;\r
-       } NDRH2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char NDR19:1;\r
-                       unsigned char NDR18:1;\r
-                       unsigned char NDR17:1;\r
-                       unsigned char NDR16:1;\r
-               } BIT;\r
-       } NDRL2;\r
-};\r
-\r
-struct st_riic0 {\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
-               } BIT;\r
-       } ICCR1;\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
-               } BIT;\r
-       } ICCR2;\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
-               } BIT;\r
-       } ICMR1;\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
-               } BIT;\r
-       } ICMR2;\r
-       union {\r
-               unsigned char BYTE;\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
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char FMPE: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
-               } BIT;\r
-       } ICFER;\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 :1;\r
-                       unsigned char GCAE:1;\r
-                       unsigned char SAR2E:1;\r
-                       unsigned char SAR1E:1;\r
-                       unsigned char SAR0E:1;\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_riic1 {\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
-               } BIT;\r
-       } ICCR1;\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
-               } BIT;\r
-       } ICCR2;\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
-               } BIT;\r
-       } ICMR1;\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
-               } BIT;\r
-       } ICMR2;\r
-       union {\r
-               unsigned char BYTE;\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
-       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
-               } BIT;\r
-       } ICFER;\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 :1;\r
-                       unsigned char GCAE:1;\r
-                       unsigned char SAR2E:1;\r
-                       unsigned char SAR1E:1;\r
-                       unsigned char SAR0E:1;\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_rspi {\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 :1;\r
-                       unsigned char SPOM:1;\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
-       unsigned long  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
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char SPR7:1;\r
-                       unsigned char SPR6:1;\r
-                       unsigned char SPR5:1;\r
-                       unsigned char SPR4:1;\r
-                       unsigned char SPR3:1;\r
-                       unsigned char SPR2:1;\r
-                       unsigned char SPR1:1;\r
-                       unsigned char SPR0:1;\r
-               } BIT;\r
-       } SPBR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char SPLW:1;\r
-                       unsigned char SPRDTD:1;\r
-                       unsigned char SLSEL:2;\r
-                       unsigned char SPFC:2;\r
-               } BIT;\r
-       } SPDCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SCKDL:3;\r
-               } BIT;\r
-       } SPCKD;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SLNDL:3;\r
-               } BIT;\r
-       } SSLND;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char SPNDL:3;\r
-               } BIT;\r
-       } SPND;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char PTE:1;\r
-                       unsigned char SPIIE:1;\r
-                       unsigned char SPOE:1;\r
-                       unsigned char SPPE:1;\r
-               } BIT;\r
-       } SPCR2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD3;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD4;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD5;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD6;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SCKDEN:1;\r
-                       unsigned short SLNDEN:1;\r
-                       unsigned short SPNDEN:1;\r
-                       unsigned short LSBF:1;\r
-                       unsigned short SPB:4;\r
-                       unsigned short SSLKP:1;\r
-                       unsigned short SSLA:3;\r
-                       unsigned short BRDV:2;\r
-                       unsigned short CPOL:1;\r
-                       unsigned short CPHA:1;\r
-               } BIT;\r
-       } SPCMD7;\r
-};\r
-\r
-struct st_rtc {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char F1HZ:1;\r
-                       unsigned char F2HZ:1;\r
-                       unsigned char F4HZ:1;\r
-                       unsigned char F8HZ:1;\r
-                       unsigned char F16HZ:1;\r
-                       unsigned char F32HZ:1;\r
-                       unsigned char F64HZ:1;\r
-               } BIT;\r
-       } 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
-       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
-       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
-       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
-       char           wk4[1];\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
-       } RDAYCNT;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONCNT;\r
-       char           wk6[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
-       } 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
-       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
-       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
-       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
-       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
-       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 char BYTE;\r
-               struct {\r
-                       unsigned char ENB:1;\r
-               } BIT;\r
-       } RYRAREN;\r
-       char           wk13[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PES:4;\r
-                       unsigned char :1;\r
-                       unsigned char PIE:1;\r
-                       unsigned char CIE:1;\r
-                       unsigned char AIE:1;\r
-               } BIT;\r
-       } RCR1;\r
-       char           wk14[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char HR24:1;\r
-                       unsigned char AADJP:1;\r
-                       unsigned char AADJE:1;\r
-                       unsigned char RTCOE:1;\r
-                       unsigned char ADJ30:1;\r
-                       unsigned char RESET:1;\r
-                       unsigned char START:1;\r
-               } BIT;\r
-       } RCR2;\r
-       char           wk15[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char RTCEN:1;\r
-               } BIT;\r
-       } RCR3;\r
-       char           wk16[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char RCKSEL:1;\r
-               } BIT;\r
-       } RCR4;\r
-       char           wk17[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short RFC:1;\r
-               } BIT;\r
-       } RFRH;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short RFC:16;\r
-               } BIT;\r
-       } RFRL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PMADJ:2;\r
-                       unsigned char ADJ:6;\r
-               } BIT;\r
-       } RADJ;\r
-       char           wk18[17];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCNF:2;\r
-                       unsigned char :1;\r
-                       unsigned char TCST:1;\r
-                       unsigned char TCCT:2;\r
-               } BIT;\r
-       } RTCCR0;\r
-       char           wk19[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCNF:2;\r
-                       unsigned char :1;\r
-                       unsigned char TCST:1;\r
-                       unsigned char TCCT:2;\r
-               } BIT;\r
-       } RTCCR1;\r
-       char           wk20[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TCEN:1;\r
-                       unsigned char :1;\r
-                       unsigned char TCNF:2;\r
-                       unsigned char :1;\r
-                       unsigned char TCST:1;\r
-                       unsigned char TCCT:2;\r
-               } BIT;\r
-       } 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
-       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
-       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
-       char           wk24[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:3;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP0;\r
-       char           wk25[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } 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
-       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
-       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
-       char           wk29[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:3;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP1;\r
-       char           wk30[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } 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
-       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
-       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
-       char           wk34[3];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DATE10:3;\r
-                       unsigned char DATE1:4;\r
-               } BIT;\r
-       } RDAYCP2;\r
-       char           wk35[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MON10:1;\r
-                       unsigned char MON1:4;\r
-               } BIT;\r
-       } RMONCP2;\r
-};\r
-\r
-struct st_s12ad {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ADST:1;\r
-                       unsigned char ADCS:1;\r
-                       unsigned char :1;\r
-                       unsigned char ADIE:1;\r
-                       unsigned char CKS:2;\r
-                       unsigned char TRGE:1;\r
-                       unsigned char EXTRG:1;\r
-               } BIT;\r
-       } ADCSR;\r
-       char           wk0[3];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ANS0:16;\r
-               } BIT;\r
-       } ADANS0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :11;\r
-                       unsigned short ANS1:5;\r
-               } BIT;\r
-       } ADANS1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADS0:16;\r
-               } BIT;\r
-       } ADADS0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :11;\r
-                       unsigned short ADS1:5;\r
-               } BIT;\r
-       } ADADS1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char ADC:2;\r
-               } BIT;\r
-       } ADADC;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short ADRFMT:1;\r
-                       unsigned short :9;\r
-                       unsigned short ACE:1;\r
-               } BIT;\r
-       } ADCER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char ADSTRS:4;\r
-               } BIT;\r
-       } ADSTRGR;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\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           wk3[6];\r
-       unsigned short ADTSDR;\r
-       unsigned short ADOCDR;\r
-       char           wk4[2];\r
-       unsigned short ADDR0;\r
-       unsigned short ADDR1;\r
-       unsigned short ADDR2;\r
-       unsigned short ADDR3;\r
-       unsigned short ADDR4;\r
-       unsigned short ADDR5;\r
-       unsigned short ADDR6;\r
-       unsigned short ADDR7;\r
-       unsigned short ADDR8;\r
-       unsigned short ADDR9;\r
-       unsigned short ADDR10;\r
-       unsigned short ADDR11;\r
-       unsigned short ADDR12;\r
-       unsigned short ADDR13;\r
-       unsigned short ADDR14;\r
-       unsigned short ADDR15;\r
-       unsigned short ADDR16;\r
-       unsigned short ADDR17;\r
-       unsigned short ADDR18;\r
-       unsigned short ADDR19;\r
-       unsigned short ADDR20;\r
-       char           wk5[38];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SST2:8;\r
-               } BIT;\r
-       } ADSSTR23;\r
-};\r
-\r
-struct st_sci0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CM:1;\r
-                       unsigned char CHR:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char MP:1;\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 FER: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 :3;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFEN:1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :3;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char NFCS:3;\r
-               } BIT;\r
-       } SNFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICDL:5;\r
-                       unsigned char :2;\r
-                       unsigned char IICM:1;\r
-               } BIT;\r
-       } SIMR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char IICACKT:1;\r
-                       unsigned char :3;\r
-                       unsigned char IICCSC:1;\r
-                       unsigned char IICINTM:1;\r
-               } BIT;\r
-       } SIMR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICSCLS:2;\r
-                       unsigned char IICSDAS:2;\r
-                       unsigned char IICSTIF:1;\r
-                       unsigned char IICSTPREQ:1;\r
-                       unsigned char IICRSTAREQ:1;\r
-                       unsigned char IICSTAREQ:1;\r
-               } BIT;\r
-       } SIMR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IICACKR:1;\r
-               } BIT;\r
-       } SISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CKPH:1;\r
-                       unsigned char CKPOL:1;\r
-                       unsigned char :1;\r
-                       unsigned char MFF:1;\r
-                       unsigned char :1;\r
-                       unsigned char MSS:1;\r
-                       unsigned char CTSE:1;\r
-                       unsigned char SSE:1;\r
-               } BIT;\r
-       } SPMR;\r
-};\r
-\r
-struct st_sci7 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CM:1;\r
-                       unsigned char CHR:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char MP:1;\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 FER: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
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char MPB:1;\r
-                       unsigned char MPBT:1;\r
-               } BIT;\r
-       } RDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCP2:1;\r
-                       unsigned char :3;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFEN:1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :3;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char NFCS:3;\r
-               } BIT;\r
-       } SNFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICDL:5;\r
-                       unsigned char :2;\r
-                       unsigned char IICM:1;\r
-               } BIT;\r
-       } SIMR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char IICACKT:1;\r
-                       unsigned char :3;\r
-                       unsigned char IICCSC:1;\r
-                       unsigned char IICINTM:1;\r
-               } BIT;\r
-       } SIMR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICSCLS:2;\r
-                       unsigned char IICSDAS:2;\r
-                       unsigned char IICSTIF:1;\r
-                       unsigned char IICSTPREQ:1;\r
-                       unsigned char IICRSTAREQ:1;\r
-                       unsigned char IICSTAREQ:1;\r
-               } BIT;\r
-       } SIMR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IICACKR:1;\r
-               } BIT;\r
-       } SISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CKPH:1;\r
-                       unsigned char CKPOL:1;\r
-                       unsigned char :1;\r
-                       unsigned char MFF:1;\r
-                       unsigned char :1;\r
-                       unsigned char MSS:1;\r
-                       unsigned char CTSE:1;\r
-                       unsigned char SSE:1;\r
-               } BIT;\r
-       } SPMR;\r
-};\r
-\r
-struct st_sci12 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CM:1;\r
-                       unsigned char CHR:1;\r
-                       unsigned char PE:1;\r
-                       unsigned char PM:1;\r
-                       unsigned char STOP:1;\r
-                       unsigned char MP:1;\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 FER: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 :3;\r
-                       unsigned char SDIR:1;\r
-                       unsigned char SINV:1;\r
-                       unsigned char :1;\r
-                       unsigned char SMIF:1;\r
-               } BIT;\r
-       } SCMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char NFEN:1;\r
-                       unsigned char ABCS:1;\r
-                       unsigned char :3;\r
-                       unsigned char ACS0:1;\r
-               } BIT;\r
-       } SEMR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :5;\r
-                       unsigned char NFCS:3;\r
-               } BIT;\r
-       } SNFR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICDL:5;\r
-                       unsigned char :2;\r
-                       unsigned char IICM:1;\r
-               } BIT;\r
-       } SIMR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char IICACKT:1;\r
-                       unsigned char :3;\r
-                       unsigned char IICCSC:1;\r
-                       unsigned char IICINTM:1;\r
-               } BIT;\r
-       } SIMR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IICSCLS:2;\r
-                       unsigned char IICSDAS:2;\r
-                       unsigned char IICSTIF:1;\r
-                       unsigned char IICSTPREQ:1;\r
-                       unsigned char IICRSTAREQ:1;\r
-                       unsigned char IICSTAREQ:1;\r
-               } BIT;\r
-       } SIMR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char IICACKR:1;\r
-               } BIT;\r
-       } SISR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CKPH:1;\r
-                       unsigned char CKPOL:1;\r
-                       unsigned char :1;\r
-                       unsigned char MFF:1;\r
-                       unsigned char :1;\r
-                       unsigned char MSS:1;\r
-                       unsigned char CTSE:1;\r
-                       unsigned char SSE:1;\r
-               } BIT;\r
-       } SPMR;\r
-       char           wk0[18];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char ESME:1;\r
-               } BIT;\r
-       } ESMER;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char BRME:1;\r
-                       unsigned char RXDSF:1;\r
-                       unsigned char SFSF:1;\r
-               } BIT;\r
-       } CR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char PIBS:3;\r
-                       unsigned char PIBE:1;\r
-                       unsigned char CF1DS:2;\r
-                       unsigned char CF0RE:1;\r
-                       unsigned char BFE:1;\r
-               } BIT;\r
-       } CR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RTS:2;\r
-                       unsigned char BCCS:2;\r
-                       unsigned char :1;\r
-                       unsigned char DFCS:3;\r
-               } BIT;\r
-       } CR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SDST:1;\r
-               } BIT;\r
-       } CR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char SHARPS:1;\r
-                       unsigned char :2;\r
-                       unsigned char RXDXPS:1;\r
-                       unsigned char TXDXPS:1;\r
-               } BIT;\r
-       } PCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char AEDIE:1;\r
-                       unsigned char BCDIE:1;\r
-                       unsigned char PIBDIE:1;\r
-                       unsigned char CF1MIE:1;\r
-                       unsigned char CF0MIE:1;\r
-                       unsigned char BFDIE:1;\r
-               } BIT;\r
-       } ICR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char AEDF:1;\r
-                       unsigned char BCDF:1;\r
-                       unsigned char PIBDF:1;\r
-                       unsigned char CF1MF:1;\r
-                       unsigned char CF0MF:1;\r
-                       unsigned char BFDF:1;\r
-               } BIT;\r
-       } STR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char AEDCL:1;\r
-                       unsigned char BCDCL:1;\r
-                       unsigned char PIBDCL:1;\r
-                       unsigned char CF1MCL:1;\r
-                       unsigned char CF0MCL:1;\r
-                       unsigned char BFDCL:1;\r
-               } BIT;\r
-       } STCR;\r
-       unsigned char  CF0DR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CF0CE7:1;\r
-                       unsigned char CF0CE6:1;\r
-                       unsigned char CF0CE5:1;\r
-                       unsigned char CF0CE4:1;\r
-                       unsigned char CF0CE3:1;\r
-                       unsigned char CF0CE2:1;\r
-                       unsigned char CF0CE1:1;\r
-                       unsigned char CF0CE0:1;\r
-               } BIT;\r
-       } CF0CR;\r
-       unsigned char  CF0RR;\r
-       unsigned char  PCF1DR;\r
-       unsigned char  SCF1DR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CF1CE7:1;\r
-                       unsigned char CF1CE6:1;\r
-                       unsigned char CF1CE5:1;\r
-                       unsigned char CF1CE4:1;\r
-                       unsigned char CF1CE3:1;\r
-                       unsigned char CF1CE2:1;\r
-                       unsigned char CF1CE1:1;\r
-                       unsigned char CF1CE0:1;\r
-               } BIT;\r
-       } CF1CR;\r
-       unsigned char  CF1RR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char TCST:1;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char TCSS:3;\r
-                       unsigned char TWRC:1;\r
-                       unsigned char :1;\r
-                       unsigned char TOMS:2;\r
-               } BIT;\r
-       } TMR;\r
-       unsigned char  TPRE;\r
-       unsigned char  TCNT;\r
-};\r
-\r
-struct st_smci0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char GM:1;\r
-                       unsigned char BCLK: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 :3;\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_smci7 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char GM:1;\r
-                       unsigned char BCLK: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
-               } BIT;\r
-       } SSR;\r
-       unsigned char  RDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char BCP2:1;\r
-                       unsigned char :3;\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_system {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short MD:1;\r
-               } BIT;\r
-       } MDMONR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :10;\r
-                       unsigned short UBTS:1;\r
-                       unsigned short BOTS:1;\r
-                       unsigned short :2;\r
-                       unsigned short EXB:1;\r
-                       unsigned short IROM:1;\r
-               } BIT;\r
-       } MDSR;\r
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short KEY:8;\r
-                       unsigned short :6;\r
-                       unsigned short EXBE:1;\r
-                       unsigned short ROME:1;\r
-               } BIT;\r
-       } SYSCR0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :15;\r
-                       unsigned short RAME:1;\r
-               } BIT;\r
-       } SYSCR1;\r
-       char           wk1[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short SSBY:1;\r
-                       unsigned short OPE:1;\r
-               } BIT;\r
-       } SBYCR;\r
-       char           wk2[2];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long ACSE:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPA29:1;\r
-                       unsigned long MSTPA28:1;\r
-                       unsigned long MSTPA27:1;\r
-                       unsigned long :2;\r
-                       unsigned long MSTPA24:1;\r
-                       unsigned long MSTPA23:1;\r
-                       unsigned long :3;\r
-                       unsigned long MSTPA19:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPA17:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPA15:1;\r
-                       unsigned long MSTPA14:1;\r
-                       unsigned long MSTPA13:1;\r
-                       unsigned long MSTPA12:1;\r
-                       unsigned long MSTPA11:1;\r
-                       unsigned long MSTPA10:1;\r
-                       unsigned long MSTPA9:1;\r
-                       unsigned long :3;\r
-                       unsigned long MSTPA5:1;\r
-                       unsigned long MSTPA4:1;\r
-               } BIT;\r
-       } MSTPCRA;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long MSTPB31:1;\r
-                       unsigned long MSTPB30:1;\r
-                       unsigned long MSTPB29:1;\r
-                       unsigned long MSTPB28:1;\r
-                       unsigned long MSTPB27:1;\r
-                       unsigned long MSTPB26:1;\r
-                       unsigned long MSTPB25:1;\r
-                       unsigned long MSTPB24:1;\r
-                       unsigned long MSTPB23:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPB21:1;\r
-                       unsigned long MSTPB20:1;\r
-                       unsigned long MSTPB19:1;\r
-                       unsigned long MSTPB18:1;\r
-                       unsigned long MSTPB17:1;\r
-                       unsigned long MSTPB16:1;\r
-                       unsigned long MSTPB15:1;\r
-                       unsigned long :6;\r
-                       unsigned long MSTPB8:1;\r
-                       unsigned long :3;\r
-                       unsigned long MSTPB4:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPB2:1;\r
-                       unsigned long MSTPB1:1;\r
-                       unsigned long MSTPB0:1;\r
-               } BIT;\r
-       } MSTPCRB;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long :4;\r
-                       unsigned long MSTPC27:1;\r
-                       unsigned long MSTPC26:1;\r
-                       unsigned long MSTPC25:1;\r
-                       unsigned long MSTPC24:1;\r
-                       unsigned long :1;\r
-                       unsigned long MSTPC22:1;\r
-                       unsigned long :2;\r
-                       unsigned long MSTPC19:1;\r
-                       unsigned long MSTPC18:1;\r
-                       unsigned long MSTPC17:1;\r
-                       unsigned long MSTPC16:1;\r
-                       unsigned long :14;\r
-                       unsigned long MSTPC1:1;\r
-                       unsigned long MSTPC0:1;\r
-               } BIT;\r
-       } MSTPCRC;\r
-       char           wk3[4];\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long FCK:4;\r
-                       unsigned long ICK:4;\r
-                       unsigned long PSTOP1:1;\r
-                       unsigned long PSTOP0:1;\r
-                       unsigned long :2;\r
-                       unsigned long BCK:4;\r
-                       unsigned long PCKA:4;\r
-                       unsigned long PCKB:4;\r
-               } BIT;\r
-       } SCKCR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short UCK:4;\r
-                       unsigned short IEBCK:4;\r
-               } BIT;\r
-       } SCKCR2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short CKSEL:3;\r
-               } BIT;\r
-       } SCKCR3;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short STC:6;\r
-                       unsigned short :6;\r
-                       unsigned short PLIDIV:2;\r
-               } BIT;\r
-       } PLLCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char PLLEN:1;\r
-               } BIT;\r
-       } PLLCR2;\r
-       char           wk4[5];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char BCLKDIV:1;\r
-               } BIT;\r
-       } BCKCR;\r
-       char           wk5[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char MOSTP:1;\r
-               } BIT;\r
-       } MOSCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char SOSTP:1;\r
-               } BIT;\r
-       } SOSCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char LCSTP:1;\r
-               } BIT;\r
-       } LOCOCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char ILCSTP:1;\r
-               } BIT;\r
-       } ILOCOCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char HCSTP:1;\r
-               } BIT;\r
-       } HOCOCR;\r
-       char           wk6[9];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char OSTDE:1;\r
-                       unsigned char :6;\r
-                       unsigned char OSTDIE:1;\r
-               } BIT;\r
-       } OSTDCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char OSTDF:1;\r
-               } BIT;\r
-       } OSTDSR;\r
-       char           wk7[94];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char OPCMTSF:1;\r
-                       unsigned char :1;\r
-                       unsigned char OPCM:3;\r
-               } BIT;\r
-       } OPCCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RSTCKEN:1;\r
-                       unsigned char :4;\r
-                       unsigned char RSTCKSEL:3;\r
-               } BIT;\r
-       } RSTCKCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char MSTS:5;\r
-               } BIT;\r
-       } MOSCWTCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char SSTS:5;\r
-               } BIT;\r
-       } SOSCWTCR;\r
-       char           wk8[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char PSTS:5;\r
-               } BIT;\r
-       } PLLWTCR;\r
-       char           wk9[25];\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
-               } BIT;\r
-       } RSTSR2;\r
-       char           wk10[1];\r
-       unsigned short SWRR;\r
-       char           wk11[28];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char LVD1IDTSEL:2;\r
-               } BIT;\r
-       } LVD1CR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char LVD1MON:1;\r
-                       unsigned char LVD1DET:1;\r
-               } BIT;\r
-       } LVD1SR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char LVD2IDTSEL:2;\r
-               } BIT;\r
-       } LVD2CR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char LVD2MON:1;\r
-                       unsigned char LVD2DET:1;\r
-               } BIT;\r
-       } LVD2SR;\r
-       char           wk12[794];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short PRKEY:8;\r
-                       unsigned short :4;\r
-                       unsigned short PRC3:1;\r
-                       unsigned short :1;\r
-                       unsigned short PRC1:1;\r
-                       unsigned short PRC0:1;\r
-               } BIT;\r
-       } PRCR;\r
-       char           wk13[48768];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSBY:1;\r
-                       unsigned char IOKEEP:1;\r
-                       unsigned char :4;\r
-                       unsigned char DEEPCUT:2;\r
-               } BIT;\r
-       } DPSBYCR;\r
-       char           wk14[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ7E:1;\r
-                       unsigned char DIRQ6E:1;\r
-                       unsigned char DIRQ5E:1;\r
-                       unsigned char DIRQ4E:1;\r
-                       unsigned char DIRQ3E:1;\r
-                       unsigned char DIRQ2E:1;\r
-                       unsigned char DIRQ1E:1;\r
-                       unsigned char DIRQ0E:1;\r
-               } BIT;\r
-       } DPSIER0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ15E:1;\r
-                       unsigned char DIRQ14E:1;\r
-                       unsigned char DIRQ13E:1;\r
-                       unsigned char DIRQ12E:1;\r
-                       unsigned char DIRQ11E:1;\r
-                       unsigned char DIRQ10E:1;\r
-                       unsigned char DIRQ9E:1;\r
-                       unsigned char DIRQ8E:1;\r
-               } BIT;\r
-       } DPSIER1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DUSBIE:1;\r
-                       unsigned char DIICCIE:1;\r
-                       unsigned char DIICDIE:1;\r
-                       unsigned char DNMIE:1;\r
-                       unsigned char DRTCAIE:1;\r
-                       unsigned char DRTCIIE:1;\r
-                       unsigned char DLVD2IE:1;\r
-                       unsigned char DLVD1IE:1;\r
-               } BIT;\r
-       } DPSIER2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DCANIE:1;\r
-               } BIT;\r
-       } DPSIER3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ7F:1;\r
-                       unsigned char DIRQ6F:1;\r
-                       unsigned char DIRQ5F:1;\r
-                       unsigned char DIRQ4F:1;\r
-                       unsigned char DIRQ3F:1;\r
-                       unsigned char DIRQ2F:1;\r
-                       unsigned char DIRQ1F:1;\r
-                       unsigned char DIRQ0F:1;\r
-               } BIT;\r
-       } DPSIFR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ15F:1;\r
-                       unsigned char DIRQ14F:1;\r
-                       unsigned char DIRQ13F:1;\r
-                       unsigned char DIRQ12F:1;\r
-                       unsigned char DIRQ11F:1;\r
-                       unsigned char DIRQ10F:1;\r
-                       unsigned char DIRQ9F:1;\r
-                       unsigned char DIRQ8F:1;\r
-               } BIT;\r
-       } DPSIFR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DUSBIF:1;\r
-                       unsigned char DIICCIF:1;\r
-                       unsigned char DIICDIF:1;\r
-                       unsigned char DNMIF:1;\r
-                       unsigned char DRTCAIF:1;\r
-                       unsigned char DRTCIIF:1;\r
-                       unsigned char DLVD2IF:1;\r
-                       unsigned char DLVD1IF:1;\r
-               } BIT;\r
-       } DPSIFR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DCANIF:1;\r
-               } BIT;\r
-       } DPSIFR3;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ7EG:1;\r
-                       unsigned char DIRQ6EG:1;\r
-                       unsigned char DIRQ5EG:1;\r
-                       unsigned char DIRQ4EG:1;\r
-                       unsigned char DIRQ3EG:1;\r
-                       unsigned char DIRQ2EG:1;\r
-                       unsigned char DIRQ1EG:1;\r
-                       unsigned char DIRQ0EG:1;\r
-               } BIT;\r
-       } DPSIEGR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DIRQ15EG:1;\r
-                       unsigned char DIRQ14EG:1;\r
-                       unsigned char DIRQ13EG:1;\r
-                       unsigned char DIRQ12EG:1;\r
-                       unsigned char DIRQ11EG:1;\r
-                       unsigned char DIRQ10EG:1;\r
-                       unsigned char DIRQ9EG:1;\r
-                       unsigned char DIRQ8EG:1;\r
-               } BIT;\r
-       } DPSIEGR1;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char DIICCEG:1;\r
-                       unsigned char DIICDEG:1;\r
-                       unsigned char DNMIEG:1;\r
-                       unsigned char :2;\r
-                       unsigned char DLVD2EG:1;\r
-                       unsigned char DLVD1EG:1;\r
-               } BIT;\r
-       } DPSIEGR2;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char DCANIEG:1;\r
-               } BIT;\r
-       } DPSIEGR3;\r
-       char           wk15[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char DPSRSTF:1;\r
-                       unsigned char :3;\r
-                       unsigned char LVD2RF:1;\r
-                       unsigned char LVD1RF:1;\r
-                       unsigned char LVD0RF:1;\r
-                       unsigned char PORF:1;\r
-               } BIT;\r
-       } RSTSR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char CWSF:1;\r
-               } BIT;\r
-       } RSTSR1;\r
-       char           wk16[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char MOFXIN:1;\r
-               } BIT;\r
-       } MOFCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :7;\r
-                       unsigned char HOCOPCNT:1;\r
-               } BIT;\r
-       } HOCOPCR;\r
-       char           wk17[2];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :1;\r
-                       unsigned char LVD2E:1;\r
-                       unsigned char LVD1E:1;\r
-               } BIT;\r
-       } LVCMPCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char LVD2LVL:4;\r
-                       unsigned char LVD1LVL:4;\r
-               } BIT;\r
-       } LVDLVLR;\r
-       char           wk18[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char LVD1RN:1;\r
-                       unsigned char LVD1RI:1;\r
-                       unsigned char LVD1FSAMP:2;\r
-                       unsigned char :1;\r
-                       unsigned char LVD1CMPE:1;\r
-                       unsigned char LVD1DFDIS:1;\r
-                       unsigned char LVD1RIE:1;\r
-               } BIT;\r
-       } LVD1CR0;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char LVD2RN:1;\r
-                       unsigned char LVD2RI:1;\r
-                       unsigned char LVD2FSAMP:2;\r
-                       unsigned char :1;\r
-                       unsigned char LVD2CMPE:1;\r
-                       unsigned char LVD2DFDIS:1;\r
-                       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
-       unsigned char  DPSBKR[32];\r
-       char           wk21[1472];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char SCK:2;\r
-               } BIT;\r
-       } SCK1;\r
-       char           wk22[15];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :6;\r
-                       unsigned char SCK:2;\r
-               } BIT;\r
-       } SCK2;\r
-};\r
-\r
-struct st_temps {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TSEN:1;\r
-                       unsigned char :2;\r
-                       unsigned char TSOE:1;\r
-               } BIT;\r
-       } TSCR;\r
-};\r
-\r
-struct st_tmr0 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CMIEB:1;\r
-                       unsigned char CMIEA:1;\r
-                       unsigned char OVIE:1;\r
-                       unsigned char CCLR:2;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :3;\r
-                       unsigned char ADTE:1;\r
-                       unsigned char OSB:2;\r
-                       unsigned char OSA:2;\r
-               } BIT;\r
-       } TCSR;\r
-       char           wk1[1];\r
-       unsigned char  TCORA;\r
-       char           wk2[1];\r
-       unsigned char  TCORB;\r
-       char           wk3[1];\r
-       unsigned char  TCNT;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TMRIS:1;\r
-                       unsigned char :2;\r
-                       unsigned char CSS:2;\r
-                       unsigned char CKS:3;\r
-               } BIT;\r
-       } TCCR;\r
-};\r
-\r
-struct st_tmr1 {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CMIEB:1;\r
-                       unsigned char CMIEA:1;\r
-                       unsigned char OVIE:1;\r
-                       unsigned char CCLR:2;\r
-               } BIT;\r
-       } TCR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :4;\r
-                       unsigned char OSB:2;\r
-                       unsigned char OSA:2;\r
-               } BIT;\r
-       } TCSR;\r
-       char           wk1[1];\r
-       unsigned char  TCORA;\r
-       char           wk2[1];\r
-       unsigned char  TCORB;\r
-       char           wk3[1];\r
-       unsigned char  TCNT;\r
-       char           wk4[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TMRIS:1;\r
-                       unsigned char :2;\r
-                       unsigned char CSS:2;\r
-                       unsigned char CKS:3;\r
-               } BIT;\r
-       } TCCR;\r
-};\r
-\r
-struct st_tmr01 {\r
-       unsigned short TCORA;\r
-       unsigned short TCORB;\r
-       unsigned short TCNT;\r
-       unsigned short TCCR;\r
-};\r
-\r
-struct st_tpu0 {\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
-       } NFCR;\r
-       char           wk0[7];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ICSELD:1;\r
-                       unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       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 TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               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 TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-};\r
-\r
-struct st_tpu1 {\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
-       } NFCR;\r
-       char           wk1[22];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ICSELD:1;\r
-                       unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       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 TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               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 TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-};\r
-\r
-struct st_tpu2 {\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
-       } NFCR;\r
-       char           wk0[37];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ICSELD:1;\r
-                       unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       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 TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               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 TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-};\r
-\r
-struct st_tpu3 {\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
-       } NFCR;\r
-       char           wk1[52];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ICSELD:1;\r
-                       unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIORH;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOD:4;\r
-                       unsigned char IOC:4;\r
-               } BIT;\r
-       } TIORL;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       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 TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               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 TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-       unsigned short TGRC;\r
-       unsigned short TGRD;\r
-};\r
-\r
-struct st_tpu4 {\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
-       } NFCR;\r
-       char           wk0[67];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ICSELD:1;\r
-                       unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk1[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       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 TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               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 TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-};\r
-\r
-struct st_tpu5 {\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
-       } NFCR;\r
-       char           wk1[82];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char CCLR:3;\r
-                       unsigned char CKEG:2;\r
-                       unsigned char TPSC:3;\r
-               } BIT;\r
-       } TCR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char ICSELD:1;\r
-                       unsigned char ICSELB:1;\r
-                       unsigned char BFB:1;\r
-                       unsigned char BFA:1;\r
-                       unsigned char MD:4;\r
-               } BIT;\r
-       } TMDR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char IOB:4;\r
-                       unsigned char IOA:4;\r
-               } BIT;\r
-       } TIOR;\r
-       char           wk2[1];\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char TTGE:1;\r
-                       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 TGIEB:1;\r
-                       unsigned char TGIEA:1;\r
-               } BIT;\r
-       } TIER;\r
-       union {\r
-               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 TGFD:1;\r
-                       unsigned char TGFC:1;\r
-                       unsigned char TGFB:1;\r
-                       unsigned char TGFA:1;\r
-               } BIT;\r
-       } TSR;\r
-       unsigned short TCNT;\r
-       unsigned short TGRA;\r
-       unsigned short TGRB;\r
-};\r
-\r
-struct st_tpua {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char CST5:1;\r
-                       unsigned char CST4:1;\r
-                       unsigned char CST3:1;\r
-                       unsigned char CST2:1;\r
-                       unsigned char CST1:1;\r
-                       unsigned char CST0:1;\r
-               } BIT;\r
-       } TSTR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char SYNC5:1;\r
-                       unsigned char SYNC4:1;\r
-                       unsigned char SYNC3:1;\r
-                       unsigned char SYNC2:1;\r
-                       unsigned char SYNC1:1;\r
-                       unsigned char SYNC0:1;\r
-               } BIT;\r
-       } TSYR;\r
-};\r
-\r
-struct st_tpub {\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char CST11:1;\r
-                       unsigned char CST10:1;\r
-                       unsigned char CST9:1;\r
-                       unsigned char CST8:1;\r
-                       unsigned char CST7:1;\r
-                       unsigned char CST6:1;\r
-               } BIT;\r
-       } TSTR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char :2;\r
-                       unsigned char SYNC11:1;\r
-                       unsigned char SYNC10:1;\r
-                       unsigned char SYNC9:1;\r
-                       unsigned char SYNC8:1;\r
-                       unsigned char SYNC7:1;\r
-                       unsigned char SYNC6:1;\r
-               } BIT;\r
-       } TSYR;\r
-};\r
-\r
-struct st_usb {\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long DVSTS1:1;\r
-                       unsigned long :5;\r
-                       unsigned long DM1:1;\r
-                       unsigned long DP1:1;\r
-                       unsigned long DVBSTS0:1;\r
-                       unsigned long :1;\r
-                       unsigned long DOVCB0:1;\r
-                       unsigned long DOVCA0:1;\r
-                       unsigned long :2;\r
-                       unsigned long DM0:1;\r
-                       unsigned long DP0:1;\r
-                       unsigned long :3;\r
-                       unsigned long FIXPHY1:1;\r
-                       unsigned long :3;\r
-                       unsigned long SRPC1:1;\r
-                       unsigned long :3;\r
-                       unsigned long FIXPHY0:1;\r
-                       unsigned long :3;\r
-                       unsigned long SRPC0:1;\r
-               } BIT;\r
-       } DPUSR0R;\r
-       union {\r
-               unsigned long LONG;\r
-               struct {\r
-                       unsigned long DVBINT1:1;\r
-                       unsigned long :5;\r
-                       unsigned long DMINT1:1;\r
-                       unsigned long DPINT1:1;\r
-                       unsigned long DVBINT0:1;\r
-                       unsigned long :1;\r
-                       unsigned long DOVRCRB0:1;\r
-                       unsigned long DOVRCRA0:1;\r
-                       unsigned long :2;\r
-                       unsigned long DMINT0:1;\r
-                       unsigned long DPINT0:1;\r
-                       unsigned long DVBSE1:1;\r
-                       unsigned long :5;\r
-                       unsigned long DMINTE1:1;\r
-                       unsigned long DPINTE1:1;\r
-                       unsigned long DVBSE0:1;\r
-                       unsigned long :1;\r
-                       unsigned long DOVRCRBE0:1;\r
-                       unsigned long DOVRCRAE0:1;\r
-                       unsigned long :2;\r
-                       unsigned long DMINTE0:1;\r
-                       unsigned long DPINTE0:1;\r
-               } BIT;\r
-       } DPUSR1R;\r
-};\r
-\r
-struct st_usb0 {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short SCKE:1;\r
-                       unsigned short :3;\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
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short OVCMON:2;\r
-                       unsigned short :7;\r
-                       unsigned short HTACT:1;\r
-                       unsigned short :3;\r
-                       unsigned short IDMON:1;\r
-                       unsigned short LNST:2;\r
-               } BIT;\r
-       } SYSSTS0;\r
-       char           wk1[2];\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
-       } DVSTCTR0;\r
-       char           wk2[10];\r
-       unsigned short CFIFO;\r
-       char           wk3[2];\r
-       unsigned short D0FIFO;\r
-       char           wk4[2];\r
-       unsigned short D1FIFO;\r
-       char           wk5[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short RCNT:1;\r
-                       unsigned short REW:1;\r
-                       unsigned short :3;\r
-                       unsigned short MBW:1;\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 :4;\r
-                       unsigned short DTLN:9;\r
-               } BIT;\r
-       } CFIFOCTR;\r
-       char           wk6[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 :1;\r
-                       unsigned short MBW:1;\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 :4;\r
-                       unsigned short DTLN:9;\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 :1;\r
-                       unsigned short MBW:1;\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 :4;\r
-                       unsigned short DTLN:9;\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
-       } 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 :4;\r
-                       unsigned short EOFERRE:1;\r
-                       unsigned short SIGNE:1;\r
-                       unsigned short SACKE:1;\r
-               } BIT;\r
-       } INTENB1;\r
-       char           wk7[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short PIPE9BRDYE:1;\r
-                       unsigned short PIPE8BRDYE:1;\r
-                       unsigned short PIPE7BRDYE:1;\r
-                       unsigned short PIPE6BRDYE:1;\r
-                       unsigned short PIPE5BRDYE:1;\r
-                       unsigned short PIPE4BRDYE:1;\r
-                       unsigned short PIPE3BRDYE:1;\r
-                       unsigned short PIPE2BRDYE:1;\r
-                       unsigned short PIPE1BRDYE:1;\r
-                       unsigned short PIPE0BRDYE:1;\r
-               } BIT;\r
-       } BRDYENB;\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
-       } NRDYENB;\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 PIPE7BEMPE:1;\r
-                       unsigned short PIPE6BEMPE:1;\r
-                       unsigned short PIPE5BEMPE:1;\r
-                       unsigned short PIPE4BEMPE:1;\r
-                       unsigned short PIPE3BEMPE:1;\r
-                       unsigned short PIPE2BEMPE:1;\r
-                       unsigned short PIPE1BEMPE:1;\r
-                       unsigned short PIPE0BEMPE:1;\r
-               } BIT;\r
-       } 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 :1;\r
-                       unsigned short EDGESTS:1;\r
-               } BIT;\r
-       } SOFCFG;\r
-       char           wk8[2];\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
-       } 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 :4;\r
-                       unsigned short EOFERR:1;\r
-                       unsigned short SIGN:1;\r
-                       unsigned short SACK:1;\r
-               } BIT;\r
-       } INTSTS1;\r
-       char           wk9[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
-       } 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
-       } 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
-       } 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
-       } FRMNUM;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short DVCHG:1;\r
-               } BIT;\r
-       } DVCHGR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short STSRECOV:4;\r
-                       unsigned short :1;\r
-                       unsigned short USBADDR:7;\r
-               } BIT;\r
-       } USBADDR;\r
-       char           wk10[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BREQUEST:8;\r
-                       unsigned short BMREQUESTTYPE:8;\r
-               } BIT;\r
-       } USBREQ;\r
-       unsigned short USBVAL;\r
-       unsigned short USBINDX;\r
-       unsigned short USBLENG;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\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
-       } DCPMAXP;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short SUREQ:1;\r
-                       unsigned short :2;\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 :2;\r
-                       unsigned short CCPL:1;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
-       } DCPCTR;\r
-       char           wk11[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :12;\r
-                       unsigned short PIPESEL:4;\r
-               } BIT;\r
-       } PIPESEL;\r
-       char           wk12[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 :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
-       char           wk13[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short DEVSEL:4;\r
-                       unsigned short :3;\r
-                       unsigned short MXPS:9;\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
-       } PIPEPERI;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short :3;\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 :3;\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 :3;\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 :3;\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 :3;\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 :5;\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 :5;\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 :5;\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 :5;\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           wk14[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
-       } PIPE1TRE;\r
-       unsigned short 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
-       } PIPE2TRE;\r
-       unsigned short 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
-       } PIPE3TRE;\r
-       unsigned short 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
-       } PIPE4TRE;\r
-       unsigned short 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
-       } PIPE5TRE;\r
-       unsigned short PIPE5TRN;\r
-       char           wk15[44];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD3;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD4;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD5;\r
-};\r
-\r
-struct st_usb1 {\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :5;\r
-                       unsigned short SCKE:1;\r
-                       unsigned short :3;\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
-       char           wk0[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short OVCMON:2;\r
-                       unsigned short :7;\r
-                       unsigned short HTACT:1;\r
-                       unsigned short :3;\r
-                       unsigned short IDMON:1;\r
-                       unsigned short LNST:2;\r
-               } BIT;\r
-       } SYSSTS0;\r
-       char           wk1[2];\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
-       } DVSTCTR0;\r
-       char           wk2[10];\r
-       unsigned short CFIFO;\r
-       char           wk3[2];\r
-       unsigned short D0FIFO;\r
-       char           wk4[2];\r
-       unsigned short D1FIFO;\r
-       char           wk5[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short RCNT:1;\r
-                       unsigned short REW:1;\r
-                       unsigned short :3;\r
-                       unsigned short MBW:1;\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 :4;\r
-                       unsigned short DTLN:9;\r
-               } BIT;\r
-       } CFIFOCTR;\r
-       char           wk6[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 :1;\r
-                       unsigned short MBW:1;\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 :4;\r
-                       unsigned short DTLN:9;\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 :1;\r
-                       unsigned short MBW:1;\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 :4;\r
-                       unsigned short DTLN:9;\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
-       } INTENB0;\r
-       char           wk7[4];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :6;\r
-                       unsigned short PIPE9BRDYE:1;\r
-                       unsigned short PIPE8BRDYE:1;\r
-                       unsigned short PIPE7BRDYE:1;\r
-                       unsigned short PIPE6BRDYE:1;\r
-                       unsigned short PIPE5BRDYE:1;\r
-                       unsigned short PIPE4BRDYE:1;\r
-                       unsigned short PIPE3BRDYE:1;\r
-                       unsigned short PIPE2BRDYE:1;\r
-                       unsigned short PIPE1BRDYE:1;\r
-                       unsigned short PIPE0BRDYE:1;\r
-               } BIT;\r
-       } BRDYENB;\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
-       } NRDYENB;\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 PIPE7BEMPE:1;\r
-                       unsigned short PIPE6BEMPE:1;\r
-                       unsigned short PIPE5BEMPE:1;\r
-                       unsigned short PIPE4BEMPE:1;\r
-                       unsigned short PIPE3BEMPE:1;\r
-                       unsigned short PIPE2BEMPE:1;\r
-                       unsigned short PIPE1BEMPE:1;\r
-                       unsigned short PIPE0BEMPE:1;\r
-               } BIT;\r
-       } BEMPENB;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :9;\r
-                       unsigned short BRDYM:1;\r
-                       unsigned short :1;\r
-                       unsigned short EDGESTS:1;\r
-               } BIT;\r
-       } SOFCFG;\r
-       char           wk8[2];\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
-       } INTSTS0;\r
-       char           wk9[4];\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
-       } 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
-       } 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
-       } 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
-       } FRMNUM;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short DVCHG:1;\r
-               } BIT;\r
-       } DVCHGR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :4;\r
-                       unsigned short STSRECOV:4;\r
-                       unsigned short :1;\r
-                       unsigned short USBADDR:7;\r
-               } BIT;\r
-       } USBADDR;\r
-       char           wk10[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BREQUEST:8;\r
-                       unsigned short BMREQUESTTYPE:8;\r
-               } BIT;\r
-       } USBREQ;\r
-       unsigned short USBVAL;\r
-       unsigned short USBINDX;\r
-       unsigned short USBLENG;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\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
-       } DCPMAXP;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short SUREQ:1;\r
-                       unsigned short :2;\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 :2;\r
-                       unsigned short CCPL:1;\r
-                       unsigned short PID:2;\r
-               } BIT;\r
-       } DCPCTR;\r
-       char           wk11[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :12;\r
-                       unsigned short PIPESEL:4;\r
-               } BIT;\r
-       } PIPESEL;\r
-       char           wk12[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 :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
-       char           wk13[2];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short DEVSEL:4;\r
-                       unsigned short :3;\r
-                       unsigned short MXPS:9;\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
-       } PIPEPERI;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short BSTS:1;\r
-                       unsigned short INBUFM:1;\r
-                       unsigned short :3;\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 :3;\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 :3;\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 :3;\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 :3;\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 :5;\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 :5;\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 :5;\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 :5;\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           wk14[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
-       } PIPE1TRE;\r
-       unsigned short 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
-       } PIPE2TRE;\r
-       unsigned short 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
-       } PIPE3TRE;\r
-       unsigned short 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
-       } PIPE4TRE;\r
-       unsigned short 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
-       } PIPE5TRE;\r
-       unsigned short PIPE5TRN;\r
-       char           wk15[44];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD0;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD1;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD2;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD3;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD4;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :8;\r
-                       unsigned short USBSPD:2;\r
-               } BIT;\r
-       } DEVADD5;\r
-};\r
-\r
-struct st_wdt {\r
-       unsigned char  WDTRR;\r
-       char           wk0[1];\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short :2;\r
-                       unsigned short RPSS:2;\r
-                       unsigned short :2;\r
-                       unsigned short RPES:2;\r
-                       unsigned short CKS:4;\r
-                       unsigned short :2;\r
-                       unsigned short TOPS:2;\r
-               } BIT;\r
-       } WDTCR;\r
-       union {\r
-               unsigned short WORD;\r
-               struct {\r
-                       unsigned short REFEF:1;\r
-                       unsigned short UNDFF:1;\r
-                       unsigned short CNTVAL:14;\r
-               } BIT;\r
-       } WDTSR;\r
-       union {\r
-               unsigned char BYTE;\r
-               struct {\r
-                       unsigned char RSTIRQS:1;\r
-               } BIT;\r
-       } WDTRCR;\r
-};\r
-\r
-enum enum_ir {\r
-IR_BSC_BUSERR=16,IR_FCU_FIFERR=21,\r
-IR_ICU_SWINT=27,\r
-IR_CMT0_CMI0,\r
-IR_CMT1_CMI1,\r
-IR_CMT2_CMI2,\r
-IR_CMT3_CMI3,\r
-IR_ETHER_EINT,\r
-IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,IR_USB0_USBI0,\r
-IR_USB1_D0FIFO1,IR_USB1_D1FIFO1,IR_USB1_USBI1,\r
-IR_RSPI0_SPRI0,IR_RSPI0_SPTI0,IR_RSPI0_SPII0,\r
-IR_RSPI1_SPRI1,IR_RSPI1_SPTI1,IR_RSPI1_SPII1,\r
-IR_RSPI2_SPRI2,IR_RSPI2_SPTI2,IR_RSPI2_SPII2,\r
-IR_CAN0_RXF0,IR_CAN0_TXF0,IR_CAN0_RXM0,IR_CAN0_TXM0,\r
-IR_CAN1_RXF1,IR_CAN1_TXF1,IR_CAN1_RXM1,IR_CAN1_TXM1,\r
-IR_CAN2_RXF2,IR_CAN2_TXF2,IR_CAN2_RXM2,IR_CAN2_TXM2,\r
-IR_RTC_COUNTUP=62,\r
-IR_ICU_IRQ0=64,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_USB_USBR0=90,IR_USB_USBR1,\r
-IR_RTC_ALARM,IR_RTC_PRD,\r
-IR_AD0_ADI0=98,\r
-IR_S12AD0_S12ADI0=102,\r
-IR_ICU_GROUPE0=106,IR_ICU_GROUPE1,IR_ICU_GROUPE2,IR_ICU_GROUPE3,IR_ICU_GROUPE4,IR_ICU_GROUPE5,IR_ICU_GROUPE6,IR_ICU_GROUPL0=114,\r
-IR_SCIX_SCIX0=122,IR_SCIX_SCIX1,IR_SCIX_SCIX2,IR_SCIX_SCIX3,\r
-IR_TPU0_TGI0A,IR_TPU0_TGI0B,IR_TPU0_TGI0C,IR_TPU0_TGI0D,\r
-IR_TPU1_TGI1A,IR_TPU1_TGI1B,\r
-IR_TPU2_TGI2A,IR_TPU2_TGI2B,\r
-IR_TPU3_TGI3A,IR_TPU3_TGI3B,IR_TPU3_TGI3C,IR_TPU3_TGI3D,\r
-IR_TPU4_TGI4A,IR_TPU4_TGI4B,\r
-IR_TPU5_TGI5A,IR_TPU5_TGI5B,\r
-IR_TPU6_TGI6A,IR_TPU6_TGI6B,IR_TPU6_TGI6C,IR_TPU6_TGI6D,\r
-IR_MTU0_TGIA0=142,IR_MTU0_TGIB0,IR_MTU0_TGIC0,IR_MTU0_TGID0,IR_MTU0_TGIE0,IR_MTU0_TGIF0,\r
-IR_TPU7_TGI7A,IR_TPU7_TGI7B,\r
-IR_MTU1_TGIA1=148,IR_MTU1_TGIB1,\r
-IR_TPU8_TGI8A,IR_TPU8_TGI8B,\r
-IR_MTU2_TGIA2=150,IR_MTU2_TGIB2,\r
-IR_TPU9_TGI9A,IR_TPU9_TGI9B,IR_TPU9_TGI9C,IR_TPU9_TGI9D,\r
-IR_MTU3_TGIA3=152,IR_MTU3_TGIB3,IR_MTU3_TGIC3,IR_MTU3_TGID3,\r
-IR_TPU10_TGI10A,IR_TPU10_TGI10B,\r
-IR_MTU4_TGIA4=156,IR_MTU4_TGIB4,IR_MTU4_TGIC4,IR_MTU4_TGID4,IR_MTU4_TCIV4,\r
-IR_MTU5_TGIU5,IR_MTU5_TGIV5,IR_MTU5_TGIW5,\r
-IR_TPU11_TGI11A,IR_TPU11_TGI11B,\r
-IR_POE_OEI1,IR_POE_OEI2,\r
-IR_TMR0_CMIA0=170,IR_TMR0_CMIB0,IR_TMR0_OVI0,\r
-IR_TMR1_CMIA1,IR_TMR1_CMIB1,IR_TMR1_OVI1,\r
-IR_TMR2_CMIA2,IR_TMR2_CMIB2,IR_TMR2_OVI2,\r
-IR_TMR3_CMIA3,IR_TMR3_CMIB3,IR_TMR3_OVI3,\r
-IR_RIIC0_EEI0,IR_RIIC0_RXI0,IR_RIIC0_TXI0,IR_RIIC0_TEI0,\r
-IR_RIIC1_EEI1,IR_RIIC1_RXI1,IR_RIIC1_TXI1,IR_RIIC1_TEI1,\r
-IR_RIIC2_EEI2,IR_RIIC2_RXI2,IR_RIIC2_TXI2,IR_RIIC2_TEI2,\r
-IR_RIIC3_EEI3,IR_RIIC3_RXI3,IR_RIIC3_TXI3,IR_RIIC3_TEI3,\r
-IR_DMAC_DMAC0I,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,\r
-IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
-IR_SCI0_RXI0=214,IR_SCI0_TXI0,IR_SCI0_TEI0,\r
-IR_SCI1_RXI1,IR_SCI1_TXI1,IR_SCI1_TEI1,\r
-IR_SCI2_RXI2,IR_SCI2_TXI2,IR_SCI2_TEI2,\r
-IR_SCI3_RXI3,IR_SCI3_TXI3,IR_SCI3_TEI3,\r
-IR_SCI4_RXI4,IR_SCI4_TXI4,IR_SCI4_TEI4,\r
-IR_SCI5_RXI5,IR_SCI5_TXI5,IR_SCI5_TEI5,\r
-IR_SCI6_RXI6,IR_SCI6_TXI6,IR_SCI6_TEI6,\r
-IR_SCI7_RXI7,IR_SCI7_TXI7,IR_SCI7_TEI7,\r
-IR_SCI8_RXI8,IR_SCI8_TXI8,IR_SCI8_TEI8,\r
-IR_SCI9_RXI9,IR_SCI9_TXI9,IR_SCI9_TEI9,\r
-IR_SCI10_RXI10,IR_SCI10_TXI10,IR_SCI10_TEI10,\r
-IR_SCI11_RXI11,IR_SCI11_TXI11,IR_SCI11_TEI11,\r
-IR_SCI12_RXI12,IR_SCI12_TXI12,IR_SCI12_TEI12,\r
-IR_IEB_IEBINT\r
-};\r
-\r
-enum enum_dtce {\r
-DTCE_ICU_SWINT=27,\r
-DTCE_CMT0_CMI0,\r
-DTCE_CMT1_CMI1,\r
-DTCE_CMT2_CMI2,\r
-DTCE_CMT3_CMI3,\r
-DTCE_USB0_D0FIFO0=33,DTCE_USB0_D1FIFO0,\r
-DTCE_USB1_D0FIFO1=36,DTCE_USB1_D1FIFO1,\r
-DTCE_RSPI0_SPRI0=39,DTCE_RSPI0_SPTI0,\r
-DTCE_RSPI1_SPRI1=42,DTCE_RSPI1_SPTI1,\r
-DTCE_RSPI2_SPRI2=45,DTCE_RSPI2_SPTI2,\r
-DTCE_ICU_IRQ0=64,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_AD0_ADI0=98,\r
-DTCE_S12AD0_S12ADI0=102,\r
-DTCE_TPU0_TGI0A=126,DTCE_TPU0_TGI0B,DTCE_TPU0_TGI0C,DTCE_TPU0_TGI0D,\r
-DTCE_TPU1_TGI1A,DTCE_TPU1_TGI1B,\r
-DTCE_TPU2_TGI2A,DTCE_TPU2_TGI2B,\r
-DTCE_TPU3_TGI3A,DTCE_TPU3_TGI3B,DTCE_TPU3_TGI3C,DTCE_TPU3_TGI3D,\r
-DTCE_TPU4_TGI4A,DTCE_TPU4_TGI4B,\r
-DTCE_TPU5_TGI5A,DTCE_TPU5_TGI5B,\r
-DTCE_TPU6_TGI6A,DTCE_TPU6_TGI6B,DTCE_TPU6_TGI6C,DTCE_TPU6_TGI6D,\r
-DTCE_MTU0_TGIA0=142,DTCE_MTU0_TGIB0,DTCE_MTU0_TGIC0,DTCE_MTU0_TGID0,\r
-DTCE_TPU7_TGI7A=148,DTCE_TPU7_TGI7B,\r
-DTCE_MTU1_TGIA1=148,DTCE_MTU1_TGIB1,\r
-DTCE_TPU8_TGI8A,DTCE_TPU8_TGI8B,\r
-DTCE_MTU2_TGIA2=150,DTCE_MTU2_TGIB2,\r
-DTCE_TPU9_TGI9A,DTCE_TPU9_TGI9B,DTCE_TPU9_TGI9C,DTCE_TPU9_TGI9D,\r
-DTCE_MTU3_TGIA3=152,DTCE_MTU3_TGIB3,DTCE_MTU3_TGIC3,DTCE_MTU3_TGID3,\r
-DTCE_TPU10_TGI10A,DTCE_TPU10_TGI10B,\r
-DTCE_MTU4_TGIA4=156,DTCE_MTU4_TGIB4,DTCE_MTU4_TGIC4,DTCE_MTU4_TGID4,DTCE_MTU4_TCIV4,\r
-DTCE_MTU5_TGIU5,DTCE_MTU5_TGIV5,DTCE_MTU5_TGIW5,\r
-DTCE_TPU11_TGI11A,DTCE_TPU11_TGI11B,\r
-DTCE_TMR0_CMIA0=170,DTCE_TMR0_CMIB0,\r
-DTCE_TMR1_CMIA1=173,DTCE_TMR1_CMIB1,\r
-DTCE_TMR2_CMIA2=176,DTCE_TMR2_CMIB2,\r
-DTCE_TMR3_CMIA3=179,DTCE_TMR3_CMIB3,\r
-DTCE_RIIC0_RXI0=183,DTCE_RIIC0_TXI0,\r
-DTCE_RIIC1_RXI1=187,DTCE_RIIC1_TXI1,\r
-DTCE_RIIC2_RXI2=191,DTCE_RIIC2_TXI2,\r
-DTCE_RIIC3_RXI3=195,DTCE_RIIC3_TXI3,\r
-DTCE_DMAC_DMAC0I=198,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
-DTCE_EXDMAC_EXDMAC0I,DTCE_EXDMAC_EXDMAC1I,\r
-DTCE_SCI0_RXI0=214,DTCE_SCI0_TXI0,\r
-DTCE_SCI1_RXI1=217,DTCE_SCI1_TXI1,\r
-DTCE_SCI2_RXI2=220,DTCE_SCI2_TXI2,\r
-DTCE_SCI3_RXI3=223,DTCE_SCI3_TXI3,\r
-DTCE_SCI4_RXI4=226,DTCE_SCI4_TXI4,\r
-DTCE_SCI5_RXI5=229,DTCE_SCI5_TXI5,\r
-DTCE_SCI6_RXI6=232,DTCE_SCI6_TXI6,\r
-DTCE_SCI7_RXI7=235,DTCE_SCI7_TXI7,\r
-DTCE_SCI8_RXI8=238,DTCE_SCI8_TXI8,\r
-DTCE_SCI9_RXI9=241,DTCE_SCI9_TXI9,\r
-DTCE_SCI10_RXI10=244,DTCE_SCI10_TXI10,\r
-DTCE_SCI11_RXI11=247,DTCE_SCI11_TXI11,\r
-DTCE_SCI12_RXI12=250,DTCE_SCI12_TXI12\r
-};\r
-\r
-enum enum_ier {\r
-IER_BSC_BUSERR=0x02,\r
-IER_FCU_FIFERR=0x02,IER_FCU_FRDYI=0x02,\r
-IER_ICU_SWINT=0x03,\r
-IER_CMT0_CMI0=0x03,\r
-IER_CMT1_CMI1=0x03,\r
-IER_CMT2_CMI2=0x03,\r
-IER_CMT3_CMI3=0x03,\r
-IER_ETHER_EINT=0x04,\r
-IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,IER_USB0_USBI0=0x04,\r
-IER_USB1_D0FIFO1=0x04,IER_USB1_D1FIFO1=0x04,IER_USB1_USBI1=0x04,\r
-IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x05,IER_RSPI0_SPII0=0x05,\r
-IER_RSPI1_SPRI1=0x05,IER_RSPI1_SPTI1=0x05,IER_RSPI1_SPII1=0x05,\r
-IER_RSPI2_SPRI2=0x05,IER_RSPI2_SPTI2=0x05,IER_RSPI2_SPII2=0x05,\r
-IER_CAN0_RXF0=0x06,IER_CAN0_TXF0=0x06,IER_CAN0_RXM0=0x06,IER_CAN0_TXM0=0x06,\r
-IER_CAN1_RXF1=0x06,IER_CAN1_TXF1=0x06,IER_CAN1_RXM1=0x06,IER_CAN1_TXM1=0x06,\r
-IER_CAN2_RXF2=0x07,IER_CAN2_TXF2=0x07,IER_CAN2_RXM2=0x07,IER_CAN2_TXM2=0x07,\r
-IER_RTC_COUNTUP=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_USB_USBR0=0x0B,IER_USB_USBR1=0x0B,\r
-IER_RTC_ALARM=0x0B,IER_RTC_PRD=0x0B,\r
-IER_AD0_ADI0=0x0C,\r
-IER_S12AD0_S12ADI0=0x0C,\r
-IER_ICU_GROUPE0=0x0D,IER_ICU_GROUPE1=0x0D,IER_ICU_GROUPE2=0x0D,IER_ICU_GROUPE3=0x0D,IER_ICU_GROUPE4=0x0D,IER_ICU_GROUPE5=0x0D,IER_ICU_GROUPE6=0x0E,IER_ICU_GROUPL0=0x0E,\r
-IER_SCIX_SCIX0=0x0F,IER_SCIX_SCIX1=0x0F,IER_SCIX_SCIX2=0x0F,IER_SCIX_SCIX3=0x0F,\r
-IER_TPU0_TGI0A=0x0F,IER_TPU0_TGI0B=0x0F,IER_TPU0_TGI0C=0x10,IER_TPU0_TGI0D=0x10,\r
-IER_TPU1_TGI1A=0x10,IER_TPU1_TGI1B=0x10,\r
-IER_TPU2_TGI2A=0x10,IER_TPU2_TGI2B=0x10,\r
-IER_TPU3_TGI3A=0x10,IER_TPU3_TGI3B=0x10,IER_TPU3_TGI3C=0x11,IER_TPU3_TGI3D=0x11,\r
-IER_TPU4_TGI4A=0x11,IER_TPU4_TGI4B=0x11,\r
-IER_TPU5_TGI5A=0x11,IER_TPU5_TGI5B=0x11,\r
-IER_TPU6_TGI6A=0x11,IER_TPU6_TGI6B=0x11,IER_TPU6_TGI6C=0x12,IER_TPU6_TGI6D=0x12,\r
-IER_MTU0_TGIA0=0x11,IER_MTU0_TGIB0=0x11,IER_MTU0_TGIC0=0x12,IER_MTU0_TGID0=0x12,IER_MTU0_TGIE0=0x12,IER_MTU0_TGIF0=0x12,\r
-IER_TPU7_TGI7A=0x12,IER_TPU7_TGI7B=0x12,\r
-IER_MTU1_TGIA1=0x12,IER_MTU1_TGIB1=0x12,\r
-IER_TPU8_TGI8A=0x12,IER_TPU8_TGI8B=0x12,\r
-IER_MTU2_TGIA2=0x12,IER_MTU2_TGIB2=0x12,\r
-IER_TPU9_TGI9A=0x13,IER_TPU9_TGI9B=0x13,IER_TPU9_TGI9C=0x13,IER_TPU9_TGI9D=0x13,\r
-IER_MTU3_TGIA3=0x13,IER_MTU3_TGIB3=0x13,IER_MTU3_TGIC3=0x13,IER_MTU3_TGID3=0x13,\r
-IER_TPU10_TGI10A=0x13,IER_TPU10_TGI10B=0x13,\r
-IER_MTU4_TGIA4=0x13,IER_MTU4_TGIB4=0x13,IER_MTU4_TGIC4=0x13,IER_MTU4_TGID4=0x13,IER_MTU4_TCIV4=0x14,\r
-IER_MTU5_TGIU5=0x14,IER_MTU5_TGIV5=0x14,IER_MTU5_TGIW5=0x14,\r
-IER_TPU11_TGI11A=0x14,IER_TPU11_TGI11B=0x14,\r
-IER_POE_OEI1=0x14,IER_POE_OEI2=0x14,\r
-IER_TMR0_CMIA0=0x15,IER_TMR0_CMIB0=0x15,IER_TMR0_OVI0=0x15,\r
-IER_TMR1_CMIA1=0x15,IER_TMR1_CMIB1=0x15,IER_TMR1_OVI1=0x15,\r
-IER_TMR2_CMIA2=0x16,IER_TMR2_CMIB2=0x16,IER_TMR2_OVI2=0x16,\r
-IER_TMR3_CMIA3=0x16,IER_TMR3_CMIB3=0x16,IER_TMR3_OVI3=0x16,\r
-IER_RIIC0_EEI0=0x16,IER_RIIC0_RXI0=0x16,IER_RIIC0_TXI0=0x17,IER_RIIC0_TEI0=0x17,\r
-IER_RIIC1_EEI1=0x17,IER_RIIC1_RXI1=0x17,IER_RIIC1_TXI1=0x17,IER_RIIC1_TEI1=0x17,\r
-IER_RIIC2_EEI2=0x17,IER_RIIC2_RXI2=0x17,IER_RIIC2_TXI2=0x18,IER_RIIC2_TEI2=0x18,\r
-IER_RIIC3_EEI3=0x18,IER_RIIC3_RXI3=0x18,IER_RIIC3_TXI3=0x18,IER_RIIC3_TEI3=0x18,\r
-IER_DMAC_DMAC0I=0x18,IER_DMAC_DMAC1I=0x18,IER_DMAC_DMAC2I=0x19,IER_DMAC_DMAC3I=0x19,\r
-IER_EXDMAC_EXDMAC0I=0x19,IER_EXDMAC_EXDMAC1I=0x19,\r
-IER_SCI0_RXI0=0x1A,IER_SCI0_TXI0=0x1A,IER_SCI0_TEI0=0x1B,\r
-IER_SCI1_RXI1=0x1B,IER_SCI1_TXI1=0x1B,IER_SCI1_TEI1=0x1B,\r
-IER_SCI2_RXI2=0x1B,IER_SCI2_TXI2=0x1B,IER_SCI2_TEI2=0x1B,\r
-IER_SCI3_RXI3=0x1B,IER_SCI3_TXI3=0x1C,IER_SCI3_TEI3=0x1C,\r
-IER_SCI4_RXI4=0x1C,IER_SCI4_TXI4=0x1C,IER_SCI4_TEI4=0x1C,\r
-IER_SCI5_RXI5=0x1C,IER_SCI5_TXI5=0x1C,IER_SCI5_TEI5=0x1C,\r
-IER_SCI6_RXI6=0x1D,IER_SCI6_TXI6=0x1D,IER_SCI6_TEI6=0x1D,\r
-IER_SCI7_RXI7=0x1D,IER_SCI7_TXI7=0x1D,IER_SCI7_TEI7=0x1D,\r
-IER_SCI8_RXI8=0x1D,IER_SCI8_TXI8=0x1D,IER_SCI8_TEI8=0x1E,\r
-IER_SCI9_RXI9=0x1E,IER_SCI9_TXI9=0x1E,IER_SCI9_TEI9=0x1E,\r
-IER_SCI10_RXI10=0x1E,IER_SCI10_TXI10=0x1E,IER_SCI10_TEI10=0x1E,\r
-IER_SCI11_RXI11=0x1E,IER_SCI11_TXI11=0x1F,IER_SCI11_TEI11=0x1F,\r
-IER_SCI12_RXI12=0x1F,IER_SCI12_TXI12=0x1F,IER_SCI12_TEI12=0x1F,\r
-IER_IEB_IEBINT=0x1F\r
-};\r
-\r
-enum enum_ipr {\r
-IPR_BSC_BUSERR=0,\r
-IPR_FCU_FIFERR=1,IPR_FCU_FRDYI=2,\r
-IPR_ICU_SWINT=3,\r
-IPR_CMT0_CMI0=4,\r
-IPR_CMT1_CMI1=5,\r
-IPR_CMT2_CMI2=6,\r
-IPR_CMT3_CMI3=7,\r
-IPR_ETHER_EINT=32,\r
-IPR_USB0_D0FIFO0=33,IPR_USB0_D1FIFO0=34,IPR_USB0_USBI0=35,\r
-IPR_USB1_D0FIFO1=36,IPR_USB1_D1FIFO1=37,IPR_USB1_USBI1=38,\r
-IPR_RSPI0_SPRI0=39,IPR_RSPI0_SPTI0=39,IPR_RSPI0_SPII0=39,\r
-IPR_RSPI1_SPRI1=42,IPR_RSPI1_SPTI1=42,IPR_RSPI1_SPII1=42,\r
-IPR_RSPI2_SPRI2=45,IPR_RSPI2_SPTI2=45,IPR_RSPI2_SPII2=45,\r
-IPR_CAN0_RXF0=48,IPR_CAN0_TXF0=48,IPR_CAN0_RXM0=48,IPR_CAN0_TXM0=48,\r
-IPR_CAN1_RXF1=52,IPR_CAN1_TXF1=52,IPR_CAN1_RXM1=52,IPR_CAN1_TXM1=52,\r
-IPR_CAN2_RXF2=56,IPR_CAN2_TXF2=56,IPR_CAN2_RXM2=56,IPR_CAN2_TXM2=56,\r
-IPR_RTC_COUNTUP=62,\r
-IPR_ICU_IRQ0=64,IPR_ICU_IRQ1=65,IPR_ICU_IRQ2=66,IPR_ICU_IRQ3=67,IPR_ICU_IRQ4=68,IPR_ICU_IRQ5=69,IPR_ICU_IRQ6=70,IPR_ICU_IRQ7=71,IPR_ICU_IRQ8=72,IPR_ICU_IRQ9=73,IPR_ICU_IRQ10=74,IPR_ICU_IRQ11=75,IPR_ICU_IRQ12=76,IPR_ICU_IRQ13=77,IPR_ICU_IRQ14=78,IPR_ICU_IRQ15=79,\r
-IPR_USB_USBR0=90,IPR_USB_USBR1=91,\r
-IPR_RTC_ALARM=92,IPR_RTC_PRD=93,\r
-IPR_AD0_ADI0=98,\r
-IPR_S12AD0_S12ADI0=102,\r
-IPR_ICU_GROUPE0=106,IPR_ICU_GROUPE1=107,IPR_ICU_GROUPE2=108,IPR_ICU_GROUPE3=109,IPR_ICU_GROUPE4=110,IPR_ICU_GROUPE5=111,IPR_ICU_GROUPE6=112,IPR_ICU_GROUPL0=114,\r
-IPR_SCIX_SCIX0=122,IPR_SCIX_SCIX1=122,IPR_SCIX_SCIX2=122,IPR_SCIX_SCIX3=122,\r
-IPR_TPU0_TGI0A=126,IPR_TPU0_TGI0B=126,IPR_TPU0_TGI0C=126,IPR_TPU0_TGI0D=126,\r
-IPR_TPU1_TGI1A=130,IPR_TPU1_TGI1B=130,\r
-IPR_TPU2_TGI2A=132,IPR_TPU2_TGI2B=132,\r
-IPR_TPU3_TGI3A=134,IPR_TPU3_TGI3B=134,IPR_TPU3_TGI3C=134,IPR_TPU3_TGI3D=134,\r
-IPR_TPU4_TGI4A=138,IPR_TPU4_TGI4B=138,\r
-IPR_TPU5_TGI5A=140,IPR_TPU5_TGI5B=140,\r
-IPR_TPU6_TGI6A=142,IPR_TPU6_TGI6B=142,IPR_TPU6_TGI6C=142,IPR_TPU6_TGI6D=142,\r
-IPR_MTU0_TGIA0=142,IPR_MTU0_TGIB0=142,IPR_MTU0_TGIC0=142,IPR_MTU0_TGID0=142,IPR_MTU0_TGIE0=146,IPR_MTU0_TGIF0=146,\r
-IPR_TPU7_TGI7A=148,IPR_TPU7_TGI7B=148,\r
-IPR_MTU1_TGIA1=148,IPR_MTU1_TGIB1=148,\r
-IPR_TPU8_TGI8A=150,IPR_TPU8_TGI8B=150,\r
-IPR_MTU2_TGIA2=150,IPR_MTU2_TGIB2=150,\r
-IPR_TPU9_TGI9A=152,IPR_TPU9_TGI9B=152,IPR_TPU9_TGI9C=152,IPR_TPU9_TGI9D=152,\r
-IPR_MTU3_TGIA3=152,IPR_MTU3_TGIB3=152,IPR_MTU3_TGIC3=152,IPR_MTU3_TGID3=152,\r
-IPR_TPU10_TGI10A=156,IPR_TPU10_TGI10B=156,\r
-IPR_MTU4_TGIA4=156,IPR_MTU4_TGIB4=156,IPR_MTU4_TGIC4=156,IPR_MTU4_TGID4=156,IPR_MTU4_TCIV4=160,\r
-IPR_MTU5_TGIU5=161,IPR_MTU5_TGIV5=161,IPR_MTU5_TGIW5=161,\r
-IPR_TPU11_TGI11A=164,IPR_TPU11_TGI11B=164,\r
-IPR_POE_OEI1=166,IPR_POE_OEI2=166,\r
-IPR_TMR0_CMIA0=170,IPR_TMR0_CMIB0=170,IPR_TMR0_OVI0=170,\r
-IPR_TMR1_CMIA1=173,IPR_TMR1_CMIB1=173,IPR_TMR1_OVI1=173,\r
-IPR_TMR2_CMIA2=176,IPR_TMR2_CMIB2=176,IPR_TMR2_OVI2=176,\r
-IPR_TMR3_CMIA3=179,IPR_TMR3_CMIB3=179,IPR_TMR3_OVI3=179,\r
-IPR_RIIC0_EEI0=182,IPR_RIIC0_RXI0=183,IPR_RIIC0_TXI0=184,IPR_RIIC0_TEI0=185,\r
-IPR_RIIC1_EEI1=186,IPR_RIIC1_RXI1=187,IPR_RIIC1_TXI1=188,IPR_RIIC1_TEI1=189,\r
-IPR_RIIC2_EEI2=190,IPR_RIIC2_RXI2=191,IPR_RIIC2_TXI2=192,IPR_RIIC2_TEI2=193,\r
-IPR_RIIC3_EEI3=194,IPR_RIIC3_RXI3=195,IPR_RIIC3_TXI3=196,IPR_RIIC3_TEI3=197,\r
-IPR_DMAC_DMAC0I=198,IPR_DMAC_DMAC1I=199,IPR_DMAC_DMAC2I=200,IPR_DMAC_DMAC3I=201,\r
-IPR_EXDMAC_EXDMAC0I=202,IPR_EXDMAC_EXDMAC1I=203,\r
-IPR_SCI0_RXI0=214,IPR_SCI0_TXI0=214,IPR_SCI0_TEI0=214,\r
-IPR_SCI1_RXI1=217,IPR_SCI1_TXI1=217,IPR_SCI1_TEI1=217,\r
-IPR_SCI2_RXI2=220,IPR_SCI2_TXI2=220,IPR_SCI2_TEI2=220,\r
-IPR_SCI3_RXI3=223,IPR_SCI3_TXI3=223,IPR_SCI3_TEI3=223,\r
-IPR_SCI4_RXI4=226,IPR_SCI4_TXI4=226,IPR_SCI4_TEI4=226,\r
-IPR_SCI5_RXI5=229,IPR_SCI5_TXI5=229,IPR_SCI5_TEI5=229,\r
-IPR_SCI6_RXI6=232,IPR_SCI6_TXI6=232,IPR_SCI6_TEI6=232,\r
-IPR_SCI7_RXI7=235,IPR_SCI7_TXI7=235,IPR_SCI7_TEI7=235,\r
-IPR_SCI8_RXI8=238,IPR_SCI8_TXI8=238,IPR_SCI8_TEI8=238,\r
-IPR_SCI9_RXI9=241,IPR_SCI9_TXI9=241,IPR_SCI9_TEI9=241,\r
-IPR_SCI10_RXI10=244,IPR_SCI10_TXI10=244,IPR_SCI10_TEI10=244,\r
-IPR_SCI11_RXI11=247,IPR_SCI11_TXI11=247,IPR_SCI11_TEI11=247,\r
-IPR_SCI12_RXI12=250,IPR_SCI12_TXI12=250,IPR_SCI12_TEI12=250,\r
-IPR_IEB_IEBINT=253,\r
-IPR_BSC_=0,\r
-IPR_CMT0_=4,\r
-IPR_CMT1_=5,\r
-IPR_CMT2_=6,\r
-IPR_CMT3_=7,\r
-IPR_ETHER_=32,\r
-IPR_RSPI0_=39,\r
-IPR_RSPI1_=42,\r
-IPR_RSPI2_=45,\r
-IPR_CAN0_=48,\r
-IPR_CAN1_=52,\r
-IPR_CAN2_=56,\r
-IPR_AD0_=98,\r
-IPR_S12AD0_=102,\r
-IPR_SCIX_=122,\r
-IPR_SCIX_SCI=122,\r
-IPR_TPU0_=126,\r
-IPR_TPU0_TGI=126,\r
-IPR_TPU1_=130,\r
-IPR_TPU1_TGI=130,\r
-IPR_TPU2_=132,\r
-IPR_TPU2_TGI=132,\r
-IPR_TPU3_=134,\r
-IPR_TPU3_TGI=134,\r
-IPR_TPU4_=138,\r
-IPR_TPU4_TGI=138,\r
-IPR_TPU5_=140,\r
-IPR_TPU5_TGI=140,\r
-IPR_MTU5_=161,\r
-IPR_MTU5_TGI=161,\r
-IPR_TPU11_=164,\r
-IPR_TPU11_TGI=164,\r
-IPR_POE_=166,\r
-IPR_POE_OEI=166,\r
-IPR_TMR0_=170,\r
-IPR_TMR1_=173,\r
-IPR_TMR2_=176,\r
-IPR_TMR3_=179,\r
-IPR_SCI0_=214,\r
-IPR_SCI1_=217,\r
-IPR_SCI2_=220,\r
-IPR_SCI3_=223,\r
-IPR_SCI4_=226,\r
-IPR_SCI5_=229,\r
-IPR_SCI6_=232,\r
-IPR_SCI7_=235,\r
-IPR_SCI8_=238,\r
-IPR_SCI9_=241,\r
-IPR_SCI10_=244,\r
-IPR_SCI11_=247,\r
-IPR_SCI12_=250,\r
-IPR_IEB_=253\r
-};\r
-\r
-enum enum_grp {\r
-GRP_CAN0_ERS0=0,GRP_CAN1_ERS1=0,GRP_CAN2_ERS2=0,\r
-GRP_MTU0_TCIV0=1,GRP_MTU1_TCIV1=1,GRP_MTU1_TCIU1=1,\r
-GRP_MTU2_TCIV2=2,GRP_MTU2_TCIU2=2,GRP_MTU3_TCIV3=2,\r
-GRP_TPU0_TCI0V=3,GRP_TPU1_TCI1V=3,GRP_TPU1_TCI1U=3,GRP_TPU5_TCI5V=3,GRP_TPU5_TCI5U=3,\r
-GRP_TPU2_TCI2V=4,GRP_TPU2_TCI2U=4,GRP_TPU3_TCI3V=4,GRP_TPU4_TCI4V=4,GRP_TPU4_TCI4U=4,\r
-GRP_TPU6_TCI6V=5,GRP_TPU7_TCI7V=5,GRP_TPU7_TCI7U=5,GRP_TPU11_TCI11V=5,GRP_TPU11_TCI11U=5,\r
-GRP_TPU8_TCI8V=6,GRP_TPU8_TCI8U=6,GRP_TPU9_TCI9V=6,GRP_TPU10_TCI10V=6,GRP_TPU10_TCI10U=6,\r
-GRP_SCI0_ERI0=12,GRP_SCI1_ERI1=12,GRP_SCI2_ERI2=12,GRP_SCI3_ERI3=12,GRP_SCI4_ERI4=12,GRP_SCI5_ERI5=12,GRP_SCI6_ERI6=12,\r
-GRP_SCI7_ERI7=12,GRP_SCI8_ERI8=12,GRP_SCI9_ERI9=12,GRP_SCI10_ERI10=12,GRP_SCI11_ERI11=12,GRP_SCI12_ERI12=12,\r
-GRP_RSPI0_SPEI0=12,GRP_RSPI1_SPEI1=12,GRP_RSPI2_SPEI2=12\r
-};\r
-\r
-enum enum_gen {\r
-GEN_CAN0_ERS0=0,GEN_CAN1_ERS1=0,GEN_CAN2_ERS2=0,\r
-GEN_MTU0_TCIV0=1,GEN_MTU1_TCIV1=1,GEN_MTU1_TCIU1=1,\r
-GEN_MTU2_TCIV2=2,GEN_MTU2_TCIU2=2,GEN_MTU3_TCIV3=2,\r
-GEN_TPU0_TCI0V=3,GEN_TPU1_TCI1V=3,GEN_TPU1_TCI1U=3,GEN_TPU5_TCI5V=3,GEN_TPU5_TCI5U=3,\r
-GEN_TPU2_TCI2V=4,GEN_TPU2_TCI2U=4,GEN_TPU3_TCI3V=4,GEN_TPU4_TCI4V=4,GEN_TPU4_TCI4U=4,\r
-GEN_TPU6_TCI6V=5,GEN_TPU7_TCI7V=5,GEN_TPU7_TCI7U=5,GEN_TPU11_TCI11V=5,GEN_TPU11_TCI11U=5,\r
-GEN_TPU8_TCI8V=6,GEN_TPU8_TCI8U=6,GEN_TPU9_TCI9V=6,GEN_TPU10_TCI10V=6,GEN_TPU10_TCI10U=6,\r
-GEN_SCI0_ERI0=12,GEN_SCI1_ERI1=12,GEN_SCI2_ERI2=12,GEN_SCI3_ERI3=12,GEN_SCI4_ERI4=12,GEN_SCI5_ERI5=12,GEN_SCI6_ERI6=12,\r
-GEN_SCI7_ERI7=12,GEN_SCI8_ERI8=12,GEN_SCI9_ERI9=12,GEN_SCI10_ERI10=12,GEN_SCI11_ERI11=12,GEN_SCI12_ERI12=12,\r
-GEN_RSPI0_SPEI0=12,GEN_RSPI1_SPEI1=12,GEN_RSPI2_SPEI2=12\r
-};\r
-\r
-enum enum_gcr {\r
-GCR_CAN0_ERS0=0,GCR_CAN1_ERS1=0,GCR_CAN2_ERS2=0,\r
-GCR_MTU0_TCIV0=1,GCR_MTU1_TCIV1=1,GCR_MTU1_TCIU1=1,\r
-GCR_MTU2_TCIV2=2,GCR_MTU2_TCIU2=2,GCR_MTU3_TCIV3=2,\r
-GCR_TPU0_TCI0V=3,GCR_TPU1_TCI1V=3,GCR_TPU1_TCI1U=3,GCR_TPU5_TCI5V=3,GCR_TPU5_TCI5U=3,\r
-GCR_TPU2_TCI2V=4,GCR_TPU2_TCI2U=4,GCR_TPU3_TCI3V=4,GCR_TPU4_TCI4V=4,GCR_TPU4_TCI4U=4,\r
-GCR_TPU6_TCI6V=5,GCR_TPU7_TCI7V=5,GCR_TPU7_TCI7U=5,GCR_TPU11_TCI11V=5,GCR_TPU11_TCI11U=5,\r
-GCR_TPU8_TCI8V=6,GCR_TPU8_TCI8U=6,GCR_TPU9_TCI9V=6,GCR_TPU10_TCI10V=6,GCR_TPU10_TCI10U=6,\r
-GCR_SCI0_ERI0=12,GCR_SCI1_ERI1=12,GCR_SCI2_ERI2=12,GCR_SCI3_ERI3=12,GCR_SCI4_ERI4=12,GCR_SCI5_ERI5=12,GCR_SCI6_ERI6=12,\r
-GCR_SCI7_ERI7=12,GCR_SCI8_ERI8=12,GCR_SCI9_ERI9=12,GCR_SCI10_ERI10=12,GCR_SCI11_ERI11=12,GCR_SCI12_ERI12=12,\r
-GCR_RSPI0_SPEI0=12,GCR_RSPI1_SPEI1=12,GCR_RSPI2_SPEI2=12\r
-};\r
-\r
-#define        IEN_BSC_BUSERR          IEN0\r
-#define        IEN_FCU_FIFERR          IEN5\r
-#define        IEN_FCU_FRDYI           IEN7\r
-#define        IEN_ICU_SWINT           IEN3\r
-#define        IEN_CMT0_CMI0           IEN4\r
-#define        IEN_CMT1_CMI1           IEN5\r
-#define        IEN_CMT2_CMI2           IEN6\r
-#define        IEN_CMT3_CMI3           IEN7\r
-#define        IEN_ETHER_EINT          IEN0\r
-#define        IEN_USB0_D0FIFO0        IEN1\r
-#define        IEN_USB0_D1FIFO0        IEN2\r
-#define        IEN_USB0_USBI0          IEN3\r
-#define        IEN_USB1_D0FIFO1        IEN4\r
-#define        IEN_USB1_D1FIFO1        IEN5\r
-#define        IEN_USB1_USBI1          IEN6\r
-#define        IEN_RSPI0_SPRI0         IEN7\r
-#define        IEN_RSPI0_SPTI0         IEN0\r
-#define        IEN_RSPI0_SPII0         IEN1\r
-#define        IEN_RSPI1_SPRI1         IEN2\r
-#define        IEN_RSPI1_SPTI1         IEN3\r
-#define        IEN_RSPI1_SPII1         IEN4\r
-#define        IEN_RSPI2_SPRI2         IEN5\r
-#define        IEN_RSPI2_SPTI2         IEN6\r
-#define        IEN_RSPI2_SPII2         IEN7\r
-#define        IEN_CAN0_RXF0           IEN0\r
-#define        IEN_CAN0_TXF0           IEN1\r
-#define        IEN_CAN0_RXM0           IEN2\r
-#define        IEN_CAN0_TXM0           IEN3\r
-#define        IEN_CAN1_RXF1           IEN4\r
-#define        IEN_CAN1_TXF1           IEN5\r
-#define        IEN_CAN1_RXM1           IEN6\r
-#define        IEN_CAN1_TXM1           IEN7\r
-#define        IEN_CAN2_RXF2           IEN0\r
-#define        IEN_CAN2_TXF2           IEN1\r
-#define        IEN_CAN2_RXM2           IEN2\r
-#define        IEN_CAN2_TXM2           IEN3\r
-#define        IEN_RTC_COUNTUP         IEN6\r
-#define        IEN_ICU_IRQ0            IEN0\r
-#define        IEN_ICU_IRQ1            IEN1\r
-#define        IEN_ICU_IRQ2            IEN2\r
-#define        IEN_ICU_IRQ3            IEN3\r
-#define        IEN_ICU_IRQ4            IEN4\r
-#define        IEN_ICU_IRQ5            IEN5\r
-#define        IEN_ICU_IRQ6            IEN6\r
-#define        IEN_ICU_IRQ7            IEN7\r
-#define        IEN_ICU_IRQ8            IEN0\r
-#define        IEN_ICU_IRQ9            IEN1\r
-#define        IEN_ICU_IRQ10           IEN2\r
-#define        IEN_ICU_IRQ11           IEN3\r
-#define        IEN_ICU_IRQ12           IEN4\r
-#define        IEN_ICU_IRQ13           IEN5\r
-#define        IEN_ICU_IRQ14           IEN6\r
-#define        IEN_ICU_IRQ15           IEN7\r
-#define        IEN_USB_USBR0           IEN2\r
-#define        IEN_USB_USBR1           IEN3\r
-#define        IEN_RTC_ALARM           IEN4\r
-#define        IEN_RTC_PRD                     IEN5\r
-#define        IEN_AD0_ADI0            IEN2\r
-#define        IEN_S12AD0_S12ADI0      IEN6\r
-#define        IEN_ICU_GROUPE0         IEN2\r
-#define        IEN_ICU_GROUPE1         IEN3\r
-#define        IEN_ICU_GROUPE2         IEN4\r
-#define        IEN_ICU_GROUPE3         IEN5\r
-#define        IEN_ICU_GROUPE4         IEN6\r
-#define        IEN_ICU_GROUPE5         IEN7\r
-#define        IEN_ICU_GROUPE6         IEN0\r
-#define        IEN_ICU_GROUPL0         IEN2\r
-#define        IEN_SCIX_SCIX0          IEN2\r
-#define        IEN_SCIX_SCIX1          IEN3\r
-#define        IEN_SCIX_SCIX2          IEN4\r
-#define        IEN_SCIX_SCIX3          IEN5\r
-#define        IEN_TPU0_TGI0A          IEN6\r
-#define        IEN_TPU0_TGI0B          IEN7\r
-#define        IEN_TPU0_TGI0C          IEN0\r
-#define        IEN_TPU0_TGI0D          IEN1\r
-#define        IEN_TPU1_TGI1A          IEN2\r
-#define        IEN_TPU1_TGI1B          IEN3\r
-#define        IEN_TPU2_TGI2A          IEN4\r
-#define        IEN_TPU2_TGI2B          IEN5\r
-#define        IEN_TPU3_TGI3A          IEN6\r
-#define        IEN_TPU3_TGI3B          IEN7\r
-#define        IEN_TPU3_TGI3C          IEN0\r
-#define        IEN_TPU3_TGI3D          IEN1\r
-#define        IEN_TPU4_TGI4A          IEN2\r
-#define        IEN_TPU4_TGI4B          IEN3\r
-#define        IEN_TPU5_TGI5A          IEN4\r
-#define        IEN_TPU5_TGI5B          IEN5\r
-#define        IEN_TPU6_TGI6A          IEN6\r
-#define        IEN_TPU6_TGI6B          IEN7\r
-#define        IEN_TPU6_TGI6C          IEN0\r
-#define        IEN_TPU6_TGI6D          IEN1\r
-#define        IEN_MTU0_TGIA0          IEN6\r
-#define        IEN_MTU0_TGIB0          IEN7\r
-#define        IEN_MTU0_TGIC0          IEN0\r
-#define        IEN_MTU0_TGID0          IEN1\r
-#define        IEN_MTU0_TGIE0          IEN2\r
-#define        IEN_MTU0_TGIF0          IEN3\r
-#define        IEN_TPU7_TGI7A          IEN4\r
-#define        IEN_TPU7_TGI7B          IEN5\r
-#define        IEN_MTU1_TGIA1          IEN4\r
-#define        IEN_MTU1_TGIB1          IEN5\r
-#define        IEN_TPU8_TGI8A          IEN6\r
-#define        IEN_TPU8_TGI8B          IEN7\r
-#define        IEN_MTU2_TGIA2          IEN6\r
-#define        IEN_MTU2_TGIB2          IEN7\r
-#define        IEN_TPU9_TGI9A          IEN0\r
-#define        IEN_TPU9_TGI9B          IEN1\r
-#define        IEN_TPU9_TGI9C          IEN2\r
-#define        IEN_TPU9_TGI9D          IEN3\r
-#define        IEN_MTU3_TGIA3          IEN0\r
-#define        IEN_MTU3_TGIB3          IEN1\r
-#define        IEN_MTU3_TGIC3          IEN2\r
-#define        IEN_MTU3_TGID3          IEN3\r
-#define        IEN_TPU10_TGI10A        IEN4\r
-#define        IEN_TPU10_TGI10B        IEN5\r
-#define        IEN_MTU4_TGIA4          IEN4\r
-#define        IEN_MTU4_TGIB4          IEN5\r
-#define        IEN_MTU4_TGIC4          IEN6\r
-#define        IEN_MTU4_TGID4          IEN7\r
-#define        IEN_MTU4_TCIV4          IEN0\r
-#define        IEN_MTU5_TGIU5          IEN1\r
-#define        IEN_MTU5_TGIV5          IEN2\r
-#define        IEN_MTU5_TGIW5          IEN3\r
-#define        IEN_TPU11_TGI11A        IEN4\r
-#define        IEN_TPU11_TGI11B        IEN5\r
-#define        IEN_POE_OEI1            IEN6\r
-#define        IEN_POE_OEI2            IEN7\r
-#define        IEN_TMR0_CMIA0          IEN2\r
-#define        IEN_TMR0_CMIB0          IEN3\r
-#define        IEN_TMR0_OVI0           IEN4\r
-#define        IEN_TMR1_CMIA1          IEN5\r
-#define        IEN_TMR1_CMIB1          IEN6\r
-#define        IEN_TMR1_OVI1           IEN7\r
-#define        IEN_TMR2_CMIA2          IEN0\r
-#define        IEN_TMR2_CMIB2          IEN1\r
-#define        IEN_TMR2_OVI2           IEN2\r
-#define        IEN_TMR3_CMIA3          IEN3\r
-#define        IEN_TMR3_CMIB3          IEN4\r
-#define        IEN_TMR3_OVI3           IEN5\r
-#define        IEN_RIIC0_EEI0          IEN6\r
-#define        IEN_RIIC0_RXI0          IEN7\r
-#define        IEN_RIIC0_TXI0          IEN0\r
-#define        IEN_RIIC0_TEI0          IEN1\r
-#define        IEN_RIIC1_EEI1          IEN2\r
-#define        IEN_RIIC1_RXI1          IEN3\r
-#define        IEN_RIIC1_TXI1          IEN4\r
-#define        IEN_RIIC1_TEI1          IEN5\r
-#define        IEN_RIIC2_EEI2          IEN6\r
-#define        IEN_RIIC2_RXI2          IEN7\r
-#define        IEN_RIIC2_TXI2          IEN0\r
-#define        IEN_RIIC2_TEI2          IEN1\r
-#define        IEN_RIIC3_EEI3          IEN2\r
-#define        IEN_RIIC3_RXI3          IEN3\r
-#define        IEN_RIIC3_TXI3          IEN4\r
-#define        IEN_RIIC3_TEI3          IEN5\r
-#define        IEN_DMAC_DMAC0I         IEN6\r
-#define        IEN_DMAC_DMAC1I         IEN7\r
-#define        IEN_DMAC_DMAC2I         IEN0\r
-#define        IEN_DMAC_DMAC3I         IEN1\r
-#define        IEN_EXDMAC_EXDMAC0I     IEN2\r
-#define        IEN_EXDMAC_EXDMAC1I     IEN3\r
-#define        IEN_SCI0_RXI0           IEN6\r
-#define        IEN_SCI0_TXI0           IEN7\r
-#define        IEN_SCI0_TEI0           IEN0\r
-#define        IEN_SCI1_RXI1           IEN1\r
-#define        IEN_SCI1_TXI1           IEN2\r
-#define        IEN_SCI1_TEI1           IEN3\r
-#define        IEN_SCI2_RXI2           IEN4\r
-#define        IEN_SCI2_TXI2           IEN5\r
-#define        IEN_SCI2_TEI2           IEN6\r
-#define        IEN_SCI3_RXI3           IEN7\r
-#define        IEN_SCI3_TXI3           IEN0\r
-#define        IEN_SCI3_TEI3           IEN1\r
-#define        IEN_SCI4_RXI4           IEN2\r
-#define        IEN_SCI4_TXI4           IEN3\r
-#define        IEN_SCI4_TEI4           IEN4\r
-#define        IEN_SCI5_RXI5           IEN5\r
-#define        IEN_SCI5_TXI5           IEN6\r
-#define        IEN_SCI5_TEI5           IEN7\r
-#define        IEN_SCI6_RXI6           IEN0\r
-#define        IEN_SCI6_TXI6           IEN1\r
-#define        IEN_SCI6_TEI6           IEN2\r
-#define        IEN_SCI7_RXI7           IEN3\r
-#define        IEN_SCI7_TXI7           IEN4\r
-#define        IEN_SCI7_TEI7           IEN5\r
-#define        IEN_SCI8_RXI8           IEN6\r
-#define        IEN_SCI8_TXI8           IEN7\r
-#define        IEN_SCI8_TEI8           IEN0\r
-#define        IEN_SCI9_RXI9           IEN1\r
-#define        IEN_SCI9_TXI9           IEN2\r
-#define        IEN_SCI9_TEI9           IEN3\r
-#define        IEN_SCI10_RXI10         IEN4\r
-#define        IEN_SCI10_TXI10         IEN5\r
-#define        IEN_SCI10_TEI10         IEN6\r
-#define        IEN_SCI11_RXI11         IEN7\r
-#define        IEN_SCI11_TXI11         IEN0\r
-#define        IEN_SCI11_TEI11         IEN1\r
-#define        IEN_SCI12_RXI12         IEN2\r
-#define        IEN_SCI12_TXI12         IEN3\r
-#define        IEN_SCI12_TEI12         IEN4\r
-#define        IEN_IEB_IEBINT          IEN5\r
-\r
-#define        VECT_BSC_BUSERR         16\r
-#define        VECT_FCU_FIFERR         21\r
-#define        VECT_FCU_FRDYI          23\r
-#define        VECT_ICU_SWINT          27\r
-#define        VECT_CMT0_CMI0          28\r
-#define        VECT_CMT1_CMI1          29\r
-#define        VECT_CMT2_CMI2          30\r
-#define        VECT_CMT3_CMI3          31\r
-#define        VECT_ETHER_EINT         32\r
-#define        VECT_USB0_D0FIFO0       33\r
-#define        VECT_USB0_D1FIFO0       34\r
-#define        VECT_USB0_USBI0         35\r
-#define        VECT_USB1_D0FIFO1       36\r
-#define        VECT_USB1_D1FIFO1       37\r
-#define        VECT_USB1_USBI1         38\r
-#define        VECT_RSPI0_SPRI0        39\r
-#define        VECT_RSPI0_SPTI0        40\r
-#define        VECT_RSPI0_SPII0        41\r
-#define        VECT_RSPI1_SPRI1        42\r
-#define        VECT_RSPI1_SPTI1        43\r
-#define        VECT_RSPI1_SPII1        44\r
-#define        VECT_RSPI2_SPRI2        45\r
-#define        VECT_RSPI2_SPTI2        46\r
-#define        VECT_RSPI2_SPII2        47\r
-#define        VECT_CAN0_RXF0          48\r
-#define        VECT_CAN0_TXF0          49\r
-#define        VECT_CAN0_RXM0          50\r
-#define        VECT_CAN0_TXM0          51\r
-#define        VECT_CAN1_RXF1          52\r
-#define        VECT_CAN1_TXF1          53\r
-#define        VECT_CAN1_RXM1          54\r
-#define        VECT_CAN1_TXM1          55\r
-#define        VECT_CAN2_RXF2          56\r
-#define        VECT_CAN2_TXF2          57\r
-#define        VECT_CAN2_RXM2          58\r
-#define        VECT_CAN2_TXM2          59\r
-#define        VECT_RTC_COUNTUP        62\r
-#define        VECT_ICU_IRQ0           64\r
-#define        VECT_ICU_IRQ1           65\r
-#define        VECT_ICU_IRQ2           66\r
-#define        VECT_ICU_IRQ3           67\r
-#define        VECT_ICU_IRQ4           68\r
-#define        VECT_ICU_IRQ5           69\r
-#define        VECT_ICU_IRQ6           70\r
-#define        VECT_ICU_IRQ7           71\r
-#define        VECT_ICU_IRQ8           72\r
-#define        VECT_ICU_IRQ9           73\r
-#define        VECT_ICU_IRQ10          74\r
-#define        VECT_ICU_IRQ11          75\r
-#define        VECT_ICU_IRQ12          76\r
-#define        VECT_ICU_IRQ13          77\r
-#define        VECT_ICU_IRQ14          78\r
-#define        VECT_ICU_IRQ15          79\r
-#define        VECT_USB_USBR0          90\r
-#define        VECT_USB_USBR1          91\r
-#define        VECT_RTC_ALARM          92\r
-#define        VECT_RTC_PRD            93\r
-#define        VECT_AD0_ADI0           98\r
-#define        VECT_S12AD0_S12ADI0     102\r
-#define        VECT_ICU_GROUPE0        106\r
-#define        VECT_ICU_GROUPE1        107\r
-#define        VECT_ICU_GROUPE2        108\r
-#define        VECT_ICU_GROUPE3        109\r
-#define        VECT_ICU_GROUPE4        110\r
-#define        VECT_ICU_GROUPE5        111\r
-#define        VECT_ICU_GROUPE6        112\r
-#define        VECT_ICU_GROUPL0        114\r
-#define        VECT_SCIX_SCIX0         122\r
-#define        VECT_SCIX_SCIX1         123\r
-#define        VECT_SCIX_SCIX2         124\r
-#define        VECT_SCIX_SCIX3         125\r
-#define        VECT_TPU0_TGI0A         126\r
-#define        VECT_TPU0_TGI0B         127\r
-#define        VECT_TPU0_TGI0C         128\r
-#define        VECT_TPU0_TGI0D         129\r
-#define        VECT_TPU1_TGI1A         130\r
-#define        VECT_TPU1_TGI1B         131\r
-#define        VECT_TPU2_TGI2A         132\r
-#define        VECT_TPU2_TGI2B         133\r
-#define        VECT_TPU3_TGI3A         134\r
-#define        VECT_TPU3_TGI3B         135\r
-#define        VECT_TPU3_TGI3C         136\r
-#define        VECT_TPU3_TGI3D         137\r
-#define        VECT_TPU4_TGI4A         138\r
-#define        VECT_TPU4_TGI4B         139\r
-#define        VECT_TPU5_TGI5A         140\r
-#define        VECT_TPU5_TGI5B         141\r
-#define        VECT_TPU6_TGI6A         142\r
-#define        VECT_TPU6_TGI6B         143\r
-#define        VECT_TPU6_TGI6C         144\r
-#define        VECT_TPU6_TGI6D         145\r
-#define        VECT_MTU0_TGIA0         142\r
-#define        VECT_MTU0_TGIB0         143\r
-#define        VECT_MTU0_TGIC0         144\r
-#define        VECT_MTU0_TGID0         145\r
-#define        VECT_MTU0_TGIE0         146\r
-#define        VECT_MTU0_TGIF0         147\r
-#define        VECT_TPU7_TGI7A         148\r
-#define        VECT_TPU7_TGI7B         149\r
-#define        VECT_MTU1_TGIA1         148\r
-#define        VECT_MTU1_TGIB1         149\r
-#define        VECT_TPU8_TGI8A         150\r
-#define        VECT_TPU8_TGI8B         151\r
-#define        VECT_MTU2_TGIA2         150\r
-#define        VECT_MTU2_TGIB2         151\r
-#define        VECT_TPU9_TGI9A         152\r
-#define        VECT_TPU9_TGI9B         153\r
-#define        VECT_TPU9_TGI9C         154\r
-#define        VECT_TPU9_TGI9D         155\r
-#define        VECT_MTU3_TGIA3         152\r
-#define        VECT_MTU3_TGIB3         153\r
-#define        VECT_MTU3_TGIC3         154\r
-#define        VECT_MTU3_TGID3         155\r
-#define        VECT_TPU10_TGI10A       156\r
-#define        VECT_TPU10_TGI10B       157\r
-#define        VECT_MTU4_TGIA4         156\r
-#define        VECT_MTU4_TGIB4         157\r
-#define        VECT_MTU4_TGIC4         158\r
-#define        VECT_MTU4_TGID4         159\r
-#define        VECT_MTU4_TCIV4         160\r
-#define        VECT_MTU5_TGIU5         161\r
-#define        VECT_MTU5_TGIV5         162\r
-#define        VECT_MTU5_TGIW5         163\r
-#define        VECT_TPU11_TGI11A       164\r
-#define        VECT_TPU11_TGI11B       165\r
-#define        VECT_POE_OEI1           166\r
-#define        VECT_POE_OEI2           167\r
-#define        VECT_TMR0_CMIA0         170\r
-#define        VECT_TMR0_CMIB0         171\r
-#define        VECT_TMR0_OVI0          172\r
-#define        VECT_TMR1_CMIA1         173\r
-#define        VECT_TMR1_CMIB1         174\r
-#define        VECT_TMR1_OVI1          175\r
-#define        VECT_TMR2_CMIA2         176\r
-#define        VECT_TMR2_CMIB2         177\r
-#define        VECT_TMR2_OVI2          178\r
-#define        VECT_TMR3_CMIA3         179\r
-#define        VECT_TMR3_CMIB3         180\r
-#define        VECT_TMR3_OVI3          181\r
-#define        VECT_RIIC0_EEI0         182\r
-#define        VECT_RIIC0_RXI0         183\r
-#define        VECT_RIIC0_TXI0         184\r
-#define        VECT_RIIC0_TEI0         185\r
-#define        VECT_RIIC1_EEI1         186\r
-#define        VECT_RIIC1_RXI1         187\r
-#define        VECT_RIIC1_TXI1         188\r
-#define        VECT_RIIC1_TEI1         189\r
-#define        VECT_RIIC2_EEI2         190\r
-#define        VECT_RIIC2_RXI2         191\r
-#define        VECT_RIIC2_TXI2         192\r
-#define        VECT_RIIC2_TEI2         193\r
-#define        VECT_RIIC3_EEI3         194\r
-#define        VECT_RIIC3_RXI3         195\r
-#define        VECT_RIIC3_TXI3         196\r
-#define        VECT_RIIC3_TEI3         197\r
-#define        VECT_DMAC_DMAC0I        198\r
-#define        VECT_DMAC_DMAC1I        199\r
-#define        VECT_DMAC_DMAC2I        200\r
-#define        VECT_DMAC_DMAC3I        201\r
-#define        VECT_EXDMAC_EXDMAC0I    202\r
-#define        VECT_EXDMAC_EXDMAC1I    203\r
-#define        VECT_SCI0_RXI0          214\r
-#define        VECT_SCI0_TXI0          215\r
-#define        VECT_SCI0_TEI0          216\r
-#define        VECT_SCI1_RXI1          217\r
-#define        VECT_SCI1_TXI1          218\r
-#define        VECT_SCI1_TEI1          219\r
-#define        VECT_SCI2_RXI2          220\r
-#define        VECT_SCI2_TXI2          221\r
-#define        VECT_SCI2_TEI2          222\r
-#define        VECT_SCI3_RXI3          223\r
-#define        VECT_SCI3_TXI3          224\r
-#define        VECT_SCI3_TEI3          225\r
-#define        VECT_SCI4_RXI4          226\r
-#define        VECT_SCI4_TXI4          227\r
-#define        VECT_SCI4_TEI4          228\r
-#define        VECT_SCI5_RXI5          229\r
-#define        VECT_SCI5_TXI5          230\r
-#define        VECT_SCI5_TEI5          231\r
-#define        VECT_SCI6_RXI6          232\r
-#define        VECT_SCI6_TXI6          233\r
-#define        VECT_SCI6_TEI6          234\r
-#define        VECT_SCI7_RXI7          235\r
-#define        VECT_SCI7_TXI7          236\r
-#define        VECT_SCI7_TEI7          237\r
-#define        VECT_SCI8_RXI8          238\r
-#define        VECT_SCI8_TXI8          239\r
-#define        VECT_SCI8_TEI8          240\r
-#define        VECT_SCI9_RXI9          241\r
-#define        VECT_SCI9_TXI9          242\r
-#define        VECT_SCI9_TEI9          243\r
-#define        VECT_SCI10_RXI10        244\r
-#define        VECT_SCI10_TXI10        245\r
-#define        VECT_SCI10_TEI10        246\r
-#define        VECT_SCI11_RXI11        247\r
-#define        VECT_SCI11_TXI11        248\r
-#define        VECT_SCI11_TEI11        249\r
-#define        VECT_SCI12_RXI12        250\r
-#define        VECT_SCI12_TXI12        251\r
-#define        VECT_SCI12_TEI12        252\r
-#define        VECT_IEB_IEBINT         253\r
-\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_DTC        SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define        MSTP_AD         SYSTEM.MSTPCRA.BIT.MSTPA23\r
-#define        MSTP_DA         SYSTEM.MSTPCRA.BIT.MSTPA19\r
-#define        MSTP_S12AD      SYSTEM.MSTPCRA.BIT.MSTPA17\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_TPU6       SYSTEM.MSTPCRA.BIT.MSTPA12\r
-#define        MSTP_TPU7       SYSTEM.MSTPCRA.BIT.MSTPA12\r
-#define        MSTP_TPU8       SYSTEM.MSTPCRA.BIT.MSTPA12\r
-#define        MSTP_TPU9       SYSTEM.MSTPCRA.BIT.MSTPA12\r
-#define        MSTP_TPU10      SYSTEM.MSTPCRA.BIT.MSTPA12\r
-#define        MSTP_TPU11      SYSTEM.MSTPCRA.BIT.MSTPA12\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_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_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_RIIC0      SYSTEM.MSTPCRB.BIT.MSTPB21\r
-#define        MSTP_RIIC1      SYSTEM.MSTPCRB.BIT.MSTPB20\r
-#define        MSTP_USB0       SYSTEM.MSTPCRB.BIT.MSTPB19\r
-#define        MSTP_RSPI0      SYSTEM.MSTPCRB.BIT.MSTPB17\r
-#define        MSTP_RSPI1      SYSTEM.MSTPCRB.BIT.MSTPB16\r
-#define        MSTP_TEMPS      SYSTEM.MSTPCRB.BIT.MSTPB8\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_SCI8       SYSTEM.MSTPCRC.BIT.MSTPC27\r
-#define        MSTP_SMCI8      SYSTEM.MSTPCRC.BIT.MSTPC27\r
-#define        MSTP_SCI9       SYSTEM.MSTPCRC.BIT.MSTPC26\r
-#define        MSTP_SMCI9      SYSTEM.MSTPCRC.BIT.MSTPC26\r
-#define        MSTP_SCI10      SYSTEM.MSTPCRC.BIT.MSTPC25\r
-#define        MSTP_SMCI10     SYSTEM.MSTPCRC.BIT.MSTPC25\r
-#define        MSTP_SCI11      SYSTEM.MSTPCRC.BIT.MSTPC24\r
-#define        MSTP_SMCI11     SYSTEM.MSTPCRC.BIT.MSTPC24\r
-#define        MSTP_RSPI2      SYSTEM.MSTPCRC.BIT.MSTPC22\r
-#define        MSTP_LVD        SYSTEM.MSTPCRC.BIT.MSTPC20\r
-#define        MSTP_IEB        SYSTEM.MSTPCRC.BIT.MSTPC18\r
-#define        MSTP_RIIC2      SYSTEM.MSTPCRC.BIT.MSTPC17\r
-#define        MSTP_RIIC3      SYSTEM.MSTPCRC.BIT.MSTPC16\r
-#define        MSTP_RAM1       SYSTEM.MSTPCRC.BIT.MSTPC1\r
-#define        MSTP_RAM0       SYSTEM.MSTPCRC.BIT.MSTPC0\r
-\r
-#define        IS_CAN0_ERS0            IS0\r
-#define        IS_CAN1_ERS1            IS1\r
-#define        IS_CAN2_ERS2            IS2\r
-#define        IS_MTU0_TCIV0           IS0\r
-#define        IS_MTU1_TCIV1           IS1\r
-#define        IS_MTU1_TCIU1           IS2\r
-#define        IS_MTU2_TCIV2           IS0\r
-#define        IS_MTU2_TCIU2           IS1\r
-#define        IS_MTU3_TCIV3           IS2\r
-#define        IS_TPU0_TCI0V           IS0\r
-#define        IS_TPU1_TCI1V           IS1\r
-#define        IS_TPU1_TCI1U           IS2\r
-#define        IS_TPU5_TCI5V           IS3\r
-#define        IS_TPU5_TCI5U           IS4\r
-#define        IS_TPU2_TCI2V           IS0\r
-#define        IS_TPU2_TCI2U           IS1\r
-#define        IS_TPU3_TCI3V           IS2\r
-#define        IS_TPU4_TCI4V           IS3\r
-#define        IS_TPU4_TCI4U           IS4\r
-#define        IS_TPU6_TCI6V           IS0\r
-#define        IS_TPU7_TCI7V           IS1\r
-#define        IS_TPU7_TCI7U           IS2\r
-#define        IS_TPU11_TCI11V         IS3\r
-#define        IS_TPU11_TCI11U         IS4\r
-#define        IS_TPU8_TCI8V           IS0\r
-#define        IS_TPU8_TCI8U           IS1\r
-#define        IS_TPU9_TCI9V           IS2\r
-#define        IS_TPU10_TCI10V         IS3\r
-#define        IS_TPU10_TCI10U         IS4\r
-#define        IS_SCI0_ERI0            IS0\r
-#define        IS_SCI1_ERI1            IS1\r
-#define        IS_SCI2_ERI2            IS2\r
-#define        IS_SCI3_ERI3            IS3\r
-#define        IS_SCI4_ERI4            IS4\r
-#define        IS_SCI5_ERI5            IS5\r
-#define        IS_SCI6_ERI6            IS6\r
-#define        IS_SCI7_ERI7            IS7\r
-#define        IS_SCI8_ERI8            IS8\r
-#define        IS_SCI9_ERI9            IS9\r
-#define        IS_SCI10_ERI10          IS10\r
-#define        IS_SCI11_ERI11          IS11\r
-#define        IS_SCI12_ERI12          IS12\r
-#define        IS_RSPI0_SPEI0          IS13\r
-#define        IS_RSPI1_SPEI1          IS14\r
-#define        IS_RSPI2_SPEI2          IS15\r
-\r
-#define        EN_CAN0_ERS0            EN0\r
-#define        EN_CAN1_ERS1            EN1\r
-#define        EN_CAN2_ERS2            EN2\r
-#define        EN_MTU0_TCIV0           EN0\r
-#define        EN_MTU1_TCIV1           EN1\r
-#define        EN_MTU1_TCIU1           EN2\r
-#define        EN_MTU2_TCIV2           EN0\r
-#define        EN_MTU2_TCIU2           EN1\r
-#define        EN_MTU3_TCIV3           EN2\r
-#define        EN_TPU0_TCI0V           EN0\r
-#define        EN_TPU1_TCI1V           EN1\r
-#define        EN_TPU1_TCI1U           EN2\r
-#define        EN_TPU5_TCI5V           EN3\r
-#define        EN_TPU5_TCI5U           EN4\r
-#define        EN_TPU2_TCI2V           EN0\r
-#define        EN_TPU2_TCI2U           EN1\r
-#define        EN_TPU3_TCI3V           EN2\r
-#define        EN_TPU4_TCI4V           EN3\r
-#define        EN_TPU4_TCI4U           EN4\r
-#define        EN_TPU6_TCI6V           EN0\r
-#define        EN_TPU7_TCI7V           EN1\r
-#define        EN_TPU7_TCI7U           EN2\r
-#define        EN_TPU11_TCI11V         EN3\r
-#define        EN_TPU11_TCI11U         EN4\r
-#define        EN_TPU8_TCI8V           EN0\r
-#define        EN_TPU8_TCI8U           EN1\r
-#define        EN_TPU9_TCI9V           EN2\r
-#define        EN_TPU10_TCI10V         EN3\r
-#define        EN_TPU10_TCI10U         EN4\r
-#define        EN_SCI0_ERI0            EN0\r
-#define        EN_SCI1_ERI1            EN1\r
-#define        EN_SCI2_ERI2            EN2\r
-#define        EN_SCI3_ERI3            EN3\r
-#define        EN_SCI4_ERI4            EN4\r
-#define        EN_SCI5_ERI5            EN5\r
-#define        EN_SCI6_ERI6            EN6\r
-#define        EN_SCI7_ERI7            EN7\r
-#define        EN_SCI8_ERI8            EN8\r
-#define        EN_SCI9_ERI9            EN9\r
-#define        EN_SCI10_ERI10          EN10\r
-#define        EN_SCI11_ERI11          EN11\r
-#define        EN_SCI12_ERI12          EN12\r
-#define        EN_RSPI0_SPEI0          EN13\r
-#define        EN_RSPI1_SPEI1          EN14\r
-#define        EN_RSPI2_SPEI2          EN15\r
-\r
-#define        CLR_CAN0_ERS0           CLR0\r
-#define        CLR_CAN1_ERS1           CLR1\r
-#define        CLR_CAN2_ERS2           CLR2\r
-#define        CLR_MTU0_TCIV0          CLR0\r
-#define        CLR_MTU1_TCIV1          CLR1\r
-#define        CLR_MTU1_TCIU1          CLR2\r
-#define        CLR_MTU2_TCIV2          CLR0\r
-#define        CLR_MTU2_TCIU2          CLR1\r
-#define        CLR_MTU3_TCIV3          CLR2\r
-#define        CLR_TPU0_TCI0V          CLR0\r
-#define        CLR_TPU1_TCI1V          CLR1\r
-#define        CLR_TPU1_TCI1U          CLR2\r
-#define        CLR_TPU5_TCI5V          CLR3\r
-#define        CLR_TPU5_TCI5U          CLR4\r
-#define        CLR_TPU2_TCI2V          CLR0\r
-#define        CLR_TPU2_TCI2U          CLR1\r
-#define        CLR_TPU3_TCI3V          CLR2\r
-#define        CLR_TPU4_TCI4V          CLR3\r
-#define        CLR_TPU4_TCI4U          CLR4\r
-#define        CLR_TPU6_TCI6V          CLR0\r
-#define        CLR_TPU7_TCI7V          CLR1\r
-#define        CLR_TPU7_TCI7U          CLR2\r
-#define        CLR_TPU11_TCI11V        CLR3\r
-#define        CLR_TPU11_TCI11U        CLR4\r
-#define        CLR_TPU8_TCI8V          CLR0\r
-#define        CLR_TPU8_TCI8U          CLR1\r
-#define        CLR_TPU9_TCI9V          CLR2\r
-#define        CLR_TPU10_TCI10V        CLR3\r
-#define        CLR_TPU10_TCI10U        CLR4\r
-#define        CLR_SCI0_ERI0           CLR0\r
-#define        CLR_SCI1_ERI1           CLR1\r
-#define        CLR_SCI2_ERI2           CLR2\r
-#define        CLR_SCI3_ERI3           CLR3\r
-#define        CLR_SCI4_ERI4           CLR4\r
-#define        CLR_SCI5_ERI5           CLR5\r
-#define        CLR_SCI6_ERI6           CLR6\r
-#define        CLR_SCI7_ERI7           CLR7\r
-#define        CLR_SCI8_ERI8           CLR8\r
-#define        CLR_SCI9_ERI9           CLR9\r
-#define        CLR_SCI10_ERI10         CLR10\r
-#define        CLR_SCI11_ERI11         CLR11\r
-#define        CLR_SCI12_ERI12         CLR12\r
-#define        CLR_RSPI0_SPEI0         CLR13\r
-#define        CLR_RSPI1_SPEI1         CLR14\r
-#define        CLR_RSPI2_SPEI2         CLR15\r
-\r
-#define        CN_TPU6_TGI6A           CN0\r
-#define        CN_TPU6_TGI6B           CN0\r
-#define        CN_TPU6_TGI6C           CN0\r
-#define        CN_TPU6_TGI6D           CN0\r
-#define        CN_MTU0_TGIA0           CN0\r
-#define        CN_MTU0_TGIB0           CN0\r
-#define        CN_MTU0_TGIC0           CN0\r
-#define        CN_MTU0_TGID0           CN0\r
-#define        CN_MTU0_TGIE0           CN0\r
-#define        CN_MTU0_TGIF0           CN0\r
-#define        CN_TPU7_TGI7A           CN1\r
-#define        CN_TPU7_TGI7B           CN1\r
-#define        CN_MTU1_TGIA1           CN1\r
-#define        CN_MTU1_TGIB1           CN1\r
-#define        CN_TPU8_TGI8A           CN2\r
-#define        CN_TPU8_TGI8B           CN2\r
-#define        CN_MTU2_TGIA2           CN2\r
-#define        CN_MTU2_TGIB2           CN2\r
-#define        CN_TPU9_TGI9A           CN3\r
-#define        CN_TPU9_TGI9B           CN3\r
-#define        CN_TPU9_TGI9C           CN3\r
-#define        CN_TPU9_TGI9D           CN3\r
-#define        CN_MTU3_TGIA3           CN3\r
-#define        CN_MTU3_TGIB3           CN3\r
-#define        CN_MTU3_TGIC3           CN3\r
-#define        CN_MTU3_TGID3           CN3\r
-#define        CN_TPU10_TGI10A         CN4\r
-#define        CN_TPU10_TGI10B         CN4\r
-#define        CN_MTU4_TGIA4           CN4\r
-#define        CN_MTU4_TGIB4           CN4\r
-#define        CN_MTU4_TGIC4           CN4\r
-#define        CN_MTU4_TGID4           CN4\r
-#define        CN_MTU4_TGIV4           CN4\r
-#define        CN_TPU11_TGI11A         CN5\r
-#define        CN_TPU11_TGI11B         CN5\r
-#define        CN_MTU5_TGIU5           CN5\r
-#define        CN_MTU5_TGIV5           CN5\r
-#define        CN_MTU5_TGIW5           CN5\r
-#define        CN_TPU6_                        CN0\r
-#define        CN_MTU0_                        CN0\r
-#define        CN_TPU7_                        CN1\r
-#define        CN_MTU1_                        CN1\r
-#define        CN_TPU8_                        CN2\r
-#define        CN_MTU2_                        CN2\r
-#define        CN_TPU9_                        CN3\r
-#define        CN_MTU3_                        CN3\r
-#define        CN_TPU10_                       CN4\r
-#define        CN_MTU4_                        CN4\r
-#define        CN_TPU11_                       CN5\r
-#define        CN_MTU5_                        CN5\r
-\r
-#define        __IR( x )               ICU.IR[ IR ## x ].BIT.IR\r
-#define         _IR( x )               __IR( x )\r
-#define          IR( x , y )   _IR( _ ## x ## _ ## y )\r
-#define        __DTCE( x )             ICU.DTCER[ DTCE ## x ].BIT.DTCE\r
-#define         _DTCE( x )             __DTCE( x )\r
-#define          DTCE( x , y ) _DTCE( _ ## x ## _ ## y )\r
-#define        __IEN( x )              ICU.IER[ IER ## x ].BIT.IEN ## x\r
-#define         _IEN( x )              __IEN( x )\r
-#define          IEN( x , y )  _IEN( _ ## x ## _ ## y )\r
-#define        __IPR( x )              ICU.IPR[ IPR ## x ].BIT.IPR\r
-#define         _IPR( x )              __IPR( x )\r
-#define          IPR( x , y )  _IPR( _ ## x ## _ ## y )\r
-#define        __VECT( x )             VECT ## x\r
-#define         _VECT( x )             __VECT( x )\r
-#define          VECT( x , y ) _VECT( _ ## x ## _ ## y )\r
-#define        __MSTP( x )             MSTP ## x\r
-#define         _MSTP( x )             __MSTP( x )\r
-#define          MSTP( x )             _MSTP( _ ## x )\r
-\r
-#define        __IS( x )               ICU.GRP[ 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[ 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[ GCR ## x ].BIT.CLR ## x\r
-#define         _CLR( x )              __CLR( x )\r
-#define          CLR( x , y )  _CLR( _ ## x ## _ ## y )\r
-#define        __CN( x )               ICU.SEL.BIT.CN ## x\r
-#define         _CN( x )               __CN( x )\r
-#define          CN( x , y )   _CN( _ ## x ## _ ## y )\r
-\r
-#define        AD              (*(volatile struct st_ad      __evenaccess *)0x89800)\r
-#define        BSC             (*(volatile struct st_bsc     __evenaccess *)0x81300)\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        CRC             (*(volatile struct st_crc     __evenaccess *)0x88280)\r
-#define        DA              (*(volatile struct st_da      __evenaccess *)0x880C0)\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        DTC             (*(volatile struct st_dtc     __evenaccess *)0x82400)\r
-#define        EDMAC   (*(volatile struct st_edmac   __evenaccess *)0xC0000)\r
-#define        ETHERC  (*(volatile struct st_etherc  __evenaccess *)0xC0100)\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        ICU             (*(volatile struct st_icu     __evenaccess *)0x87000)\r
-#define        IEB             (*(volatile struct st_ieb     __evenaccess *)0x8A800)\r
-#define        IWDT    (*(volatile struct st_iwdt    __evenaccess *)0x88030)\r
-#define        MPC             (*(volatile struct st_mpc     __evenaccess *)0x8C100)\r
-#define        MTU             (*(volatile struct st_mtu     __evenaccess *)0x8860A)\r
-#define        MTU0    (*(volatile struct st_mtu0    __evenaccess *)0x88690)\r
-#define        MTU1    (*(volatile struct st_mtu1    __evenaccess *)0x88690)\r
-#define        MTU2    (*(volatile struct st_mtu2    __evenaccess *)0x88692)\r
-#define        MTU3    (*(volatile struct st_mtu3    __evenaccess *)0x88600)\r
-#define        MTU4    (*(volatile struct st_mtu4    __evenaccess *)0x88600)\r
-#define        MTU5    (*(volatile struct st_mtu5    __evenaccess *)0x88694)\r
-#define        POE             (*(volatile struct st_poe     __evenaccess *)0x88900)\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        PORTH   (*(volatile struct st_porth   __evenaccess *)0x8C0D1)\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        RIIC0   (*(volatile struct st_riic0   __evenaccess *)0x88300)\r
-#define        RIIC1   (*(volatile struct st_riic1   __evenaccess *)0x88320)\r
-#define        RIIC2   (*(volatile struct st_riic1   __evenaccess *)0x88340)\r
-#define        RIIC3   (*(volatile struct st_riic1   __evenaccess *)0x88360)\r
-#define        RSPI0   (*(volatile struct st_rspi    __evenaccess *)0x88380)\r
-#define        RSPI1   (*(volatile struct st_rspi    __evenaccess *)0x883A0)\r
-#define        RSPI2   (*(volatile struct st_rspi    __evenaccess *)0x883C0)\r
-#define        RTC             (*(volatile struct st_rtc     __evenaccess *)0x8C400)\r
-#define        S12AD   (*(volatile struct st_s12ad   __evenaccess *)0x89000)\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_sci7    __evenaccess *)0x8A0E0)\r
-#define        SCI8    (*(volatile struct st_sci0    __evenaccess *)0x8A100)\r
-#define        SCI9    (*(volatile struct st_sci0    __evenaccess *)0x8A120)\r
-#define        SCI10   (*(volatile struct st_sci0    __evenaccess *)0x8A140)\r
-#define        SCI11   (*(volatile struct st_sci0    __evenaccess *)0x8A160)\r
-#define        SCI12   (*(volatile struct st_sci12   __evenaccess *)0x8B300)\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_smci7   __evenaccess *)0x8A0E0)\r
-#define        SMCI8   (*(volatile struct st_smci0   __evenaccess *)0x8A100)\r
-#define        SMCI9   (*(volatile struct st_smci0   __evenaccess *)0x8A120)\r
-#define        SMCI10  (*(volatile struct st_smci0   __evenaccess *)0x8A140)\r
-#define        SMCI11  (*(volatile struct st_smci0   __evenaccess *)0x8A160)\r
-#define        SMCI12  (*(volatile struct st_smci0   __evenaccess *)0x8B300)\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        TPU6    (*(volatile struct st_tpu0    __evenaccess *)0x88178)\r
-#define        TPU7    (*(volatile struct st_tpu1    __evenaccess *)0x88178)\r
-#define        TPU8    (*(volatile struct st_tpu2    __evenaccess *)0x8817A)\r
-#define        TPU9    (*(volatile struct st_tpu3    __evenaccess *)0x8817A)\r
-#define        TPU10   (*(volatile struct st_tpu4    __evenaccess *)0x8817C)\r
-#define        TPU11   (*(volatile struct st_tpu5    __evenaccess *)0x8817C)\r
-#define        TPUA    (*(volatile struct st_tpua    __evenaccess *)0x88100)\r
-#define        TPUB    (*(volatile struct st_tpub    __evenaccess *)0x88170)\r
-#define        USB             (*(volatile struct st_usb     __evenaccess *)0xA0400)\r
-#define        USB0    (*(volatile struct st_usb0    __evenaccess *)0xA0000)\r
-#define        USB1    (*(volatile struct st_usb1    __evenaccess *)0xA0200)\r
-#define        WDT             (*(volatile struct st_wdt     __evenaccess *)0x88020)\r
-#pragma bit_order\r
-#pragma packoption\r
-#endif\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/lowsrc.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/lowsrc.h
deleted file mode 100644 (file)
index 4d2aabf..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  FILE        :lowsrc.h                                              */\r
-/*  DATE        :Wed, Aug 11, 2010                                     */\r
-/*  DESCRIPTION :Header file of I/O Stream file                        */\r
-/*  CPU TYPE    :Other                                                 */\r
-/*                                                                     */\r
-/*  This file is generated by Renesas Project Generator (Ver.4.50).    */\r
-/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-/*Number of I/O Stream*/\r
-#define IOSTREAM 20\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/rskrx63ndef.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/rskrx63ndef.h
deleted file mode 100644 (file)
index 2291cb4..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-\r
-/******************************************************************************\r
-* DISCLAIMER\r
-* Please refer to http://www.renesas.com/disclaimer\r
-******************************************************************************\r
-  Copyright (C) 2011. Renesas Electronics Corp., All Rights Reserved.\r
-*******************************************************************************\r
-* File Name    : rsksh7216.h\r
-* Version      : 1.00\r
-* Description  : RSK RX63N board specific settings\r
-******************************************************************************\r
-* History : DD.MM.YYYY Version Description\r
-*         : 12.09.2011 1.00    First Release\r
-******************************************************************************/\r
-\r
-#ifndef RSKRX63N_H\r
-#define RSKRX63N_H\r
-\r
-/******************************************************************************\r
-Includes   <System Includes> , "Project Includes"\r
-******************************************************************************/\r
-\r
-/******************************************************************************\r
-Typedef definitions\r
-******************************************************************************/\r
-\r
-/******************************************************************************\r
-Macro definitions\r
-******************************************************************************/\r
-\r
-/* System Clock Settings */\r
-\r
-/* DETAIL THIS LATER !!!! */\r
-\r
-#define     XTAL_FREQUENCY  (12000000L)        \r
-#define     PLL_MUL         (16)\r
-#define     PLL_INPUT_FREQ_DIV         (1)\r
-#define     ICLK_DIV        (2)\r
-#define     PCLK_DIV        (4)\r
-#define     BCLK_DIV        (4)\r
-#define     PLL_FREQUENCY   (XTAL_FREQUENCY * (PLL_MUL / PLL_INPUT_FREQ_DIV))  \r
-#define     ICLK_FREQUENCY  (PLL_FREQUENCY / ICLK_DIV)\r
-#define     PCLK_FREQUENCY  (PLL_FREQUENCY / PCLK_DIV)\r
-#define     BCLK_FREQUENCY  (PLL_FREQUENCY / BCLK_DIV)\r
-\r
-#define     CMT0_CLK_SELECT (512)\r
-\r
-/* General Values */\r
-#define                LED_ON          (0)\r
-#define        LED_OFF                 (1)\r
-#define        SET_BIT_HIGH    (1)\r
-#define        SET_BIT_LOW             (0)\r
-#define        SET_BYTE_HIGH   (0xFF)\r
-#define        SET_BYTE_LOW    (0x00)\r
-\r
-/* Define switches to be polled if not available as interrupts */\r
-#define                SW_ACTIVE               FALSE\r
-#define        SW1                     PORT0.DR.BIT.B0\r
-#define        SW2                     PORT0.DR.BIT.B1\r
-#define     SW3             PORT0.DR.BIT.B7\r
-#define        SW1_DDR                 PORT0.DDR.BIT.B0\r
-#define        SW2_DDR                 PORT0.DDR.BIT.B1\r
-#define     SW3_DDR         PORT0.DDR.BIT.B7\r
-#define        SW1_ICR                 PORT0.ICR.BIT.B0\r
-#define        SW2_ICR                 PORT0.ICR.BIT.B1\r
-#define     SW3_ICR         PORT0.ICR.BIT.B7\r
-\r
-/* LEDs */\r
-#define                LED0                    PORT0.PODR.BIT.B3\r
-#define                LED1                    PORT0.PODR.BIT.B5\r
-#define                LED2                    PORT1.PODR.BIT.B0\r
-#define                LED3                    PORT1.PODR.BIT.B1\r
-//#define          LED4                        PORT6.DR.BIT.B0\r
-//#define          LED5                        PORT7.DR.BIT.B3\r
-#define                LED0_PDR        PORT0.PDR.BIT.B3\r
-#define                LED1_PDR        PORT0.PDR.BIT.B5\r
-#define                LED2_PDR        PORT1.PDR.BIT.B0\r
-#define                LED3_PDR        PORT1.PDR.BIT.B1\r
-//#define          LED4_DDR        PORT6.DDR.BIT.B0\r
-//#define          LED5_DDR        PORT7.DDR.BIT.B3\r
-\r
-/* 2x8 segment LCD */\r
-#if 0\r
-#define                INCLUDE_LCD             1\r
-#define     LCD_RS          PORTJ.PODR.BIT.B1\r
-#define     LCD_EN          PORTJ.PODR.BIT.B3\r
-#define     LCD_DATA        PORTH.PODR.BYTE\r
-\r
-#define     LCD_RS_DDR      PORTJ.PDR.BIT.B1\r
-#define     LCD_EN_DDR      PORTJ.PDR.BIT.B3\r
-#define     LCD_DATA_DDR    PORTH.PDR.BYTE\r
-#endif\r
-\r
-\r
-/******************************************************************************\r
-Variable Externs\r
-******************************************************************************/\r
-\r
-/******************************************************************************\r
-Functions Prototypes\r
-******************************************************************************/\r
-\r
-\r
-\r
-/* RSKRX63N_H */\r
-#endif         \r
-\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/stacksct.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/stacksct.h
deleted file mode 100644 (file)
index 1d5db83..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  FILE        :stacksct.h                                            */\r
-/*  DATE        :Wed, Aug 11, 2010                                     */\r
-/*  DESCRIPTION :Setting of Stack area                                 */\r
-/*  CPU TYPE    :Other                                                 */\r
-/*                                                                     */\r
-/*  This file is generated by Renesas Project Generator (Ver.4.50).    */\r
-/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-#pragma stacksize su=0x300      \r
-#pragma stacksize si=0x100      \r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/typedefine.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/typedefine.h
deleted file mode 100644 (file)
index d3ad67f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  FILE        :typedefine.h                                          */\r
-/*  DATE        :Wed, Aug 11, 2010                                     */\r
-/*  DESCRIPTION :Aliases of Integer Type                               */\r
-/*  CPU TYPE    :Other                                                 */\r
-/*                                                                     */\r
-/*  This file is generated by Renesas Project Generator (Ver.4.50).    */\r
-/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-                  \r
-\r
-\r
-/*********************************************************************\r
-*\r
-* Device     : RX\r
-*\r
-* File Name  : typedefine.h\r
-*\r
-* Abstract   : Aliases of Integer Type.\r
-*\r
-* History    : 1.00  (2009-08-07)\r
-*\r
-* NOTE       : THIS IS A TYPICAL EXAMPLE.\r
-*\r
-* Copyright(c) 2009 Renesas Technology Corp.\r
-*               And Renesas Solutions Corp.,All Rights Reserved. \r
-*\r
-*********************************************************************/\r
-\r
-typedef signed char _SBYTE;\r
-typedef unsigned char _UBYTE;\r
-typedef signed short _SWORD;\r
-typedef unsigned short _UWORD;\r
-typedef signed int _SINT;\r
-typedef unsigned int _UINT;\r
-typedef signed long _SDWORD;\r
-typedef unsigned long _UDWORD;\r
-typedef signed long long _SQWORD;\r
-typedef unsigned long long _UQWORD;\r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/vect.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/include/vect.h
deleted file mode 100644 (file)
index a6a4894..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  FILE        :vect.h                                                */\r
-/*  DATE        :Wed, Aug 11, 2010                                     */\r
-/*  DESCRIPTION :Definition of Vector                                  */\r
-/*  CPU TYPE    :Other                                                 */\r
-/*                                                                     */\r
-/*  This file is generated by Renesas Project Generator (Ver.4.50).    */\r
-/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-                  \r
-\r
-\r
-/*********************************************************************\r
-*\r
-* Device     : RX/RX600\r
-*\r
-* File Name  : vect.h\r
-*\r
-* Abstract   : Definition of Vector.\r
-*\r
-* History    : 1.00  (2009-08-07)\r
-*\r
-* NOTE       : THIS IS A TYPICAL EXAMPLE.\r
-*\r
-* Copyright(c) 2009 Renesas Technology Corp.\r
-*               And Renesas Solutions Corp.,All Rights Reserved. \r
-*\r
-*********************************************************************/\r
-\r
-// Exception(Supervisor Instruction)\r
-#pragma interrupt (Excep_SuperVisorInst)\r
-void Excep_SuperVisorInst(void);\r
-\r
-// Exception(Undefined Instruction)\r
-#pragma interrupt (Excep_UndefinedInst)\r
-void Excep_UndefinedInst(void);\r
-\r
-// Exception(Floating Point)\r
-#pragma interrupt (Excep_FloatingPoint)\r
-void Excep_FloatingPoint(void);\r
-\r
-// NMI\r
-#pragma interrupt (NonMaskableInterrupt)\r
-void NonMaskableInterrupt(void);\r
-\r
-// Dummy\r
-#pragma interrupt (Dummy)\r
-void Dummy(void);\r
-\r
-// BRK\r
-#pragma interrupt (Excep_BRK(vect=0))\r
-void Excep_BRK(void);\r
-\r
-//;<<VECTOR DATA START (POWER ON RESET)>>\r
-//;Power On Reset PC\r
-extern void PowerON_Reset_PC(void);                                                                                                                \r
-//;<<VECTOR DATA END (POWER ON RESET)>>\r
-\r
index 99da36b170bf00f2a94decc81a7aa556dbeb9cbd..e43a12d9cb69d34ded3339ffd243f68563c5a190 100644 (file)
  * *NOTE 4* The IntQueue common demo tasks test interrupt nesting and make use\r
  * of all the 8bit timers (as two cascaded 16bit units).\r
  *\r
- * *\r
-*/\r
+ */\r
 \r
 #include <string.h>\r
 \r
diff --git a/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/r_bsp_config.h b/Demo/RX600_RX63N-RSK_Renesas/RTOSDemo/r_bsp_config.h
new file mode 100644 (file)
index 0000000..1ddbb9d
--- /dev/null
@@ -0,0 +1,149 @@
+/***********************************************************************************************************************\r
+* DISCLAIMER\r
+* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No \r
+* other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all \r
+* applicable laws, including copyright laws. \r
+* THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING\r
+* THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, \r
+* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM \r
+* EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES \r
+* SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS \r
+* SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\r
+* Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability of \r
+* this software. By using this software, you agree to the additional terms and conditions found by accessing the \r
+* following link:\r
+* http://www.renesas.com/disclaimer \r
+*\r
+* Copyright (C) 2012 Renesas Electronics Corporation. All rights reserved.    \r
+***********************************************************************************************************************/\r
+/***********************************************************************************************************************\r
+* File Name    : r_bsp_config_reference.c\r
+* Device(s)    : RX63x\r
+* Description  : The file r_bsp_config.h is used to configure your BSP. r_bsp_config.h should be included\r
+*                somewhere in your package so that the r_bsp code has access to it. This file (r_bsp_config_reference.h)\r
+*                is just a reference file that the user can use to make their own r_bsp_config.h file.\r
+************************************************************************************************************************\r
+* History : DD.MM.YYYY Version Description           \r
+*         : 13.03.2012 1.00    First Release            \r
+***********************************************************************************************************************/\r
+#ifndef R_BSP_CONFIG_REF_HEADER_FILE\r
+#define R_BSP_CONFIG_REF_HEADER_FILE\r
+\r
+/***********************************************************************************************************************\r
+Configuration Options\r
+***********************************************************************************************************************/\r
+/* The 'BSP_DECLARE_STACK' macro is checked so that the stack is only declared in one place (resetprg.c). Every time a \r
+   '#pragma stacksize' is encountered, the stack size is increased. This prevents multiplication of stack size. */\r
+#if defined(BSP_DECLARE_STACK)\r
+/* User Stack size in bytes. The Renesas RX toolchain sets the stack size using the #pragma stacksize directive. */\r
+#pragma stacksize su=0x1000\r
+/* Interrupt Stack size in bytes. The Renesas RX toolchain sets the stack size using the #pragma stacksize directive. */\r
+#pragma stacksize si=0x400\r
+#endif\r
+\r
+/* Heap size in bytes. */\r
+#define HEAP_BYTES              (0x4)\r
+\r
+/* After reset MCU will operate in Supervisor mode. To switch to User mode, set this macro to '1'. For more information\r
+   on the differences between these 2 modes see the CPU >> Processor Mode section of your MCU's hardware manual.\r
+   0 = Stay in Supervisor mode.\r
+   1 = Switch to User mode.\r
+*/\r
+#define RUN_IN_USER_MODE        (0)\r
+\r
+/* To get into User Boot Mode the user must control some pins on the MCU and also set some values in ROM. These values\r
+   in ROM are described in the Option-Setting Memory section of the hardware manual. This macro sets these values so \r
+   that User Boot Mode can be used. The user is still responsible for setting the MCU pins appropriately.\r
+   0 = Single-Chip or USB Boot Mode\r
+   1 = User Boot Mode\r
+*/\r
+#define USER_BOOT_ENABLE        (0)\r
+\r
+/* Set your desired ID code. NOTE, leave at the default (all 0xFF's) if you do not wish to use an ID code. If you set \r
+   this value and program it into the MCU then you will need to remember the ID code because the debugger will ask for \r
+   it when trying to connect. Note that the E1/E20 will ignore the ID code when programming the MCU during debugging.\r
+   If you set this value and then forget it then you can clear the ID code by connecting up in serial boot mode using \r
+   FDT. The ID Code is 16 bytes long. The macro below define the ID Code in 4-byte sections. */\r
+/* Lowest 4-byte section, address 0xFFFFFFA0. From MSB to LSB: Control Code, ID code 1, ID code 2, ID code 3. */\r
+#define ID_CODE_LONG_1          (0xFFFFFFFF)\r
+/* 2nd ID Code section, address 0xFFFFFFA4. From MSB to LSB: ID code 4, ID code 5, ID code 6, ID code 7. */\r
+#define ID_CODE_LONG_2          (0xFFFFFFFF)\r
+/* 3rd ID Code section, address 0xFFFFFFA8. From MSB to LSB: ID code 8, ID code 9, ID code 10, ID code 11. */\r
+#define ID_CODE_LONG_3          (0xFFFFFFFF)\r
+/* 4th ID Code section, address 0xFFFFFFAC. From MSB to LSB: ID code 12, ID code 13, ID code 14, ID code 15. */\r
+#define ID_CODE_LONG_4          (0xFFFFFFFF)\r
+\r
+/* This macro lets other modules no if a RTOS is being used.\r
+   0 = RTOS is not used. \r
+   1 = RTOS is used.\r
+*/\r
+#define RTOS_USED               (0)\r
+\r
+/* Clock source select (CKSEL).\r
+   0 = Low Speed On-Chip Oscillator  (LOCO)\r
+   1 = High Speed On-Chip Oscillator (HOCO)\r
+   2 = Main Clock Oscillator  \r
+   3 = Sub-Clock Oscillator\r
+   4 = PLL Circuit\r
+*/ \r
+#define CLOCK_SOURCE            (4)\r
+\r
+/* Clock configuration options.\r
+   The input clock frequency is specified and then the system clocks are set by specifying the multipliers used. The\r
+   multiplier settings are used to set the clock registers in resetprg.c. If a 12MHz clock is used and the \r
+   ICLK is 96MHz, PCLKA is 48MHz, PCLKB is 48MHz, FCLK is 48MHz, USB Clock is 48MHz, and BCLK is 12MHz then the \r
+   settings would be:\r
+\r
+   XTAL_HZ = 12000000\r
+   PLL_DIV = 1  (no division)\r
+   PLL_MUL = 16 (12MHz x 16 = 192MHz)\r
+   ICK_DIV =  2      : System Clock (ICLK)        = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / ICK_DIV)  = 96MHz\r
+   PCKA_DIV = 4      : Peripheral Clock A (PCLKA) = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKA_DIV) = 48MHz\r
+   PCKB_DIV = 4      : Peripheral Clock B (PCLKB) = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / PCKB_DIV) = 48MHz\r
+   FCK_DIV =  4      : Flash IF Clock (FCLK)      = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / FCK_DIV)  = 48MHz\r
+   BCK_DIV =  8      : External Bus Clock (BCK)   = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / BCK_DIV)  = 24MHz\r
+   UCK_DIV =  4      : USB Clock (UCLK)           = (((XTAL_HZ/PLL_DIV) * PLL_MUL) / UCK_DIV)  = 48MHz\r
+*/\r
+/* XTAL - Input clock frequency in Hz */\r
+#define XTAL_HZ                 (12000000)\r
+/* PLL Input Frequency Divider Select (PLIDIV). \r
+   Available divisors = /1 (no division), /2, /4\r
+*/\r
+#define PLL_DIV                 (1)\r
+/* PLL Frequency Multiplication Factor Select (STC). \r
+   Available multipliers = x8, x10, x12, x16, x20, x24, x25, x50\r
+*/\r
+#define PLL_MUL                 (16)\r
+/* System Clock Divider (ICK).\r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define ICK_DIV                 (2)\r
+/* Peripheral Module Clock A Divider (PCKA). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define PCKA_DIV                (4)\r
+/* Peripheral Module Clock B Divider (PCKB). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define PCKB_DIV                (4)\r
+/* External Bus Clock Divider (BCK). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define BCK_DIV                 (8)\r
+/* Flash IF Clock Divider (FCK). \r
+   Available divisors = /1 (no division), /2, /4, /8, /16, /32, /64\r
+*/\r
+#define FCK_DIV                 (4)\r
+/* IEBUS Clock Divider Select. \r
+   Available divisors = /1 (no division), /2, /4, /6, /8, /16, /32, /64\r
+*/\r
+#define IEBCK_DIV               (8)\r
+/* USB Clock Divider Select. \r
+   Available divisors = /3, /4\r
+*/\r
+#define UCK_DIV                 (4)\r
+\r
+#endif /* R_BSP_CONFIG_REF_HEADER_FILE */\r
+\r
+\r
+\r
index 5fb6320e29f4b1c7fd387923992d882e084518a7..e6b1fe05b5d31aa53a55656fb415d124e61df708 100644 (file)
@@ -52,8 +52,7 @@
 */\r
 \r
 /* Hardware specific includes. */\r
-#include "iodefine.h"\r
-#include "typedefine.h"\r
+#include "platform.h"\r
 #include "r_ether.h"\r
 #include "phy.h"\r
 \r