]> git.sur5r.net Git - freertos/commitdiff
Started to create RX64M GCC project - building but not yet converted to new core.
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 20 Mar 2014 12:04:49 +0000 (12:04 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 20 Mar 2014 12:04:49 +0000 (12:04 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2228 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

20 files changed:
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.HardwareDebuglinker [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.cproject [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.info [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.project [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.settings/Project_Generation_Prefrences.prefs [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.settings/language.settings.xml [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/RTOSDemo HardwareDebug.launch [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/custom.bat [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/makefile.init [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/FreeRTOSConfig.h [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/ParTest.c [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/hardware_setup.c [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/interrupt_handlers.c [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/interrupt_handlers.h [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/iodefine.h [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/reset_program.asm [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/typedefine.h [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/vector_table.c [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/main.c [new file with mode: 0644]
FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/main_blinky.c [new file with mode: 0644]

diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.HardwareDebuglinker b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.HardwareDebuglinker
new file mode 100644 (file)
index 0000000..f69dab6
--- /dev/null
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="ASCII"?>\r
+<com.renesas.linkersection.model:SectionContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:com.renesas.linkersection.model="http:///LinkerSection.ecore" targets="GNU_RX">\r
+  <definedRegionsList name="RAM">\r
+    <startAddress xsi:type="com.renesas.linkersection.model:FixedAddress"/>\r
+    <endAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="524287"/>\r
+  </definedRegionsList>\r
+  <definedRegionsList name="ROM">\r
+    <startAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="4290772992"/>\r
+    <endAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="4294967295"/>\r
+  </definedRegionsList>\r
+  <sections name=".fvectors" isKeep="true">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="4294967168"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".fvectors"/>\r
+  </sections>\r
+  <sections name=".text">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="4290772992"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".text"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".text.*"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="P"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="etext"/>\r
+  </sections>\r
+  <sections name=".rvectors">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.1"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_rvectors_start"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rvectors"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_rvectors_end"/>\r
+  </sections>\r
+  <sections name=".init">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.2"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".init"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__preinit_array_start"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".preinit_array"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__preinit_array_end"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__init_array_start = (. + 3) &amp; ~ 3"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".init_array"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="SORT(.init_array.*)"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__init_array_end"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__fini_array_start"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".fini_array"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="SORT(.fini_array.*)"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__fini_array_end"/>\r
+  </sections>\r
+  <sections name=".fini">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.3"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".fini"/>\r
+  </sections>\r
+  <sections name=".got">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.4"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".got"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".got.plt"/>\r
+  </sections>\r
+  <sections name=".rodata">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.5"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rodata"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rodata.*"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="C_1"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="C_2"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="C"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_erodata"/>\r
+  </sections>\r
+  <sections name=".eh_frame_hdr">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.6"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".eh_frame_hdr"/>\r
+  </sections>\r
+  <sections name=".eh_frame">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.7"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".eh_frame"/>\r
+  </sections>\r
+  <sections name=".jcr">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.8"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".jcr"/>\r
+  </sections>\r
+  <sections name=".tors">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.9"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__CTOR_LIST__"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___ctors"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".ctors"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___ctors_end"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__CTOR_END__"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__DTOR_LIST__"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___dtors"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".dtors"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___dtors_end"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__DTOR_END__"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_mdata"/>\r
+  </sections>\r
+  <sections name=".ustack">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="512"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_ustack"/>\r
+  </sections>\r
+  <sections name=".istack">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="256"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_istack"/>\r
+  </sections>\r
+  <sections name=".data">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="516"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_data"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data.*"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="D"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="D_1"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="D_2"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_edata"/>\r
+    <reservedMemAddress xsi:type="com.renesas.linkersection.model:ReferencedLabelAddress" label="//@sections.10/@contents.12"/>\r
+  </sections>\r
+  <sections name=".gcc_exc">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.13"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".gcc_exc"/>\r
+  </sections>\r
+  <sections name=".bss">\r
+    <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.14"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_bss"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".bss"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".bss.**"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="COMMON"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="B"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="B_1"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="B_2"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_ebss"/>\r
+    <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_end"/>\r
+  </sections>\r
+</com.renesas.linkersection.model:SectionContainer>\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.cproject b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.cproject
new file mode 100644 (file)
index 0000000..f95ae0d
--- /dev/null
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<?fileVersion 4.0.0?>\r
+\r
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">\r
+       <storageModule moduleId="org.eclipse.cdt.core.settings">\r
+               <cconfiguration id="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id.606469687">\r
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id.606469687" moduleId="org.eclipse.cdt.core.settings" name="HardwareDebug">\r
+                               <externalSettings/>\r
+                               <extensions>\r
+                                       <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                               </extensions>\r
+                       </storageModule>\r
+                       <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+                               <configuration artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.VCErrorParser" id="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id.606469687" name="HardwareDebug" parent="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id">\r
+                                       <folderInfo id="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id.606469687." name="/" resourcePath="">\r
+                                               <toolChain id="%com.renesas.cdt.rx.hardwaredebug.win32.toolChain.Id.804086182" name="KPIT GNURX-ELF Toolchain" superClass="%com.renesas.cdt.rx.hardwaredebug.win32.toolChain.Id">\r
+                                                       <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rx.hardwaredebug.win32.targetPlatform.Id.1441458979" osList="win32" superClass="com.renesas.cdt.rx.hardwaredebug.win32.targetPlatform.Id"/>\r
+                                                       <builder buildPath="${workspace_loc:/RTOSDemo}/HardwareDebug" id="com.renesas.cdt.rx.hardwaredebug.win32.builder.Id.476907861" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.renesas.cdt.rx.hardwaredebug.win32.builder.Id"/>\r
+                                                       <tool command="rx-elf-libgen" id="com.renesas.cdt.rx.hardwaredebug.win32.tool.libgen.Id.2057566942" name="Library Generator" superClass="com.renesas.cdt.rx.hardwaredebug.win32.tool.libgen.Id">\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.math.2039618467" name="math.h : Performs numeric calculations such as trigonometric functions" superClass="com.renesas.cdt.core.LibraryGenerator.option.math" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.2055452080" name="stdio.h : Performs input/output handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.321901636" name="stdlib.h : Performs C program standard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.string.1771884942" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.236583299" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.1090078057" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>\r
+                                                       </tool>\r
+                                                       <tool id="com.renesas.cdt.rx.hardwaredebug.win32.tool.compiler.Id.315385351" name="Compiler" superClass="com.renesas.cdt.rx.hardwaredebug.win32.tool.compiler.Id">\r
+                                                               <option defaultValue="true" id="com.renesas.cdt.core.Compiler.option.misc2.945596144" name="Don't search standard system directories for header files(-nostdinc)" superClass="com.renesas.cdt.core.Compiler.option.misc2" value="false" valueType="boolean"/>\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Compiler.option.macroDefines.1508551089" name="Macro Defines" superClass="com.renesas.cdt.rx.HardwareDebug.Compiler.option.macroDefines" valueType="definedSymbols">\r
+                                                                       <listOptionValue builtIn="false" value="__RX_LITTLE_ENDIAN__=1"/>\r
+                                                               </option>\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Compiler.option.dataEndian.1753220522" name="Data Endian" superClass="com.renesas.cdt.rx.HardwareDebug.Compiler.option.dataEndian" value="Little-endian data" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Compiler.option.cpuType.681354731" name="CPU type" superClass="com.renesas.cdt.rx.HardwareDebug.Compiler.option.cpuType" value="RX600" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.device.679293684" name="Device" superClass="com.renesas.cdt.core.Compiler.option.device" value="R5F564ML" valueType="string"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.deviceShortName.1803462626" name="DeviceShortName" superClass="com.renesas.cdt.core.Compiler.option.deviceShortName" value="R5F564MLDxFC" valueType="string"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.includeFileDir.1782217841" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS/Source/include}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/Common_Demo_Tasks/include}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/FreeRTOS/Source/portable/GCC/RX600v2}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${TCINSTALL}\rx-elf\optlibinc&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/src/RenesasCode}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.1945733388" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="RX64M" valueType="string"/>\r
+                                                               <option id="com.renesas.cdt.core.Compiler.option.warning14.1219627871" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>\r
+                                                               <inputType id="%Base.Compiler.C.InputType.Id.1746322545" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
+                                                               <inputType id="Base.Compiler.CPP.InputType.Id.1052891014" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>\r
+                                                       </tool>\r
+                                                       <tool id="com.renesas.cdt.rx.hardwaredebug.win32.tool.assembler.Id.508016564" name="Assembler" superClass="com.renesas.cdt.rx.hardwaredebug.win32.tool.assembler.Id">\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Assembler.option.dataEndian.735581335" name="Data Endian" superClass="com.renesas.cdt.rx.HardwareDebug.Assembler.option.dataEndian" value="Little-endian data" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.286633038" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}\src&quot;"/>\r
+                                                               </option>\r
+                                                               <inputType id="%Base.Assembler.inputType.Id.1966626285" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>\r
+                                                       </tool>\r
+                                                       <tool command="rx-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rx.hardwaredebug.win32.tool.linker.Id.1075007051" name="Linker" superClass="com.renesas.cdt.rx.hardwaredebug.win32.tool.linker.Id">\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Linker.option.dataEndian.233227307" name="Data Endian" superClass="com.renesas.cdt.rx.HardwareDebug.Linker.option.dataEndian" value="Little-endian data" valueType="enumerated"/>\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Linker.option.archiveSearchDirectories.1899007176" name="Archive search directories" superClass="com.renesas.cdt.rx.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${CONFIGDIR}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${TCINSTALL}\lib\gcc\rx-elf\\${GCC_VERSION}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="com.renesas.cdt.rx.HardwareDebug.Linker.option.archiveLibraryFiles.821809154" name="Archive (library) files" superClass="com.renesas.cdt.rx.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${ProjName}"/>\r
+                                                                       <listOptionValue builtIn="false" value="gcc"/>\r
+                                                               </option>\r
+                                                               <option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.1112264479" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="-e_PowerON_Reset"/>\r
+                                                               </option>\r
+                                                               <option id="com.renesas.cdt.core.Linker.option.linkOrderList.1135295440" name="" superClass="com.renesas.cdt.core.Linker.option.linkOrderList" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/RenesasCode\hardware_setup.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/RenesasCode\interrupt_handlers.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/RenesasCode\reset_program.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/RenesasCode\vector_table.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source/portable/MemMang\heap_4.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source/portable/GCC/RX600v2\port.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source\croutine.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source\event_groups.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source\list.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source\queue.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source\tasks.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src/FreeRTOS/Source\timers.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\src\main.o&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;.\libRTOSDemo.a&quot;"/>\r
+                                                               </option>\r
+                                                       </tool>\r
+                                                       <tool id="com.renesas.cdt.rx.hardwaredebug.win32.tool.objcopy.Id.2054059721" name="Objcopy" superClass="com.renesas.cdt.rx.hardwaredebug.win32.tool.objcopy.Id"/>\r
+                                               </toolChain>\r
+                                       </folderInfo>\r
+                                       <sourceEntries>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name=""/>\r
+                                       </sourceEntries>\r
+                               </configuration>\r
+                       </storageModule>\r
+                       <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>\r
+               </cconfiguration>\r
+       </storageModule>\r
+       <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+               <project id="RTOSDemo.com.renesas.cdt.rx.projectType.Id.1663355096" name="Executable (Renesas)" projectType="com.renesas.cdt.rx.projectType.Id"/>\r
+       </storageModule>\r
+       <storageModule moduleId="scannerConfiguration">\r
+               <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>\r
+       </storageModule>\r
+       <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>\r
+       <storageModule moduleId="refreshScope" versionNumber="2">\r
+               <configuration configurationName="HardwareDebug">\r
+                       <resource resourceType="PROJECT" workspacePath="/RTOSDemo"/>\r
+               </configuration>\r
+       </storageModule>\r
+</cproject>\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.info b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.info
new file mode 100644 (file)
index 0000000..5b48f0e
--- /dev/null
@@ -0,0 +1,7 @@
+TOOL_CHAIN=KPIT GNURX-ELF Toolchain
+VERSION=v14.01
+TC_INSTALL=C:\Program Files\KPIT\GNURXv14.01-ELF\rx-ELF\rx-ELF\
+GCC_STRING=4.7-GNURX_v14.01
+VERSION_IDE=3.06.02.004
+E2STUDIO_VERSION=2.1.0.21
+ACTIVE_CONFIGURATION=HardwareDebug
\ No newline at end of file
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.project b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.project
new file mode 100644 (file)
index 0000000..cf10d20
--- /dev/null
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<projectDescription>\r
+       <name>RTOSDemo</name>\r
+       <comment></comment>\r
+       <projects>\r
+       </projects>\r
+       <buildSpec>\r
+               <buildCommand>\r
+                       <name>com.renesas.cdt.core.genmakebuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>\r
+                       <triggers>full,incremental,</triggers>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+       </buildSpec>\r
+       <natures>\r
+               <nature>org.eclipse.cdt.core.cnature</nature>\r
+               <nature>com.renesas.cdt.core.kpitcnature</nature>\r
+               <nature>com.renesas.cdt.core.kpitccnature</nature>\r
+               <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>\r
+               <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>\r
+       </natures>\r
+       <linkedResources>\r
+               <link>\r
+                       <name>src/Common_Demo_Tasks</name>\r
+                       <type>2</type>\r
+                       <locationURI>virtual:/virtual</locationURI>\r
+               </link>\r
+               <link>\r
+                       <name>src/FreeRTOS</name>\r
+                       <type>2</type>\r
+                       <locationURI>virtual:/virtual</locationURI>\r
+               </link>\r
+               <link>\r
+                       <name>src/Common_Demo_Tasks/Minimal</name>\r
+                       <type>2</type>\r
+                       <locationURI>FREERTOS_ROOT/Demo/Common/Minimal</locationURI>\r
+               </link>\r
+               <link>\r
+                       <name>src/Common_Demo_Tasks/include</name>\r
+                       <type>2</type>\r
+                       <locationURI>FREERTOS_ROOT/Demo/Common/include</locationURI>\r
+               </link>\r
+               <link>\r
+                       <name>src/FreeRTOS/Source</name>\r
+                       <type>2</type>\r
+                       <locationURI>FREERTOS_ROOT/Source</locationURI>\r
+               </link>\r
+       </linkedResources>\r
+       <filteredResources>\r
+               <filter>\r
+                       <id>1395316906017</id>\r
+                       <name>src/Common_Demo_Tasks</name>\r
+                       <type>22</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-alt*.*</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316906049</id>\r
+                       <name>src/Common_Demo_Tasks</name>\r
+                       <type>22</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-cr*.*</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316906064</id>\r
+                       <name>src/Common_Demo_Tasks</name>\r
+                       <type>22</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-Int*.*</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316906080</id>\r
+                       <name>src/Common_Demo_Tasks</name>\r
+                       <type>22</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-sp*.*</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316906096</id>\r
+                       <name>src/Common_Demo_Tasks</name>\r
+                       <type>22</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-comtest*.*</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316464355</id>\r
+                       <name>src/FreeRTOS/Source/portable</name>\r
+                       <type>9</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-MemMang</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316464402</id>\r
+                       <name>src/FreeRTOS/Source/portable</name>\r
+                       <type>9</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-GCC</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316445089</id>\r
+                       <name>src/FreeRTOS/Source/portable/GCC</name>\r
+                       <type>9</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-RX600v2</arguments>\r
+                       </matcher>\r
+               </filter>\r
+               <filter>\r
+                       <id>1395316477637</id>\r
+                       <name>src/FreeRTOS/Source/portable/MemMang</name>\r
+                       <type>5</type>\r
+                       <matcher>\r
+                               <id>org.eclipse.ui.ide.multiFilter</id>\r
+                               <arguments>1.0-name-matches-false-false-heap_4.c</arguments>\r
+                       </matcher>\r
+               </filter>\r
+       </filteredResources>\r
+       <variableList>\r
+               <variable>\r
+                       <name>FREERTOS_ROOT</name>\r
+                       <value>$%7BPARENT-2-PROJECT_LOC%7D</value>\r
+               </variable>\r
+       </variableList>\r
+</projectDescription>\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.settings/Project_Generation_Prefrences.prefs b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.settings/Project_Generation_Prefrences.prefs
new file mode 100644 (file)
index 0000000..eeb90f9
--- /dev/null
@@ -0,0 +1,22 @@
+Library\ Generator\ Command=rx-elf-libgen\r
+com.renesas.cdt.core.Assembler.option.includeFileDirectories="${workspace_loc\:/${ProjName}}\\src";\r
+com.renesas.cdt.core.Compiler.option.includeFileDir.1782217841="${TCINSTALL}\\rx-elf\\optlibinc";\r
+com.renesas.cdt.core.LibraryGenerator.option.ctype=false\r
+com.renesas.cdt.core.LibraryGenerator.option.libraryType=Project-Built\r
+com.renesas.cdt.core.LibraryGenerator.option.math=true\r
+com.renesas.cdt.core.LibraryGenerator.option.selectLibrary=Optimized\r
+com.renesas.cdt.core.LibraryGenerator.option.stdio=true\r
+com.renesas.cdt.core.LibraryGenerator.option.stdlib=true\r
+com.renesas.cdt.core.LibraryGenerator.option.string=true\r
+com.renesas.cdt.core.Linker.option.userDefinedOptions=-e_PowerON_Reset;\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.cpuType=RX600\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.cpuType.681354731=RX600\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.dataEndian=Little-endian data\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.disableFPUInstructions=false\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.genCodeForRX610=false\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.generateRXas100output=false\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.macroDefines=__RX_LITTLE_ENDIAN__\=1;\r
+com.renesas.cdt.rx.HardwareDebug.Compiler.option.make64bitDouble=false\r
+com.renesas.cdt.rx.HardwareDebug.Linker.option.archiveLibraryFiles=${ProjName};gcc;\r
+com.renesas.cdt.rx.HardwareDebug.Linker.option.archiveSearchDirectories.1899007176="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rx-elf\\\\${GCC_VERSION}";\r
+eclipse.preferences.version=1\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.settings/language.settings.xml b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/.settings/language.settings.xml
new file mode 100644 (file)
index 0000000..1e65614
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<project>\r
+       <configuration id="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id.606469687" name="HardwareDebug">\r
+               <extension point="org.eclipse.cdt.core.LanguageSettingsProvider">\r
+                       <provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>\r
+                       <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>\r
+                       <provider class="com.renesas.cdt.common.build.spec.RXGCCBuiltinSpecsDetector" console="false" id="RXGCCBuiltinSpecsDetector" keep-relative-paths="false" name="Renesas GCCBuildinCompilerSettings" parameter="rx-elf-gcc -E -P -v -dD ${INPUTS} -mcpu=rx600 -mlittle-endian-data" prefer-non-shared="true">\r
+                               <language-scope id="org.eclipse.cdt.core.gcc"/>\r
+                               <language-scope id="org.eclipse.cdt.core.g++"/>\r
+                       </provider>\r
+               </extension>\r
+       </configuration>\r
+</project>\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/RTOSDemo HardwareDebug.launch b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/RTOSDemo HardwareDebug.launch
new file mode 100644 (file)
index 0000000..6977706
--- /dev/null
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<launchConfiguration type="com.renesas.cdt.launch.dsf.gdbremote.launchConfigurationType">\r
+<intAttribute key="com.renesas.cdt.core.admPortNumber" value="61236"/>\r
+<stringAttribute key="com.renesas.cdt.core.initCommands" value=""/>\r
+<stringAttribute key="com.renesas.cdt.core.ipAddress" value="localhost"/>\r
+<stringAttribute key="com.renesas.cdt.core.jtagDevice" value="E1"/>\r
+<stringAttribute key="com.renesas.cdt.core.jtagDeviceId" value="com.renesas.hardwaredebug.rx.e1"/>\r
+<booleanAttribute key="com.renesas.cdt.core.loadImage" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.core.optionInitCommands" value=""/>\r
+<intAttribute key="com.renesas.cdt.core.portNumber" value="61234"/>\r
+<stringAttribute key="com.renesas.cdt.core.runCommands" value=""/>\r
+<stringAttribute key="com.renesas.cdt.core.serverParam" value="-g E1  -l 0 -t R5F564ML  -p 61234 -d 61236 -uClockSrcHoco= 0 -uInputClock= 12.0000 -uAllowClockSourceInternal= 1 -uUseFine= 0 -uJTagClockFreq= 16.5 -w 0 -z 0 -uRegisterSetting= 0 -uModePin= 0 -uDebugMode= 0 -uExecuteProgram= 0 -uIdCode= FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -b -n 0 -uWorkRamAddress= 1000 -uProgReWriteIRom= 0 -uProgReWriteDFlash= 0"/>\r
+<booleanAttribute key="com.renesas.cdt.core.setResume" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.setStopAt" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.startServer" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.core.stopAt" value="main"/>\r
+<stringAttribute key="com.renesas.cdt.core.targetDevice" value="R5F564ML"/>\r
+<booleanAttribute key="com.renesas.cdt.core.useRemoteTarget" value="true"/>\r
+<booleanAttribute key="com.renesas.cdt.core.verboseMode" value="false"/>\r
+<stringAttribute key="com.renesas.cdt.debug.realtimemanager.memory.mruRanges" value=""/>\r
+<stringAttribute key="com.renesas.cdt.launch.dsf.IO_MAP" value="${eclipse_home}..\internal\IoFiles\RX\RX64M.sfrx"/>\r
+<booleanAttribute key="com.renesas.cdt.launch.dsf.USE_DEFAULT_IO_MAP" value="true"/>\r
+<stringAttribute key="com.renesas.cdt.launch.dsf.launchSeqType" value="com.renesas.cdt.launch.dsf.launchSequence.e2GdbServer"/>\r
+<stringAttribute key="com.renesas.cdt.launch.dsf.serverPath" value="${eclipse_home}../DebugComp/e2-server-gdb.exe"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.allow.clock.source.internal" value="true"/>\r
+<intAttribute key="com.renesas.hardwaredebug.e1.clock_source" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.connection.mode" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.e1_pwr" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.enable_external_flash" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.execute.program" value="false"/>\r
+<listAttribute key="com.renesas.hardwaredebug.e1.ext_flash_definitions"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.ext_flash_registers" value="2.1,0,"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.external_memory" value=""/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.fine.baud.rate" value="2.00"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.flash_overwrite_blocks" value=""/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.hook_Stop_func" value="0x0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.hook_enable_Stop" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.hook_enable_start" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.hook_start_func" value="0x0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.hw_break" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.id_code" value="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.inputclock" value="12.0000"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.jtag.clock.freq" value="16.5"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.jtag.or.fine" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.le" value="true"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.mode" value="0"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.mode_pin" value="0"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.prog_rewrite_dflash" value="false"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e1.prog_rewrite_irom" value="false"/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.serial_number" value=""/>\r
+<stringAttribute key="com.renesas.hardwaredebug.e1.supply.voltage" value="3.3V"/>\r
+<intAttribute key="com.renesas.hardwaredebug.e1.work_ram_start" value="4096"/>\r
+<booleanAttribute key="com.renesas.hardwaredebug.e20.le" value="true"/>\r
+<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.delay" value="3"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageOffset" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadImage" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.loadSymbols" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsFileName" value=""/>\r
+<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.symbolsOffset" value=""/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForImage" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useFileForSymbols" value="false"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForImage" value="true"/>\r
+<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.useProjBinaryForSymbols" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="${eclipse_home}../DebugComp/rx-elf-gdb --rx-force-64bit-double -rx-force-v2"/>\r
+<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="true"/>\r
+<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>\r
+<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="HardwareDebug\RTOSDemo.x"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="RTOSDemo"/>\r
+<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>\r
+<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="%com.renesas.cdt.rx.hardwaredebug.win32.configuration.Id.606469687"/>\r
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">\r
+<listEntry value="/RTOSDemo"/>\r
+</listAttribute>\r
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">\r
+<listEntry value="4"/>\r
+</listAttribute>\r
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>\r
+<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;memoryBlockExpressionList context=&quot;reserved-for-future-use&quot;/&gt;&#13;&#10;"/>\r
+<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>\r
+</launchConfiguration>\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/custom.bat b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/custom.bat
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/makefile.init b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/makefile.init
new file mode 100644 (file)
index 0000000..b842a0f
--- /dev/null
@@ -0,0 +1,5 @@
+################################################################################\r
+# Automatically-generated file. Do not edit!\r
+################################################################################\r
+\r
+PATH := $(PATH):C:\PROGRA~1\KPIT\GNURXV~1.01-\rx-ELF\rx-ELF\bin;C:\PROGRA~1\KPIT\GNURXV~1.01-\rx-ELF\rx-ELF\libexec\gcc\rx-elf\4.7-GNURX_v14.01
\ No newline at end of file
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/FreeRTOSConfig.h b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/FreeRTOSConfig.h
new file mode 100644 (file)
index 0000000..bfb2792
--- /dev/null
@@ -0,0 +1,178 @@
+/*\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    All rights reserved\r
+\r
+    VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS provides completely free yet professionally developed,    *\r
+     *    robust, strictly quality controlled, supported, and cross          *\r
+     *    platform software that has become a de facto standard.             *\r
+     *                                                                       *\r
+     *    Help yourself get started quickly and support the FreeRTOS         *\r
+     *    project by purchasing a FreeRTOS tutorial book, reference          *\r
+     *    manual, or both from: http://www.FreeRTOS.org/Documentation        *\r
+     *                                                                       *\r
+     *    Thank you!                                                         *\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
+\r
+    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
+    >>! a combined work that includes FreeRTOS without being obliged to provide\r
+    >>! the source code for proprietary components outside of the FreeRTOS\r
+    >>! kernel.\r
+\r
+    FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
+    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+    FOR A PARTICULAR PURPOSE.  Full license text is available from the following\r
+    link: http://www.freertos.org/a00114.html\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    Having a problem?  Start by reading the FAQ "My application does   *\r
+     *    not run, what could be wrong?"                                     *\r
+     *                                                                       *\r
+     *    http://www.FreeRTOS.org/FAQHelp.html                               *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
+    license and Real Time Engineers Ltd. contact details.\r
+\r
+    http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
+    including FreeRTOS+Trace - an indispensable productivity tool, a DOS\r
+    compatible FAT file system, and our tiny thread aware UDP/IP stack.\r
+\r
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+    Integrity Systems to sell under the OpenRTOS brand.  Low cost OpenRTOS\r
+    licenses offer ticketed support, indemnification and middleware.\r
+\r
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+    engineered and independently SIL3 certified version for use in safety and\r
+    mission critical applications that require provable dependability.\r
+\r
+    1 tab == 4 spaces!\r
+*/\r
+\r
+#ifndef FREERTOS_CONFIG_H\r
+#define FREERTOS_CONFIG_H\r
+\r
+/* Prevent Renesas headers redefining some stdint.h types. */\r
+#define __TYPEDEF__    1\r
+\r
+/*-----------------------------------------------------------\r
+ * Application specific definitions.\r
+ *\r
+ * These definitions should be adjusted for your particular hardware and\r
+ * application requirements.\r
+ *\r
+ * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.\r
+ *\r
+ * See http://www.freertos.org/a00110.html.\r
+ *----------------------------------------------------------*/\r
+\r
+#define configUSE_PREEMPTION                   1\r
+#define configUSE_IDLE_HOOK                            1\r
+#define configUSE_TICK_HOOK                            1\r
+#define configCPU_CLOCK_HZ                             ( 120000000UL ) /*_RB_ guess*/\r
+#define configPERIPHERAL_CLOCK_HZ              ( 60000000UL ) /*_RB_ guess*/\r
+#define configTICK_RATE_HZ                             ( ( TickType_t ) 1000 )\r
+#define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 140 )\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 45 * 1024 ) )\r
+#define configMAX_TASK_NAME_LEN                        ( 12 )\r
+#define configUSE_TRACE_FACILITY               1\r
+#define configUSE_16_BIT_TICKS                 0\r
+#define configIDLE_SHOULD_YIELD                        1\r
+#define configUSE_CO_ROUTINES                  0\r
+#define configUSE_MUTEXES                              1\r
+#define configGENERATE_RUN_TIME_STATS  0\r
+#define configCHECK_FOR_STACK_OVERFLOW 2\r
+#define configUSE_RECURSIVE_MUTEXES            1\r
+#define configQUEUE_REGISTRY_SIZE              0\r
+#define configUSE_MALLOC_FAILED_HOOK   1\r
+#define configUSE_APPLICATION_TASK_TAG 0\r
+#define configUSE_QUEUE_SETS                   1\r
+#define configUSE_COUNTING_SEMAPHORES  1\r
+#define configMAX_PRIORITIES                   ( 7 )\r
+#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
+\r
+/* Software timer definitions. */\r
+#define configUSE_TIMERS                               1\r
+#define configTIMER_TASK_PRIORITY              ( configMAX_PRIORITIES - 1 )\r
+#define configTIMER_QUEUE_LENGTH               5\r
+#define configTIMER_TASK_STACK_DEPTH   ( configMINIMAL_STACK_SIZE )\r
+\r
+/* The interrupt priority used by the kernel itself for the tick interrupt and\r
+the pended interrupt.  This would normally be the lowest priority. */\r
+#define configKERNEL_INTERRUPT_PRIORITY         1\r
+\r
+/* The maximum interrupt priority from which FreeRTOS API calls can be made.\r
+Interrupts that use a priority above this will not be effected by anything the\r
+kernel is doing. */\r
+#define configMAX_SYSCALL_INTERRUPT_PRIORITY    4\r
+\r
+/* The peripheral used to generate the tick interrupt is configured as part of\r
+the application code.  This constant should be set to the vector number of the\r
+peripheral chosen.  As supplied this is CMT0. */\r
+#define configTICK_VECTOR                                              _CMT0_CMI0\r
+\r
+/* Set the following definitions to 1 to include the API function, or zero\r
+to exclude the API function. */\r
+\r
+#define INCLUDE_vTaskPrioritySet                       1\r
+#define INCLUDE_uxTaskPriorityGet                      1\r
+#define INCLUDE_vTaskDelete                                    1\r
+#define INCLUDE_vTaskCleanUpResources          0\r
+#define INCLUDE_vTaskSuspend                           1\r
+#define INCLUDE_vTaskDelayUntil                                1\r
+#define INCLUDE_vTaskDelay                                     1\r
+#define INCLUDE_uxTaskGetStackHighWaterMark    1\r
+#define INCLUDE_xTaskGetSchedulerState         1\r
+#define INCLUDE_eTaskGetState                          1\r
+#define INCLUDE_xTimerPendFunctionCall         1\r
+\r
+void vAssertCalled( void );\r
+#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled()\r
+\r
+/* Override some of the priorities set in the common demo tasks.  This is\r
+required to ensure flase positive timing errors are not reported. */\r
+#define bktPRIMARY_PRIORITY            ( configMAX_PRIORITIES - 3 )\r
+#define bktSECONDARY_PRIORITY  ( configMAX_PRIORITIES - 4 )\r
+#define intqHIGHER_PRIORITY            ( configMAX_PRIORITIES - 3 )\r
+\r
+\r
+/*-----------------------------------------------------------\r
+ * Ethernet configuration.\r
+ *-----------------------------------------------------------*/\r
+\r
+/* MAC address configuration. */\r
+#define configMAC_ADDR0        0x00\r
+#define configMAC_ADDR1        0x12\r
+#define configMAC_ADDR2        0x13\r
+#define configMAC_ADDR3        0x10\r
+#define configMAC_ADDR4        0x15\r
+#define configMAC_ADDR5        0x11\r
+\r
+/* IP address configuration. */\r
+#define configIP_ADDR0         192\r
+#define configIP_ADDR1         168\r
+#define configIP_ADDR2         0\r
+#define configIP_ADDR3         200\r
+\r
+/* Netmask configuration. */\r
+#define configNET_MASK0                255\r
+#define configNET_MASK1                255\r
+#define configNET_MASK2                255\r
+#define configNET_MASK3                0\r
+\r
+#endif /* FREERTOS_CONFIG_H */\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/ParTest.c b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/ParTest.c
new file mode 100644 (file)
index 0000000..80d5cb0
--- /dev/null
@@ -0,0 +1,198 @@
+/*\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    All rights reserved\r
+\r
+    VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS provides completely free yet professionally developed,    *\r
+     *    robust, strictly quality controlled, supported, and cross          *\r
+     *    platform software that has become a de facto standard.             *\r
+     *                                                                       *\r
+     *    Help yourself get started quickly and support the FreeRTOS         *\r
+     *    project by purchasing a FreeRTOS tutorial book, reference          *\r
+     *    manual, or both from: http://www.FreeRTOS.org/Documentation        *\r
+     *                                                                       *\r
+     *    Thank you!                                                         *\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
+\r
+    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
+    >>! a combined work that includes FreeRTOS without being obliged to provide\r
+    >>! the source code for proprietary components outside of the FreeRTOS\r
+    >>! kernel.\r
+\r
+    FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
+    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+    FOR A PARTICULAR PURPOSE.  Full license text is available from the following\r
+    link: http://www.freertos.org/a00114.html\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    Having a problem?  Start by reading the FAQ "My application does   *\r
+     *    not run, what could be wrong?"                                     *\r
+     *                                                                       *\r
+     *    http://www.FreeRTOS.org/FAQHelp.html                               *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
+    license and Real Time Engineers Ltd. contact details.\r
+\r
+    http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
+    including FreeRTOS+Trace - an indispensable productivity tool, a DOS\r
+    compatible FAT file system, and our tiny thread aware UDP/IP stack.\r
+\r
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+    Integrity Systems to sell under the OpenRTOS brand.  Low cost OpenRTOS\r
+    licenses offer ticketed support, indemnification and middleware.\r
+\r
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+    engineered and independently SIL3 certified version for use in safety and\r
+    mission critical applications that require provable dependability.\r
+\r
+    1 tab == 4 spaces!\r
+*/\r
+\r
+/*-----------------------------------------------------------\r
+ * Simple IO routines to control the LEDs.\r
+ *-----------------------------------------------------------*/\r
+\r
+/* Scheduler includes. */\r
+#include "FreeRTOS.h"\r
+#include "task.h"\r
+\r
+/* Demo includes. */\r
+#include "partest.h"\r
+\r
+/* Hardware specifics. */\r
+//#include "iodefine.h"\r
+\r
+#define partestNUM_LEDS ( 4 )\r
+\r
+long lParTestGetLEDState( unsigned long ulLED );\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+void vParTestInitialise( void )\r
+{\r
+       /* Port pin configuration is done by the low level set up prior to this\r
+       function being called. */\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vParTestSetLED( unsigned long ulLED, signed long xValue )\r
+{\r
+#if 0\r
+       if( ulLED < partestNUM_LEDS )\r
+       {\r
+               if( xValue != 0 )\r
+               {\r
+                       /* Turn the LED on. */\r
+                       taskENTER_CRITICAL();\r
+                       {\r
+                               switch( ulLED )\r
+                               {\r
+                                       case 0: LED0 = LED_ON;\r
+                                                       break;\r
+                                       case 1: LED1 = LED_ON;\r
+                                                       break;\r
+                                       case 2: LED2 = LED_ON;\r
+                                                       break;\r
+                                       case 3: LED3 = LED_ON;\r
+                                                       break;\r
+                               }\r
+                       }\r
+                       taskEXIT_CRITICAL();\r
+               }\r
+               else\r
+               {\r
+                       /* Turn the LED off. */\r
+                       taskENTER_CRITICAL();\r
+                       {\r
+                               switch( ulLED )\r
+                               {\r
+                                       case 0: LED0 = LED_OFF;\r
+                                                       break;\r
+                                       case 1: LED1 = LED_OFF;\r
+                                                       break;\r
+                                       case 2: LED2 = LED_OFF;\r
+                                                       break;\r
+                                       case 3: LED3 = LED_OFF;\r
+                                                       break;\r
+                               }\r
+\r
+                       }\r
+                       taskEXIT_CRITICAL();\r
+               }\r
+       }\r
+#endif\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vParTestToggleLED( unsigned long ulLED )\r
+{\r
+#if 0\r
+       if( ulLED < partestNUM_LEDS )\r
+       {\r
+               taskENTER_CRITICAL();\r
+               {\r
+                       if( lParTestGetLEDState( ulLED ) != 0x00 )\r
+                       {\r
+                               vParTestSetLED( ulLED, 0 );\r
+                       }\r
+                       else\r
+                       {\r
+                               vParTestSetLED( ulLED, 1 );\r
+                       }\r
+               }\r
+               taskEXIT_CRITICAL();\r
+       }\r
+#endif\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+long lParTestGetLEDState( unsigned long ulLED )\r
+{\r
+long lReturn = pdTRUE;\r
+#if 0\r
+       if( ulLED < partestNUM_LEDS )\r
+       {\r
+               switch( ulLED )\r
+               {\r
+                       case 0  :       if( LED0 != 0 )\r
+                                               {\r
+                                                       lReturn =  pdFALSE;\r
+                                               }\r
+                                               break;\r
+                       case 1  :       if( LED1 != 0 )\r
+                                               {\r
+                                                       lReturn =  pdFALSE;\r
+                                               }\r
+                                               break;\r
+                       case 2  :       if( LED2 != 0 )\r
+                                               {\r
+                                                       lReturn =  pdFALSE;\r
+                                               }\r
+                                               break;\r
+                       case 3  :       if( LED3 != 0 )\r
+                                               {\r
+                                                       lReturn =  pdFALSE;\r
+                                               }\r
+                                               break;\r
+               }\r
+       }\r
+#endif\r
+       return lReturn;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/hardware_setup.c b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/hardware_setup.c
new file mode 100644 (file)
index 0000000..de90606
--- /dev/null
@@ -0,0 +1,46 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  hardware_setup.c                               */
+/*      DESCRIPTION  :  Hardware Initialization                        */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
+                                                                           \r
+/************************************************************************/\r
+/*    File Version: V1.00                                               */\r
+/*    Date Generated: 08/07/2013                                        */\r
+/************************************************************************/\r
+\r
+#include "iodefine.h"\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+extern void HardwareSetup(void);\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+void HardwareSetup(void)\r
+{\r
+/*\r
+ BSC.CS0MOD.WORD = 0x1234;\r
+ BSC.CS7CNT.WORD = 0x5678;\r
+  \r
+ SCI0.SCR.BIT.TE  = 0;\r
+ SCI0.SCR.BIT.RE  = 0;\r
+ SCI0.SCR.BIT.TE  = 1;\r
+ SCI2.SSR.BIT.PER = 0;\r
+\r
+ TMR0.TCR.BYTE = 0x12;\r
+ TMR1.TCR.BYTE = 0x12;\r
+ TMR2.TCR.BYTE = 0x12;\r
\r
+ P0.DDR.BYTE = 0x12;\r
+ P1.DDR.BYTE = 0x12;\r
+*/\r
+}\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/interrupt_handlers.c b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/interrupt_handlers.c
new file mode 100644 (file)
index 0000000..396443e
--- /dev/null
@@ -0,0 +1,761 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  interrupt_handlers.c                           */
+/*      DESCRIPTION  :  Interrupt Handler                              */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
+                                                                           \r
+/************************************************************************/\r
+/*    File Version: V1.00                                               */\r
+/*    Date Generated: 03/10/2013                                        */\r
+/************************************************************************/\r
+#include "interrupt_handlers.h"\r
+\r
+// Exception(Supervisor Instruction)\r
+void INT_Excep_SuperVisorInst(void){/* brk(); */}\r
+\r
+// Exception(Access Instruction)\r
+void INT_Excep_AccessInst(void){/* brk(); */}\r
+\r
+// Exception(Undefined Instruction)\r
+void INT_Excep_UndefinedInst(void){/* brk(); */}\r
+\r
+// Exception(Floating Point)\r
+void INT_Excep_FloatingPoint(void){/* brk(); */}\r
+\r
+// NMI\r
+void INT_NonMaskableInterrupt(void){/* brk(); */}\r
+\r
+// Dummy\r
+void Dummy(void){/* brk(); */}\r
+\r
+// BRK\r
+void INT_Excep_BRK(void){ /*wait();*/ }\r
+//;0x0000  Reserved\r
+    \r
+//;0x0004  Reserved\r
+    \r
+//;0x0008  Reserved\r
+    \r
+//;0x000C  Reserved\r
+    \r
+//;0x0010  Reserved\r
+    \r
+//;0x0014  Reserved\r
+    \r
+//;0x0018  Reserved\r
+    \r
+//;0x001C  Reserved\r
+    \r
+//;0x0020  Reserved\r
+    \r
+//;0x0024  Reserved\r
+    \r
+//;0x0028  Reserved\r
+    \r
+//;0x002C  Reserved\r
+    \r
+//;0x0030  Reserved\r
+    \r
+//;0x0034  Reserved\r
+    \r
+//;0x0038  Reserved\r
+    \r
+//;0x003C  Reserved\r
+\r
+//;0x0040  BUSERR\r
+void  INT_Excep_BSC_BUSERR(void){ }\r
+//;0x0044  Reserved\r
+\r
+//;0x0048  RAMERR\r
+void INT_Excep_RAM_RAMERR(void){ };\r
+//;0x004C  Reserved\r
+\r
+//;0x0050  Reserved\r
+\r
+//;0x0054 FIFERR\r
+void INT_Excep_FCU_FIFERR(void){ };\r
+//;0x0058  Reserved\r
+\r
+//;0x005C  FRDYI\r
+void INT_Excep_FCU_FRDYI(void){ };\r
+//;0x0060  Reserved\r
+\r
+//;0x0064  Reserved\r
+\r
+//;0x0068  SWINT2\r
+void INT_Excep_ICU_SWINT2(void){ };\r
+\r
+//;0x006C  SWINT\r
+void INT_Excep_ICU_SWINT(void){ };\r
+\r
+//;0x0070  CMI0\r
+void INT_Excep_CMT0_CMI0(void){ };\r
+\r
+//;0x0074  CMI1\r
+void INT_Excep_CMT1_CMI1(void){ };\r
+\r
+//;0x0078  CMWI0\r
+void INT_Excep_CMTW0_CMWI0(void){ };\r
+\r
+//;0x007C  CMWI1\r
+void INT_Excep_CMTW1_CMWI1(void){ };\r
+\r
+//;0x0080  D0FIFO2\r
+void INT_Excep_USBHS_D0FIFO2(void){ };\r
+\r
+//;0x0084  D1FIFO2\r
+void INT_Excep_USBHS_D1FIFO2(void){ };\r
+\r
+//;0x0088  D0FIFO0\r
+void INT_Excep_USB0_D0FIFO0(void){ };\r
+\r
+//;0x008C  D1FIFO0\r
+void INT_Excep_USB0_D1FIFO0(void){ };\r
+//;0x0090  Reserved\r
+\r
+//;0x0094  Reserved\r
+\r
+//;0x0098  SPRI0\r
+void INT_Excep_RSPI0_SPRI0(void){ };\r
+\r
+//;0x009C  SPTI0\r
+void INT_Excep_RSPI0_SPTI0(void){ };\r
+//;0x00A0  Reserved\r
+\r
+//;0x00A4  Reserved\r
+\r
+//;0x00A8  SPRI\r
+void INT_Excep_QSPI_SPRI(void){ };\r
+\r
+//;0x00AC  SPTI\r
+void INT_Excep_QSPI_SPTI(void){ };\r
+\r
+//;0x00B0  SBFAI\r
+void INT_Excep_SHDI_SBFAI(void){ };\r
+\r
+//;0x00B4  MBFAI\r
+void INT_Excep_MMC_MBFAI(void){ };\r
+\r
+//;0x00B8  SSITX0\r
+void INT_Excep_SSI0_SSITXI0(void){ };\r
+\r
+//;0x00BC  SSIRX0\r
+void INT_Excep_SSI0_SSIRXI0(void){ };\r
+\r
+//;0x00C0  SSIRTI1\r
+void INT_Excep_SSI1_SSIRTI1(void){ };\r
+//;0x00C4  Reserved\r
+\r
+//;0x00C8  IDEI\r
+void INT_Excep_SRC_IDEI(void){ };\r
+\r
+//;0x00CC  ODFI\r
+void INT_Excep_SRC_ODFI(void){ };\r
+\r
+//;0x00D0  RXI0\r
+void INT_Excep_RIIC0_RXI0(void){ };\r
+\r
+//;0x00D4C  TXI0\r
+void INT_Excep_RIIC0_TXI0(void){ };\r
+\r
+//;0x00D8  RXI2\r
+void INT_Excep_RIIC2_RXI2(void){ };\r
+\r
+//;0x00DC TXI2\r
+void INT_Excep_RIIC2_TXI2(void){ };\r
+//;0x00E0  Reserved\r
+\r
+//;0x00E4  Reserved\r
+\r
+//;0x00E8 RXI0\r
+void INT_Excep_SCI0_RXI0(void){ };\r
+\r
+//;0x00EC TXI0\r
+void INT_Excep_SCI0_TXI0(void){ };\r
+\r
+//;0x00F0 RXI1\r
+void INT_Excep_SCI1_RXI1(void){ };\r
+\r
+//;0x00F4 TXI1\r
+void INT_Excep_SCI1_TXI1(void){ };\r
+\r
+//;0x00F8 RXI2\r
+void INT_Excep_SCI2_RXI2(void){ };\r
+\r
+//;0x00FC TXI2\r
+void INT_Excep_SCI2_TXI2(void){ };\r
+\r
+//;0x0100 IRQ0\r
+void INT_Excep_ICU_IRQ0(void){ };\r
+\r
+//;0x0104 IRQ1\r
+void INT_Excep_ICU_IRQ1(void){ };\r
+\r
+//;0x0108 IRQ2\r
+void INT_Excep_ICU_IRQ2(void){ };\r
+\r
+//;0x010C IRQ3\r
+void INT_Excep_ICU_IRQ3(void){ };\r
+\r
+//;0x0110 IRQ4\r
+void INT_Excep_ICU_IRQ4(void){ };\r
+\r
+//;0x0114 IRQ5\r
+void INT_Excep_ICU_IRQ5(void){ };\r
+\r
+//;0x0118 IRQ6\r
+void INT_Excep_ICU_IRQ6(void){ };\r
+\r
+//;0x011C IRQ7\r
+void INT_Excep_ICU_IRQ7(void){ };\r
+\r
+//;0x0120 IRQ8\r
+void INT_Excep_ICU_IRQ8(void){ };\r
+\r
+//;0x0124 IRQ9\r
+void INT_Excep_ICU_IRQ9(void){ };\r
+\r
+//;0x0128 IRQ10\r
+void INT_Excep_ICU_IRQ10(void){ };\r
+\r
+//;0x012C IRQ11\r
+void INT_Excep_ICU_IRQ11(void){ };\r
+\r
+//;0x0130 IRQ12\r
+void INT_Excep_ICU_IRQ12(void){ };\r
+\r
+//;0x0134 IRQ13\r
+void INT_Excep_ICU_IRQ13(void){ };\r
+\r
+//;0x0138 IRQ14\r
+void INT_Excep_ICU_IRQ14(void){ };\r
+\r
+//;0x013C IRQ15\r
+void INT_Excep_ICU_IRQ15(void){ };\r
+\r
+//;0x0140 RXI3\r
+void INT_Excep_SCI3_RXI3(void){ };\r
+\r
+//;0x0144 TXI3\r
+void INT_Excep_SCI3_TXI3(void){ };\r
+\r
+//;0x0148 RXI4\r
+void INT_Excep_SCI4_RXI4(void){ };\r
+\r
+//;0x014C TXI4\r
+void INT_Excep_SCI4_TXI4(void){ };\r
+\r
+//;0x0150 RXI5\r
+void INT_Excep_SCI5_RXI5(void){ };\r
+\r
+//;0x0154 TXI5\r
+void INT_Excep_SCI5_TXI5(void){ };\r
+\r
+//;0x0158 RXI6\r
+void INT_Excep_SCI6_RXI6(void){ };\r
+\r
+//;0x015C TXI6\r
+void INT_Excep_SCI6_TXI6(void){ };\r
+\r
+//;0x0160 COMPA1\r
+void INT_Excep_LVD1_COMPA1(void){ };\r
+\r
+//;0x0164 COMPA2\r
+void INT_Excep_LVD2_COMPA2(void){ };\r
+\r
+//;0x0168 USBR0\r
+void INT_Excep_USB_USBR0(void){ };\r
+//;0x016C Reserved\r
+\r
+//;0x0170 ALM\r
+void INT_Excep_RTC_ALM(void){ };\r
+\r
+//;0x0174 PRD\r
+void INT_Excep_RTC_PRD(void){ };\r
+\r
+//;0x0178 HSUSBR\r
+void INT_Excep_USBHS_USBHSR(void){ };\r
+\r
+//;0x017C IWUNI\r
+void INT_Excep_IWDT_IWUNI(void){ };\r
+\r
+//;0x0180 WUNI\r
+void INT_Excep_WDT_WUNI(void){ };\r
+\r
+//;0x0184 PCDFI\r
+void INT_Excep_PDC_PCDFI(void){ };\r
+\r
+//;0x0188 RXI7\r
+void INT_Excep_SCI7_RXI7(void){ };\r
+\r
+//;0x018C TXI7\r
+void INT_Excep_SCI7_TXI7(void){ };\r
+\r
+//;0x0190 RXIF8\r
+void INT_Excep_SCIF8_RXIF8(void){ };\r
+\r
+//;0x0194 TXIF8\r
+void INT_Excep_SCIF8_TXIF8(void){ };\r
+\r
+//;0x0198 RXIF9\r
+void INT_Excep_SCIF9_RXIF9(void){ };\r
+\r
+//;0x019C TXIF9\r
+void INT_Excep_SCIF9_TXIF9(void){ };\r
+\r
+//;0x01A0 RXIF10\r
+void INT_Excep_SCIF10_RXIF10(void){ };\r
+\r
+//;0x01A4 TXIF10\r
+void INT_Excep_SCIF10_TXIF10(void){ };\r
+\r
+//;0x01A8 GROUPBE0\r
+void INT_Excep_ICU_GROUPBE0(void){ };\r
+//;0x01AC Reserved \r
+\r
+//;0x01B0 Reserved \r
+\r
+//;0x01B4 Reserved \r
+\r
+//;0x01B8 GROUPBL0\r
+void INT_Excep_ICU_GROUPBL0(void){ };\r
+\r
+//;0x01BC GROUPBL1\r
+void INT_Excep_ICU_GROUPBL1(void){ };\r
+\r
+//;0x01C0 GROUPAL0\r
+void INT_Excep_ICU_GROUPAL0(void){ };\r
+\r
+//;0x01C4 GROUPAL1\r
+void INT_Excep_ICU_GROUPAL1(void){ };\r
+\r
+//;0x01C8 RXIF11\r
+void INT_Excep_SCIF11_RXIF11(void){ };\r
+\r
+//;0x01CC TXIF11\r
+void INT_Excep_SCIF11_TXIF11(void){ };\r
+\r
+//;0x01D0 RXIF12\r
+void INT_Excep_SCIF12_RXIF12(void){ };\r
+\r
+//;0x01D4 TXIF12\r
+void INT_Excep_SCIF12_TXIF12(void){ };\r
+\r
+//;0x01D8 Reserved\r
+\r
+//;0x01DC Reserved\r
+\r
+//;0x01E0 DMAC0I\r
+void INT_Excep_DMAC_DMAC0I(void){ };\r
+\r
+//;0x01E4 DMAC1I\r
+void INT_Excep_DMAC_DMAC1I(void){ };\r
+\r
+//;0x01E8 DMAC2I\r
+void INT_Excep_DMAC_DMAC2I(void){ };\r
+\r
+//;0x01EC DMAC3I\r
+void INT_Excep_DMAC_DMAC3I(void){ };\r
+\r
+//;0x01F0 DMAC74I\r
+void INT_Excep_DMAC_DMAC74I(void){ };\r
+\r
+//;0x01F4 OST\r
+void INT_Excep_ICU_OST(void){ };\r
+\r
+//;0x01F8  EXDMAC0I\r
+void INT_Excep_EXDMAC_EXDMAC0I(void){ };\r
+\r
+//;0x01FC  EXDMAC1I\r
+void INT_Excep_EXDMAC_EXDMAC1I(void){ };\r
+\r
+//;0x0200  INTB128\r
+void INT_Excep_PERIB_INTB128(void){ };\r
+\r
+//;0x0204 INTB129\r
+void INT_Excep_PERIB_INTB129(void){ };\r
+\r
+//;0x0208 INTB130\r
+void INT_Excep_PERIB_INTB130(void){ };\r
+\r
+//;0x020C INTB131\r
+void INT_Excep_PERIB_INTB131(void){ };\r
+\r
+//;0x0210 INTB132\r
+void INT_Excep_PERIB_INTB132(void){ };\r
+\r
+//;0x0214 INTB133\r
+void INT_Excep_PERIB_INTB133(void){ };\r
+\r
+//;0x0218 INTB134\r
+void INT_Excep_PERIB_INTB134(void){ };\r
+\r
+//;0x021C INTB135\r
+void INT_Excep_PERIB_INTB135(void){ };\r
+\r
+//;0x0220 INTB136\r
+void INT_Excep_PERIB_INTB136(void){ };\r
+\r
+//;0x0224 INTB137\r
+void INT_Excep_PERIB_INTB137(void){ };\r
+\r
+//;0x0228 INTB138\r
+void INT_Excep_PERIB_INTB138(void){ };\r
+\r
+//;0x022C INTB139\r
+void INT_Excep_PERIB_INTB139(void){ };\r
+\r
+//;0x0230 INTB140\r
+void INT_Excep_PERIB_INTB140(void){ };\r
+\r
+//;0x0234 INTB141\r
+void INT_Excep_PERIB_INTB141(void){ };\r
+\r
+//;0x0238 INTB142\r
+void INT_Excep_PERIB_INTB142(void){ };\r
+\r
+//;0x023C INTB143\r
+void INT_Excep_PERIB_INTB143(void){ };\r
+\r
+//;0x0240 INTB144\r
+void INT_Excep_PERIB_INTB144(void){ };\r
+\r
+//;0x0244 INTB145\r
+void INT_Excep_PERIB_INTB145(void){ };\r
+\r
+//;0x0248 INTB146\r
+void INT_Excep_PERIB_INTB146(void){ };\r
+\r
+//;0x024C INTB147\r
+void INT_Excep_PERIB_INTB147(void){ };\r
+\r
+//;0x0250 INTB148\r
+void INT_Excep_PERIB_INTB148(void){ };\r
+\r
+//;0x02540 INTB149\r
+void INT_Excep_PERIB_INTB149(void){ };\r
+\r
+//;0x0258 INTB150\r
+void INT_Excep_PERIB_INTB150(void){ };\r
+\r
+//;0x025C INTB151\r
+void INT_Excep_PERIB_INTB151(void){ };\r
+\r
+//;0x0260 INTB152\r
+void INT_Excep_PERIB_INTB152(void){ };\r
+\r
+//;0x0264 INTB153\r
+void INT_Excep_PERIB_INTB153(void){ };\r
+\r
+//;0x0268 INTB154\r
+void INT_Excep_PERIB_INTB154(void){ };\r
+\r
+//;0x026C INTB155\r
+void INT_Excep_PERIB_INTB155(void){ };\r
+\r
+//;0x0270 INTB156\r
+void INT_Excep_PERIB_INTB156(void){ };\r
+\r
+//;0x0274 INTB157\r
+void INT_Excep_PERIB_INTB157(void){ };\r
+\r
+//;0x0278 INTB158\r
+void INT_Excep_PERIB_INTB158(void){ };\r
+\r
+//;0x027C INTB159\r
+void INT_Excep_PERIB_INTB159(void){ };\r
+\r
+//;0x0280 INTB160\r
+void INT_Excep_PERIB_INTB160(void){ };\r
+\r
+//;0x0284 INTB161\r
+void INT_Excep_PERIB_INTB161(void){ };\r
+\r
+//;0x0288 INTB162\r
+void INT_Excep_PERIB_INTB162(void){ };\r
+\r
+//;0x028C INTB163\r
+void INT_Excep_PERIB_INTB163(void){ };\r
+\r
+//;0x0290 INTB164\r
+void INT_Excep_PERIB_INTB164(void){ };\r
+\r
+//;0x0294 PERIB INTB165\r
+void INT_Excep_PERIB_INTB165(void){ };\r
+\r
+//;0x0298 PERIB INTB166\r
+void INT_Excep_PERIB_INTB166(void){ };\r
+\r
+//;0x029C PERIB INTB167\r
+void INT_Excep_PERIB_INTB167(void){ };\r
+\r
+//;0x02A0 PERIB INTB168\r
+void INT_Excep_PERIB_INTB168(void){ };\r
+\r
+//;0x02A4 PERIB INTB169\r
+void INT_Excep_PERIB_INTB169(void){ };\r
+\r
+//;0x02A8 PERIB INTB170\r
+void INT_Excep_PERIB_INTB170(void){ };\r
+\r
+//;0x02AC PERIB INTB171\r
+void INT_Excep_PERIB_INTB171(void){ };\r
+\r
+//;0x02B0 PERIB INTB172\r
+void INT_Excep_PERIB_INTB172(void){ };\r
+\r
+//;0x02B4 PERIB INTB173\r
+void INT_Excep_PERIB_INTB173(void){ };\r
+\r
+//;0x02B8 PERIB INTB174\r
+void INT_Excep_PERIB_INTB174(void){ };\r
+\r
+//;0x02BC PERIB INTB175\r
+void INT_Excep_PERIB_INTB175(void){ };\r
+\r
+//;0x02C0 PERIB INTB176\r
+void INT_Excep_PERIB_INTB176(void){ };\r
+\r
+//;0x02C4 PERIB INTB177\r
+void INT_Excep_PERIB_INTB177(void){ };\r
+\r
+//;0x02C8 PERIB INTB178\r
+void INT_Excep_PERIB_INTB178(void){ };\r
+\r
+//;0x02CC PERIB INTB179\r
+void INT_Excep_PERIB_INTB179(void){ };\r
+\r
+//;0x02D0 PERIB INTB180\r
+void INT_Excep_PERIB_INTB180(void){ };\r
+\r
+//;0x02D4 PERIB INTB181\r
+void INT_Excep_PERIB_INTB181(void){ };\r
+\r
+//;0x02D8 PERIB INTB182\r
+void INT_Excep_PERIB_INTB182(void){ };\r
+\r
+//;0x02DC PERIB INTB183\r
+void INT_Excep_PERIB_INTB183(void){ };\r
+\r
+//;0x02E0 PERIB INTB184\r
+void INT_Excep_PERIB_INTB184(void){ };\r
+\r
+//;0x02E4 PERIB INTB185\r
+void INT_Excep_PERIB_INTB185(void){ };\r
+\r
+//;0x02E8 PERIB INTB186\r
+void INT_Excep_PERIB_INTB186(void){ };\r
+\r
+//;0x02EC PERIB INTB187\r
+void INT_Excep_PERIB_INTB187(void){ };\r
+\r
+//;0x02F0 PERIB INTB188\r
+void INT_Excep_PERIB_INTB188(void){ };\r
+\r
+//;0x02F4 PERIB INTB189\r
+void INT_Excep_PERIB_INTB189(void){ };\r
+\r
+//;0x02F8 PERIB INTB190\r
+void INT_Excep_PERIB_INTB190(void){ };\r
+\r
+//;0x02FC PERIB INTB191\r
+void INT_Excep_PERIB_INTB191(void){ };\r
+\r
+//;0x0300 PERIB INTB192\r
+void INT_Excep_PERIB_INTB192(void){ };\r
+\r
+//;0x0304 PERIB INTB193\r
+void INT_Excep_PERIB_INTB193(void){ };\r
+\r
+//;0x0308 PERIB INTB194\r
+void INT_Excep_PERIB_INTB194(void){ };\r
+\r
+//;0x030C PERIB INTB195\r
+void INT_Excep_PERIB_INTB195(void){ };\r
+\r
+//;0x0310 PERIB INTB196\r
+void INT_Excep_PERIB_INTB196(void){ };\r
+\r
+//;0x0314 PERIB INTB197\r
+void INT_Excep_PERIB_INTB197(void){ };\r
+\r
+//;0x0318 PERIB INTB198\r
+void INT_Excep_PERIB_INTB198(void){ };\r
+\r
+//;0x031C PERIB INTB199\r
+void INT_Excep_PERIB_INTB199(void){ };\r
+\r
+//;0x0320 PERIB INTB200\r
+void INT_Excep_PERIB_INTB200(void){ };\r
+\r
+//;0x0324 PERIB INTB201\r
+void INT_Excep_PERIB_INTB201(void){ };\r
+\r
+//;0x0328 PERIB INTB202\r
+void INT_Excep_PERIB_INTB202(void){ };\r
+\r
+//;0x032C PERIB INTB203\r
+void INT_Excep_PERIB_INTB203(void){ };\r
+\r
+//;0x0320 PERIB INTB204\r
+void INT_Excep_PERIB_INTB204(void){ };\r
+\r
+//;0x0334 PERIB INTB205\r
+void INT_Excep_PERIB_INTB205(void){ };\r
+\r
+//;0x0338 PERIB INTB206\r
+void INT_Excep_PERIB_INTB206(void){ };\r
+\r
+//;0x033C PERIB INTB207\r
+void INT_Excep_PERIB_INTB207(void){ };\r
+\r
+//;0x0340 PERIA INTA208\r
+void INT_Excep_PERIA_INTA208(void){ };\r
+\r
+//;0x0344 PERIA INTA209\r
+void INT_Excep_PERIA_INTA209(void){ };\r
+\r
+//;0x0348 PERIA INTA210\r
+void INT_Excep_PERIA_INTA210(void){ };\r
+\r
+//;0x034C PERIA INTA211\r
+void INT_Excep_PERIA_INTA211(void){ };\r
+\r
+//;0x0350 PERIA INTA212\r
+void INT_Excep_PERIA_INTA212(void){ };\r
+\r
+//;0x0354 PERIA INTA213\r
+void INT_Excep_PERIA_INTA213(void){ };\r
+\r
+//;0x0358 PERIA INTA214\r
+void INT_Excep_PERIA_INTA214(void){ };\r
+\r
+//;0x035C PERIA INTA215\r
+void INT_Excep_PERIA_INTA215(void){ };\r
+\r
+//;0x0360 PERIA INTA216\r
+void INT_Excep_PERIA_INTA216(void){ };\r
+\r
+//;0x0364 PERIA INTA217\r
+void INT_Excep_PERIA_INTA217(void){ };\r
+\r
+//;0x0368 PERIA INTA218\r
+void INT_Excep_PERIA_INTA218(void){ };\r
+\r
+//;0x036C PERIA INTA219\r
+void INT_Excep_PERIA_INTA219(void){ };\r
+\r
+//;0x0370 PERIA INTA220\r
+void INT_Excep_PERIA_INTA220(void){ };\r
+\r
+//;0x0374 PERIA INTA221\r
+void INT_Excep_PERIA_INTA221(void){ };\r
+\r
+//;0x0378 PERIA INTA222\r
+void INT_Excep_PERIA_INTA222(void){ };\r
+\r
+//;0x037C PERIA INTA223\r
+void INT_Excep_PERIA_INTA223(void){ };\r
+\r
+//;0x0380 PERIA INTA224\r
+void INT_Excep_PERIA_INTA224(void){ };\r
+\r
+//;0x0384 PERIA INTA225\r
+void INT_Excep_PERIA_INTA225(void){ };\r
+\r
+//;0x0388 PERIA INTA226\r
+void INT_Excep_PERIA_INTA226(void){ };\r
+\r
+//;0x038C PERIA INTA227\r
+void INT_Excep_PERIA_INTA227(void){ };\r
+\r
+//;0x0390 PERIA INTA228\r
+void INT_Excep_PERIA_INTA228(void){ };\r
+\r
+//;0x0394 PERIA INTA229\r
+void INT_Excep_PERIA_INTA229(void){ };\r
+\r
+//;0x0398 PERIA INTA230\r
+void INT_Excep_PERIA_INTA230(void){ };\r
+\r
+//;0x039C PERIA INTA231\r
+void INT_Excep_PERIA_INTA231(void){ };\r
+\r
+//;0x03A0 PERIA INTA232\r
+void INT_Excep_PERIA_INTA232(void){ };\r
+\r
+//;0x03A4 PERIA INTA233\r
+void INT_Excep_PERIA_INTA233(void){ };\r
+\r
+//;0x03A8 PERIA INTA234\r
+void INT_Excep_PERIA_INTA234(void){ };\r
+\r
+//;0x03AC PERIA INTA235\r
+void INT_Excep_PERIA_INTA235(void){ };\r
+\r
+//;0x03B0 PERIA INTA236\r
+void INT_Excep_PERIA_INTA236(void){ };\r
+\r
+//;0x04B4 PERIA INTA237\r
+void INT_Excep_PERIA_INTA237(void){ };\r
+\r
+//;0x03B8 PERIA INTA238\r
+void INT_Excep_PERIA_INTA238(void){ };\r
+\r
+//;0x03BC PERIA INTA239\r
+void INT_Excep_PERIA_INTA239(void){ };\r
+\r
+//;0x03C0 PERIA INTA240\r
+void INT_Excep_PERIA_INTA240(void){ };\r
+\r
+//;0x03C4 PERIA INTA241\r
+void INT_Excep_PERIA_INTA241(void){ };\r
+\r
+//;0x03C8 PERIA INTA242\r
+void INT_Excep_PERIA_INTA242(void){ };\r
+\r
+//;0x03CC PERIA INTA243\r
+void INT_Excep_PERIA_INTA243(void){ };\r
+\r
+//;0x03D0 PERIA INTA244\r
+void INT_Excep_PERIA_INTA244(void){ };\r
+\r
+//;0x03D4 PERIA INTA245\r
+void INT_Excep_PERIA_INTA245(void){ };\r
+\r
+//;0x03D8 PERIA INTA246\r
+void INT_Excep_PERIA_INTA246(void){ };\r
+\r
+//;0x03DC PERIA INTA247\r
+void INT_Excep_PERIA_INTA247(void){ };\r
+\r
+//;0x03E0 PERIA INTA248\r
+void INT_Excep_PERIA_INTA248(void){ };\r
+\r
+//;0x03E4 PERIA INTA249\r
+void INT_Excep_PERIA_INTA249(void){ };\r
+\r
+//;0x03E8 PERIA INTA250\r
+void INT_Excep_PERIA_INTA250(void){ };\r
+\r
+//;0x03EC PERIA INTA251\r
+void INT_Excep_PERIA_INTA251(void){ };\r
+\r
+//;0x03F0 PERIA INTA252\r
+void INT_Excep_PERIA_INTA252(void){ };\r
+\r
+//;0x03F4 PERIA INTA253\r
+void INT_Excep_PERIA_INTA253(void){ };\r
+\r
+//;0x03F8 PERIA INTA254\r
+void INT_Excep_PERIA_INTA254(void){ };\r
+\r
+//;0x03FC PERIA INTA255\r
+void INT_Excep_PERIA_INTA255(void){ };\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/interrupt_handlers.h b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/interrupt_handlers.h
new file mode 100644 (file)
index 0000000..473395f
--- /dev/null
@@ -0,0 +1,770 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  interrupt_handlers.h                           */
+/*      DESCRIPTION  :  Interrupt Handler Declarations                 */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
+                                                                           \r
+/************************************************************************/\r
+/*    File Version: V1.00                                               */\r
+/*    Date Generated: 03/10/2013                                        */\r
+/************************************************************************/\r
+\r
+#ifndef INTERRUPT_HANDLERS_H\r
+#define INTERRUPT_HANDLERS_H\r
+\r
+// Exception(Supervisor Instruction)\r
+void INT_Excep_SuperVisorInst(void) __attribute__ ((interrupt));\r
+\r
+// Exception(Access Instruction)\r
+void INT_Excep_AccessInst(void) __attribute__ ((interrupt));\r
+\r
+// Exception(Undefined Instruction)\r
+void INT_Excep_UndefinedInst(void) __attribute__ ((interrupt));\r
+\r
+// Exception(Floating Point)\r
+void INT_Excep_FloatingPoint(void) __attribute__ ((interrupt));\r
+\r
+// NMI\r
+void INT_NonMaskableInterrupt(void) __attribute__ ((interrupt));\r
+\r
+// Dummy\r
+void Dummy(void) __attribute__ ((interrupt));\r
+\r
+// BRK\r
+void INT_Excep_BRK(void) __attribute__ ((interrupt));\r
+//;0x0000  Reserved\r
+    \r
+//;0x0004  Reserved\r
+    \r
+//;0x0008  Reserved\r
+    \r
+//;0x000C  Reserved\r
+    \r
+//;0x0010  Reserved\r
+    \r
+//;0x0014  Reserved\r
+    \r
+//;0x0018  Reserved\r
+    \r
+//;0x001C  Reserved\r
+    \r
+//;0x0020  Reserved\r
+    \r
+//;0x0024  Reserved\r
+    \r
+//;0x0028  Reserved\r
+    \r
+//;0x002C  Reserved\r
+    \r
+//;0x0030  Reserved\r
+    \r
+//;0x0034  Reserved\r
+    \r
+//;0x0038  Reserved\r
+    \r
+//;0x003C  Reserved\r
+\r
+//;0x0040  BUSERR\r
+void  INT_Excep_BSC_BUSERR(void) __attribute__ ((interrupt));\r
+//;0x0044  Reserved\r
+\r
+//;0x0048  RAMERR\r
+void INT_Excep_RAM_RAMERR(void) __attribute__ ((interrupt));\r
+//;0x004C  Reserved\r
+\r
+//;0x0050  Reserved\r
+\r
+//;0x0054 FIFERR\r
+void INT_Excep_FCU_FIFERR(void) __attribute__ ((interrupt));\r
+//;0x0058  Reserved\r
+\r
+//;0x005C  FRDYI\r
+void INT_Excep_FCU_FRDYI(void) __attribute__ ((interrupt));\r
+//;0x0060  Reserved\r
+\r
+//;0x0064  Reserved\r
+\r
+//;0x0068  SWINT2\r
+void INT_Excep_ICU_SWINT2(void) __attribute__ ((interrupt));\r
+\r
+//;0x006C  SWINT\r
+void INT_Excep_ICU_SWINT(void) __attribute__ ((interrupt));\r
+\r
+//;0x0070  CMI0\r
+void INT_Excep_CMT0_CMI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x0074  CMI1\r
+void INT_Excep_CMT1_CMI1(void) __attribute__ ((interrupt));\r
+\r
+//;0x0078  CMWI0\r
+void INT_Excep_CMTW0_CMWI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x007C  CMWI1\r
+void INT_Excep_CMTW1_CMWI1(void) __attribute__ ((interrupt));\r
+\r
+//;0x0080  D0FIFO2\r
+void INT_Excep_USBHS_D0FIFO2(void) __attribute__ ((interrupt));\r
+\r
+//;0x0084  D1FIFO2\r
+void INT_Excep_USBHS_D1FIFO2(void) __attribute__ ((interrupt));\r
+\r
+//;0x0088  D0FIFO0\r
+void INT_Excep_USB0_D0FIFO0(void) __attribute__ ((interrupt));\r
+\r
+//;0x008C  D1FIFO0\r
+void INT_Excep_USB0_D1FIFO0(void) __attribute__ ((interrupt));\r
+//;0x0090  Reserved\r
+\r
+//;0x0094  Reserved\r
+\r
+//;0x0098  SPRI0\r
+void INT_Excep_RSPI0_SPRI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x009C  SPTI0\r
+void INT_Excep_RSPI0_SPTI0(void) __attribute__ ((interrupt));\r
+//;0x00A0  Reserved\r
+\r
+//;0x00A4  Reserved\r
+\r
+//;0x00A8  SPRI\r
+void INT_Excep_QSPI_SPRI(void) __attribute__ ((interrupt));\r
+\r
+//;0x00AC  SPTI\r
+void INT_Excep_QSPI_SPTI(void) __attribute__ ((interrupt));\r
+\r
+//;0x00B0  SBFAI\r
+void INT_Excep_SHDI_SBFAI(void) __attribute__ ((interrupt));\r
+\r
+//;0x00B4  MBFAI\r
+void INT_Excep_MMC_MBFAI(void) __attribute__ ((interrupt));\r
+\r
+//;0x00B8  SSITX0\r
+void INT_Excep_SSI0_SSITXI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x00BC  SSIRX0\r
+void INT_Excep_SSI0_SSIRXI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x00C0  SSIRTI1\r
+void INT_Excep_SSI1_SSIRTI1(void) __attribute__ ((interrupt));\r
+//;0x00C4  Reserved\r
+\r
+//;0x00C8  IDEI\r
+void INT_Excep_SRC_IDEI(void) __attribute__ ((interrupt));\r
+\r
+//;0x00CC  ODFI\r
+void INT_Excep_SRC_ODFI(void) __attribute__ ((interrupt));\r
+\r
+//;0x00D0  RXI0\r
+void INT_Excep_RIIC0_RXI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x00D4C  TXI0\r
+void INT_Excep_RIIC0_TXI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x00D8  RXI2\r
+void INT_Excep_RIIC2_RXI2(void) __attribute__ ((interrupt));\r
+\r
+//;0x00DC TXI2\r
+void INT_Excep_RIIC2_TXI2(void) __attribute__ ((interrupt));\r
+//;0x00E0  Reserved\r
+\r
+//;0x00E4  Reserved\r
+\r
+//;0x00E8 RXI0\r
+void INT_Excep_SCI0_RXI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x00EC TXI0\r
+void INT_Excep_SCI0_TXI0(void) __attribute__ ((interrupt));\r
+\r
+//;0x00F0 RXI1\r
+void INT_Excep_SCI1_RXI1(void) __attribute__ ((interrupt));\r
+\r
+//;0x00F4 TXI1\r
+void INT_Excep_SCI1_TXI1(void) __attribute__ ((interrupt));\r
+\r
+//;0x00F8 RXI2\r
+void INT_Excep_SCI2_RXI2(void) __attribute__ ((interrupt));\r
+\r
+//;0x00FC TXI2\r
+void INT_Excep_SCI2_TXI2(void) __attribute__ ((interrupt));\r
+\r
+//;0x0100 IRQ0\r
+void INT_Excep_ICU_IRQ0(void) __attribute__ ((interrupt));\r
+\r
+//;0x0104 IRQ1\r
+void INT_Excep_ICU_IRQ1(void) __attribute__ ((interrupt));\r
+\r
+//;0x0108 IRQ2\r
+void INT_Excep_ICU_IRQ2(void) __attribute__ ((interrupt));\r
+\r
+//;0x010C IRQ3\r
+void INT_Excep_ICU_IRQ3(void) __attribute__ ((interrupt));\r
+\r
+//;0x0110 IRQ4\r
+void INT_Excep_ICU_IRQ4(void) __attribute__ ((interrupt));\r
+\r
+//;0x0114 IRQ5\r
+void INT_Excep_ICU_IRQ5(void) __attribute__ ((interrupt));\r
+\r
+//;0x0118 IRQ6\r
+void INT_Excep_ICU_IRQ6(void) __attribute__ ((interrupt));\r
+\r
+//;0x011C IRQ7\r
+void INT_Excep_ICU_IRQ7(void) __attribute__ ((interrupt));\r
+\r
+//;0x0120 IRQ8\r
+void INT_Excep_ICU_IRQ8(void) __attribute__ ((interrupt));\r
+\r
+//;0x0124 IRQ9\r
+void INT_Excep_ICU_IRQ9(void) __attribute__ ((interrupt));\r
+\r
+//;0x0128 IRQ10\r
+void INT_Excep_ICU_IRQ10(void) __attribute__ ((interrupt));\r
+\r
+//;0x012C IRQ11\r
+void INT_Excep_ICU_IRQ11(void) __attribute__ ((interrupt));\r
+\r
+//;0x0130 IRQ12\r
+void INT_Excep_ICU_IRQ12(void) __attribute__ ((interrupt));\r
+\r
+//;0x0134 IRQ13\r
+void INT_Excep_ICU_IRQ13(void) __attribute__ ((interrupt));\r
+\r
+//;0x0138 IRQ14\r
+void INT_Excep_ICU_IRQ14(void) __attribute__ ((interrupt));\r
+\r
+//;0x013C IRQ15\r
+void INT_Excep_ICU_IRQ15(void) __attribute__ ((interrupt));\r
+\r
+//;0x0140 RXI3\r
+void INT_Excep_SCI3_RXI3(void) __attribute__ ((interrupt));\r
+\r
+//;0x0144 TXI3\r
+void INT_Excep_SCI3_TXI3(void) __attribute__ ((interrupt));\r
+\r
+//;0x0148 RXI4\r
+void INT_Excep_SCI4_RXI4(void) __attribute__ ((interrupt));\r
+\r
+//;0x014C TXI4\r
+void INT_Excep_SCI4_TXI4(void) __attribute__ ((interrupt));\r
+\r
+//;0x0150 RXI5\r
+void INT_Excep_SCI5_RXI5(void) __attribute__ ((interrupt));\r
+\r
+//;0x0154 TXI5\r
+void INT_Excep_SCI5_TXI5(void) __attribute__ ((interrupt));\r
+\r
+//;0x0158 RXI6\r
+void INT_Excep_SCI6_RXI6(void) __attribute__ ((interrupt));\r
+\r
+//;0x015C TXI6\r
+void INT_Excep_SCI6_TXI6(void) __attribute__ ((interrupt));\r
+\r
+//;0x0160 COMPA1\r
+void INT_Excep_LVD1_COMPA1(void) __attribute__ ((interrupt));\r
+\r
+//;0x0164 COMPA2\r
+void INT_Excep_LVD2_COMPA2(void) __attribute__ ((interrupt));\r
+\r
+//;0x0168 USBR0\r
+void INT_Excep_USB_USBR0(void) __attribute__ ((interrupt));\r
+//;0x016C Reserved\r
+\r
+//;0x0170 ALM\r
+void INT_Excep_RTC_ALM(void) __attribute__ ((interrupt));\r
+\r
+//;0x0174 PRD\r
+void INT_Excep_RTC_PRD(void) __attribute__ ((interrupt));\r
+\r
+//;0x0178 HSUSBR\r
+void INT_Excep_USBHS_USBHSR(void) __attribute__ ((interrupt));\r
+\r
+//;0x017C IWUNI\r
+void INT_Excep_IWDT_IWUNI(void) __attribute__ ((interrupt));\r
+\r
+//;0x0180 WUNI\r
+void INT_Excep_WDT_WUNI(void) __attribute__ ((interrupt));\r
+\r
+//;0x0184 PCDFI\r
+void INT_Excep_PDC_PCDFI(void) __attribute__ ((interrupt));\r
+\r
+//;0x0188 RXI7\r
+void INT_Excep_SCI7_RXI7(void) __attribute__ ((interrupt));\r
+\r
+//;0x018C TXI7\r
+void INT_Excep_SCI7_TXI7(void) __attribute__ ((interrupt));\r
+\r
+//;0x0190 RXIF8\r
+void INT_Excep_SCIF8_RXIF8(void) __attribute__ ((interrupt));\r
+\r
+//;0x0194 TXIF8\r
+void INT_Excep_SCIF8_TXIF8(void) __attribute__ ((interrupt));\r
+\r
+//;0x0198 RXIF9\r
+void INT_Excep_SCIF9_RXIF9(void) __attribute__ ((interrupt));\r
+\r
+//;0x019C TXIF9\r
+void INT_Excep_SCIF9_TXIF9(void) __attribute__ ((interrupt));\r
+\r
+//;0x01A0 RXIF10\r
+void INT_Excep_SCIF10_RXIF10(void) __attribute__ ((interrupt));\r
+\r
+//;0x01A4 TXIF10\r
+void INT_Excep_SCIF10_TXIF10(void) __attribute__ ((interrupt));\r
+\r
+//;0x01A8 GROUPBE0\r
+void INT_Excep_ICU_GROUPBE0(void) __attribute__ ((interrupt));\r
+//;0x01AC Reserved \r
+\r
+//;0x01B0 Reserved \r
+\r
+//;0x01B4 Reserved \r
+\r
+//;0x01B8 GROUPBL0\r
+void INT_Excep_ICU_GROUPBL0(void) __attribute__ ((interrupt));\r
+\r
+//;0x01BC GROUPBL1\r
+void INT_Excep_ICU_GROUPBL1(void) __attribute__ ((interrupt));\r
+\r
+//;0x01C0 GROUPAL0\r
+void INT_Excep_ICU_GROUPAL0(void) __attribute__ ((interrupt));\r
+\r
+//;0x01C4 GROUPAL1\r
+void INT_Excep_ICU_GROUPAL1(void) __attribute__ ((interrupt));\r
+\r
+//;0x01C8 RXIF11\r
+void INT_Excep_SCIF11_RXIF11(void) __attribute__ ((interrupt));\r
+\r
+//;0x01CC TXIF11\r
+void INT_Excep_SCIF11_TXIF11(void) __attribute__ ((interrupt));\r
+\r
+//;0x01D0 RXIF12\r
+void INT_Excep_SCIF12_RXIF12(void) __attribute__ ((interrupt));\r
+\r
+//;0x01D4 TXIF12\r
+void INT_Excep_SCIF12_TXIF12(void) __attribute__ ((interrupt));\r
+\r
+//;0x01D8 Reserved\r
+\r
+//;0x01DC Reserved\r
+\r
+//;0x01E0 DMAC0I\r
+void INT_Excep_DMAC_DMAC0I(void) __attribute__ ((interrupt));\r
+\r
+//;0x01E4 DMAC1I\r
+void INT_Excep_DMAC_DMAC1I(void) __attribute__ ((interrupt));\r
+\r
+//;0x01E8 DMAC2I\r
+void INT_Excep_DMAC_DMAC2I(void) __attribute__ ((interrupt));\r
+\r
+//;0x01EC DMAC3I\r
+void INT_Excep_DMAC_DMAC3I(void) __attribute__ ((interrupt));\r
+\r
+//;0x01F0 DMAC74I\r
+void INT_Excep_DMAC_DMAC74I(void) __attribute__ ((interrupt));\r
+\r
+//;0x01F4 OST\r
+void INT_Excep_ICU_OST(void) __attribute__ ((interrupt));\r
+\r
+//;0x01F8  EXDMAC0I\r
+void INT_Excep_EXDMAC_EXDMAC0I(void) __attribute__ ((interrupt));\r
+\r
+//;0x01FC  EXDMAC1I\r
+void INT_Excep_EXDMAC_EXDMAC1I(void) __attribute__ ((interrupt));\r
+\r
+//;0x0200  INTB128\r
+void INT_Excep_PERIB_INTB128(void) __attribute__ ((interrupt));\r
+\r
+//;0x0204 INTB129\r
+void INT_Excep_PERIB_INTB129(void) __attribute__ ((interrupt));\r
+\r
+//;0x0208 INTB130\r
+void INT_Excep_PERIB_INTB130(void) __attribute__ ((interrupt));\r
+\r
+//;0x020C INTB131\r
+void INT_Excep_PERIB_INTB131(void) __attribute__ ((interrupt));\r
+\r
+//;0x0210 INTB132\r
+void INT_Excep_PERIB_INTB132(void) __attribute__ ((interrupt));\r
+\r
+//;0x0214 INTB133\r
+void INT_Excep_PERIB_INTB133(void) __attribute__ ((interrupt));\r
+\r
+//;0x0218 INTB134\r
+void INT_Excep_PERIB_INTB134(void) __attribute__ ((interrupt));\r
+\r
+//;0x021C INTB135\r
+void INT_Excep_PERIB_INTB135(void) __attribute__ ((interrupt));\r
+\r
+//;0x0220 INTB136\r
+void INT_Excep_PERIB_INTB136(void) __attribute__ ((interrupt));\r
+\r
+//;0x0224 INTB137\r
+void INT_Excep_PERIB_INTB137(void) __attribute__ ((interrupt));\r
+\r
+//;0x0228 INTB138\r
+void INT_Excep_PERIB_INTB138(void) __attribute__ ((interrupt));\r
+\r
+//;0x022C INTB139\r
+void INT_Excep_PERIB_INTB139(void) __attribute__ ((interrupt));\r
+\r
+//;0x0230 INTB140\r
+void INT_Excep_PERIB_INTB140(void) __attribute__ ((interrupt));\r
+\r
+//;0x0234 INTB141\r
+void INT_Excep_PERIB_INTB141(void) __attribute__ ((interrupt));\r
+\r
+//;0x0238 INTB142\r
+void INT_Excep_PERIB_INTB142(void) __attribute__ ((interrupt));\r
+\r
+//;0x023C INTB143\r
+void INT_Excep_PERIB_INTB143(void) __attribute__ ((interrupt));\r
+\r
+//;0x0240 INTB144\r
+void INT_Excep_PERIB_INTB144(void) __attribute__ ((interrupt));\r
+\r
+//;0x0244 INTB145\r
+void INT_Excep_PERIB_INTB145(void) __attribute__ ((interrupt));\r
+\r
+//;0x0248 INTB146\r
+void INT_Excep_PERIB_INTB146(void) __attribute__ ((interrupt));\r
+\r
+//;0x024C INTB147\r
+void INT_Excep_PERIB_INTB147(void) __attribute__ ((interrupt));\r
+\r
+//;0x0250 INTB148\r
+void INT_Excep_PERIB_INTB148(void) __attribute__ ((interrupt));\r
+\r
+//;0x02540 INTB149\r
+void INT_Excep_PERIB_INTB149(void) __attribute__ ((interrupt));\r
+\r
+//;0x0258 INTB150\r
+void INT_Excep_PERIB_INTB150(void) __attribute__ ((interrupt));\r
+\r
+//;0x025C INTB151\r
+void INT_Excep_PERIB_INTB151(void) __attribute__ ((interrupt));\r
+\r
+//;0x0260 INTB152\r
+void INT_Excep_PERIB_INTB152(void) __attribute__ ((interrupt));\r
+\r
+//;0x0264 INTB153\r
+void INT_Excep_PERIB_INTB153(void) __attribute__ ((interrupt));\r
+\r
+//;0x0268 INTB154\r
+void INT_Excep_PERIB_INTB154(void) __attribute__ ((interrupt));\r
+\r
+//;0x026C INTB155\r
+void INT_Excep_PERIB_INTB155(void) __attribute__ ((interrupt));\r
+\r
+//;0x0270 INTB156\r
+void INT_Excep_PERIB_INTB156(void) __attribute__ ((interrupt));\r
+\r
+//;0x0274 INTB157\r
+void INT_Excep_PERIB_INTB157(void) __attribute__ ((interrupt));\r
+\r
+//;0x0278 INTB158\r
+void INT_Excep_PERIB_INTB158(void) __attribute__ ((interrupt));\r
+\r
+//;0x027C INTB159\r
+void INT_Excep_PERIB_INTB159(void) __attribute__ ((interrupt));\r
+\r
+//;0x0280 INTB160\r
+void INT_Excep_PERIB_INTB160(void) __attribute__ ((interrupt));\r
+\r
+//;0x0284 INTB161\r
+void INT_Excep_PERIB_INTB161(void) __attribute__ ((interrupt));\r
+\r
+//;0x0288 INTB162\r
+void INT_Excep_PERIB_INTB162(void) __attribute__ ((interrupt));\r
+\r
+//;0x028C INTB163\r
+void INT_Excep_PERIB_INTB163(void) __attribute__ ((interrupt));\r
+\r
+//;0x0290 INTB164\r
+void INT_Excep_PERIB_INTB164(void) __attribute__ ((interrupt));\r
+\r
+//;0x0294 PERIB INTB165\r
+void INT_Excep_PERIB_INTB165(void) __attribute__ ((interrupt));\r
+\r
+//;0x0298 PERIB INTB166\r
+void INT_Excep_PERIB_INTB166(void) __attribute__ ((interrupt));\r
+\r
+//;0x029C PERIB INTB167\r
+void INT_Excep_PERIB_INTB167(void) __attribute__ ((interrupt));\r
+\r
+//;0x02A0 PERIB INTB168\r
+void INT_Excep_PERIB_INTB168(void) __attribute__ ((interrupt));\r
+\r
+//;0x02A4 PERIB INTB169\r
+void INT_Excep_PERIB_INTB169(void) __attribute__ ((interrupt));\r
+\r
+//;0x02A8 PERIB INTB170\r
+void INT_Excep_PERIB_INTB170(void) __attribute__ ((interrupt));\r
+\r
+//;0x02AC PERIB INTB171\r
+void INT_Excep_PERIB_INTB171(void) __attribute__ ((interrupt));\r
+\r
+//;0x02B0 PERIB INTB172\r
+void INT_Excep_PERIB_INTB172(void) __attribute__ ((interrupt));\r
+\r
+//;0x02B4 PERIB INTB173\r
+void INT_Excep_PERIB_INTB173(void) __attribute__ ((interrupt));\r
+\r
+//;0x02B8 PERIB INTB174\r
+void INT_Excep_PERIB_INTB174(void) __attribute__ ((interrupt));\r
+\r
+//;0x02BC PERIB INTB175\r
+void INT_Excep_PERIB_INTB175(void) __attribute__ ((interrupt));\r
+\r
+//;0x02C0 PERIB INTB176\r
+void INT_Excep_PERIB_INTB176(void) __attribute__ ((interrupt));\r
+\r
+//;0x02C4 PERIB INTB177\r
+void INT_Excep_PERIB_INTB177(void) __attribute__ ((interrupt));\r
+\r
+//;0x02C8 PERIB INTB178\r
+void INT_Excep_PERIB_INTB178(void) __attribute__ ((interrupt));\r
+\r
+//;0x02CC PERIB INTB179\r
+void INT_Excep_PERIB_INTB179(void) __attribute__ ((interrupt));\r
+\r
+//;0x02D0 PERIB INTB180\r
+void INT_Excep_PERIB_INTB180(void) __attribute__ ((interrupt));\r
+\r
+//;0x02D4 PERIB INTB181\r
+void INT_Excep_PERIB_INTB181(void) __attribute__ ((interrupt));\r
+\r
+//;0x02D8 PERIB INTB182\r
+void INT_Excep_PERIB_INTB182(void) __attribute__ ((interrupt));\r
+\r
+//;0x02DC PERIB INTB183\r
+void INT_Excep_PERIB_INTB183(void) __attribute__ ((interrupt));\r
+\r
+//;0x02E0 PERIB INTB184\r
+void INT_Excep_PERIB_INTB184(void) __attribute__ ((interrupt));\r
+\r
+//;0x02E4 PERIB INTB185\r
+void INT_Excep_PERIB_INTB185(void) __attribute__ ((interrupt));\r
+\r
+//;0x02E8 PERIB INTB186\r
+void INT_Excep_PERIB_INTB186(void) __attribute__ ((interrupt));\r
+\r
+//;0x02EC PERIB INTB187\r
+void INT_Excep_PERIB_INTB187(void) __attribute__ ((interrupt));\r
+\r
+//;0x02F0 PERIB INTB188\r
+void INT_Excep_PERIB_INTB188(void) __attribute__ ((interrupt));\r
+\r
+//;0x02F4 PERIB INTB189\r
+void INT_Excep_PERIB_INTB189(void) __attribute__ ((interrupt));\r
+\r
+//;0x02F8 PERIB INTB190\r
+void INT_Excep_PERIB_INTB190(void) __attribute__ ((interrupt));\r
+\r
+//;0x02FC PERIB INTB191\r
+void INT_Excep_PERIB_INTB191(void) __attribute__ ((interrupt));\r
+\r
+//;0x0300 PERIB INTB192\r
+void INT_Excep_PERIB_INTB192(void) __attribute__ ((interrupt));\r
+\r
+//;0x0304 PERIB INTB193\r
+void INT_Excep_PERIB_INTB193(void) __attribute__ ((interrupt));\r
+\r
+//;0x0308 PERIB INTB194\r
+void INT_Excep_PERIB_INTB194(void) __attribute__ ((interrupt));\r
+\r
+//;0x030C PERIB INTB195\r
+void INT_Excep_PERIB_INTB195(void) __attribute__ ((interrupt));\r
+\r
+//;0x0310 PERIB INTB196\r
+void INT_Excep_PERIB_INTB196(void) __attribute__ ((interrupt));\r
+\r
+//;0x0314 PERIB INTB197\r
+void INT_Excep_PERIB_INTB197(void) __attribute__ ((interrupt));\r
+\r
+//;0x0318 PERIB INTB198\r
+void INT_Excep_PERIB_INTB198(void) __attribute__ ((interrupt));\r
+\r
+//;0x031C PERIB INTB199\r
+void INT_Excep_PERIB_INTB199(void) __attribute__ ((interrupt));\r
+\r
+//;0x0320 PERIB INTB200\r
+void INT_Excep_PERIB_INTB200(void) __attribute__ ((interrupt));\r
+\r
+//;0x0324 PERIB INTB201\r
+void INT_Excep_PERIB_INTB201(void) __attribute__ ((interrupt));\r
+\r
+//;0x0328 PERIB INTB202\r
+void INT_Excep_PERIB_INTB202(void) __attribute__ ((interrupt));\r
+\r
+//;0x032C PERIB INTB203\r
+void INT_Excep_PERIB_INTB203(void) __attribute__ ((interrupt));\r
+\r
+//;0x0320 PERIB INTB204\r
+void INT_Excep_PERIB_INTB204(void) __attribute__ ((interrupt));\r
+\r
+//;0x0334 PERIB INTB205\r
+void INT_Excep_PERIB_INTB205(void) __attribute__ ((interrupt));\r
+\r
+//;0x0338 PERIB INTB206\r
+void INT_Excep_PERIB_INTB206(void) __attribute__ ((interrupt));\r
+\r
+//;0x033C PERIB INTB207\r
+void INT_Excep_PERIB_INTB207(void) __attribute__ ((interrupt));\r
+\r
+//;0x0340 PERIA INTA208\r
+void INT_Excep_PERIA_INTA208(void) __attribute__ ((interrupt));\r
+\r
+//;0x0344 PERIA INTA209\r
+void INT_Excep_PERIA_INTA209(void) __attribute__ ((interrupt));\r
+\r
+//;0x0348 PERIA INTA210\r
+void INT_Excep_PERIA_INTA210(void) __attribute__ ((interrupt));\r
+\r
+//;0x034C PERIA INTA211\r
+void INT_Excep_PERIA_INTA211(void) __attribute__ ((interrupt));\r
+\r
+//;0x0350 PERIA INTA212\r
+void INT_Excep_PERIA_INTA212(void) __attribute__ ((interrupt));\r
+\r
+//;0x0354 PERIA INTA213\r
+void INT_Excep_PERIA_INTA213(void) __attribute__ ((interrupt));\r
+\r
+//;0x0358 PERIA INTA214\r
+void INT_Excep_PERIA_INTA214(void) __attribute__ ((interrupt));\r
+\r
+//;0x035C PERIA INTA215\r
+void INT_Excep_PERIA_INTA215(void) __attribute__ ((interrupt));\r
+\r
+//;0x0360 PERIA INTA216\r
+void INT_Excep_PERIA_INTA216(void) __attribute__ ((interrupt));\r
+\r
+//;0x0364 PERIA INTA217\r
+void INT_Excep_PERIA_INTA217(void) __attribute__ ((interrupt));\r
+\r
+//;0x0368 PERIA INTA218\r
+void INT_Excep_PERIA_INTA218(void) __attribute__ ((interrupt));\r
+\r
+//;0x036C PERIA INTA219\r
+void INT_Excep_PERIA_INTA219(void) __attribute__ ((interrupt));\r
+\r
+//;0x0370 PERIA INTA220\r
+void INT_Excep_PERIA_INTA220(void) __attribute__ ((interrupt));\r
+\r
+//;0x0374 PERIA INTA221\r
+void INT_Excep_PERIA_INTA221(void) __attribute__ ((interrupt));\r
+\r
+//;0x0378 PERIA INTA222\r
+void INT_Excep_PERIA_INTA222(void) __attribute__ ((interrupt));\r
+\r
+//;0x037C PERIA INTA223\r
+void INT_Excep_PERIA_INTA223(void) __attribute__ ((interrupt));\r
+\r
+//;0x0380 PERIA INTA224\r
+void INT_Excep_PERIA_INTA224(void) __attribute__ ((interrupt));\r
+\r
+//;0x0384 PERIA INTA225\r
+void INT_Excep_PERIA_INTA225(void) __attribute__ ((interrupt));\r
+\r
+//;0x0388 PERIA INTA226\r
+void INT_Excep_PERIA_INTA226(void) __attribute__ ((interrupt));\r
+\r
+//;0x038C PERIA INTA227\r
+void INT_Excep_PERIA_INTA227(void) __attribute__ ((interrupt));\r
+\r
+//;0x0390 PERIA INTA228\r
+void INT_Excep_PERIA_INTA228(void) __attribute__ ((interrupt));\r
+\r
+//;0x0394 PERIA INTA229\r
+void INT_Excep_PERIA_INTA229(void) __attribute__ ((interrupt));\r
+\r
+//;0x0398 PERIA INTA230\r
+void INT_Excep_PERIA_INTA230(void) __attribute__ ((interrupt));\r
+\r
+//;0x039C PERIA INTA231\r
+void INT_Excep_PERIA_INTA231(void) __attribute__ ((interrupt));\r
+\r
+//;0x03A0 PERIA INTA232\r
+void INT_Excep_PERIA_INTA232(void) __attribute__ ((interrupt));\r
+\r
+//;0x03A4 PERIA INTA233\r
+void INT_Excep_PERIA_INTA233(void) __attribute__ ((interrupt));\r
+\r
+//;0x03A8 PERIA INTA234\r
+void INT_Excep_PERIA_INTA234(void) __attribute__ ((interrupt));\r
+\r
+//;0x03AC PERIA INTA235\r
+void INT_Excep_PERIA_INTA235(void) __attribute__ ((interrupt));\r
+\r
+//;0x03B0 PERIA INTA236\r
+void INT_Excep_PERIA_INTA236(void) __attribute__ ((interrupt));\r
+\r
+//;0x04B4 PERIA INTA237\r
+void INT_Excep_PERIA_INTA237(void) __attribute__ ((interrupt));\r
+\r
+//;0x03B8 PERIA INTA238\r
+void INT_Excep_PERIA_INTA238(void) __attribute__ ((interrupt));\r
+\r
+//;0x03BC PERIA INTA239\r
+void INT_Excep_PERIA_INTA239(void) __attribute__ ((interrupt));\r
+\r
+//;0x03C0 PERIA INTA240\r
+void INT_Excep_PERIA_INTA240(void) __attribute__ ((interrupt));\r
+\r
+//;0x03C4 PERIA INTA241\r
+void INT_Excep_PERIA_INTA241(void) __attribute__ ((interrupt));\r
+\r
+//;0x03C8 PERIA INTA242\r
+void INT_Excep_PERIA_INTA242(void) __attribute__ ((interrupt));\r
+\r
+//;0x03CC PERIA INTA243\r
+void INT_Excep_PERIA_INTA243(void) __attribute__ ((interrupt));\r
+\r
+//;0x03D0 PERIA INTA244\r
+void INT_Excep_PERIA_INTA244(void) __attribute__ ((interrupt));\r
+\r
+//;0x03D4 PERIA INTA245\r
+void INT_Excep_PERIA_INTA245(void) __attribute__ ((interrupt));\r
+\r
+//;0x03D8 PERIA INTA246\r
+void INT_Excep_PERIA_INTA246(void) __attribute__ ((interrupt));\r
+\r
+//;0x03DC PERIA INTA247\r
+void INT_Excep_PERIA_INTA247(void) __attribute__ ((interrupt));\r
+\r
+//;0x03E0 PERIA INTA248\r
+void INT_Excep_PERIA_INTA248(void) __attribute__ ((interrupt));\r
+\r
+//;0x03E4 PERIA INTA249\r
+void INT_Excep_PERIA_INTA249(void) __attribute__ ((interrupt));\r
+\r
+//;0x03E8 PERIA INTA250\r
+void INT_Excep_PERIA_INTA250(void) __attribute__ ((interrupt));\r
+\r
+//;0x03EC PERIA INTA251\r
+void INT_Excep_PERIA_INTA251(void) __attribute__ ((interrupt));\r
+\r
+//;0x03F0 PERIA INTA252\r
+void INT_Excep_PERIA_INTA252(void) __attribute__ ((interrupt));\r
+\r
+//;0x03F4 PERIA INTA253\r
+void INT_Excep_PERIA_INTA253(void) __attribute__ ((interrupt));\r
+\r
+//;0x03F8 PERIA INTA254\r
+void INT_Excep_PERIA_INTA254(void) __attribute__ ((interrupt));\r
+\r
+//;0x03FC PERIA INTA255\r
+void INT_Excep_PERIA_INTA255(void) __attribute__ ((interrupt));\r
+\r
+//;<<VECTOR DATA START (POWER ON RESET)>>\r
+//;Power On Reset PC\r
+extern void PowerON_Reset(void);                                                                                                                \r
+//;<<VECTOR DATA END (POWER ON RESET)>>\r
+\r
+#endif\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/iodefine.h b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/iodefine.h
new file mode 100644 (file)
index 0000000..37eea37
--- /dev/null
@@ -0,0 +1,35785 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  iodefine.h                                     */
+/*      DESCRIPTION  :  Definition of I/O Registers                    */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
+                                                                           \r
+                                                                           \r
+                                                                          \r
+\r
+\r
+/********************************************************************************\r
+*\r
+* Device     : RX/RX600/RX64M\r
+*\r
+* File Name  : iodefine.h\r
+*\r
+* Abstract   : Definition of I/O Register\r
+*\r
+* History    : 0.20 (2013-10-03)  [Hardware Manual Revision : 0.40]\r
+*\r
+* Note       : This is a typical example.\r
+*\r
+* Copyright (C) 2013 Renesas Electronics Corporation and\r
+* Renesas Solutions Corp. All rights reserved.\r
+*\r
+*********************************************************************************/\r
+/*                                                                              */\r
+/*  CPU TYPE    : RX64M                                                         */\r
+/*  DESCRIPTION : Definition of ICU Register                                    */\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
+/*       IR(BSC,BUSERR) = 0;     expands to :                                   */\r
+/*     for example :                                                            */\r
+/*         ICU.IR[16].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
+/*  Usage : #pragma interrupt Function_Identifier(vect=**)                      */\r
+/*     The number of vector is "(interrupt source, name)".                      */\r
+/*       #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0))          expands to :  */\r
+/*     for example :                                                            */\r
+/*       #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0))    expands to :  */\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
+/*       MSTP(TMR2) = 0;    // TMR2,TMR3                          expands to :  */\r
+/*     for example :                                                            */\r
+/*         SYSTEM.MSTPCRA.BIT.MSTPA4  = 0;                                      */\r
+/*       MSTP(SCI0) = 0;    // SCI0,SMCI0                         expands to :  */\r
+/*         SYSTEM.MSTPCRB.BIT.MSTPB31 = 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
+\r
+\r
+#ifndef __RX64MIODEFINE_HEADER__\r
+#define __RX64MIODEFINE_HEADER__\r
+\r
+#ifdef __RX_LITTLE_ENDIAN__\r
+\r
+struct st_bsc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char STSCLR:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } BERCLR;\r
+    char           wk0[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IGAEN:1;\r
+            unsigned char TOEN:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } BEREN;\r
+    char           wk1[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IA:1;\r
+            unsigned char TO:1;\r
+            unsigned char :2;\r
+            unsigned char MST:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } BERSR1;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :3;\r
+            unsigned short ADDR:13;\r
+        } BIT;\r
+    } BERSR2;\r
+    char           wk3[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BPRA:2;\r
+            unsigned short BPRO:2;\r
+            unsigned short BPIB:2;\r
+            unsigned short BPGB:2;\r
+            unsigned short BPHB:2;\r
+            unsigned short BPFB:2;\r
+            unsigned short BPEB:2;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } BUSPRI;\r
+    char           wk4[7408];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS0MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS0WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS0WCR2;\r
+    char           wk5[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS1MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS1WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS1WCR2;\r
+    char           wk6[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS2MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS2WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS2WCR2;\r
+    char           wk7[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS3MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS3WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS3WCR2;\r
+    char           wk8[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS4MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS4WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS4WCR2;\r
+    char           wk9[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS5MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS5WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS5WCR2;\r
+    char           wk10[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS6MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS6WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS6WCR2;\r
+    char           wk11[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short WRMOD:1;\r
+            unsigned short :2;\r
+            unsigned short EWENB:1;\r
+            unsigned short :4;\r
+            unsigned short PRENB:1;\r
+            unsigned short PWENB:1;\r
+            unsigned short :5;\r
+            unsigned short PRMOD:1;\r
+        } BIT;\r
+    } CS7MOD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSPWWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSPRWAIT:3;\r
+            unsigned long :5;\r
+            unsigned long CSWWAIT:5;\r
+            unsigned long :3;\r
+            unsigned long CSRWAIT:5;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } CS7WCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CSROFF:3;\r
+            unsigned long :1;\r
+            unsigned long CSWOFF:3;\r
+            unsigned long :1;\r
+            unsigned long WDOFF:3;\r
+            unsigned long :1;\r
+            unsigned long AWAIT:2;\r
+            unsigned long :2;\r
+            unsigned long RDON:3;\r
+            unsigned long :1;\r
+            unsigned long WRON:3;\r
+            unsigned long :1;\r
+            unsigned long WDON:3;\r
+            unsigned long :1;\r
+            unsigned long CSON:3;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CS7WCR2;\r
+    char           wk12[1926];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS0CR;\r
+    char           wk13[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS0REC;\r
+    char           wk14[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS1CR;\r
+    char           wk15[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS1REC;\r
+    char           wk16[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS2CR;\r
+    char           wk17[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS2REC;\r
+    char           wk18[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS3CR;\r
+    char           wk19[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS3REC;\r
+    char           wk20[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS4CR;\r
+    char           wk21[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS4REC;\r
+    char           wk22[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS5CR;\r
+    char           wk23[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS5REC;\r
+    char           wk24[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS6CR;\r
+    char           wk25[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS6REC;\r
+    char           wk26[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXENB:1;\r
+            unsigned short :3;\r
+            unsigned short BSIZE:2;\r
+            unsigned short :2;\r
+            unsigned short EMODE:1;\r
+            unsigned short :3;\r
+            unsigned short MPXEN:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } CS7CR;\r
+    char           wk27[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RRCV:4;\r
+            unsigned short :4;\r
+            unsigned short WRCV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } CS7REC;\r
+    char           wk28[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RCVEN0:1;\r
+            unsigned short RCVEN1:1;\r
+            unsigned short RCVEN2:1;\r
+            unsigned short RCVEN3:1;\r
+            unsigned short RCVEN4:1;\r
+            unsigned short RCVEN5:1;\r
+            unsigned short RCVEN6:1;\r
+            unsigned short RCVEN7:1;\r
+            unsigned short RCVENM0:1;\r
+            unsigned short RCVENM1:1;\r
+            unsigned short RCVENM2:1;\r
+            unsigned short RCVENM3:1;\r
+            unsigned short RCVENM4:1;\r
+            unsigned short RCVENM5:1;\r
+            unsigned short RCVENM6:1;\r
+            unsigned short RCVENM7:1;\r
+        } BIT;\r
+    } CSRECEN;\r
+    char           wk29[894];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char EXENB:1;\r
+            unsigned char :3;\r
+            unsigned char BSIZE:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SDCCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char EMODE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SDCMOD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SDAMOD;\r
+    char           wk30[13];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SFEN:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SDSELF;\r
+    char           wk31[3];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RFC:12;\r
+            unsigned short REFW:4;\r
+        } BIT;\r
+    } SDRFCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RFEN:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SDRFEN;\r
+    char           wk32[9];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char INIRQ:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SDICR;\r
+    char           wk33[3];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ARFI:4;\r
+            unsigned short ARFC:4;\r
+            unsigned short PRC:3;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } SDIR;\r
+    char           wk34[26];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MXC:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } SDADR;\r
+    char           wk35[3];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CL:3;\r
+            unsigned long :5;\r
+            unsigned long WR:1;\r
+            unsigned long RP:3;\r
+            unsigned long RCD:2;\r
+            unsigned long :2;\r
+            unsigned long RAS:3;\r
+            unsigned long :13;\r
+        } BIT;\r
+    } SDTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MR:15;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } SDMOD;\r
+    char           wk36[6];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MRSST:1;\r
+            unsigned char :2;\r
+            unsigned char INIST:1;\r
+            unsigned char SRFST:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } SDSR;\r
+};\r
+\r
+struct st_cac {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CFME:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } CACR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CACREFE:1;\r
+            unsigned char FMCS:3;\r
+            unsigned char TCSS:2;\r
+            unsigned char EDGES:2;\r
+        } BIT;\r
+    } CACR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RPS:1;\r
+            unsigned char RSCS:3;\r
+            unsigned char RCDS:2;\r
+            unsigned char DFS:2;\r
+        } BIT;\r
+    } CACR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FERRIE:1;\r
+            unsigned char MENDIE:1;\r
+            unsigned char OVFIE:1;\r
+            unsigned char :1;\r
+            unsigned char FERRFCL:1;\r
+            unsigned char MENDFCL:1;\r
+            unsigned char OVFFCL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } CAICR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FERRF:1;\r
+            unsigned char MENDF:1;\r
+            unsigned char OVFF:1;\r
+            unsigned char :5;\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_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 EID:18;\r
+                unsigned long SID:11;\r
+                unsigned long :1;\r
+                unsigned long RTR:1;\r
+                unsigned long IDE:1;\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 EID:18;\r
+            unsigned long SID:11;\r
+            unsigned long :3;\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 EID:18;\r
+            unsigned long SID:11;\r
+            unsigned long :1;\r
+            unsigned long RTR:1;\r
+            unsigned long IDE:1;\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 EID:18;\r
+            unsigned long SID:11;\r
+            unsigned long :1;\r
+            unsigned long RTR:1;\r
+            unsigned long IDE:1;\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 MB0:1;\r
+            unsigned char MB1:1;\r
+            unsigned char MB2:1;\r
+            unsigned char MB3:1;\r
+            unsigned char MB4:1;\r
+            unsigned char MB5:1;\r
+            unsigned char MB6:1;\r
+            unsigned char MB7:1;\r
+            unsigned char MB8:1;\r
+            unsigned char MB9:1;\r
+            unsigned char MB10:1;\r
+            unsigned char MB11:1;\r
+            unsigned char MB12:1;\r
+            unsigned char MB13:1;\r
+            unsigned char MB14:1;\r
+            unsigned char MB15:1;\r
+            unsigned char MB16:1;\r
+            unsigned char MB17:1;\r
+            unsigned char MB18:1;\r
+            unsigned char MB19:1;\r
+            unsigned char MB20:1;\r
+            unsigned char MB21:1;\r
+            unsigned char MB22:1;\r
+            unsigned char MB23:1;\r
+            unsigned char MB24:1;\r
+            unsigned char MB25:1;\r
+            unsigned char MB26:1;\r
+            unsigned char MB27:1;\r
+            unsigned char MB28:1;\r
+            unsigned char MB29:1;\r
+            unsigned char MB30:1;\r
+            unsigned char MB31: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 MB0:1;\r
+            unsigned char MB1:1;\r
+            unsigned char MB2:1;\r
+            unsigned char MB3:1;\r
+            unsigned char MB4:1;\r
+            unsigned char MB5:1;\r
+            unsigned char MB6:1;\r
+            unsigned char MB7:1;\r
+            unsigned char MB8:1;\r
+            unsigned char MB9:1;\r
+            unsigned char MB10:1;\r
+            unsigned char MB11:1;\r
+            unsigned char MB12:1;\r
+            unsigned char MB13:1;\r
+            unsigned char MB14:1;\r
+            unsigned char MB15:1;\r
+            unsigned char MB16:1;\r
+            unsigned char MB17:1;\r
+            unsigned char MB18:1;\r
+            unsigned char MB19:1;\r
+            unsigned char MB20:1;\r
+            unsigned char MB21:1;\r
+            unsigned char MB22:1;\r
+            unsigned char MB23:1;\r
+            unsigned char MB24:1;\r
+            unsigned char MB25:1;\r
+            unsigned char MB26:1;\r
+            unsigned char MB27:1;\r
+            unsigned char MB28:1;\r
+            unsigned char MB29:1;\r
+            unsigned char MB30:1;\r
+            unsigned char MB31:1;\r
+        } BIT;\r
+    } MIER;\r
+    char           wk0[1008];\r
+    union {\r
+        unsigned char BYTE;\r
+        union {\r
+            struct {\r
+                unsigned char SENTDATA:1;\r
+                unsigned char TRMACTIVE:1;\r
+                unsigned char TRMABT:1;\r
+                unsigned char :1;\r
+                unsigned char ONESHOT:1;\r
+                unsigned char :1;\r
+                unsigned char RECREQ:1;\r
+                unsigned char TRMREQ:1;\r
+            } TX;\r
+            struct {\r
+                unsigned char NEWDATA:1;\r
+                unsigned char INVALDATA:1;\r
+                unsigned char MSGLOST:1;\r
+                unsigned char :1;\r
+                unsigned char ONESHOT:1;\r
+                unsigned char :1;\r
+                unsigned char RECREQ:1;\r
+                unsigned char TRMREQ: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 MBM:1;\r
+            unsigned char IDFM:2;\r
+            unsigned char MLM:1;\r
+            unsigned char TPM:1;\r
+            unsigned char TSRC:1;\r
+            unsigned char TSPS:2;\r
+            unsigned char CANM:2;\r
+            unsigned char SLPM:1;\r
+            unsigned char BOM:2;\r
+            unsigned char RBOC:1;\r
+            unsigned char :2;\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 NDST:1;\r
+            unsigned char SDST:1;\r
+            unsigned char RFST:1;\r
+            unsigned char TFST:1;\r
+            unsigned char NMLST:1;\r
+            unsigned char FMLST:1;\r
+            unsigned char TABST:1;\r
+            unsigned char EST:1;\r
+            unsigned char RSTST:1;\r
+            unsigned char HLTST:1;\r
+            unsigned char SLPST:1;\r
+            unsigned char EPST:1;\r
+            unsigned char BOST:1;\r
+            unsigned char TRMST:1;\r
+            unsigned char RECST:1;\r
+            unsigned char :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 CCLKS:1;\r
+            unsigned long :7;\r
+            unsigned long TSEG2:3;\r
+            unsigned long :1;\r
+            unsigned long SJW:2;\r
+            unsigned long :2;\r
+            unsigned long BRP:10;\r
+            unsigned long :2;\r
+            unsigned long TSEG1:4;\r
+        } BIT;\r
+    } BCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RFE:1;\r
+            unsigned char RFUST:3;\r
+            unsigned char RFMLF:1;\r
+            unsigned char RFFST:1;\r
+            unsigned char RFWST:1;\r
+            unsigned char RFEST:1;\r
+        } BIT;\r
+    } RFCR;\r
+    unsigned char  RFPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TFE:1;\r
+            unsigned char TFUST:3;\r
+            unsigned char :2;\r
+            unsigned char TFFST:1;\r
+            unsigned char TFEST:1;\r
+        } BIT;\r
+    } TFCR;\r
+    unsigned char  TFPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BEIE:1;\r
+            unsigned char EWIE:1;\r
+            unsigned char EPIE:1;\r
+            unsigned char BOEIE:1;\r
+            unsigned char BORIE:1;\r
+            unsigned char ORIE:1;\r
+            unsigned char OLIE:1;\r
+            unsigned char BLIE:1;\r
+        } BIT;\r
+    } EIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BEIF:1;\r
+            unsigned char EWIF:1;\r
+            unsigned char EPIF:1;\r
+            unsigned char BOEIF:1;\r
+            unsigned char BORIF:1;\r
+            unsigned char ORIF:1;\r
+            unsigned char OLIF:1;\r
+            unsigned char BLIF:1;\r
+        } BIT;\r
+    } EIFR;\r
+    unsigned char  RECR;\r
+    unsigned char  TECR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEF:1;\r
+            unsigned char FEF:1;\r
+            unsigned char AEF:1;\r
+            unsigned char CEF:1;\r
+            unsigned char BE1F:1;\r
+            unsigned char BE0F:1;\r
+            unsigned char ADEF:1;\r
+            unsigned char EDPM:1;\r
+        } BIT;\r
+    } ECSR;\r
+    unsigned char  CSSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MBNST:5;\r
+            unsigned char :2;\r
+            unsigned char SEST:1;\r
+        } BIT;\r
+    } MSSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MBSM:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } MSMR;\r
+    unsigned short TSR;\r
+    unsigned short AFSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TSTE:1;\r
+            unsigned char TSTM:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCR;\r
+};\r
+\r
+struct st_cmt {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short STR0:1;\r
+            unsigned short STR1:1;\r
+            unsigned short :14;\r
+        } BIT;\r
+    } CMSTR0;\r
+    char           wk0[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short STR2:1;\r
+            unsigned short STR3:1;\r
+            unsigned short :14;\r
+        } BIT;\r
+    } CMSTR1;\r
+};\r
+\r
+struct st_cmt0 {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CKS:2;\r
+            unsigned short :4;\r
+            unsigned short CMIE:1;\r
+            unsigned short :9;\r
+        } BIT;\r
+    } CMCR;\r
+    unsigned short CMCNT;\r
+    unsigned short CMCOR;\r
+};\r
+\r
+struct st_cmtw {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short STR:1;\r
+            unsigned short :15;\r
+        } BIT;\r
+    } CMWSTR;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CKS:2;\r
+            unsigned short :1;\r
+            unsigned short CM2IE:1;\r
+            unsigned short IC0IE:1;\r
+            unsigned short IC1IE:1;\r
+            unsigned short OC0IE:1;\r
+            unsigned short OC1IE:1;\r
+            unsigned short :1;\r
+            unsigned short CMS:1;\r
+            unsigned short :3;\r
+            unsigned short CLLR:3;\r
+        } BIT;\r
+    } CMWCR;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short IC0:2;\r
+            unsigned short IC1:2;\r
+            unsigned short IC0E:1;\r
+            unsigned short IC1E:1;\r
+            unsigned short :2;\r
+            unsigned short OC0:2;\r
+            unsigned short OC1:2;\r
+            unsigned short OC0E:1;\r
+            unsigned short OC1E:1;\r
+            unsigned short :1;\r
+            unsigned short CM2E:1;\r
+        } BIT;\r
+    } CMWIOR;\r
+    char           wk2[6];\r
+    unsigned long  CMWCNT;\r
+    unsigned long  CMWCOR;\r
+    unsigned long  CMWICR0;\r
+    unsigned long  CMWICR1;\r
+    unsigned long  CMWOCR0;\r
+    unsigned long  CMWOCR1;\r
+};\r
+\r
+struct st_crc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char GPS:2;\r
+            unsigned char LMS:1;\r
+            unsigned char :4;\r
+            unsigned char DORCLR:1;\r
+        } BIT;\r
+    } CRCCR;\r
+    unsigned char  CRCDIR;\r
+    unsigned short CRCDOR;\r
+};\r
+\r
+struct st_da {\r
+\r
+    unsigned short DADR0;\r
+    unsigned short DADR1;    \r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char DAE:1;\r
+            unsigned char DAOE0:1;\r
+            unsigned char DAOE1:1;\r
+        } BIT;\r
+    } DACR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char DPSEL:1;\r
+        } BIT;\r
+    } DADPR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char DAADST:1;\r
+        } BIT;\r
+    } DAADSCR;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char DAAMP0:1;\r
+            unsigned char DAAMP1:1;\r
+        } BIT;\r
+    } DAAMPCR;\r
+};\r
+\r
+struct st_dmac {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DMST:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DMAST;\r
+    char           wk0[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char DMIS4:1;\r
+            unsigned char DMIS5:1;\r
+            unsigned char DMIS6:1;\r
+            unsigned char DMIS7:1;\r
+        } BIT;\r
+    } DMIST;\r
+};\r
+\r
+struct st_dmac0 {\r
+\r
+    void          *DMSAR;\r
+    void          *DMDAR;    \r
+    unsigned long  DMCRA;\r
+    unsigned short DMCRB;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DCTG:2;\r
+            unsigned short :6;\r
+            unsigned short SZ:2;\r
+            unsigned short :2;\r
+            unsigned short DTS:2;\r
+            unsigned short MD:2;\r
+        } BIT;\r
+    } DMTMD;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DARIE:1;\r
+            unsigned char SARIE:1;\r
+            unsigned char RPTIE:1;\r
+            unsigned char ESIE:1;\r
+            unsigned char DTIE:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } DMINT;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DARA:5;\r
+            unsigned short :1;\r
+            unsigned short DM:2;\r
+            unsigned short SARA:5;\r
+            unsigned short :1;\r
+            unsigned short SM:2;\r
+        } BIT;\r
+    } DMAMD;\r
+    char           wk2[2];\r
+    unsigned long  DMOFR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DTE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DMCNT;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SWREQ:1;\r
+            unsigned char :3;\r
+            unsigned char CLRS:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } DMREQ;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ESIF:1;\r
+            unsigned char :3;\r
+            unsigned char DTIF:1;\r
+            unsigned char :2;\r
+            unsigned char ACT:1;\r
+        } BIT;\r
+    } DMSTS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DISEL:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DMCSL;\r
+};\r
+\r
+struct st_dmac1 {    \r
+\r
+    void          *DMSAR;\r
+    void          *DMDAR;    \r
+    unsigned long  DMCRA;\r
+    unsigned short DMCRB;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DCTG:2;\r
+            unsigned short :6;\r
+            unsigned short SZ:2;\r
+            unsigned short :2;\r
+            unsigned short DTS:2;\r
+            unsigned short MD:2;\r
+        } BIT;\r
+    } DMTMD;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DARIE:1;\r
+            unsigned char SARIE:1;\r
+            unsigned char RPTIE:1;\r
+            unsigned char ESIE:1;\r
+            unsigned char DTIE:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } DMINT;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DARA:5;\r
+            unsigned short :1;\r
+            unsigned short DM:2;\r
+            unsigned short SARA:5;\r
+            unsigned short :1;\r
+            unsigned short SM:2;\r
+        } BIT;\r
+    } DMAMD;\r
+    char           wk2[6];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DTE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DMCNT;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SWREQ:1;\r
+            unsigned char :3;\r
+            unsigned char CLRS:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } DMREQ;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ESIF:1;\r
+            unsigned char :3;\r
+            unsigned char DTIF:1;\r
+            unsigned char :2;\r
+            unsigned char ACT:1;\r
+        } BIT;\r
+    } DMSTS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DISEL:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DMCSL;\r
+};\r
+\r
+struct st_doc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OMS:2;\r
+            unsigned char DCSEL:1;\r
+            unsigned char :1;\r
+            unsigned char DOPCIE:1;\r
+            unsigned char DOPCF:1;\r
+            unsigned char DOPCFCL:1;\r
+            unsigned char :1;\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 RRS:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } DTCCR;\r
+    char           wk0[3];\r
+\r
+    void          *DTCVBR;    \r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SHORT:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DTCADMOD;\r
+    char           wk1[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DTCST:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DTCST;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short VECN:8;\r
+            unsigned short :7;\r
+            unsigned short ACT:1;\r
+        } BIT;\r
+    } DTCSTS;\r
+};\r
+\r
+struct st_eccram {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RAMMOD:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } ECCRAMMODE;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RAMERR:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } ECCRAMSTS;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RAMPRCR:1;\r
+            unsigned char KW:7;\r
+        } BIT;\r
+    } ECCRAMPRCR;\r
+    char           wk1[3];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long READ:16;\r
+            unsigned long :13;\r
+        } BIT;\r
+    } ECCRAMECAD;\r
+    char           wk2[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RAMPRCR2:1;\r
+            unsigned char KW2:7;\r
+        } BIT;\r
+    } ECCRAMPRCR2;\r
+    char           wk3[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TSTBYP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } ECCRAMETST;\r
+};\r
+\r
+struct st_edmac {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SWR:1;\r
+            unsigned long :3;\r
+            unsigned long DL:2;\r
+            unsigned long DE:1;\r
+            unsigned long :25;\r
+        } BIT;\r
+    } EDMR;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TR:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } EDTRR;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RR:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } EDRRR;\r
+    char           wk2[4];\r
+    void          *TDLAR;\r
+    char           wk3[4];\r
+    void          *RDLAR;\r
+    char           wk4[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CERF:1;\r
+            unsigned long PRE:1;\r
+            unsigned long RTSF:1;\r
+            unsigned long RTLF:1;\r
+            unsigned long RRF:1;\r
+            unsigned long :2;\r
+            unsigned long RMAF:1;\r
+            unsigned long TRO:1;\r
+            unsigned long CD:1;\r
+            unsigned long DLC:1;\r
+            unsigned long CND:1;\r
+            unsigned long :4;\r
+            unsigned long RFOF:1;\r
+            unsigned long RDE:1;\r
+            unsigned long FR:1;\r
+            unsigned long TFUF:1;\r
+            unsigned long TDE:1;\r
+            unsigned long TC:1;\r
+            unsigned long ECI:1;\r
+            unsigned long ADE:1;\r
+            unsigned long RFCOF:1;\r
+            unsigned long RABT:1;\r
+            unsigned long TABT:1;\r
+            unsigned long :3;\r
+            unsigned long TWB:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } EESR;\r
+    char           wk5[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CERFIP:1;\r
+            unsigned long PREIP:1;\r
+            unsigned long RTSFIP:1;\r
+            unsigned long RTLFIP:1;\r
+            unsigned long RRFIP:1;\r
+            unsigned long :2;\r
+            unsigned long RMAFIP:1;\r
+            unsigned long TROIP:1;\r
+            unsigned long CDIP:1;\r
+            unsigned long DLCIP:1;\r
+            unsigned long CNDIP:1;\r
+            unsigned long :4;\r
+            unsigned long RFOFIP:1;\r
+            unsigned long RDEIP:1;\r
+            unsigned long FRIP:1;\r
+            unsigned long TFUFIP:1;\r
+            unsigned long TDEIP:1;\r
+            unsigned long TCIP:1;\r
+            unsigned long ECIIP:1;\r
+            unsigned long ADEIP:1;\r
+            unsigned long RFCOFIP:1;\r
+            unsigned long RABTIP:1;\r
+            unsigned long TABTIP:1;\r
+            unsigned long :3;\r
+            unsigned long TWBIP:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } EESIPR;\r
+    char           wk6[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CERFCE:1;\r
+            unsigned long PRECE:1;\r
+            unsigned long RTSFCE:1;\r
+            unsigned long RTLFCE:1;\r
+            unsigned long RRFCE:1;\r
+            unsigned long :2;\r
+            unsigned long RMAFCE:1;\r
+            unsigned long TROCE:1;\r
+            unsigned long CDCE:1;\r
+            unsigned long DLCCE:1;\r
+            unsigned long CNDCE:1;\r
+            unsigned long :20;\r
+        } BIT;\r
+    } TRSCER;\r
+    char           wk7[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MFC:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } RMFCR;\r
+    char           wk8[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TFT:11;\r
+            unsigned long :21;\r
+        } BIT;\r
+    } TFTR;\r
+    char           wk9[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RFD:5;\r
+            unsigned long :3;\r
+            unsigned long TFD:5;\r
+            unsigned long :19;\r
+        } BIT;\r
+    } FDR;\r
+    char           wk10[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RNR:1;\r
+            unsigned long RNC:1;\r
+            unsigned long :30;\r
+        } BIT;\r
+    } RMCR;\r
+    char           wk11[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long UNDER:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } TFUCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long OVER:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } RFOCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ELB:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } IOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RFDO:3;\r
+            unsigned long :13;\r
+            unsigned long RFFO:3;\r
+            unsigned long :13;\r
+        } BIT;\r
+    } FCFTR;\r
+    char           wk12[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PADR:6;\r
+            unsigned long :10;\r
+            unsigned long PADS:2;\r
+            unsigned long :14;\r
+        } BIT;\r
+    } RPADIR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TIS:1;\r
+            unsigned long :3;\r
+            unsigned long TIM:1;\r
+            unsigned long :27;\r
+        } BIT;\r
+    } TRIMD;\r
+    char           wk13[72];\r
+    void          *RBWAR;\r
+    void          *RDFAR;\r
+    char           wk14[4];\r
+    void          *TBRAR;    \r
+    void          *TDFAR;    \r
+};\r
+\r
+struct st_edmacp {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SWR:1;\r
+            unsigned long :3;\r
+            unsigned long DL:2;\r
+            unsigned long DE:1;\r
+            unsigned long :25;\r
+        } BIT;\r
+    } EDMR;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TR:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } EDTRR;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RR:1;\r
+            unsigned long :31;\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 :16;\r
+            unsigned long RFOF:1;\r
+            unsigned long RDE:1;\r
+            unsigned long FR:1;\r
+            unsigned long TFUF:1;\r
+            unsigned long TDE:1;\r
+            unsigned long TC:1;\r
+            unsigned long ECI:1;\r
+            unsigned long ADE:1;\r
+            unsigned long RFCOF:1;\r
+            unsigned long RABT:1;\r
+            unsigned long TABT:1;\r
+            unsigned long :3;\r
+            unsigned long TWB:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } EESR;\r
+    char           wk5[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long RFOFIP:1;\r
+            unsigned long RDEIP:1;\r
+            unsigned long FRIP:1;\r
+            unsigned long TFUFIP:1;\r
+            unsigned long TDEIP:1;\r
+            unsigned long TCIP:1;\r
+            unsigned long ECIIP:1;\r
+            unsigned long ADEIP:1;\r
+            unsigned long RFCOFIP:1;\r
+            unsigned long RABTIP:1;\r
+            unsigned long TABTIP:1;\r
+            unsigned long :3;\r
+            unsigned long TWBIP:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } EESIPR;\r
+    char           wk6[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CERFCE:1;\r
+            unsigned long PRECE:1;\r
+            unsigned long RTSFCE:1;\r
+            unsigned long RTLFCE:1;\r
+            unsigned long RRFCE:1;\r
+            unsigned long :2;\r
+            unsigned long RMAFCE:1;\r
+            unsigned long TROCE:1;\r
+            unsigned long CDCE:1;\r
+            unsigned long DLCCE:1;\r
+            unsigned long CNDCE:1;\r
+            unsigned long :20;\r
+        } BIT;\r
+    } TRSCER;\r
+    char           wk7[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MFC:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } RMFCR;\r
+    char           wk8[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TFT:11;\r
+            unsigned long :21;\r
+        } BIT;\r
+    } TFTR;\r
+    char           wk9[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RFD:5;\r
+            unsigned long :3;\r
+            unsigned long TFD:5;\r
+            unsigned long :19;\r
+        } BIT;\r
+    } FDR;\r
+    char           wk10[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RNR:1;\r
+            unsigned long RNC:1;\r
+            unsigned long :30;\r
+        } BIT;\r
+    } RMCR;\r
+    char           wk11[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long UNDER:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } TFUCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long OVER:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } RFOCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ELB:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } IOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RFDO:3;\r
+            unsigned long :13;\r
+            unsigned long RFFO:3;\r
+            unsigned long :13;\r
+        } BIT;\r
+    } FCFTR;\r
+    char           wk12[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PADR:6;\r
+            unsigned long :10;\r
+            unsigned long PADS:2;\r
+            unsigned long :14;\r
+        } BIT;\r
+    } RPADIR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TIS:1;\r
+            unsigned long :3;\r
+            unsigned long TIM:1;\r
+            unsigned long :27;\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_elc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\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
+    } ELSR0;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR4;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR7;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR10;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR11;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR12;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR13;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR15;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR16;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR18;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR19;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR20;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR21;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR22;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR23;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR24;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR25;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR26;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR27;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR28;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MTU0MD:2;\r
+            unsigned char :4;\r
+            unsigned char MTU3MD:2;\r
+        } BIT;\r
+    } ELOPA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MTU4MD:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } ELOPB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char CMT1MD:2;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } ELOPC;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMR0MD:2;\r
+            unsigned char TMR1MD:2;\r
+            unsigned char TMR2MD:2;\r
+            unsigned char TMR3MD:2;\r
+        } BIT;\r
+    } ELOPD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PGR0:1;\r
+            unsigned char PGR1:1;\r
+            unsigned char PGR2:1;\r
+            unsigned char PGR3:1;\r
+            unsigned char PGR4:1;\r
+            unsigned char PGR5:1;\r
+            unsigned char PGR6:1;\r
+            unsigned char PGR7:1;\r
+        } BIT;\r
+    } PGR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PGR0:1;\r
+            unsigned char PGR1:1;\r
+            unsigned char PGR2:1;\r
+            unsigned char PGR3:1;\r
+            unsigned char PGR4:1;\r
+            unsigned char PGR5:1;\r
+            unsigned char PGR6:1;\r
+            unsigned char PGR7:1;\r
+        } BIT;\r
+    } PGR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PGCI:2;\r
+            unsigned char PGCOVE:1;\r
+            unsigned char :1;\r
+            unsigned char PGCO:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PGC1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PGCI:2;\r
+            unsigned char PGCOVE:1;\r
+            unsigned char :1;\r
+            unsigned char PGCO:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PGC2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PDBF0:1;\r
+            unsigned char PDBF1:1;\r
+            unsigned char PDBF2:1;\r
+            unsigned char PDBF3:1;\r
+            unsigned char PDBF4:1;\r
+            unsigned char PDBF5:1;\r
+            unsigned char PDBF6:1;\r
+            unsigned char PDBF7:1;\r
+        } BIT;\r
+    } PDBF1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PDBF0:1;\r
+            unsigned char PDBF1:1;\r
+            unsigned char PDBF2:1;\r
+            unsigned char PDBF3:1;\r
+            unsigned char PDBF4:1;\r
+            unsigned char PDBF5:1;\r
+            unsigned char PDBF6:1;\r
+            unsigned char PDBF7:1;\r
+        } BIT;\r
+    } PDBF2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSB:3;\r
+            unsigned char PSP:2;\r
+            unsigned char PSM:2;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PEL0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSB:3;\r
+            unsigned char PSP:2;\r
+            unsigned char PSM:2;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PEL1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSB:3;\r
+            unsigned char PSP:2;\r
+            unsigned char PSM:2;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PEL2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSB:3;\r
+            unsigned char PSP:2;\r
+            unsigned char PSM:2;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PEL3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEG:1;\r
+            unsigned char :5;\r
+            unsigned char WE:1;\r
+            unsigned char WI:1;\r
+        } BIT;\r
+    } ELSEGR;\r
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR33;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR35;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR36;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR37;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR38;\r
+    char           wk8[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR41;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR42;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR43;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR44;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR45;\r
+    char           wk9[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPU0MD:2;\r
+            unsigned char TPU1MD:2;\r
+            unsigned char TPU2MD:2;\r
+            unsigned char TPU3MD:2;\r
+        } BIT;\r
+    } ELOPF;\r
+    char           wk10[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMTW0MD:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } ELOPH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char GPT0MD:3;\r
+            unsigned char :1;\r
+            unsigned char GPT1MD:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ELOPI;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char GPT2MD:3;\r
+            unsigned char :1;\r
+            unsigned char GPT3MD:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ELOPJ;\r
+};\r
+\r
+struct st_eptpc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RESET:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } PTRSTR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SCLKDIV:3;\r
+            unsigned long :5;\r
+            unsigned long SCLKSEL:3;\r
+            unsigned long :21;\r
+        } BIT;\r
+    } STCSELR;\r
+    char           wk0[15096];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ST:1;\r
+            unsigned long SY0:1;\r
+            unsigned long SY1:1;\r
+            unsigned long PRC:1;\r
+            unsigned long :12;\r
+            unsigned long CYC0:1;\r
+            unsigned long CYC1:1;\r
+            unsigned long CYC2:1;\r
+            unsigned long CYC3:1;\r
+            unsigned long CYC4:1;\r
+            unsigned long CYC5:1;\r
+            unsigned long :10;\r
+        } BIT;\r
+    } MIESR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ST:1;\r
+            unsigned long SY0:1;\r
+            unsigned long SY1:1;\r
+            unsigned long PR:1;\r
+            unsigned long :12;\r
+            unsigned long CYC0:1;\r
+            unsigned long CYC1:1;\r
+            unsigned long CYC2:1;\r
+            unsigned long CYC3:1;\r
+            unsigned long CYC4:1;\r
+            unsigned long CYC5:1;\r
+            unsigned long :10;\r
+        } BIT;\r
+    } MIEIPR;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REV:16;\r
+            unsigned long VER:16;\r
+        } BIT;\r
+    } PTVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYCP0:1;\r
+            unsigned long CYCP1:1;\r
+            unsigned long CYCP2:1;\r
+            unsigned long CYCP3:1;\r
+            unsigned long CYCP4:1;\r
+            unsigned long CYCP5:1;\r
+            unsigned long :2;\r
+            unsigned long CYCN0:1;\r
+            unsigned long CYCN1:1;\r
+            unsigned long CYCN2:1;\r
+            unsigned long CYCN3:1;\r
+            unsigned long CYCN4:1;\r
+            unsigned long CYCN5:1;\r
+            unsigned long :2;\r
+            unsigned long PLSP:1;\r
+            unsigned long :7;\r
+            unsigned long PLSN:1;\r
+            unsigned long :7;\r
+        } BIT;\r
+    } ELIPPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYCP0:1;\r
+            unsigned long CYCP1:1;\r
+            unsigned long CYCP2:1;\r
+            unsigned long CYCP3:1;\r
+            unsigned long CYCP4:1;\r
+            unsigned long CYCP5:1;\r
+            unsigned long :2;\r
+            unsigned long CYCN0:1;\r
+            unsigned long CYCN1:1;\r
+            unsigned long CYCN2:1;\r
+            unsigned long CYCN3:1;\r
+            unsigned long CYCN4:1;\r
+            unsigned long CYCN5:1;\r
+            unsigned long :2;\r
+            unsigned long PLSP:1;\r
+            unsigned long :7;\r
+            unsigned long PLSN:1;\r
+            unsigned long :7;\r
+        } BIT;\r
+    } ELIPACR;\r
+    char           wk2[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SYNC:1;\r
+            unsigned long SYNCOUT:1;\r
+            unsigned long :1;\r
+            unsigned long SYNTOUT:1;\r
+            unsigned long W10D:1;\r
+            unsigned long :27;\r
+        } BIT;\r
+    } STSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SYNC:1;\r
+            unsigned long SYNCOUT:1;\r
+            unsigned long :1;\r
+            unsigned long SYNTOUT:1;\r
+            unsigned long W10D:1;\r
+            unsigned long :27;\r
+        } BIT;\r
+    } STIPR;\r
+    char           wk3[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REV:16;\r
+            unsigned long VER:16;\r
+        } BIT;\r
+    } STVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long STCF:2;\r
+            unsigned long :30;\r
+        } BIT;\r
+    } STCFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WINT:8;\r
+            unsigned long :5;\r
+            unsigned long CMOD:1;\r
+            unsigned long :1;\r
+            unsigned long W10S:1;\r
+            unsigned long DVTH:4;\r
+            unsigned long SYTH:4;\r
+            unsigned long :4;\r
+            unsigned long ALEN0:1;\r
+            unsigned long ALEN1:1;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } STMR;\r
+    unsigned long  SYNTOR;\r
+    char           wk4[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IPTSEL0:1;\r
+            unsigned long IPTSEL1:1;\r
+            unsigned long IPTSEL2:1;\r
+            unsigned long IPTSEL3:1;\r
+            unsigned long IPTSEL4:1;\r
+            unsigned long IPTSEL5:1;\r
+            unsigned long :26;\r
+        } BIT;\r
+    } IPTSELR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MINTEN0:1;\r
+            unsigned long MINTEN1:1;\r
+            unsigned long MINTEN2:1;\r
+            unsigned long MINTEN3:1;\r
+            unsigned long MINTEN4:1;\r
+            unsigned long MINTEN5:1;\r
+            unsigned long :26;\r
+        } BIT;\r
+    } MITSELR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ELTDIS0:1;\r
+            unsigned long ELTDIS1:1;\r
+            unsigned long ELTDIS2:1;\r
+            unsigned long ELTDIS3:1;\r
+            unsigned long ELTDIS4:1;\r
+            unsigned long ELTDIS5:1;\r
+            unsigned long :26;\r
+        } BIT;\r
+    } ELTSELR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SYSEL:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } STCHSELR;\r
+    char           wk5[16];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long STR:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } SYNSTARTR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long LOAD:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } LCIVLDR;\r
+    char           wk6[8];\r
+    unsigned long  SYNTDARU;\r
+    unsigned long  SYNTDARL;\r
+    unsigned long  SYNTDBRU;\r
+    unsigned long  SYNTDBRL;\r
+    char           wk7[16];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VALU:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } LCIVRU;\r
+    unsigned long  LCIVRM;\r
+    unsigned long  LCIVRL;\r
+    char           wk8[104];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long GW10:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } GETW10R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long LMTU:31;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } PLIMITRU;\r
+    unsigned long  PLIMITRM;\r
+    unsigned long  PLIMITRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long LMTU:31;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } MLIMITRU;\r
+    unsigned long  MLIMITRM;\r
+    unsigned long  MLIMITRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long INFO:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } GETINFOR;\r
+    char           wk9[44];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CNTU:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } LCCVRU;\r
+    unsigned long  LCCVRM;\r
+    unsigned long  LCCVRL;\r
+    char           wk10[148];\r
+    unsigned long  PW10VRU;\r
+    unsigned long  PW10VRM;\r
+    unsigned long  PW10VRL;\r
+    char           wk11[180];\r
+    unsigned long  MW10RU;\r
+    unsigned long  MW10RM;\r
+    unsigned long  MW10RL;\r
+    char           wk12[36];\r
+    unsigned long  TMSTTRU0;\r
+    unsigned long  TMSTTRL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYC:30;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } TMCYCR0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WTH:29;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } TMPLSR0;\r
+    unsigned long  TMSTTRU1;\r
+    unsigned long  TMSTTRL1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYC:30;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } TMCYCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WTH:29;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } TMPLSR1;\r
+    unsigned long  TMSTTRU2;\r
+    unsigned long  TMSTTRL2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYC:30;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } TMCYCR2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WTH:29;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } TMPLSR2;\r
+    unsigned long  TMSTTRU3;\r
+    unsigned long  TMSTTRL3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYC:30;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } TMCYCR3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WTH:29;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } TMPLSR3;\r
+    unsigned long  TMSTTRU4;\r
+    unsigned long  TMSTTRL4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYC:30;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } TMCYCR4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WTH:29;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } TMPLSR4;\r
+    unsigned long  TMSTTRU5;\r
+    unsigned long  TMSTTRL5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CYC:30;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } TMCYCR5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long WTH:29;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } TMPLSR5;\r
+    char           wk13[28];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long :26;\r
+        } BIT;\r
+    } TMSTARTR;\r
+    char           wk14[128];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long OVRE0:1;\r
+            unsigned long OVRE1:1;\r
+            unsigned long OVRE2:1;\r
+            unsigned long OVRE3:1;\r
+            unsigned long :4;\r
+            unsigned long MACE:1;\r
+            unsigned long :7;\r
+            unsigned long PRRE0:1;\r
+            unsigned long PRRE1:1;\r
+            unsigned long PRRE2:1;\r
+            unsigned long PRRE3:1;\r
+            unsigned long PRTE00:1;\r
+            unsigned long PRTE01:1;\r
+            unsigned long PRTE02:1;\r
+            unsigned long PRTE03:1;\r
+            unsigned long PRTE10:1;\r
+            unsigned long PRTE11:1;\r
+            unsigned long PRTE12:1;\r
+            unsigned long PRTE13:1;\r
+            unsigned long URE0:1;\r
+            unsigned long URE1:1;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } PRSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long OVRE0:1;\r
+            unsigned long OVRE1:1;\r
+            unsigned long OVRE2:1;\r
+            unsigned long OVRE3:1;\r
+            unsigned long :4;\r
+            unsigned long MACE:1;\r
+            unsigned long :7;\r
+            unsigned long PRRE0:1;\r
+            unsigned long PRRE1:1;\r
+            unsigned long PRRE2:1;\r
+            unsigned long PRRE3:1;\r
+            unsigned long PRTE00:1;\r
+            unsigned long PRTE01:1;\r
+            unsigned long PRTE02:1;\r
+            unsigned long PRTE03:1;\r
+            unsigned long PRTE10:1;\r
+            unsigned long PRTE11:1;\r
+            unsigned long PRTE12:1;\r
+            unsigned long PRTE13:1;\r
+            unsigned long URE0:1;\r
+            unsigned long URE1:1;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } PRIPR;\r
+    char           wk15[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REV:16;\r
+            unsigned long VER:16;\r
+        } BIT;\r
+    } PRVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PRMACRU0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PRMACRL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PRMACRU1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PRMACRL1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TDIS:2;\r
+            unsigned long :30;\r
+        } BIT;\r
+    } TRNDISR;\r
+    char           wk16[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MOD:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } TRNMR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long THVAL:11;\r
+            unsigned long :21;\r
+        } BIT;\r
+    } TRNCTTDR;\r
+};\r
+\r
+struct st_eptpcs {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long OFMUD:1;\r
+            unsigned long INTCHG:1;\r
+            unsigned long MPDUD:1;\r
+            unsigned long :1;\r
+            unsigned long DRPTO:1;\r
+            unsigned long INTDEV:1;\r
+            unsigned long DRQOVR:1;\r
+            unsigned long :2;\r
+            unsigned long PDRPMR:1;\r
+            unsigned long :2;\r
+            unsigned long RECLP:1;\r
+            unsigned long SRTABT:1;\r
+            unsigned long INFABT:1;\r
+            unsigned long :1;\r
+            unsigned long RESDN:1;\r
+            unsigned long GENDN:1;\r
+            unsigned long :2;\r
+            unsigned long PRE0:1;\r
+            unsigned long PRE1:1;\r
+            unsigned long PRE2:1;\r
+            unsigned long PRE3:1;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } SYSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long OFMUD:1;\r
+            unsigned long INTCHG:1;\r
+            unsigned long MPDUD:1;\r
+            unsigned long :1;\r
+            unsigned long DRPTO:1;\r
+            unsigned long INTDEV:1;\r
+            unsigned long DRQOVR:1;\r
+            unsigned long :2;\r
+            unsigned long PDRPMR:1;\r
+            unsigned long :2;\r
+            unsigned long RECLP:1;\r
+            unsigned long SRTABT:1;\r
+            unsigned long INFABT:1;\r
+            unsigned long :1;\r
+            unsigned long RESDN:1;\r
+            unsigned long GENDN:1;\r
+            unsigned long :2;\r
+            unsigned long PRE0:1;\r
+            unsigned long PRE1:1;\r
+            unsigned long PRE2:1;\r
+            unsigned long PRE3:1;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } SYIPR;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REV:16;\r
+            unsigned long VER:16;\r
+        } BIT;\r
+    } SYVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } SYMACRU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } SYMACRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long LLC:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } SYLLCCTLR;\r
+    unsigned long  SYIPR2;\r
+    char           wk1[32];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VER:4;\r
+            unsigned long TRSP:4;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } SYSPVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DNUM:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } SYDOMR;\r
+    char           wk2[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long FLG0:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG15:1;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } ANFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long FLG0:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG15:1;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } SYNFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long FLG0:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG15:1;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } DYRQFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long FLG0:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG15:1;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } DYRPFR;\r
+    unsigned long  SYCIDRU;\r
+    unsigned long  SYCIDRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PNUM:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } SYPNUMR;\r
+    char           wk3[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long BMUP:1;\r
+            unsigned long STUP:1;\r
+            unsigned long ANUP:1;\r
+            unsigned long :29;\r
+        } BIT;\r
+    } SYRVLDR;\r
+    char           wk4[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ANCE0:1;\r
+            unsigned long ANCE1:1;\r
+            unsigned long :2;\r
+            unsigned long SYNC0:1;\r
+            unsigned long SYNC1:1;\r
+            unsigned long SYNC2:1;\r
+            unsigned long :1;\r
+            unsigned long FUP0:1;\r
+            unsigned long FUP1:1;\r
+            unsigned long FUP2:1;\r
+            unsigned long :1;\r
+            unsigned long DRQ0:1;\r
+            unsigned long DRQ1:1;\r
+            unsigned long DRQ2:1;\r
+            unsigned long :1;\r
+            unsigned long DRP0:1;\r
+            unsigned long DRP1:1;\r
+            unsigned long DRP2:1;\r
+            unsigned long :1;\r
+            unsigned long PDRQ0:1;\r
+            unsigned long PDRQ1:1;\r
+            unsigned long PDRQ2:1;\r
+            unsigned long :1;\r
+            unsigned long PDRP0:1;\r
+            unsigned long PDRP1:1;\r
+            unsigned long PDRP2:1;\r
+            unsigned long :1;\r
+            unsigned long PDFUP0:1;\r
+            unsigned long PDFUP1:1;\r
+            unsigned long PDFUP2:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } SYRFL1R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MAN0:1;\r
+            unsigned long MAN1:1;\r
+            unsigned long :2;\r
+            unsigned long SIG0:1;\r
+            unsigned long SIG1:1;\r
+            unsigned long :22;\r
+            unsigned long ILL0:1;\r
+            unsigned long ILL1:1;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } SYRFL2R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ANCE:1;\r
+            unsigned long :3;\r
+            unsigned long SYNC:1;\r
+            unsigned long :3;\r
+            unsigned long DRQ:1;\r
+            unsigned long :3;\r
+            unsigned long PDRQ:1;\r
+            unsigned long :19;\r
+        } BIT;\r
+    } SYTRENR;\r
+    char           wk5[4];\r
+    unsigned long  MTCIDU;\r
+    unsigned long  MTCIDL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PNUM:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } MTPID;\r
+    char           wk6[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ANCE:8;\r
+            unsigned long SYNC:8;\r
+            unsigned long DRQ:8;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } SYTLIR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ANCE:8;\r
+            unsigned long SYNC:8;\r
+            unsigned long DRP:8;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } SYRLIR;\r
+    unsigned long  OFMRU;\r
+    unsigned long  OFMRL;\r
+    unsigned long  MPDRU;\r
+    unsigned long  MPDRL;\r
+    char           wk7[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long GMPR2:8;\r
+            unsigned long :8;\r
+            unsigned long GMPR1:8;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } GMPR;\r
+    unsigned long  GMCQR;\r
+    unsigned long  GMIDRU;\r
+    unsigned long  GMIDRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TSRC:8;\r
+            unsigned long :8;\r
+            unsigned long CUTO:16;\r
+        } BIT;\r
+    } CUOTSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SRMV:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } SRR;\r
+    char           wk8[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PPMACRU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PPMACRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PDMACRU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } PDMACRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TYPE:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } PETYPER;\r
+    char           wk9[12];\r
+    unsigned long  PPIPR;\r
+    unsigned long  PDIPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EVTO:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } PETOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long GETO:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } PGTOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PRTL:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } PPTTLR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PDTL:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } PDTTLR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EVUPT:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } PEUDPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long GEUPT:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } PGUDPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SEL:1;\r
+            unsigned long PRT:1;\r
+            unsigned long ENB:1;\r
+            unsigned long :29;\r
+        } BIT;\r
+    } FFLTR;\r
+    char           wk10[28];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } FMAC0RU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } FMAC0RL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACU:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } FMAC1RU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MACL:24;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } FMAC1RL;\r
+    char           wk11[80];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ASYMU:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } DASYMRU;\r
+    unsigned long  DASYMRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EGP:16;\r
+            unsigned long INGP:16;\r
+        } BIT;\r
+    } TSLATR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TCYC:8;\r
+            unsigned long :4;\r
+            unsigned long SBDIS:1;\r
+            unsigned long :3;\r
+            unsigned long FILDIS:1;\r
+            unsigned long :3;\r
+            unsigned long TCMOD:1;\r
+            unsigned long :3;\r
+            unsigned long TRAN:1;\r
+            unsigned long :7;\r
+        } BIT;\r
+    } SYCONFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long FORM0:1;\r
+            unsigned long FORM1:1;\r
+            unsigned long :30;\r
+        } BIT;\r
+    } SYFORMR;\r
+    unsigned long  RSTOUTR;\r
+};\r
+\r
+struct st_etherc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PRM:1;\r
+            unsigned long DM:1;\r
+            unsigned long RTM:1;\r
+            unsigned long ILB:1;\r
+            unsigned long :1;\r
+            unsigned long TE:1;\r
+            unsigned long RE:1;\r
+            unsigned long :2;\r
+            unsigned long MPDE:1;\r
+            unsigned long :2;\r
+            unsigned long PRCEF:1;\r
+            unsigned long :3;\r
+            unsigned long TXF:1;\r
+            unsigned long RXF:1;\r
+            unsigned long PFR:1;\r
+            unsigned long ZPF:1;\r
+            unsigned long TPC:1;\r
+            unsigned long :11;\r
+        } BIT;\r
+    } ECMR;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RFL:12;\r
+            unsigned long :20;\r
+        } BIT;\r
+    } RFLR;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ICD:1;\r
+            unsigned long MPD:1;\r
+            unsigned long LCHNG:1;\r
+            unsigned long :1;\r
+            unsigned long PSRTO:1;\r
+            unsigned long BFR:1;\r
+            unsigned long :26;\r
+        } BIT;\r
+    } ECSR;\r
+    char           wk2[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ICDIP:1;\r
+            unsigned long MPDIP:1;\r
+            unsigned long LCHNGIP:1;\r
+            unsigned long :1;\r
+            unsigned long PSRTOIP:1;\r
+            unsigned long BFSIPR:1;\r
+            unsigned long :26;\r
+        } BIT;\r
+    } ECSIPR;\r
+    char           wk3[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MDC:1;\r
+            unsigned long MMD:1;\r
+            unsigned long MDO:1;\r
+            unsigned long MDI:1;\r
+            unsigned long :28;\r
+        } BIT;\r
+    } PIR;\r
+    char           wk4[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long LMON:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } PSR;\r
+    char           wk5[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RMD:20;\r
+            unsigned long :12;\r
+        } BIT;\r
+    } RDMLR;\r
+    char           wk6[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IPG:5;\r
+            unsigned long :27;\r
+        } BIT;\r
+    } IPGR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long AP:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } APR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MP:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } MPR;\r
+    char           wk7[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RPAUSE:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } RFCF;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TPAUSE:16;\r
+            unsigned long :16;\r
+        } BIT;\r
+    } TPAUSER;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long TXP:8;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } TPAUSECR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long BCF:16;\r
+            unsigned long :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 MA:16;\r
+            unsigned long :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 DMST:1;\r
+            unsigned char :7;\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
+\r
+    void          *EDMSAR;\r
+    void          *EDMDAR;    \r
+    unsigned long  EDMCRA;\r
+    unsigned short EDMCRB;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DCTG:2;\r
+            unsigned short :6;\r
+            unsigned short SZ:2;\r
+            unsigned short :2;\r
+            unsigned short DTS:2;\r
+            unsigned short MD:2;\r
+        } BIT;\r
+    } EDMTMD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DACKSEL:1;\r
+            unsigned char DACKW:1;\r
+            unsigned char DACKE:1;\r
+            unsigned char DACKS:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } EDMOMD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DARIE:1;\r
+            unsigned char SARIE:1;\r
+            unsigned char RPTIE:1;\r
+            unsigned char ESIE:1;\r
+            unsigned char DTIE:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } EDMINT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DARA:5;\r
+            unsigned long :1;\r
+            unsigned long DM:2;\r
+            unsigned long SARA:5;\r
+            unsigned long :1;\r
+            unsigned long SM:2;\r
+            unsigned long DIR:1;\r
+            unsigned long AMS:1;\r
+            unsigned long :14;\r
+        } BIT;\r
+    } EDMAMD;\r
+    unsigned long  EDMOFR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DTE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } EDMCNT;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SWREQ:1;\r
+            unsigned char :3;\r
+            unsigned char CLRS:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } EDMREQ;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ESIF:1;\r
+            unsigned char :3;\r
+            unsigned char DTIF:1;\r
+            unsigned char :2;\r
+            unsigned char ACT:1;\r
+        } BIT;\r
+    } EDMSTS;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DREQS:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } EDMRMD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char EREQ:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } EDMERF;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PREQ:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } EDMPRF;\r
+};\r
+\r
+struct st_exdmac1 {\r
+\r
+    void          *EDMSAR;\r
+    void          *EDMDAR;    \r
+    unsigned long  EDMCRA;\r
+    unsigned short EDMCRB;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DCTG:2;\r
+            unsigned short :6;\r
+            unsigned short SZ:2;\r
+            unsigned short :2;\r
+            unsigned short DTS:2;\r
+            unsigned short MD:2;\r
+        } BIT;\r
+    } EDMTMD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DACKSEL:1;\r
+            unsigned char DACKW:1;\r
+            unsigned char DACKE:1;\r
+            unsigned char DACKS:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } EDMOMD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DARIE:1;\r
+            unsigned char SARIE:1;\r
+            unsigned char RPTIE:1;\r
+            unsigned char ESIE:1;\r
+            unsigned char DTIE:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } EDMINT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DARA:5;\r
+            unsigned long :1;\r
+            unsigned long DM:2;\r
+            unsigned long SARA:5;\r
+            unsigned long :1;\r
+            unsigned long SM:2;\r
+            unsigned long DIR:1;\r
+            unsigned long AMS:1;\r
+            unsigned long :14;\r
+        } BIT;\r
+    } EDMAMD;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DTE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } EDMCNT;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SWREQ:1;\r
+            unsigned char :3;\r
+            unsigned char CLRS:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } EDMREQ;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ESIF:1;\r
+            unsigned char :3;\r
+            unsigned char DTIF:1;\r
+            unsigned char :2;\r
+            unsigned char ACT:1;\r
+        } BIT;\r
+    } EDMSTS;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DREQS:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } EDMRMD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char EREQ:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } EDMERF;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PREQ:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } EDMPRF;\r
+};\r
+\r
+struct st_gpt {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CST0:1;\r
+            unsigned char CST1:1;\r
+            unsigned char CST2:1;\r
+            unsigned char CST3:1;\r
+            unsigned char :4;\r
+            unsigned char :8;\r
+        } BIT;\r
+    } GTSTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short NFA0EN:1;\r
+            unsigned short NFB0EN:1;\r
+            unsigned short NFA1EN:1;\r
+            unsigned short NFB1EN:1;\r
+            unsigned short NFA2EN:1;\r
+            unsigned short NFB2EN:1;\r
+            unsigned short NFA3EN:1;\r
+            unsigned short NFB3EN:1;\r
+            unsigned short NFCS0:2;\r
+            unsigned short NFCS1:2;\r
+            unsigned short NFCS2:2;\r
+            unsigned short NFCS3:2;\r
+        } BIT;\r
+    } NFCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CSHW0:2;\r
+            unsigned char CSHW1:2;\r
+            unsigned char CSHW2:2;\r
+            unsigned char CSHW3:2;\r
+            unsigned char CPHW0:2;\r
+            unsigned char CPHW1:2;\r
+            unsigned char CPHW2:2;\r
+            unsigned char CPHW3:2;\r
+        } BIT;\r
+    } GTHSCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CCHW0:2;\r
+            unsigned char CCHW1:2;\r
+            unsigned char CCHW2:2;\r
+            unsigned char CCHW3:2;\r
+            unsigned char CCSW0:1;\r
+            unsigned char CCSW1:1;\r
+            unsigned char CCSW2:1;\r
+            unsigned char CCSW3:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } GTHCCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CSHSL0:4;\r
+            unsigned char CSHSL1:4;\r
+            unsigned char CSHSL2:4;\r
+            unsigned char CSHSL3:4;\r
+        } BIT;\r
+    } GTHSSR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CSHPL0:4;\r
+            unsigned char CSHPL1:4;\r
+            unsigned char CSHPL2:4;\r
+            unsigned char CSHPL3:4;\r
+        } BIT;\r
+    } GTHPSR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char WP0:1;\r
+            unsigned char WP1:1;\r
+            unsigned char WP2:1;\r
+            unsigned char WP3:1;\r
+            unsigned char :4;\r
+            unsigned char :8;\r
+        } BIT;\r
+    } GTWP;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char SYNC0:2;\r
+            unsigned char :2;\r
+            unsigned char SYNC1:2;\r
+            unsigned char :2;\r
+            unsigned char SYNC2:2;\r
+            unsigned char :2;\r
+            unsigned char SYNC3:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } GTSYNC;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char ETIPEN:1;\r
+            unsigned char ETINEN:1;\r
+            unsigned char :6;\r
+            unsigned char ETIPF:1;\r
+            unsigned char ETINF:1;\r
+            unsigned char :3;\r
+            unsigned char GTENFCS:2;\r
+            unsigned char GTETRGEN:1;\r
+        } BIT;\r
+    } GTETINT;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char BD00:1;\r
+            unsigned char BD01:1;\r
+            unsigned char BD02:1;\r
+            unsigned char BD03:1;\r
+            unsigned char BD10:1;\r
+            unsigned char BD11:1;\r
+            unsigned char BD12:1;\r
+            unsigned char BD13:1;\r
+            unsigned char BD20:1;\r
+            unsigned char BD21:1;\r
+            unsigned char BD22:1;\r
+            unsigned char BD23:1;\r
+            unsigned char BD30:1;\r
+            unsigned char BD31:1;\r
+            unsigned char BD32:1;\r
+            unsigned char BD33:1;\r
+        } BIT;\r
+    } GTBDR;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char SWP0:1;\r
+            unsigned char SWP1:1;\r
+            unsigned char SWP2:1;\r
+            unsigned char SWP3:1;\r
+            unsigned char :4;\r
+            unsigned char :8;\r
+        } BIT;\r
+    } GTSWP;\r
+};\r
+\r
+struct st_gpt0 {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char GTIOA:6;\r
+            unsigned char OADFLT:1;\r
+            unsigned char OAHLD:1;\r
+            unsigned char GTIOB:6;\r
+            unsigned char OBDFLT:1;\r
+            unsigned char OBHLD:1;\r
+        } BIT;\r
+    } GTIOR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char GTINTA:1;\r
+            unsigned char GTINTB:1;\r
+            unsigned char GTINTC:1;\r
+            unsigned char GTINTD:1;\r
+            unsigned char GTINTE:1;\r
+            unsigned char GTINTF:1;\r
+            unsigned char GTINTPR:2;\r
+            unsigned char :3;\r
+            unsigned char EINT:1;\r
+            unsigned char ADTRAUEN:1;\r
+            unsigned char ADTRADEN:1;\r
+            unsigned char ADTRBUEN:1;\r
+            unsigned char ADTRBDEN:1;\r
+        } BIT;\r
+    } GTINTAD;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char MD:3;\r
+            unsigned char :5;\r
+            unsigned char TPCS:2;\r
+            unsigned char :2;\r
+            unsigned char CCLR:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } GTCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CCRA:2;\r
+            unsigned char CCRB:2;\r
+            unsigned char PR:2;\r
+            unsigned char CCRSWT:1;\r
+            unsigned char :1;\r
+            unsigned char ADTTA:2;\r
+            unsigned char ADTDA:1;\r
+            unsigned char :1;\r
+            unsigned char ADTTB:2;\r
+            unsigned char ADTDB:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } GTBER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char UD:1;\r
+            unsigned char UDF:1;\r
+            unsigned char :6;\r
+            unsigned char :8;\r
+        } BIT;\r
+    } GTUDC;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char ITLA:1;\r
+            unsigned char ITLB:1;\r
+            unsigned char ITLC:1;\r
+            unsigned char ITLD:1;\r
+            unsigned char ITLE:1;\r
+            unsigned char ITLF:1;\r
+            unsigned char IVTC:2;\r
+            unsigned char IVTT:3;\r
+            unsigned char :1;\r
+            unsigned char ADTAL:1;\r
+            unsigned char :1;\r
+            unsigned char ADTBL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } GTITC;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char TCFA:1;\r
+            unsigned char TCFB:1;\r
+            unsigned char TCFC:1;\r
+            unsigned char TCFD:1;\r
+            unsigned char TCFE:1;\r
+            unsigned char TCFF:1;\r
+            unsigned char TCFPO:1;\r
+            unsigned char TCFPU:1;\r
+            unsigned char ITCNT:3;\r
+            unsigned char DTEF:1;\r
+            unsigned char :3;\r
+            unsigned char TUCF:1;\r
+        } BIT;\r
+    } GTST;\r
+    unsigned short GTCNT;\r
+    unsigned short GTCCRA;\r
+    unsigned short GTCCRB;\r
+    unsigned short GTCCRC;\r
+    unsigned short GTCCRD;\r
+    unsigned short GTCCRE;\r
+    unsigned short GTCCRF;\r
+    unsigned short GTPR;\r
+    unsigned short GTPBR;\r
+    unsigned short GTPDBR;\r
+    char           wk0[2];\r
+    unsigned short GTADTRA;\r
+    unsigned short GTADTBRA;\r
+    unsigned short GTADTDBRA;\r
+    char           wk1[2];\r
+    unsigned short GTADTRB;\r
+    unsigned short GTADTBRB;\r
+    unsigned short GTADTDBRB;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short NEA:1;\r
+            unsigned short NEB:1;\r
+            unsigned short NVA:1;\r
+            unsigned short NVB:1;\r
+            unsigned short NFS:4;\r
+            unsigned short NFV:1;\r
+            unsigned short :3;\r
+            unsigned short SWN:1;\r
+            unsigned short :1;\r
+            unsigned short OAE:1;\r
+            unsigned short OBE:1;\r
+        } BIT;\r
+    } GTONCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TDE:1;\r
+            unsigned short :3;\r
+            unsigned short TDBUE:1;\r
+            unsigned short TDBDE:1;\r
+            unsigned short :2;\r
+            unsigned short TDFER:1;\r
+            unsigned short :7;\r
+        } BIT;\r
+    } GTDTCR;\r
+    unsigned short GTDVU;\r
+    unsigned short GTDVD;\r
+    unsigned short GTDBU;\r
+    unsigned short GTDBD;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short SOS:2;\r
+            unsigned short :14;\r
+        } BIT;\r
+    } GTSOS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short SOTR:1;\r
+            unsigned short :15;\r
+        } BIT;\r
+    } GTSOTR;\r
+};\r
+\r
+struct st_icu {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IR:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } IR[256];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DTCE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DTCER[256];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IEN0:1;\r
+            unsigned char IEN1:1;\r
+            unsigned char IEN2:1;\r
+            unsigned char IEN3:1;\r
+            unsigned char IEN4:1;\r
+            unsigned char IEN5:1;\r
+            unsigned char IEN6:1;\r
+            unsigned char IEN7:1;\r
+        } BIT;\r
+    } IER[32];\r
+    char           wk0[192];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SWINT:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SWINTR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SWINT2:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SWINT2R;\r
+    char           wk1[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short FVCT:8;\r
+            unsigned short :7;\r
+            unsigned short FIEN:1;\r
+        } BIT;\r
+    } FIR;\r
+    char           wk2[14];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IPR:4;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } IPR[256];\r
+    unsigned char  DMRSR0;\r
+    char           wk3[3];\r
+    unsigned char  DMRSR1;\r
+    char           wk4[3];\r
+    unsigned char  DMRSR2;\r
+    char           wk5[3];\r
+    unsigned char  DMRSR3;\r
+    char           wk6[3];\r
+    unsigned char  DMRSR4;\r
+    char           wk7[3];\r
+    unsigned char  DMRSR5;\r
+    char           wk8[3];\r
+    unsigned char  DMRSR6;\r
+    char           wk9[3];\r
+    unsigned char  DMRSR7;\r
+    char           wk10[227];\r
+\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char IRQMD:2;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } IRQCR[16];\r
+    char           wk11[16];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FLTEN0:1;\r
+            unsigned char FLTEN1:1;\r
+            unsigned char FLTEN2:1;\r
+            unsigned char FLTEN3:1;\r
+            unsigned char FLTEN4:1;\r
+            unsigned char FLTEN5:1;\r
+            unsigned char FLTEN6:1;\r
+            unsigned char FLTEN7:1;\r
+        } BIT;\r
+    } IRQFLTE0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FLTEN8:1;\r
+            unsigned char FLTEN9:1;\r
+            unsigned char FLTEN10:1;\r
+            unsigned char FLTEN11:1;\r
+            unsigned char FLTEN12:1;\r
+            unsigned char FLTEN13:1;\r
+            unsigned char FLTEN14:1;\r
+            unsigned char FLTEN15:1;\r
+        } BIT;\r
+    } IRQFLTE1;\r
+    char           wk12[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short FCLKSEL0:2;\r
+            unsigned short FCLKSEL1:2;\r
+            unsigned short FCLKSEL2:2;\r
+            unsigned short FCLKSEL3:2;\r
+            unsigned short FCLKSEL4:2;\r
+            unsigned short FCLKSEL5:2;\r
+            unsigned short FCLKSEL6:2;\r
+            unsigned short FCLKSEL7:2;\r
+        } BIT;\r
+    } IRQFLTC0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short FCLKSEL8:2;\r
+            unsigned short FCLKSEL9:2;\r
+            unsigned short FCLKSEL10:2;\r
+            unsigned short FCLKSEL11:2;\r
+            unsigned short FCLKSEL12:2;\r
+            unsigned short FCLKSEL13:2;\r
+            unsigned short FCLKSEL14:2;\r
+            unsigned short FCLKSEL15:2;\r
+        } BIT;\r
+    } IRQFLTC1;\r
+    char           wk13[84];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NMIST:1;\r
+            unsigned char OSTST:1;\r
+            unsigned char WDTST:1;\r
+            unsigned char IWDTST:1;\r
+            unsigned char LVD1ST:1;\r
+            unsigned char LVD2ST:1;\r
+            unsigned char ECCRAMST:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } NMISR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NMIEN:1;\r
+            unsigned char OSTEN:1;\r
+            unsigned char WDTEN:1;\r
+            unsigned char IWDTEN:1;\r
+            unsigned char LVD1EN:1;\r
+            unsigned char LVD2EN:1;\r
+            unsigned char ECCRAMEN:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } NMIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NMICLR:1;\r
+            unsigned char OSTCLR:1;\r
+            unsigned char WDTCLR:1;\r
+            unsigned char IWDTCLR:1;\r
+            unsigned char LVD1CLR:1;\r
+            unsigned char LVD2CLR:1;\r
+            unsigned char ECCRAMCLR:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } NMICLR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char NMIMD:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } NMICR;\r
+    char           wk14[12];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFLTEN:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } NMIFLTE;\r
+    char           wk15[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFCLKSEL:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } NMIFLTC;\r
+    char           wk16[107];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPBE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPBE1;\r
+    char           wk17[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPBL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPBL1;\r
+    char           wk18[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENBE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENBE1;\r
+    char           wk19[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENBL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENBL1;\r
+    char           wk20[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR0:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR31:1;\r
+        } BIT;\r
+    } GCREBE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR0:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR31:1;\r
+        } BIT;\r
+    } GCREBE1;\r
+    char           wk21[120];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR4;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR5;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR6;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR7;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR8;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBR9;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIBRA;\r
+    char           wk22[117];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR128;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR129;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR130;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR131;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR132;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR133;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR134;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR135;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR136;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR137;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR138;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR139;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR140;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR141;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR142;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR143;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR144;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR145;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR146;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR147;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR148;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR149;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR150;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR151;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR152;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR153;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR154;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR155;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR156;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR157;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR158;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR159;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR160;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR161;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR162;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR163;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR164;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR165;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR166;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR167;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR168;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR169;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR170;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR171;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR172;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR173;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR174;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR175;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR176;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR177;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR178;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR179;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR180;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR181;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR182;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR183;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR184;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR185;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR186;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR187;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR188;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR189;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR190;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR191;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR192;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR193;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR194;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR195;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR196;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR197;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR198;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR199;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR200;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR201;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR202;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR203;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR204;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR205;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR206;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR207;\r
+    char           wk23[48];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPAE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPAE1;\r
+    char           wk24[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPAL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS0:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS31:1;\r
+        } BIT;\r
+    } GRPAL1;\r
+    char           wk25[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENAE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENAE1;\r
+    char           wk26[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENAL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN0:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN31:1;\r
+        } BIT;\r
+    } GENAL1;\r
+    char           wk27[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR0:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR31:1;\r
+        } BIT;\r
+    } GCREAE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR0:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR31:1;\r
+        } BIT;\r
+    } GCREAE1;\r
+    char           wk28[120];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR4;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR5;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR6;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR7;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR8;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIAR9;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIARA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR0:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR7:1;\r
+        } BIT;\r
+    } PIARB;\r
+    char           wk29[196];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR208;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR209;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR210;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR211;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR212;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR213;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR214;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR215;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR216;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR217;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR218;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR219;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR220;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR221;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR222;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR223;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR224;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR225;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR226;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR227;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR228;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR229;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR230;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR231;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR232;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR233;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR234;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR235;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR236;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR237;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR238;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR239;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR240;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR241;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR242;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR243;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR244;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR245;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR246;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR247;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR248;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR249;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR250;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR251;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR252;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR253;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR254;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR255;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char WPRC:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SLIPRCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SELEXD0:1;\r
+            unsigned char SELEXD1:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } SELEXDR;\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 TOPS:2;\r
+            unsigned short :2;\r
+            unsigned short CKS:4;\r
+            unsigned short RPES:2;\r
+            unsigned short :2;\r
+            unsigned short RPSS:2;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } IWDTCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CNTVAL:14;\r
+            unsigned short UNDFF:1;\r
+            unsigned short REFEF:1;\r
+        } BIT;\r
+    } IWDTSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char RSTIRQS:1;\r
+        } BIT;\r
+    } IWDTRCR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char SLCSTP:1;\r
+        } BIT;\r
+    } IWDTCSTPR;\r
+};\r
+\r
+struct st_mmc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DATW:2;\r
+            unsigned long :1;\r
+            unsigned long SBIT:1;\r
+            unsigned long :2;\r
+            unsigned long OPDM:1;\r
+            unsigned long TBIT:1;\r
+            unsigned long CRCSTE:1;\r
+            unsigned long BOOTACK:1;\r
+            unsigned long CRC16C:1;\r
+            unsigned long :1;\r
+            unsigned long RCRC7C:2;\r
+            unsigned long RIDXC:2;\r
+            unsigned long CMD12EN:1;\r
+            unsigned long CMLTE:1;\r
+            unsigned long DWEN:1;\r
+            unsigned long WDAT:1;\r
+            unsigned long :1;\r
+            unsigned long RBSY:1;\r
+            unsigned long RTYP:2;\r
+            unsigned long CMD:6;\r
+            unsigned long BOOT:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } CECMDSET;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ARG:32;\r
+        } BIT;\r
+    } CEARG;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long C12ARG:32;\r
+        } BIT;\r
+    } CEARGCMD12;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long BREAK:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } CECMDCTRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long BLKSZ:16;\r
+            unsigned long BLKCNT:16;\r
+        } BIT;\r
+    } CEBLOCKSET;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long SRWDTO:4;\r
+            unsigned long SRBSYTO:4;\r
+            unsigned long SRSTPO:2;\r
+            unsigned long :2;\r
+            unsigned long CLKDIV:4;\r
+            unsigned long :4;\r
+            unsigned long CLKEN:1;\r
+            unsigned long :6;\r
+            unsigned long MMCBUSBSY:1;\r
+        } BIT;\r
+    } CECLKCTRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long ATYP:1;\r
+            unsigned long :7;\r
+            unsigned long DMAREN:1;\r
+            unsigned long DMAWEN:1;\r
+            unsigned long DMATYP:1;\r
+            unsigned long :5;\r
+        } BIT;\r
+    } CEBUFACC;\r
+    unsigned long  CERESP3;\r
+    unsigned long  CERESP2;\r
+    unsigned long  CERESP1;\r
+    unsigned long  CERESP0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSP12:32;\r
+        } BIT;\r
+    } CERESPCMD12;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DATA:32;\r
+        } BIT;\r
+    } CEDATA;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long SBTDATTO:4;\r
+            unsigned long S1STBTDATTO:4;\r
+            unsigned long SBTACKTO:4;\r
+            unsigned long SBTCLKDIV:4;\r
+        } BIT;\r
+    } CEBOOT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPTO:1;\r
+            unsigned long RBSYTO:1;\r
+            unsigned long RDATTO:1;\r
+            unsigned long WDATTO:1;\r
+            unsigned long CRCSTO:1;\r
+            unsigned long :3;\r
+            unsigned long RSPERR:1;\r
+            unsigned long RIDXERR:1;\r
+            unsigned long RDATERR:1;\r
+            unsigned long WDATERR:1;\r
+            unsigned long :2;\r
+            unsigned long BUFVIO:1;\r
+            unsigned long CMDVIO:1;\r
+            unsigned long CRSPE:1;\r
+            unsigned long RBSYE:1;\r
+            unsigned long :2;\r
+            unsigned long BUFREN:1;\r
+            unsigned long BUFWEN:1;\r
+            unsigned long BUFRE:1;\r
+            unsigned long DTRANE:1;\r
+            unsigned long CMD12CRE:1;\r
+            unsigned long CMD12RBE:1;\r
+            unsigned long CMD12DRE:1;\r
+            unsigned long :5;\r
+        } BIT;\r
+    } CEINT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MRSPTO:1;\r
+            unsigned long MRBSYTO:1;\r
+            unsigned long MRDATTO:1;\r
+            unsigned long MWDATTO:1;\r
+            unsigned long MCRCSTO:1;\r
+            unsigned long :3;\r
+            unsigned long MRSPERR:1;\r
+            unsigned long MRIDXERR:1;\r
+            unsigned long MRDATERR:1;\r
+            unsigned long MWDATERR:1;\r
+            unsigned long :2;\r
+            unsigned long MBUFVIO:1;\r
+            unsigned long MCMDVIO:1;\r
+            unsigned long MCRSPE:1;\r
+            unsigned long MRBSYE:1;\r
+            unsigned long :2;\r
+            unsigned long MBUFREN:1;\r
+            unsigned long MBUFWEN:1;\r
+            unsigned long MBUFRE:1;\r
+            unsigned long MDTRANE:1;\r
+            unsigned long MCMD12CRE:1;\r
+            unsigned long MCMD12RBE:1;\r
+            unsigned long MCMD12DRE:1;\r
+            unsigned long :5;\r
+        } BIT;\r
+    } CEINTEN;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RCVBLK:16;\r
+            unsigned long DATSIG:8;\r
+            unsigned long RSPIDX:6;\r
+            unsigned long CMDSIG:1;\r
+            unsigned long CMDSEQ:1;\r
+        } BIT;\r
+    } CEHOSTSTS1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :5;\r
+            unsigned long BTDATTO:1;\r
+            unsigned long STBTDATTO:1;\r
+            unsigned long BTACKTO:1;\r
+            unsigned long STRSPTO:1;\r
+            unsigned long AC12RSPTO:1;\r
+            unsigned long RSPBSYTO:1;\r
+            unsigned long AC12BSYTO:1;\r
+            unsigned long CRCSTTO:1;\r
+            unsigned long DATBSYTO:1;\r
+            unsigned long STRDATTO:1;\r
+            unsigned long :1;\r
+            unsigned long CRCST:3;\r
+            unsigned long :1;\r
+            unsigned long BTACKEBE:1;\r
+            unsigned long BTACKPATE:1;\r
+            unsigned long RSPIDXE:1;\r
+            unsigned long AC12IDXE:1;\r
+            unsigned long RSPEBE:1;\r
+            unsigned long AC12REBE:1;\r
+            unsigned long RDATEBE:1;\r
+            unsigned long CRCSTEBE:1;\r
+            unsigned long RSPCRC7E:1;\r
+            unsigned long AC12CRCE:1;\r
+            unsigned long CRC16E:1;\r
+            unsigned long CRCSTE:1;\r
+        } BIT;\r
+    } CEHOSTSTS2;\r
+    char           wk2[32];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long MCDFALL:1;\r
+            unsigned long MCDRISE:1;\r
+            unsigned long :6;\r
+            unsigned long CDFALL:1;\r
+            unsigned long CDRISE:1;\r
+            unsigned long CDSIG:1;\r
+            unsigned long :17;\r
+        } BIT;\r
+    } CEDETECT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :19;\r
+            unsigned long CLKMAIN:1;\r
+            unsigned long :1;\r
+            unsigned long RESNOUT:1;\r
+            unsigned long :10;\r
+        } BIT;\r
+    } CEADDMODE;\r
+    char           wk3[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VERSION:16;\r
+            unsigned long :15;\r
+            unsigned long SWRST:1;\r
+        } BIT;\r
+    } CEVERSION;\r
+};\r
+\r
+struct st_mpc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CS0E:1;\r
+            unsigned char CS1E:1;\r
+            unsigned char CS2E:1;\r
+            unsigned char CS3E:1;\r
+            unsigned char CS4E:1;\r
+            unsigned char CS5E:1;\r
+            unsigned char CS6E:1;\r
+            unsigned char CS7E:1;\r
+        } BIT;\r
+    } PFCSE;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CS0S:1;\r
+            unsigned char :1;\r
+            unsigned char CS1S:2;\r
+            unsigned char CS2S:2;\r
+            unsigned char CS3S:2;\r
+        } BIT;\r
+    } PFCSS0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CS4S:2;\r
+            unsigned char CS5S:2;\r
+            unsigned char CS6S:2;\r
+            unsigned char CS7S:2;\r
+        } BIT;\r
+    } PFCSS1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char A8E:1;\r
+            unsigned char A9E:1;\r
+            unsigned char A10E:1;\r
+            unsigned char A11E:1;\r
+            unsigned char A12E:1;\r
+            unsigned char A13E:1;\r
+            unsigned char A14E:1;\r
+            unsigned char A15E:1;\r
+        } BIT;\r
+    } PFAOE0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char A16E:1;\r
+            unsigned char A17E:1;\r
+            unsigned char A18E:1;\r
+            unsigned char A19E:1;\r
+            unsigned char A20E:1;\r
+            unsigned char A21E:1;\r
+            unsigned char A22E:1;\r
+            unsigned char A23E:1;\r
+        } BIT;\r
+    } PFAOE1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ADRLE:1;\r
+            unsigned char ADRHMS:1;\r
+            unsigned char :1;\r
+            unsigned char BCLKO:1;\r
+            unsigned char DHE:1;\r
+            unsigned char DH32E:1;\r
+            unsigned char WR1BC1E:1;\r
+            unsigned char WR32BC32E:1;\r
+        } BIT;\r
+    } PFBCR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char WAITS:2;\r
+            unsigned char ALEOE:1;\r
+            unsigned char ALES:1;\r
+            unsigned char MDSDE:1;\r
+            unsigned char :1;\r
+            unsigned char DQM1E:1;\r
+            unsigned char SDCLKE:1;\r
+        } BIT;\r
+    } PFBCR1;\r
+    char           wk1[6];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char PHYMODE0:1;\r
+            unsigned char PHYMODE1:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PFENET;\r
+    char           wk2[16];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char PFSWE:1;\r
+            unsigned char B0WI:1;\r
+        } BIT;\r
+    } PWPR;\r
+    char           wk3[32];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P00PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P01PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P02PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P03PFS;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P05PFS;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P07PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P10PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P11PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P12PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P13PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P14PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P15PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P16PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P17PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P20PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P21PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P22PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P23PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P24PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P25PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P26PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P27PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P30PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P31PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P32PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P33PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P34PFS;\r
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P40PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P41PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P42PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P43PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P44PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P45PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P46PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P47PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P50PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P51PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P52PFS;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P54PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P55PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P56PFS;\r
+    char           wk8[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P60PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P61PFS;\r
+    char           wk9[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P66PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } P67PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P70PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P71PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P72PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P73PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P74PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P75PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P76PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P77PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P80PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P81PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P82PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P83PFS;\r
+    char           wk10[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P86PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } P87PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P90PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P91PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P92PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P93PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P94PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P95PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P96PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } P97PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PA7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PB7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PC7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PD7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char ASEL:1;\r
+        } BIT;\r
+    } PE7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PF0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PF1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PF2PFS;\r
+    char           wk11[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char ISEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PF5PFS;\r
+    char           wk12[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PG7PFS;\r
+    char           wk13[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PJ3PFS;\r
+    char           wk14[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PSEL:6;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PJ5PFS;\r
+};\r
+\r
+struct st_mpu {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE6;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE6;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE7;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long V:1;\r
+            unsigned long UAC:3;\r
+            unsigned long REPN:28;\r
+        } BIT;\r
+    } REPAGE7;\r
+    char           wk0[192];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MPEN:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } MPEN;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long UBAC:3;\r
+            unsigned long :28;\r
+        } BIT;\r
+    } MPBAC;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } MPECLR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IA:1;\r
+            unsigned long DA:1;\r
+            unsigned long DRW:1;\r
+            unsigned long :29;\r
+        } BIT;\r
+    } MPESTS;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DEA:32;\r
+        } BIT;\r
+    } MPDEA;\r
+    char           wk2[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SA:32;\r
+        } BIT;\r
+    } MPSA;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short S:1;\r
+            unsigned short :15;\r
+        } BIT;\r
+    } MPOPS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short INV:1;\r
+            unsigned short :15;\r
+        } BIT;\r
+    } MPOPI;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long UHACI:3;\r
+            unsigned long :12;\r
+            unsigned long HITI:8;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } MHITI;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long UHACD:3;\r
+            unsigned long :12;\r
+            unsigned long HITD:8;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } MHITD;\r
+};\r
+\r
+struct st_mtu {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OE3B:1;\r
+            unsigned char OE4A:1;\r
+            unsigned char OE4B:1;\r
+            unsigned char OE3D:1;\r
+            unsigned char OE4C:1;\r
+            unsigned char OE4D:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TOERA;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char UF:1;\r
+            unsigned char VF:1;\r
+            unsigned char WF:1;\r
+            unsigned char FB:1;\r
+            unsigned char P:1;\r
+            unsigned char N:1;\r
+            unsigned char BDC:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TGCRA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OLSP:1;\r
+            unsigned char OLSN:1;\r
+            unsigned char TOCS:1;\r
+            unsigned char TOCL:1;\r
+            unsigned char :2;\r
+            unsigned char PSYE:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TOCR1A;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OLS1P:1;\r
+            unsigned char OLS1N:1;\r
+            unsigned char OLS2P:1;\r
+            unsigned char OLS2N:1;\r
+            unsigned char OLS3P:1;\r
+            unsigned char OLS3N:1;\r
+            unsigned char BF:2;\r
+        } BIT;\r
+    } TOCR2A;\r
+    char           wk1[4];\r
+    unsigned short TCDRA;\r
+    unsigned short TDDRA;\r
+    char           wk2[8];\r
+    unsigned short TCNTSA;\r
+    unsigned short TCBRA;\r
+    char           wk3[12];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char T4VCOR:3;\r
+            unsigned char T4VEN:1;\r
+            unsigned char T3ACOR:3;\r
+            unsigned char T3AEN:1;\r
+        } BIT;\r
+    } TITCR1A;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char T4VCNT:3;\r
+            unsigned char :1;\r
+            unsigned char T3ACNT:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TITCNT1A;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BTE:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TBTERA;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TDER:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TDERA;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OLS1P:1;\r
+            unsigned char OLS1N:1;\r
+            unsigned char OLS2P:1;\r
+            unsigned char OLS2N:1;\r
+            unsigned char OLS3P:1;\r
+            unsigned char OLS3N:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TOLBRA;\r
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TITM:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TITMRA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TRG4COR:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TITCR2A;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TRG4CNT:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TITCNT2A;\r
+    char           wk7[35];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char WRE:1;\r
+            unsigned char SCC:1;\r
+            unsigned char :5;\r
+            unsigned char CCE:1;\r
+        } BIT;\r
+    } TWCRA;\r
+    char           wk8[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DRS:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TMDR2A;\r
+    char           wk9[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CST0:1;\r
+            unsigned char CST1:1;\r
+            unsigned char CST2:1;\r
+            unsigned char CST8:1;\r
+            unsigned char :2;\r
+            unsigned char CST3:1;\r
+            unsigned char CST4:1;\r
+        } BIT;\r
+    } TSTRA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SYNC0:1;\r
+            unsigned char SYNC1:1;\r
+            unsigned char SYNC2:1;\r
+            unsigned char :3;\r
+            unsigned char SYNC3:1;\r
+            unsigned char SYNC4:1;\r
+        } BIT;\r
+    } TSYRA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SCH7:1;\r
+            unsigned char SCH6:1;\r
+            unsigned char :1;\r
+            unsigned char SCH4:1;\r
+            unsigned char SCH3:1;\r
+            unsigned char SCH2:1;\r
+            unsigned char SCH1:1;\r
+            unsigned char SCH0:1;\r
+        } BIT;\r
+    } TCSYSTR;\r
+    char           wk10[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RWE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TRWERA;\r
+    char           wk11[1925];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OE6B:1;\r
+            unsigned char OE7A:1;\r
+            unsigned char OE7B:1;\r
+            unsigned char OE6D:1;\r
+            unsigned char OE7C:1;\r
+            unsigned char OE7D:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TOERB;\r
+    char           wk12[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OLSP:1;\r
+            unsigned char OLSN:1;\r
+            unsigned char TOCS:1;\r
+            unsigned char TOCL:1;\r
+            unsigned char :2;\r
+            unsigned char PSYE:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TOCR1B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OLS1P:1;\r
+            unsigned char OLS1N:1;\r
+            unsigned char OLS2P:1;\r
+            unsigned char OLS2N:1;\r
+            unsigned char OLS3P:1;\r
+            unsigned char OLS3N:1;\r
+            unsigned char BF:2;\r
+        } BIT;\r
+    } TOCR2B;\r
+    char           wk13[4];\r
+    unsigned short TCDRB;\r
+    unsigned short TDDRB;\r
+    char           wk14[8];\r
+    unsigned short TCNTSB;\r
+    unsigned short TCBRB;\r
+    char           wk15[12];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char T7VCOR:3;\r
+            unsigned char T7VEN:1;\r
+            unsigned char T6ACOR:3;\r
+            unsigned char T6AEN:1;\r
+        } BIT;\r
+    } TITCR1B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char T7VCNT:3;\r
+            unsigned char :1;\r
+            unsigned char T6ACNT:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TITCNT1B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BTE:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TBTERB;\r
+    char           wk16[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TDER:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TDERB;\r
+    char           wk17[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OLS1P:1;\r
+            unsigned char OLS1N:1;\r
+            unsigned char OLS2P:1;\r
+            unsigned char OLS2N:1;\r
+            unsigned char OLS3P:1;\r
+            unsigned char OLS3N:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TOLBRB;\r
+    char           wk18[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TITM:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TITMRB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TRG7COR:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TITCR2B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TRG7CNT:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TITCNT2B;\r
+    char           wk19[35];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char WRE:1;\r
+            unsigned char SCC:1;\r
+            unsigned char :5;\r
+            unsigned char CCE:1;\r
+        } BIT;\r
+    } TWCRB;\r
+    char           wk20[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DRS:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TMDR2B;\r
+    char           wk21[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char CST6:1;\r
+            unsigned char CST7:1;\r
+        } BIT;\r
+    } TSTRB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char SYNC6:1;\r
+            unsigned char SYNC7:1;\r
+        } BIT;\r
+    } TSYRB;\r
+    char           wk22[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RWE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TRWERB;\r
+};\r
+\r
+struct st_mtu0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR0;\r
+    char           wk0[8];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCRC;\r
+    char           wk1[102];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char BFE:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TMDR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char :2;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :3;\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           wk2[16];\r
+    unsigned short TGRE;\r
+    unsigned short TGRF;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEE:1;\r
+            unsigned char TGIEF:1;\r
+            unsigned char :5;\r
+            unsigned char TTGE2:1;\r
+        } BIT;\r
+    } TIER2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFE:1;\r
+            unsigned char TGFF:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TSR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TTSA:1;\r
+            unsigned char TTSB:1;\r
+            unsigned char TTSE:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCR2;\r
+};\r
+\r
+struct st_mtu1 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR1;\r
+    char           wk1[238];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:2;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } TMDR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIOR;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char :2;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char :2;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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 I1AE:1;\r
+            unsigned char I1BE:1;\r
+            unsigned char I2AE:1;\r
+            unsigned char I2BE:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } TICCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LWA:1;\r
+            unsigned char PHCKSEL:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TMDR3;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char PCB:2;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk5[11];\r
+    unsigned long  TCNTLW;\r
+    unsigned long  TGRALW;\r
+    unsigned long  TGRBLW;\r
+};\r
+\r
+struct st_mtu2 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR2;\r
+    char           wk0[365];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:2;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } TMDR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIOR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char :2;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char :2;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\r
+            unsigned char TCFD:1;\r
+        } BIT;\r
+    } TSR;\r
+    unsigned short TCNT;\r
+    unsigned short TGRA;\r
+    unsigned short TGRB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char PCB:2;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TCR2;\r
+};\r
+\r
+struct st_mtu3 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TMDR1;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char :2;\r
+            unsigned char TTGE: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 TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :2;\r
+            unsigned char TCFD:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk7[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TTSA:1;\r
+            unsigned char TTSB:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk8[19];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk9[37];\r
+    unsigned short TGRE;\r
+    char           wk10[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR3;\r
+};\r
+\r
+struct st_mtu4 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TMDR1;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE2:1;\r
+            unsigned char TTGE: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 TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :2;\r
+            unsigned char TCFD:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk8[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TTSA:1;\r
+            unsigned char TTSB:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk9[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ITB4VE:1;\r
+            unsigned short ITB3AE:1;\r
+            unsigned short ITA4VE:1;\r
+            unsigned short ITA3AE:1;\r
+            unsigned short DT4BE:1;\r
+            unsigned short UT4BE:1;\r
+            unsigned short DT4AE:1;\r
+            unsigned short UT4AE:1;\r
+            unsigned short :6;\r
+            unsigned short BF:2;\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[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk12[38];\r
+    unsigned short TGRE;\r
+    unsigned short TGRF;\r
+    char           wk13[28];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR4;\r
+};\r
+\r
+struct st_mtu5 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFUEN:1;\r
+            unsigned char NFVEN:1;\r
+            unsigned char NFWEN:1;\r
+            unsigned char :1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR5;\r
+    char           wk1[2538];\r
+    unsigned short TCNTU;\r
+    unsigned short TGRU;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TCRU;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TCR2U;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TIORU;\r
+    char           wk2[9];\r
+    unsigned short TCNTV;\r
+    unsigned short TGRV;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TCRV;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TCR2V;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:5;\r
+            unsigned char :3;\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 TPSC:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TCRW;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TCR2W;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TIORW;\r
+    char           wk4[9];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMFW5:1;\r
+            unsigned char CMFV5:1;\r
+            unsigned char CMFU5:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIE5W:1;\r
+            unsigned char TGIE5V:1;\r
+            unsigned char TGIE5U:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TIER;\r
+    char           wk6[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CSTW5:1;\r
+            unsigned char CSTV5:1;\r
+            unsigned char CSTU5:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TSTR;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMPCLR5W:1;\r
+            unsigned char CMPCLR5V:1;\r
+            unsigned char CMPCLR5U:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCNTCMPCLR;\r
+};\r
+\r
+struct st_mtu6 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR6;\r
+    char           wk1[1884];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TMDR1;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char :2;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    char           wk5[7];\r
+    unsigned short TCNT;\r
+    char           wk6[6];\r
+    unsigned short TGRA;\r
+    unsigned short TGRB;\r
+    char           wk7[8];\r
+    unsigned short TGRC;\r
+    unsigned short TGRD;\r
+    char           wk8[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :2;\r
+            unsigned char TCFD:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk9[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TTSA:1;\r
+            unsigned char TTSB:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk10[19];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk11[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CE2B:1;\r
+            unsigned char CE2A:1;\r
+            unsigned char CE1B:1;\r
+            unsigned char CE1A:1;\r
+            unsigned char CE0D:1;\r
+            unsigned char CE0C:1;\r
+            unsigned char CE0B:1;\r
+            unsigned char CE0A:1;\r
+        } BIT;\r
+    } TSYCR;\r
+    char           wk12[33];\r
+    unsigned short TGRE;\r
+};\r
+\r
+struct st_mtu7 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR7;\r
+    char           wk0[1884];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TMDR1;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE2:1;\r
+            unsigned char TTGE: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 TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :2;\r
+            unsigned char TCFD:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk8[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TTSA:1;\r
+            unsigned char TTSB:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk9[6];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ITB7VE:1;\r
+            unsigned short ITB6AE:1;\r
+            unsigned short ITA7VE:1;\r
+            unsigned short ITA6AE:1;\r
+            unsigned short DT7BE:1;\r
+            unsigned short UT7BE:1;\r
+            unsigned short DT7AE:1;\r
+            unsigned short UT7AE:1;\r
+            unsigned short :6;\r
+            unsigned short BF:2;\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[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk12[38];\r
+    unsigned short TGRE;\r
+    unsigned short TGRF;\r
+};\r
+\r
+struct st_mtu8 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR8;\r
+    char           wk0[871];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TMDR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC2:3;\r
+            unsigned char PCB:2;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk1[1];\r
+    unsigned long  TCNT;\r
+    unsigned long  TGRA;\r
+    unsigned long  TGRB;\r
+    unsigned long  TGRC;\r
+    unsigned long  TGRD;\r
+};\r
+\r
+struct st_pdc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PCKE:1;\r
+            unsigned long VPS:1;\r
+            unsigned long HPS:1;\r
+            unsigned long PRST:1;\r
+            unsigned long DFIE:1;\r
+            unsigned long FEIE:1;\r
+            unsigned long OVIE:1;\r
+            unsigned long UDRIE:1;\r
+            unsigned long VERIE:1;\r
+            unsigned long HERIE:1;\r
+            unsigned long PCKOE:1;\r
+            unsigned long PCKDIV:3;\r
+            unsigned long EDS:1;\r
+            unsigned long :17;\r
+        } BIT;\r
+    } PCCR0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PCE:1;\r
+            unsigned long :31;\r
+        } BIT;\r
+    } PCCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long FBSY:1;\r
+            unsigned long FEMPF:1;\r
+            unsigned long FEF:1;\r
+            unsigned long OVRF:1;\r
+            unsigned long UDRF:1;\r
+            unsigned long VERF:1;\r
+            unsigned long HERF:1;\r
+            unsigned long :25;\r
+        } BIT;\r
+    } PCSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VSYNC:1;\r
+            unsigned long HSYNC:1;\r
+            unsigned long :30;\r
+        } BIT;\r
+    } PCMONR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long B0:1;\r
+            unsigned long B1:1;\r
+            unsigned long B2:1;\r
+            unsigned long B3:1;\r
+            unsigned long B4:1;\r
+            unsigned long B5:1;\r
+            unsigned long B6:1;\r
+            unsigned long B7:1;\r
+            unsigned long B8:1;\r
+            unsigned long B9:1;\r
+            unsigned long B10:1;\r
+            unsigned long B11:1;\r
+            unsigned long B12:1;\r
+            unsigned long B13:1;\r
+            unsigned long B14:1;\r
+            unsigned long B15:1;\r
+            unsigned long B16:1;\r
+            unsigned long B17:1;\r
+            unsigned long B18:1;\r
+            unsigned long B19:1;\r
+            unsigned long B20:1;\r
+            unsigned long B21:1;\r
+            unsigned long B22:1;\r
+            unsigned long B23:1;\r
+            unsigned long B24:1;\r
+            unsigned long B25:1;\r
+            unsigned long B26:1;\r
+            unsigned long B27:1;\r
+            unsigned long B28:1;\r
+            unsigned long B29:1;\r
+            unsigned long B30:1;\r
+            unsigned long B31:1;\r
+        } BIT;\r
+    } PCDR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VST:12;\r
+            unsigned long :4;\r
+            unsigned long VSZ:12;\r
+            unsigned long :4;\r
+        } BIT;\r
+    } VCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long HST:12;\r
+            unsigned long :4;\r
+            unsigned long HSZ:12;\r
+            unsigned long :4;\r
+        } BIT;\r
+    } HCR;\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 POE0M:2;\r
+            unsigned char :6;\r
+            unsigned char PIE1:1;\r
+            unsigned char :3;\r
+            unsigned char POE0F:1;\r
+            unsigned char :3;\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 :8;\r
+            unsigned char OIE1:1;\r
+            unsigned char OCE1:1;\r
+            unsigned char :5;\r
+            unsigned char OSF1:1;\r
+        } BIT;\r
+    } OCSR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char POE4M:2;\r
+            unsigned char :6;\r
+            unsigned char PIE2:1;\r
+            unsigned char :3;\r
+            unsigned char POE4F:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICSR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char OIE2:1;\r
+            unsigned char OCE2:1;\r
+            unsigned char :5;\r
+            unsigned char OSF2:1;\r
+        } BIT;\r
+    } OCSR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char POE8M:2;\r
+            unsigned char :6;\r
+            unsigned char PIE3:1;\r
+            unsigned char POE8E:1;\r
+            unsigned char :2;\r
+            unsigned char POE8F:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICSR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MTUCH34HIZ:1;\r
+            unsigned char MTUCH67HIZ:1;\r
+            unsigned char MTUCH0HIZ:1;\r
+            unsigned char GPT01HIZ:1;\r
+            unsigned char GPT23HIZ:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } SPOER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MTU0AZE:1;\r
+            unsigned char MTU0BZE:1;\r
+            unsigned char MTU0CZE:1;\r
+            unsigned char MTU0DZE:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } POECR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MTU7BDZE:1;\r
+            unsigned short MTU7ACZE:1;\r
+            unsigned short MTU6BDZE:1;\r
+            unsigned short :5;\r
+            unsigned short MTU4BDZE:1;\r
+            unsigned short MTU4ACZE:1;\r
+            unsigned short MTU3BDZE:1;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } POECR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short GPT0ABZE:1;\r
+            unsigned short GPT1ABZE:1;\r
+            unsigned short :6;\r
+            unsigned short GPT2ABZE:1;\r
+            unsigned short GPT3ABZE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } POECR3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short IC2ADDMT34ZE:1;\r
+            unsigned short IC3ADDMT34ZE:1;\r
+            unsigned short IC4ADDMT34ZE:1;\r
+            unsigned short IC5ADDMT34ZE:1;\r
+            unsigned short :3;\r
+            unsigned short IC1ADDMT67ZE:1;\r
+            unsigned short :1;\r
+            unsigned short IC3ADDMT67ZE:1;\r
+            unsigned short IC4ADDMT67ZE:1;\r
+            unsigned short IC5ADDMT67ZE:1;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } POECR4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short IC1ADDMT0ZE:1;\r
+            unsigned short IC2ADDMT0ZE:1;\r
+            unsigned short :1;\r
+            unsigned short IC4ADDMT0ZE:1;\r
+            unsigned short IC5ADDMT0ZE:1;\r
+            unsigned short :10;\r
+        } BIT;\r
+    } POECR5;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short IC1ADDGPT01ZE:1;\r
+            unsigned short IC2ADDGPT01Z:1;\r
+            unsigned short IC3ADDGPT01ZE:1;\r
+            unsigned short :1;\r
+            unsigned short IC5ADDGPT01ZE:1;\r
+            unsigned short :3;\r
+            unsigned short IC1ADDGPT23ZE:1;\r
+            unsigned short IC2ADDGPT23Z:1;\r
+            unsigned short IC3ADDGPT23ZE:1;\r
+            unsigned short IC4ADDGPT23ZE:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } POECR6;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char POE10M:2;\r
+            unsigned char :6;\r
+            unsigned char PIE4:1;\r
+            unsigned char POE10E:1;\r
+            unsigned char :2;\r
+            unsigned char POE10F:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICSR4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char POE11M:2;\r
+            unsigned char :6;\r
+            unsigned char PIE5:1;\r
+            unsigned char POE11E:1;\r
+            unsigned char :2;\r
+            unsigned char POE11F:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICSR5;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char OLSG0A:1;\r
+            unsigned char OLSG0B:1;\r
+            unsigned char OLSG1A:1;\r
+            unsigned char OLSG1B:1;\r
+            unsigned char OLSG2A:1;\r
+            unsigned char OLSG2B:1;\r
+            unsigned char :1;\r
+            unsigned char OLSEN:1;\r
+            unsigned char :8;\r
+        } BIT;\r
+    } ALR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :8;\r
+            unsigned char :1;\r
+            unsigned char OSTSTE:1;\r
+            unsigned char :2;\r
+            unsigned char OSTSTF:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICSR6;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G0ASEL:4;\r
+            unsigned char G0BSEL:4;\r
+        } BIT;\r
+    } G0SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G1ASEL:4;\r
+            unsigned char G1BSEL:4;\r
+        } BIT;\r
+    } G1SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G2ASEL:4;\r
+            unsigned char G2BSEL:4;\r
+        } BIT;\r
+    } G2SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G3ASEL:4;\r
+            unsigned char G3BSEL:4;\r
+        } BIT;\r
+    } G3SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M0ASEL:4;\r
+            unsigned char M0BSEL:4;\r
+        } BIT;\r
+    } M0SELR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M0CSEL:4;\r
+            unsigned char M0DSEL:4;\r
+        } BIT;\r
+    } M0SELR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M3BSEL:4;\r
+            unsigned char M3DSEL:4;\r
+        } BIT;\r
+    } M3SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M4ASEL:4;\r
+            unsigned char M4CSEL:4;\r
+        } BIT;\r
+    } M4SELR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M4BSEL:4;\r
+            unsigned char M4DSEL:4;\r
+        } BIT;\r
+    } M4SELR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M4G0SEL:1;\r
+            unsigned char M4G1SEL:1;\r
+            unsigned char M4G2SEL:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } MGSELR;\r
+};\r
+\r
+struct st_port0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char B2:1;\r
+            unsigned char :3;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[62];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_port1 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[32];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[61];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_port2 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[33];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[60];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\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 B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[34];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[59];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_port4 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[35];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[58];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_port5 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[36];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[57];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char :3;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_port6 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[37];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[56];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_port7 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[38];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[55];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_port8 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :2;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :2;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :2;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :2;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[39];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[54];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char :2;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_port9 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[40];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[53];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_porta {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[41];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[52];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_portb {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[42];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[51];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_portc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[43];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[50];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_portd {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[44];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[49];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_porte {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[45];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[48];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_portf {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[46];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[47];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_portg {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[47];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char :1;\r
+            unsigned char B2:1;\r
+            unsigned char :1;\r
+            unsigned char B4:1;\r
+            unsigned char :1;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[46];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char B2:1;\r
+            unsigned char B3:1;\r
+            unsigned char B4:1;\r
+            unsigned char B5:1;\r
+            unsigned char B6:1;\r
+            unsigned char B7:1;\r
+        } BIT;\r
+    } PCR;\r
+    char           wk5[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0:1;\r
+            unsigned char B1:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } DSCR;\r
+};\r
+\r
+struct st_portj {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PDR;\r
+    char           wk0[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PODR;\r
+    char           wk1[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PIDR;\r
+    char           wk2[31];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PMR;\r
+    char           wk3[49];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char B6:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ODR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char B2:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } ODR1;\r
+    char           wk4[44];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char B3:1;\r
+            unsigned char :1;\r
+            unsigned char B5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } PCR;\r
+};\r
+\r
+struct st_ppg0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G0CMS:2;\r
+            unsigned char G1CMS:2;\r
+            unsigned char G2CMS:2;\r
+            unsigned char G3CMS:2;\r
+        } BIT;\r
+    } PCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G0NOV:1;\r
+            unsigned char G1NOV:1;\r
+            unsigned char G2NOV:1;\r
+            unsigned char G3NOV:1;\r
+            unsigned char G0INV:1;\r
+            unsigned char G1INV:1;\r
+            unsigned char G2INV:1;\r
+            unsigned char G3INV:1;\r
+        } BIT;\r
+    } PMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDER8:1;\r
+            unsigned char NDER9:1;\r
+            unsigned char NDER10:1;\r
+            unsigned char NDER11:1;\r
+            unsigned char NDER12:1;\r
+            unsigned char NDER13:1;\r
+            unsigned char NDER14:1;\r
+            unsigned char NDER15:1;\r
+        } BIT;\r
+    } NDERH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDER0:1;\r
+            unsigned char NDER1:1;\r
+            unsigned char NDER2:1;\r
+            unsigned char NDER3:1;\r
+            unsigned char NDER4:1;\r
+            unsigned char NDER5:1;\r
+            unsigned char NDER6:1;\r
+            unsigned char NDER7:1;\r
+        } BIT;\r
+    } NDERL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char POD8:1;\r
+            unsigned char POD9:1;\r
+            unsigned char POD10:1;\r
+            unsigned char POD11:1;\r
+            unsigned char POD12:1;\r
+            unsigned char POD13:1;\r
+            unsigned char POD14:1;\r
+            unsigned char POD15:1;\r
+        } BIT;\r
+    } PODRH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char POD0:1;\r
+            unsigned char POD1:1;\r
+            unsigned char POD2:1;\r
+            unsigned char POD3:1;\r
+            unsigned char POD4:1;\r
+            unsigned char POD5:1;\r
+            unsigned char POD6:1;\r
+            unsigned char POD7:1;\r
+        } BIT;\r
+    } PODRL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR8:1;\r
+            unsigned char NDR9:1;\r
+            unsigned char NDR10:1;\r
+            unsigned char NDR11:1;\r
+            unsigned char NDR12:1;\r
+            unsigned char NDR13:1;\r
+            unsigned char NDR14:1;\r
+            unsigned char NDR15:1;\r
+        } BIT;\r
+    } NDRH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR0:1;\r
+            unsigned char NDR1:1;\r
+            unsigned char NDR2:1;\r
+            unsigned char NDR3:1;\r
+            unsigned char NDR4:1;\r
+            unsigned char NDR5:1;\r
+            unsigned char NDR6:1;\r
+            unsigned char NDR7:1;\r
+        } BIT;\r
+    } NDRL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR8:1;\r
+            unsigned char NDR9:1;\r
+            unsigned char NDR10:1;\r
+            unsigned char NDR11:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } NDRH2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR0:1;\r
+            unsigned char NDR1:1;\r
+            unsigned char NDR2:1;\r
+            unsigned char NDR3:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } NDRL2;\r
+};\r
+\r
+struct st_ppg1 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PTRSL:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } PTRSLR;\r
+    char           wk0[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G0CMS:2;\r
+            unsigned char G1CMS:2;\r
+            unsigned char G2CMS:2;\r
+            unsigned char G3CMS:2;\r
+        } BIT;\r
+    } PCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G0NOV:1;\r
+            unsigned char G1NOV:1;\r
+            unsigned char G2NOV:1;\r
+            unsigned char G3NOV:1;\r
+            unsigned char G0INV:1;\r
+            unsigned char G1INV:1;\r
+            unsigned char G2INV:1;\r
+            unsigned char G3INV:1;\r
+        } BIT;\r
+    } PMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDER24:1;\r
+            unsigned char NDER25:1;\r
+            unsigned char NDER26:1;\r
+            unsigned char NDER27:1;\r
+            unsigned char NDER28:1;\r
+            unsigned char NDER29:1;\r
+            unsigned char NDER30:1;\r
+            unsigned char NDER31:1;\r
+        } BIT;\r
+    } NDERH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDER16:1;\r
+            unsigned char NDER17:1;\r
+            unsigned char NDER18:1;\r
+            unsigned char NDER19:1;\r
+            unsigned char NDER20:1;\r
+            unsigned char NDER21:1;\r
+            unsigned char NDER22:1;\r
+            unsigned char NDER23:1;\r
+        } BIT;\r
+    } NDERL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char POD24:1;\r
+            unsigned char POD25:1;\r
+            unsigned char POD26:1;\r
+            unsigned char POD27:1;\r
+            unsigned char POD28:1;\r
+            unsigned char POD29:1;\r
+            unsigned char POD30:1;\r
+            unsigned char POD31:1;\r
+        } BIT;\r
+    } PODRH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char POD16:1;\r
+            unsigned char POD17:1;\r
+            unsigned char POD18:1;\r
+            unsigned char POD19:1;\r
+            unsigned char POD20:1;\r
+            unsigned char POD21:1;\r
+            unsigned char POD22:1;\r
+            unsigned char POD23:1;\r
+        } BIT;\r
+    } PODRL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR24:1;\r
+            unsigned char NDR25:1;\r
+            unsigned char NDR26:1;\r
+            unsigned char NDR27:1;\r
+            unsigned char NDR28:1;\r
+            unsigned char NDR29:1;\r
+            unsigned char NDR30:1;\r
+            unsigned char NDR31:1;\r
+        } BIT;\r
+    } NDRH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR16:1;\r
+            unsigned char NDR17:1;\r
+            unsigned char NDR18:1;\r
+            unsigned char NDR19:1;\r
+            unsigned char NDR20:1;\r
+            unsigned char NDR21:1;\r
+            unsigned char NDR22:1;\r
+            unsigned char NDR23:1;\r
+        } BIT;\r
+    } NDRL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR24:1;\r
+            unsigned char NDR25:1;\r
+            unsigned char NDR26:1;\r
+            unsigned char NDR27:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } NDRH2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NDR16:1;\r
+            unsigned char NDR17:1;\r
+            unsigned char NDR18:1;\r
+            unsigned char NDR19:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } NDRL2;\r
+};\r
+\r
+struct st_qspi {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char SPSSLIE:1;\r
+            unsigned char :3;\r
+            unsigned char SPTIE:1;\r
+            unsigned char SPE:1;\r
+            unsigned char SPRIE:1;\r
+        } BIT;\r
+    } SPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SSLP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SSLP;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPLP:1;\r
+            unsigned char IO2FV:1;\r
+            unsigned char IO3FV:1;\r
+            unsigned char :1;\r
+            unsigned char MOIFV:1;\r
+            unsigned char MOIFE:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SPPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char SPSSLF:1;\r
+            unsigned char SPTEF:1;\r
+            unsigned char TREND:1;\r
+            unsigned char SPRFF:1;\r
+        } BIT;\r
+    } SPSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SPD0:1;\r
+            unsigned long SPD1:1;\r
+            unsigned long SPD2:1;\r
+            unsigned long SPD3:1;\r
+            unsigned long SPD4:1;\r
+            unsigned long SPD5:1;\r
+            unsigned long SPD6:1;\r
+            unsigned long SPD7:1;\r
+            unsigned long SPD8:1;\r
+            unsigned long SPD9:1;\r
+            unsigned long SPD10:1;\r
+            unsigned long SPD11:1;\r
+            unsigned long SPD12:1;\r
+            unsigned long SPD13:1;\r
+            unsigned long SPD14:1;\r
+            unsigned long SPD15:1;\r
+            unsigned long SPD16:1;\r
+            unsigned long SPD17:1;\r
+            unsigned long SPD18:1;\r
+            unsigned long SPD19:1;\r
+            unsigned long SPD20:1;\r
+            unsigned long SPD21:1;\r
+            unsigned long SPD22:1;\r
+            unsigned long SPD23:1;\r
+            unsigned long SPD24:1;\r
+            unsigned long SPD25:1;\r
+            unsigned long SPD26:1;\r
+            unsigned long SPD27:1;\r
+            unsigned long SPD28:1;\r
+            unsigned long SPD29:1;\r
+            unsigned long SPD30:1;\r
+            unsigned long SPD31:1;\r
+        } BIT;\r
+    } SPDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPSC:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } SPSCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPSS:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } SPSSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPBR0:1;\r
+            unsigned char SPBR1:1;\r
+            unsigned char SPBR2:1;\r
+            unsigned char SPBR3:1;\r
+            unsigned char SPBR4:1;\r
+            unsigned char SPBR5:1;\r
+            unsigned char SPBR6:1;\r
+            unsigned char SPBR7:1;\r
+        } BIT;\r
+    } SPBR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char TXDMY:1;\r
+        } BIT;\r
+    } SPDCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SCKDL:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SPCKD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLNDL:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SSLND;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPNDL:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SPND;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SPRW:1;\r
+            unsigned short SPIMOD:2;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SPRW:1;\r
+            unsigned short SPIMOD:2;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SPRW:1;\r
+            unsigned short SPIMOD:2;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SPRW:1;\r
+            unsigned short SPIMOD:2;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RXTRG:3;\r
+            unsigned char TXTRGEX:1;\r
+            unsigned char TXTRG:2;\r
+            unsigned char RXRST:1;\r
+            unsigned char TXRST:1;\r
+        } BIT;\r
+    } SPBFCR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RXBC:6;\r
+            unsigned short :2;\r
+            unsigned short TXBC:6;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } SPBDCR;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL0;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL1;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL2;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL3;\r
+};\r
+\r
+struct st_riic0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SDAI:1;\r
+            unsigned char SCLI:1;\r
+            unsigned char SDAO:1;\r
+            unsigned char SCLO:1;\r
+            unsigned char SOWP:1;\r
+            unsigned char CLO:1;\r
+            unsigned char IICRST:1;\r
+            unsigned char ICE:1;\r
+        } BIT;\r
+    } ICCR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ST:1;\r
+            unsigned char RS:1;\r
+            unsigned char SP:1;\r
+            unsigned char :1;\r
+            unsigned char TRS:1;\r
+            unsigned char MST:1;\r
+            unsigned char BBSY:1;\r
+        } BIT;\r
+    } ICCR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BC:3;\r
+            unsigned char BCWP:1;\r
+            unsigned char CKS:3;\r
+            unsigned char MTWP:1;\r
+        } BIT;\r
+    } ICMR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOS:1;\r
+            unsigned char TMOL:1;\r
+            unsigned char TMOH:1;\r
+            unsigned char :1;\r
+            unsigned char SDDL:3;\r
+            unsigned char DLCS:1;\r
+        } BIT;\r
+    } ICMR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NF:2;\r
+            unsigned char ACKBR:1;\r
+            unsigned char ACKBT:1;\r
+            unsigned char ACKWP:1;\r
+            unsigned char RDRFS:1;\r
+            unsigned char WAIT:1;\r
+            unsigned char SMBS:1;\r
+        } BIT;\r
+    } ICMR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOE:1;\r
+            unsigned char MALE:1;\r
+            unsigned char NALE:1;\r
+            unsigned char SALE:1;\r
+            unsigned char NACKE:1;\r
+            unsigned char NFE:1;\r
+            unsigned char SCLE:1;\r
+            unsigned char FMPE:1;\r
+        } BIT;\r
+    } ICFER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SAR0E:1;\r
+            unsigned char SAR1E:1;\r
+            unsigned char SAR2E:1;\r
+            unsigned char GCAE:1;\r
+            unsigned char :1;\r
+            unsigned char DIDE:1;\r
+            unsigned char :1;\r
+            unsigned char HOAE:1;\r
+        } BIT;\r
+    } ICSER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOIE:1;\r
+            unsigned char ALIE:1;\r
+            unsigned char STIE:1;\r
+            unsigned char SPIE:1;\r
+            unsigned char NAKIE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TEIE:1;\r
+            unsigned char TIE:1;\r
+        } BIT;\r
+    } ICIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char AAS0:1;\r
+            unsigned char AAS1:1;\r
+            unsigned char AAS2:1;\r
+            unsigned char GCA:1;\r
+            unsigned char :1;\r
+            unsigned char DID:1;\r
+            unsigned char :1;\r
+            unsigned char HOA:1;\r
+        } BIT;\r
+    } ICSR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOF:1;\r
+            unsigned char AL:1;\r
+            unsigned char START:1;\r
+            unsigned char STOP:1;\r
+            unsigned char NACKF:1;\r
+            unsigned char RDRF:1;\r
+            unsigned char TEND:1;\r
+            unsigned char TDRE:1;\r
+        } BIT;\r
+    } ICSR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SVA0:1;\r
+            unsigned char SVA:7;\r
+        } BIT;\r
+    } SARL0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FS:1;\r
+            unsigned char SVA:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SARU0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SVA0:1;\r
+            unsigned char SVA:7;\r
+        } BIT;\r
+    } SARL1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FS:1;\r
+            unsigned char SVA:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SARU1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SVA0:1;\r
+            unsigned char SVA:7;\r
+        } BIT;\r
+    } SARL2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FS:1;\r
+            unsigned char SVA:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SARU2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BRL:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICBRL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BRH:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICBRH;\r
+    unsigned char  ICDRT;\r
+    unsigned char  ICDRR;\r
+};\r
+\r
+struct st_riic2 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SDAI:1;\r
+            unsigned char SCLI:1;\r
+            unsigned char SDAO:1;\r
+            unsigned char SCLO:1;\r
+            unsigned char SOWP:1;\r
+            unsigned char CLO:1;\r
+            unsigned char IICRST:1;\r
+            unsigned char ICE:1;\r
+        } BIT;\r
+    } ICCR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ST:1;\r
+            unsigned char RS:1;\r
+            unsigned char SP:1;\r
+            unsigned char :1;\r
+            unsigned char TRS:1;\r
+            unsigned char MST:1;\r
+            unsigned char BBSY:1;\r
+        } BIT;\r
+    } ICCR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BC:3;\r
+            unsigned char BCWP:1;\r
+            unsigned char CKS:3;\r
+            unsigned char MTWP:1;\r
+        } BIT;\r
+    } ICMR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOS:1;\r
+            unsigned char TMOL:1;\r
+            unsigned char TMOH:1;\r
+            unsigned char :1;\r
+            unsigned char SDDL:3;\r
+            unsigned char DLCS:1;\r
+        } BIT;\r
+    } ICMR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NF:2;\r
+            unsigned char ACKBR:1;\r
+            unsigned char ACKBT:1;\r
+            unsigned char ACKWP:1;\r
+            unsigned char RDRFS:1;\r
+            unsigned char WAIT:1;\r
+            unsigned char SMBS:1;\r
+        } BIT;\r
+    } ICMR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOE:1;\r
+            unsigned char MALE:1;\r
+            unsigned char NALE:1;\r
+            unsigned char SALE:1;\r
+            unsigned char NACKE:1;\r
+            unsigned char NFE:1;\r
+            unsigned char SCLE:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } ICFER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SAR0E:1;\r
+            unsigned char SAR1E:1;\r
+            unsigned char SAR2E:1;\r
+            unsigned char GCAE:1;\r
+            unsigned char :1;\r
+            unsigned char DIDE:1;\r
+            unsigned char :1;\r
+            unsigned char HOAE:1;\r
+        } BIT;\r
+    } ICSER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOIE:1;\r
+            unsigned char ALIE:1;\r
+            unsigned char STIE:1;\r
+            unsigned char SPIE:1;\r
+            unsigned char NAKIE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TEIE:1;\r
+            unsigned char TIE:1;\r
+        } BIT;\r
+    } ICIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char AAS0:1;\r
+            unsigned char AAS1:1;\r
+            unsigned char AAS2:1;\r
+            unsigned char GCA:1;\r
+            unsigned char :1;\r
+            unsigned char DID:1;\r
+            unsigned char :1;\r
+            unsigned char HOA:1;\r
+        } BIT;\r
+    } ICSR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TMOF:1;\r
+            unsigned char AL:1;\r
+            unsigned char START:1;\r
+            unsigned char STOP:1;\r
+            unsigned char NACKF:1;\r
+            unsigned char RDRF:1;\r
+            unsigned char TEND:1;\r
+            unsigned char TDRE:1;\r
+        } BIT;\r
+    } ICSR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SVA0:1;\r
+            unsigned char SVA:7;\r
+        } BIT;\r
+    } SARL0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FS:1;\r
+            unsigned char SVA:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SARU0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SVA0:1;\r
+            unsigned char SVA:7;\r
+        } BIT;\r
+    } SARL1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FS:1;\r
+            unsigned char SVA:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SARU1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SVA0:1;\r
+            unsigned char SVA:7;\r
+        } BIT;\r
+    } SARL2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char FS:1;\r
+            unsigned char SVA:2;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SARU2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BRL:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICBRL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BRH:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ICBRH;\r
+    unsigned char  ICDRT;\r
+    unsigned char  ICDRR;\r
+};\r
+\r
+struct st_rspi0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPMS:1;\r
+            unsigned char TXMD:1;\r
+            unsigned char MODFEN:1;\r
+            unsigned char MSTR:1;\r
+            unsigned char SPEIE:1;\r
+            unsigned char SPTIE:1;\r
+            unsigned char SPE:1;\r
+            unsigned char SPRIE:1;\r
+        } BIT;\r
+    } SPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SSL0P:1;\r
+            unsigned char SSL1P:1;\r
+            unsigned char SSL2P:1;\r
+            unsigned char SSL3P:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } SSLP;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPLP:1;\r
+            unsigned char SPLP2:1;\r
+            unsigned char :2;\r
+            unsigned char MOIFV:1;\r
+            unsigned char MOIFE:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SPPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OVRF:1;\r
+            unsigned char IDLNF:1;\r
+            unsigned char MODF:1;\r
+            unsigned char PERF:1;\r
+            unsigned char :4;\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 SPSLN:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SPSCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPCP:3;\r
+            unsigned char :1;\r
+            unsigned char SPECM:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } SPSSR;\r
+    unsigned char SPBR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPFC:2;\r
+            unsigned char :2;\r
+            unsigned char SPRDTD:1;\r
+            unsigned char SPLW:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SPDCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SCKDL:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SPCKD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLNDL:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SSLND;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPNDL:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SPND;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPPE:1;\r
+            unsigned char SPOE:1;\r
+            unsigned char SPIIE:1;\r
+            unsigned char PTE:1;\r
+            unsigned char SCKASE:1;\r
+            unsigned char SPTDDL:3;\r
+        } BIT;\r
+    } SPCR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD5;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD6;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CPHA:1;\r
+            unsigned short CPOL:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short SSLA:3;\r
+            unsigned short SSLKP:1;\r
+            unsigned short SPB:4;\r
+            unsigned short LSBF:1;\r
+            unsigned short SPNDEN:1;\r
+            unsigned short SLNDEN:1;\r
+            unsigned short SCKDEN:1;\r
+        } BIT;\r
+    } SPCMD7;\r
+};\r
+\r
+struct st_rtc {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char F64HZ:1;\r
+            unsigned char F32HZ:1;\r
+            unsigned char F16HZ:1;\r
+            unsigned char F8HZ:1;\r
+            unsigned char F4HZ:1;\r
+            unsigned char F2HZ:1;\r
+            unsigned char F1HZ:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } R64CNT;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEC1:4;\r
+            unsigned char SEC10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RSECCNT;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MIN1:4;\r
+            unsigned char MIN10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RMINCNT;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HR1:4;\r
+            unsigned char HR10:2;\r
+            unsigned char PM:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RHRCNT;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DAYW:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } RWKCNT;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DATE1:4;\r
+            unsigned char DATE10:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } RDAYCNT;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MON1:4;\r
+            unsigned char MON10:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } RMONCNT;\r
+    char           wk6[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short YR1:4;\r
+            unsigned short YR10:4;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } RYRCNT;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEC1:4;\r
+            unsigned char SEC10:3;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RSECAR;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MIN1:4;\r
+            unsigned char MIN10:3;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RMINAR;\r
+    char           wk8[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HR1:4;\r
+            unsigned char HR10:2;\r
+            unsigned char PM:1;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RHRAR;\r
+    char           wk9[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DAYW:3;\r
+            unsigned char :4;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RWKAR;\r
+    char           wk10[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DATE1:4;\r
+            unsigned char DATE10:2;\r
+            unsigned char :1;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RDAYAR;\r
+    char           wk11[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MON1:4;\r
+            unsigned char MON10:1;\r
+            unsigned char :2;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RMONAR;\r
+    char           wk12[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short YR1:4;\r
+            unsigned short YR10:4;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } RYRAR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char ENB:1;\r
+        } BIT;\r
+    } RYRAREN;\r
+    char           wk13[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char AIE:1;\r
+            unsigned char CIE:1;\r
+            unsigned char PIE:1;\r
+            unsigned char RTCOS:1;\r
+            unsigned char PES:4;\r
+        } BIT;\r
+    } RCR1;\r
+    char           wk14[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char START:1;\r
+            unsigned char RESET:1;\r
+            unsigned char ADJ30:1;\r
+            unsigned char RTCOE:1;\r
+            unsigned char AADJE:1;\r
+            unsigned char AADJP:1;\r
+            unsigned char HR24:1;\r
+            unsigned char CNTMD:1;\r
+        } BIT;\r
+    } RCR2;\r
+    char           wk15[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RTCEN:1;\r
+            unsigned char RTCDV:3;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } RCR3;\r
+    char           wk16[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RCKSEL:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } RCR4;\r
+    char           wk17[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RFC:1;\r
+            unsigned short :15;\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 ADJ:6;\r
+            unsigned char PMADJ:2;\r
+        } BIT;\r
+    } RADJ;\r
+    char           wk18[17];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TCCT:2;\r
+            unsigned char TCST:1;\r
+            unsigned char :1;\r
+            unsigned char TCNF:2;\r
+            unsigned char :1;\r
+            unsigned char TCEN:1;\r
+        } BIT;\r
+    } RTCCR0;\r
+    char           wk19[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TCCT:2;\r
+            unsigned char TCST:1;\r
+            unsigned char :1;\r
+            unsigned char TCNF:2;\r
+            unsigned char :1;\r
+            unsigned char TCEN:1;\r
+        } BIT;\r
+    } RTCCR1;\r
+    char           wk20[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TCCT:2;\r
+            unsigned char TCST:1;\r
+            unsigned char :1;\r
+            unsigned char TCNF:2;\r
+            unsigned char :1;\r
+            unsigned char TCEN:1;\r
+        } BIT;\r
+    } RTCCR2;\r
+    char           wk21[13];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEC1:4;\r
+            unsigned char SEC10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RSECCP0;\r
+    char           wk22[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MIN1:4;\r
+            unsigned char MIN10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RMINCP0;\r
+    char           wk23[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HR1:4;\r
+            unsigned char HR10:2;\r
+            unsigned char PM:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RHRCP0;\r
+    char           wk24[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DATE1:4;\r
+            unsigned char DATE10:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } RDAYCP0;\r
+    char           wk25[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MON1:4;\r
+            unsigned char MON10:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } RMONCP0;\r
+    char           wk26[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEC1:4;\r
+            unsigned char SEC10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RSECCP1;\r
+    char           wk27[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MIN1:4;\r
+            unsigned char MIN10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RMINCP1;\r
+    char           wk28[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HR1:4;\r
+            unsigned char HR10:2;\r
+            unsigned char PM:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RHRCP1;\r
+    char           wk29[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DATE1:4;\r
+            unsigned char DATE10:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } RDAYCP1;\r
+    char           wk30[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MON1:4;\r
+            unsigned char MON10:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } RMONCP1;\r
+    char           wk31[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SEC1:4;\r
+            unsigned char SEC10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RSECCP2;\r
+    char           wk32[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MIN1:4;\r
+            unsigned char MIN10:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RMINCP2;\r
+    char           wk33[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HR1:4;\r
+            unsigned char HR10:2;\r
+            unsigned char PM:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } RHRCP2;\r
+    char           wk34[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DATE1:4;\r
+            unsigned char DATE10:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } RDAYCP2;\r
+    char           wk35[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MON1:4;\r
+            unsigned char MON10:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } RMONCP2;\r
+};\r
+\r
+struct st_rtcb {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT0;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT1;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT2;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT3;\r
+    char           wk3[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT0AR;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT1AR;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT2AR;\r
+    char           wk6[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT3AR;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ENB:8;\r
+        } BIT;\r
+    } BCNT0AER;\r
+    char           wk8[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ENB:8;\r
+        } BIT;\r
+    } BCNT1AER;\r
+    char           wk9[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ENB:8;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } BCNT2AER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ENB:8;\r
+        } BIT;\r
+    } BCNT3AER;\r
+    char           wk10[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char START:1;\r
+            unsigned char RESET:1;\r
+            unsigned char :1;\r
+            unsigned char RTCOE:1;\r
+            unsigned char AADJE:1;\r
+            unsigned char AADJP:1;\r
+            unsigned char :1;\r
+            unsigned char CNTMD:1;\r
+        } BIT;\r
+    } BRCR2;\r
+    char           wk11[45];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT0CP0;\r
+    char           wk12[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT1CP0;\r
+    char           wk13[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT2CP0;\r
+    char           wk14[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT3CP0;\r
+    char           wk15[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT0CP1;\r
+    char           wk16[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT1CP1;\r
+    char           wk17[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT2CP1;\r
+    char           wk18[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT3CP1;\r
+    char           wk19[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT0CP2;\r
+    char           wk20[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT1CP2;\r
+    char           wk21[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT2CP2;\r
+    char           wk22[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT3CP2;\r
+};\r
+\r
+struct st_s12ad {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DBLANS:5;\r
+            unsigned short :1;\r
+            unsigned short GBADIE:1;\r
+            unsigned short DBLE:1;\r
+            unsigned short EXTRG:1;\r
+            unsigned short TRGE:1;\r
+            unsigned short :2;\r
+            unsigned short ADIE:1;\r
+            unsigned short ADCS:2;\r
+            unsigned short ADST:1;\r
+        } BIT;\r
+    } ADCSR;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSA0:16;\r
+        } BIT;\r
+    } ADANSA0;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ADS0:16;\r
+        } BIT;\r
+    } ADADS0;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ADC:2;\r
+            unsigned char :5;\r
+            unsigned char AVEE:1;\r
+        } BIT;\r
+    } ADADC;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short ADPRC:2;\r
+            unsigned short :2;\r
+            unsigned short ACE:1;\r
+            unsigned short :2;\r
+            unsigned short DIAGVAL:2;\r
+            unsigned short DIAGLD:1;\r
+            unsigned short DIAGM:1;\r
+            unsigned short :3;\r
+            unsigned short ADRFMT:1;\r
+        } BIT;\r
+    } ADCER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRSB:6;\r
+            unsigned short :2;\r
+            unsigned short TRSA:6;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } ADSTRGR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TSSAD:1;\r
+            unsigned short OCSAD:1;\r
+            unsigned short :6;\r
+            unsigned short TSS:1;\r
+            unsigned short OCS:1;\r
+            unsigned short :3;\r
+            unsigned short EXSEL:2;\r
+            unsigned short EXOEN:1;\r
+        } BIT;\r
+    } ADEXICR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSB0:16;\r
+        } BIT;\r
+    } ADANSB0;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short AD:12;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } ADDBLDR;\r
+    char           wk5[4];\r
+    union {\r
+        unsigned short WORD;\r
+        union {\r
+            struct {\r
+                unsigned short AD:12;\r
+                unsigned short :2;\r
+                unsigned short DIAGST:2;\r
+            } RIGHT;\r
+            struct {\r
+                unsigned short DIAGST:2;\r
+                unsigned short :2;\r
+                unsigned short AD:12;\r
+            } LEFT;\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
+    char           wk6[48];\r
+    unsigned char  ADSSTR0;\r
+    unsigned char  ADSSTRL;\r
+    char           wk7[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short SSTSH:8;\r
+            unsigned short SHANS:3;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } ADSHCR;\r
+    char           wk8[11];\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 ADNDIS:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ADDISCR;\r
+    char           wk9[5];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PGS:1;\r
+            unsigned short GBRSCN:1;\r
+            unsigned short :13;\r
+            unsigned short GBRP:1;\r
+        } BIT;\r
+    } ADGSPCR;\r
+    char           wk10[2];\r
+    unsigned short ADDBLDRA;\r
+    unsigned short ADDBLDRB;\r
+    char           wk11[8];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char WCMPE:1;\r
+            unsigned char CMPIE:1;\r
+        } BIT;\r
+    } ADCMPCR;\r
+    char           wk12[3];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPS0:16;\r
+        } BIT;\r
+    } ADCMPANSR0;\r
+    char           wk13[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPL0:16;\r
+        } BIT;\r
+    } ADCMPLR0;\r
+    char           wk14[2];\r
+    unsigned short ADCMPDR0;\r
+    unsigned short ADCMPDR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPF0:16;\r
+        } BIT;\r
+    } ADCMPSR0;\r
+};\r
+\r
+struct st_s12ad1 {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSA0:16;\r
+        } BIT;\r
+    } ADANSA0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSA1:5;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } ADANSA1;\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 ADS1:5;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } ADADS1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ADC:2;\r
+            unsigned char :5;\r
+            unsigned char AVEE:1;\r
+        } BIT;\r
+    } ADADC;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short ADPRC:2;\r
+            unsigned short :2;\r
+            unsigned short ACE:1;\r
+            unsigned short :2;\r
+            unsigned short DIAGVAL:2;\r
+            unsigned short DIAGLD:1;\r
+            unsigned short DIAGM:1;\r
+            unsigned short :3;\r
+            unsigned short ADRFMT:1;\r
+        } BIT;\r
+    } ADCER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRSB:6;\r
+            unsigned short :2;\r
+            unsigned short TRSA:6;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } ADSTRGR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TSSAD:1;\r
+            unsigned short OCSAD:1;\r
+            unsigned short :6;\r
+            unsigned short TSS:1;\r
+            unsigned short OCS:1;\r
+            unsigned short :3;\r
+            unsigned short EXSEL:2;\r
+            unsigned short EXOEN:1;\r
+        } BIT;\r
+    } ADEXICR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSB0:16;\r
+        } BIT;\r
+    } ADANSB0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSB1:5;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } ADANSB1;\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 AD:12;\r
+                unsigned short :2;\r
+                unsigned short DIAGST:2;\r
+            } RIGHT;\r
+            struct {\r
+                unsigned short DIAGST:2;\r
+                unsigned short :2;\r
+                unsigned short AD:12;\r
+            } LEFT;\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
+    unsigned short ADDR16;\r
+    unsigned short ADDR17;\r
+    unsigned short ADDR18;\r
+    unsigned short ADDR19;\r
+    unsigned short ADDR20;\r
+    char           wk1[22];\r
+    unsigned char  ADSSTR0;\r
+    unsigned char  ADSSTRL;\r
+    char           wk2[14];\r
+    unsigned char  ADSSTRT;\r
+    unsigned char  ADSSTRO;\r
+    char           wk3[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 ADNDIS:5;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } ADDISCR;\r
+    char           wk4[5];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PGS:1;\r
+            unsigned short GBRSCN:1;\r
+            unsigned short :13;\r
+            unsigned short GBRP:1;\r
+        } BIT;\r
+    } ADGSPCR;\r
+    char           wk5[2];\r
+    unsigned short ADDBLDRA;\r
+    unsigned short ADDBLDRB;\r
+    char           wk6[8];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char WCMPE:1;\r
+            unsigned char CMPIE:1;\r
+        } BIT;\r
+    } ADCMPCR;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMPSTS:1;\r
+            unsigned char CMPSOC:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } ADCMPANSER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMPLTS:1;\r
+            unsigned char CMPLOC:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } ADCMPLER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPS0:16;\r
+        } BIT;\r
+    } ADCMPANSR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPS1:5;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } ADCMPANSR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPL0:16;\r
+        } BIT;\r
+    } ADCMPLR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPL1:5;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } ADCMPLR1;\r
+    unsigned short ADCMPDR0;\r
+    unsigned short ADCMPDR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPF0:16;\r
+        } BIT;\r
+    } ADCMPSR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPF1:5;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } ADCMPSR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMPFTS:1;\r
+            unsigned char CMPFOC:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } ADCMPSER;\r
+};\r
+\r
+struct st_sci0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKS:2;\r
+            unsigned char MP:1;\r
+            unsigned char STOP:1;\r
+            unsigned char PM:1;\r
+            unsigned char PE:1;\r
+            unsigned char CHR:1;\r
+            unsigned char CM:1;\r
+        } BIT;\r
+    } SMR;\r
+    unsigned char  BRR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKE:2;\r
+            unsigned char TEIE:1;\r
+            unsigned char MPIE:1;\r
+            unsigned char RE:1;\r
+            unsigned char TE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TIE:1;\r
+        } BIT;\r
+    } SCR;\r
+    unsigned char  TDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MPBT:1;\r
+            unsigned char MPB:1;\r
+            unsigned char TEND:1;\r
+            unsigned char PER:1;\r
+            unsigned char FER:1;\r
+            unsigned char ORER:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SSR;\r
+    unsigned char  RDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SMIF:1;\r
+            unsigned char :1;\r
+            unsigned char SINV:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char CHR1:1;\r
+            unsigned char :2;\r
+            unsigned char BCP2:1;\r
+        } BIT;\r
+    } SCMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ACS0:1;\r
+            unsigned char :1;\r
+            unsigned char BRME:1;\r
+            unsigned char :1;\r
+            unsigned char ABCS:1;\r
+            unsigned char NFEN:1;\r
+            unsigned char BGDM:1;\r
+            unsigned char RXDESEL:1;\r
+        } BIT;\r
+    } SEMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFCS:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SNFR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICM:1;\r
+            unsigned char :2;\r
+            unsigned char IICDL:5;\r
+        } BIT;\r
+    } SIMR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICINTM:1;\r
+            unsigned char IICCSC:1;\r
+            unsigned char :3;\r
+            unsigned char IICACKT:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SIMR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICSTAREQ:1;\r
+            unsigned char IICRSTAREQ:1;\r
+            unsigned char IICSTPREQ:1;\r
+            unsigned char IICSTIF:1;\r
+            unsigned char IICSDAS:2;\r
+            unsigned char IICSCLS:2;\r
+        } BIT;\r
+    } SIMR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICACKR:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SISR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SSE:1;\r
+            unsigned char CTSE:1;\r
+            unsigned char MSS:1;\r
+            unsigned char :1;\r
+            unsigned char MFF:1;\r
+            unsigned char :1;\r
+            unsigned char CKPOL:1;\r
+            unsigned char CKPH:1;\r
+        } BIT;\r
+    } SPMR;\r
+    unsigned char  TDRH;\r
+    unsigned char  TDRL;\r
+    unsigned char  RDRH;\r
+    unsigned char  RDRL;\r
+    unsigned char  MDDR;\r
+};\r
+\r
+struct st_sci12 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKS:2;\r
+            unsigned char MP:1;\r
+            unsigned char STOP:1;\r
+            unsigned char PM:1;\r
+            unsigned char PE:1;\r
+            unsigned char CHR:1;\r
+            unsigned char CM:1;\r
+        } BIT;\r
+    } SMR;\r
+    unsigned char  BRR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKE:2;\r
+            unsigned char TEIE:1;\r
+            unsigned char MPIE:1;\r
+            unsigned char RE:1;\r
+            unsigned char TE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TIE:1;\r
+        } BIT;\r
+    } SCR;\r
+    unsigned char  TDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MPBT:1;\r
+            unsigned char MPB:1;\r
+            unsigned char TEND:1;\r
+            unsigned char PER:1;\r
+            unsigned char FER:1;\r
+            unsigned char ORER:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SSR;\r
+    unsigned char  RDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SMIF:1;\r
+            unsigned char :1;\r
+            unsigned char SINV:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char CHR1:1;\r
+            unsigned char :2;\r
+            unsigned char BCP2:1;\r
+        } BIT;\r
+    } SCMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ACS0:1;\r
+            unsigned char :1;\r
+            unsigned char BRME:1;\r
+            unsigned char :1;\r
+            unsigned char ABCS:1;\r
+            unsigned char NFEN:1;\r
+            unsigned char BGDM:1;\r
+            unsigned char RXDESEL:1;\r
+        } BIT;\r
+    } SEMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFCS:3;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } SNFR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICM:1;\r
+            unsigned char :2;\r
+            unsigned char IICDL:5;\r
+        } BIT;\r
+    } SIMR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICINTM:1;\r
+            unsigned char IICCSC:1;\r
+            unsigned char :3;\r
+            unsigned char IICACKT:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SIMR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICSTAREQ:1;\r
+            unsigned char IICRSTAREQ:1;\r
+            unsigned char IICSTPREQ:1;\r
+            unsigned char IICSTIF:1;\r
+            unsigned char IICSDAS:2;\r
+            unsigned char IICSCLS:2;\r
+        } BIT;\r
+    } SIMR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IICACKR:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SISR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SSE:1;\r
+            unsigned char CTSE:1;\r
+            unsigned char MSS:1;\r
+            unsigned char :1;\r
+            unsigned char MFF:1;\r
+            unsigned char :1;\r
+            unsigned char CKPOL:1;\r
+            unsigned char CKPH:1;\r
+        } BIT;\r
+    } SPMR;\r
+    unsigned char  TDRH;\r
+    unsigned char  TDRL;\r
+    unsigned char  RDRH;\r
+    unsigned char  RDRL;\r
+    unsigned char  MDDR;\r
+    char           wk0[13];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ESME:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } ESMER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char SFSF:1;\r
+            unsigned char RXDSF:1;\r
+            unsigned char BRME:1;\r
+            unsigned char :4;\r
+        } BIT;\r
+    } CR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BFE:1;\r
+            unsigned char CF0RE:1;\r
+            unsigned char CF1DS:2;\r
+            unsigned char PIBE:1;\r
+            unsigned char PIBS:3;\r
+        } BIT;\r
+    } CR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DFCS:3;\r
+            unsigned char :1;\r
+            unsigned char BCCS:2;\r
+            unsigned char RTS:2;\r
+        } BIT;\r
+    } CR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SDST:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } CR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TXDXPS:1;\r
+            unsigned char RXDXPS:1;\r
+            unsigned char :2;\r
+            unsigned char SHARPS:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } PCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BFDIE:1;\r
+            unsigned char CF0MIE:1;\r
+            unsigned char CF1MIE:1;\r
+            unsigned char PIBDIE:1;\r
+            unsigned char BCDIE:1;\r
+            unsigned char AEDIE:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } ICR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BFDF:1;\r
+            unsigned char CF0MF:1;\r
+            unsigned char CF1MF:1;\r
+            unsigned char PIBDF:1;\r
+            unsigned char BCDF:1;\r
+            unsigned char AEDF:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } STR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BFDCL:1;\r
+            unsigned char CF0MCL:1;\r
+            unsigned char CF1MCL:1;\r
+            unsigned char PIBDCL:1;\r
+            unsigned char BCDCL:1;\r
+            unsigned char AEDCL:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } STCR;\r
+    unsigned char  CF0DR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CF0CE0:1;\r
+            unsigned char CF0CE1:1;\r
+            unsigned char CF0CE2:1;\r
+            unsigned char CF0CE3:1;\r
+            unsigned char CF0CE4:1;\r
+            unsigned char CF0CE5:1;\r
+            unsigned char CF0CE6:1;\r
+            unsigned char CF0CE7: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 CF1CE0:1;\r
+            unsigned char CF1CE1:1;\r
+            unsigned char CF1CE2:1;\r
+            unsigned char CF1CE3:1;\r
+            unsigned char CF1CE4:1;\r
+            unsigned char CF1CE5:1;\r
+            unsigned char CF1CE6:1;\r
+            unsigned char CF1CE7:1;\r
+        } BIT;\r
+    } CF1CR;\r
+    unsigned char  CF1RR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TCST:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TOMS:2;\r
+            unsigned char :1;\r
+            unsigned char TWRC:1;\r
+            unsigned char TCSS:3;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } TMR;\r
+    unsigned char  TPRE;\r
+    unsigned char  TCNT;\r
+};\r
+\r
+struct st_scif {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CKS:2;\r
+            unsigned short :1;\r
+            unsigned short STOP:1;\r
+            unsigned short PM:1;\r
+            unsigned short PE:1;\r
+            unsigned short CHR:1;\r
+            unsigned short CM:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } SMR;\r
+    union {\r
+        unsigned char  BRR;\r
+        unsigned char  MDDR;    \r
+    };\r
+    char           wk0[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CKE:2;\r
+            unsigned short TEIE:1;\r
+            unsigned short REIE:1;\r
+            unsigned short RE:1;\r
+            unsigned short TE:1;\r
+            unsigned short RIE:1;\r
+            unsigned short TIE:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } SCR;\r
+    unsigned char  FTDR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DR:1;\r
+            unsigned short RDF:1;\r
+            unsigned short PER:1;\r
+            unsigned short FER:1;\r
+            unsigned short BRK:1;\r
+            unsigned short TDFE:1;\r
+            unsigned short TEND:1;\r
+            unsigned short ER:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } FSR;\r
+    unsigned char  FRDR;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short LOOP:1;\r
+            unsigned short RFRST:1;\r
+            unsigned short TFRST:1;\r
+            unsigned short MCE:1;\r
+            unsigned short TTRG:2;\r
+            unsigned short RTRG:2;\r
+            unsigned short RSTRG:3;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } FCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short R:5;\r
+            unsigned short :3;\r
+            unsigned short T:5;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } FDR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short SPB2DT:1;\r
+            unsigned short SPB2IO:1;\r
+            unsigned short SCKDT:1;\r
+            unsigned short SCKIO:1;\r
+            unsigned short CTS2DT:1;\r
+            unsigned short CTS2IO:1;\r
+            unsigned short RTS2DT:1;\r
+            unsigned short RTS2IO:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } SPTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ORER:1;\r
+            unsigned short :1;\r
+            unsigned short FER:4;\r
+            unsigned short :2;\r
+            unsigned short PER:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } LSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ABCS0:1;\r
+            unsigned char :1;\r
+            unsigned char NFEN:1;\r
+            unsigned char DIR:1;\r
+            unsigned char MDDRS:1;\r
+            unsigned char BRME:1;\r
+            unsigned char ACS0:1;\r
+            unsigned char BGDM:1;\r
+        } BIT;\r
+    } SEMR;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TFTC:5;\r
+            unsigned short :2;\r
+            unsigned short TTRGS:1;\r
+            unsigned short RFTC:5;\r
+            unsigned short :2;\r
+            unsigned short RTRGS:1;\r
+        } BIT;\r
+    } FTCR;\r
+};\r
+\r
+struct st_smci {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKS:2;\r
+            unsigned char BCP:2;\r
+            unsigned char PM:1;\r
+            unsigned char PE:1;\r
+            unsigned char BLK:1;\r
+            unsigned char GM:1;\r
+        } BIT;\r
+    } SMR;\r
+    char           wk0[3];\r
+\r
+    union {\r
+        unsigned char  BRR;\r
+        unsigned char  MDDR;    \r
+    };\r
+    char           wk1[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKE:2;\r
+            unsigned char TEIE:1;\r
+            unsigned char MPIE:1;\r
+            unsigned char RE:1;\r
+            unsigned char TE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TIE:1;\r
+        } BIT;\r
+    } SCR;\r
+    char           wk2[3];\r
+    unsigned char  TDR;\r
+    char           wk3[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MPBT:1;\r
+            unsigned char MPB:1;\r
+            unsigned char TEND:1;\r
+            unsigned char PER:1;\r
+            unsigned char ERS:1;\r
+            unsigned char ORER:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SSR;\r
+    char           wk4[3];\r
+    unsigned char  RDR;\r
+    char           wk5[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SMIF:1;\r
+            unsigned char :1;\r
+            unsigned char SINV:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char CHR1:1;\r
+            unsigned char :2;\r
+            unsigned char BCP2:1;\r
+        } BIT;\r
+    } SCMR;\r
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ACS0:1;\r
+            unsigned char :1;\r
+            unsigned char RSDMOS:1;\r
+            unsigned char :1;\r
+            unsigned char ABCS:1;\r
+            unsigned char :1;\r
+            unsigned char MDDRS:1;\r
+            unsigned char BRME:1;\r
+        } BIT;\r
+    } SEMR;\r
+};\r
+\r
+struct st_smci0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKS:2;\r
+            unsigned char BCP:2;\r
+            unsigned char PM:1;\r
+            unsigned char PE:1;\r
+            unsigned char BLK:1;\r
+            unsigned char GM:1;\r
+        } BIT;\r
+    } SMR;\r
+    unsigned char  BRR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CKE:2;\r
+            unsigned char TEIE:1;\r
+            unsigned char MPIE:1;\r
+            unsigned char RE:1;\r
+            unsigned char TE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TIE:1;\r
+        } BIT;\r
+    } SCR;\r
+    unsigned char  TDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MPBT:1;\r
+            unsigned char MPB:1;\r
+            unsigned char TEND:1;\r
+            unsigned char PER:1;\r
+            unsigned char ERS:1;\r
+            unsigned char ORER:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } SSR;\r
+    unsigned char  RDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SMIF:1;\r
+            unsigned char :1;\r
+            unsigned char SINV:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char CHR1:1;\r
+            unsigned char :2;\r
+            unsigned char BCP2:1;\r
+        } BIT;\r
+    } SCMR;\r
+};\r
+\r
+struct st_src {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SRCFCTR:22;\r
+            unsigned long :10;\r
+        } BIT;\r
+    } SRCFCTR[5552];\r
+    char           wk0[2352];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long B0:1;\r
+            unsigned long B1:1;\r
+            unsigned long B2:1;\r
+            unsigned long B3:1;\r
+            unsigned long B4:1;\r
+            unsigned long B5:1;\r
+            unsigned long B6:1;\r
+            unsigned long B7:1;\r
+            unsigned long B8:1;\r
+            unsigned long B9:1;\r
+            unsigned long B10:1;\r
+            unsigned long B11:1;\r
+            unsigned long B12:1;\r
+            unsigned long B13:1;\r
+            unsigned long B14:1;\r
+            unsigned long B15:1;\r
+            unsigned long B16:1;\r
+            unsigned long B17:1;\r
+            unsigned long B18:1;\r
+            unsigned long B19:1;\r
+            unsigned long B20:1;\r
+            unsigned long B21:1;\r
+            unsigned long B22:1;\r
+            unsigned long B23:1;\r
+            unsigned long B24:1;\r
+            unsigned long B25:1;\r
+            unsigned long B26:1;\r
+            unsigned long B27:1;\r
+            unsigned long B28:1;\r
+            unsigned long B29:1;\r
+            unsigned long B30:1;\r
+            unsigned long B31:1;\r
+        } BIT;\r
+    } SRCID;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long B0:1;\r
+            unsigned long B1:1;\r
+            unsigned long B2:1;\r
+            unsigned long B3:1;\r
+            unsigned long B4:1;\r
+            unsigned long B5:1;\r
+            unsigned long B6:1;\r
+            unsigned long B7:1;\r
+            unsigned long B8:1;\r
+            unsigned long B9:1;\r
+            unsigned long B10:1;\r
+            unsigned long B11:1;\r
+            unsigned long B12:1;\r
+            unsigned long B13:1;\r
+            unsigned long B14:1;\r
+            unsigned long B15:1;\r
+            unsigned long B16:1;\r
+            unsigned long B17:1;\r
+            unsigned long B18:1;\r
+            unsigned long B19:1;\r
+            unsigned long B20:1;\r
+            unsigned long B21:1;\r
+            unsigned long B22:1;\r
+            unsigned long B23:1;\r
+            unsigned long B24:1;\r
+            unsigned long B25:1;\r
+            unsigned long B26:1;\r
+            unsigned long B27:1;\r
+            unsigned long B28:1;\r
+            unsigned long B29:1;\r
+            unsigned long B30:1;\r
+            unsigned long B31:1;\r
+        } BIT;\r
+    } SRCOD;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short IFTRG:2;\r
+            unsigned short :6;\r
+            unsigned short IEN:1;\r
+            unsigned short IED:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } SRCIDCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short OFTRG:2;\r
+            unsigned short :6;\r
+            unsigned short OEN:1;\r
+            unsigned short OED:1;\r
+            unsigned short OCH:1;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } SRCODCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short OFS:3;\r
+            unsigned short :1;\r
+            unsigned short IFS:4;\r
+            unsigned short CL:1;\r
+            unsigned short FL:1;\r
+            unsigned short OVEN:1;\r
+            unsigned short UDEN:1;\r
+            unsigned short SRCEN:1;\r
+            unsigned short CEEN:1;\r
+            unsigned short :1;\r
+            unsigned short FICRAE:1;\r
+        } BIT;\r
+    } SRCCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short OINT:1;\r
+            unsigned short IINIT:1;\r
+            unsigned short OVF:1;\r
+            unsigned short UDF:1;\r
+            unsigned short FLF:1;\r
+            unsigned short CEF:1;\r
+            unsigned short :2;\r
+            unsigned short IFDN:3;\r
+            unsigned short OFDN:5;\r
+        } BIT;\r
+    } SRCSTAT;\r
+};\r
+\r
+struct st_ssi {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REN:1;\r
+            unsigned long TEN:1;\r
+            unsigned long :1;\r
+            unsigned long MUEN:1;\r
+            unsigned long CKDV:4;\r
+            unsigned long DEL:1;\r
+            unsigned long PDTA:1;\r
+            unsigned long SDTA:1;\r
+            unsigned long SPDP:1;\r
+            unsigned long SWSP:1;\r
+            unsigned long SCKP:1;\r
+            unsigned long SWSD:1;\r
+            unsigned long SCKD:1;\r
+            unsigned long SWL:3;\r
+            unsigned long DWL:3;\r
+            unsigned long CHNL:2;\r
+            unsigned long :1;\r
+            unsigned long IIEN:1;\r
+            unsigned long ROIEN:1;\r
+            unsigned long RUIEN:1;\r
+            unsigned long TOIEN:1;\r
+            unsigned long TUIEN:1;\r
+            unsigned long CKS:1;\r
+            unsigned long :1;\r
+        } BIT;\r
+    } SSICR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IDST:1;\r
+            unsigned long RSWNO:1;\r
+            unsigned long RCHNO:2;\r
+            unsigned long TSWNO:1;\r
+            unsigned long TCHNO:2;\r
+            unsigned long :18;\r
+            unsigned long IIRQ:1;\r
+            unsigned long ROIRQ:1;\r
+            unsigned long RUIRQ:1;\r
+            unsigned long TOIRQ:1;\r
+            unsigned long TUIRQ:1;\r
+            unsigned long :2;\r
+        } BIT;\r
+    } SSISR;\r
+    char           wk0[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RFRST:1;\r
+            unsigned long TFRST:1;\r
+            unsigned long RIE:1;\r
+            unsigned long TUE:1;\r
+            unsigned long RTRG:2;\r
+            unsigned long TTRG:2;\r
+            unsigned long :23;\r
+            unsigned long AUCKE:1;\r
+        } BIT;\r
+    } SSIFCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RDF:1;\r
+            unsigned long :7;\r
+            unsigned long RDC:4;\r
+            unsigned long :4;\r
+            unsigned long TDE:1;\r
+            unsigned long :7;\r
+            unsigned long TDC:4;\r
+            unsigned long :4;\r
+        } BIT;\r
+    } SSIFSR;\r
+    unsigned long  SSIFTDR;\r
+    unsigned long  SSIFRDR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long CONT:1;\r
+            unsigned long :23;\r
+        } BIT;\r
+    } SSITDMR;\r
+};\r
+\r
+struct st_system {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MD:1;\r
+            unsigned short :15;\r
+        } BIT;\r
+    } MDMONR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :5;\r
+            unsigned short UBTS:1;\r
+            unsigned short :10;\r
+        } BIT;\r
+    } MDSR;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ROME:1;\r
+            unsigned short EXBE:1;\r
+            unsigned short :6;\r
+            unsigned short KEY:8;\r
+        } BIT;\r
+    } SYSCR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RAME:1;\r
+            unsigned short :5;\r
+            unsigned short ECCRAME:1;\r
+            unsigned short SBYRAME:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } SYSCR1;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :14;\r
+            unsigned short OPE:1;\r
+            unsigned short SSBY:1;\r
+        } BIT;\r
+    } SBYCR;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MSTPA0:1;\r
+            unsigned long MSTPA1:1;\r
+            unsigned long :2;\r
+            unsigned long MSTPA4:1;\r
+            unsigned long MSTPA5:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA7:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA9:1;\r
+            unsigned long MSTPA10:1;\r
+            unsigned long MSTPA11:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA13:1;\r
+            unsigned long MSTPA14:1;\r
+            unsigned long MSTPA15:1;\r
+            unsigned long MSTPA16:1;\r
+            unsigned long MSTPA17:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA19:1;\r
+            unsigned long :7;\r
+            unsigned long MSTPA27:1;\r
+            unsigned long MSTPA28:1;\r
+            unsigned long MSTPA29:1;\r
+            unsigned long :1;\r
+            unsigned long ACSE:1;\r
+        } BIT;\r
+    } MSTPCRA;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MSTPB0:1;\r
+            unsigned long MSTPB1:1;\r
+            unsigned long MSTPB2:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB4:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB6:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB8:1;\r
+            unsigned long MSTPB9:1;\r
+            unsigned long :2;\r
+            unsigned long MSTPB12:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB14:1;\r
+            unsigned long MSTPB15:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB17:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB19:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB21:1;\r
+            unsigned long MSTPB22:1;\r
+            unsigned long MSTPB23:1;\r
+            unsigned long MSTPB24:1;\r
+            unsigned long MSTPB25:1;\r
+            unsigned long MSTPB26:1;\r
+            unsigned long MSTPB27:1;\r
+            unsigned long MSTPB28:1;\r
+            unsigned long MSTPB29:1;\r
+            unsigned long MSTPB30:1;\r
+            unsigned long MSTPB31:1;\r
+        } BIT;\r
+    } MSTPCRB;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MSTPC0:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPC2:1;\r
+            unsigned long :4;\r
+            unsigned long MSTPC7:1;\r
+            unsigned long :9;\r
+            unsigned long MSTPC17:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPC19:1;\r
+            unsigned long :3;\r
+            unsigned long MSTPC23:1;\r
+            unsigned long MSTPC24:1;\r
+            unsigned long MSTPC25:1;\r
+            unsigned long MSTPC26:1;\r
+            unsigned long MSTPC27:1;\r
+            unsigned long :4;\r
+        } BIT;\r
+    } MSTPCRC;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :14;\r
+            unsigned long MSTPD14:1;\r
+            unsigned long MSTPD15:1;\r
+            unsigned long :3;\r
+            unsigned long MSTPD19:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPD21:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPD23:1;\r
+            unsigned long :4;\r
+            unsigned long MSTPD28:1;\r
+            unsigned long MSTPD29:1;\r
+            unsigned long MSTPD30:1;\r
+            unsigned long MSTPD31:1;\r
+        } BIT;\r
+    } MSTPCRD;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long PCKD:4;\r
+            unsigned long PCKC:4;\r
+            unsigned long PCKB:4;\r
+            unsigned long PCKA:4;\r
+            unsigned long BCK:4;\r
+            unsigned long :2;\r
+            unsigned long PSTOP0:1;\r
+            unsigned long PSTOP1:1;\r
+            unsigned long ICK:4;\r
+            unsigned long FCK:4;\r
+        } BIT;\r
+    } SCKCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short UCK:4;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } SCKCR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CKSEL:3;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } SCKCR3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PLIDIV:2;\r
+            unsigned short :2;\r
+            unsigned short PLLSRCSEL:1;\r
+            unsigned short :3;\r
+            unsigned short STC:6;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } PLLCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PLLEN:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } PLLCR2;\r
+    char           wk3[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCLKDIV:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } BCKCR;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MOSTP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } MOSCCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SOSTP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } SOSCCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LCSTP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } LOCOCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ILCSTP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } ILOCOCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HCSTP:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } HOCOCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HCFRQ:2;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } HOCOCR2;\r
+    char           wk6[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MOOVF:1;\r
+            unsigned char SOOVF:1;\r
+            unsigned char PLOVF:1;\r
+            unsigned char HCOVF:1;\r
+            unsigned char ILCOVF:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } OSCOVFSR;\r
+    char           wk7[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OSTDIE:1;\r
+            unsigned char :6;\r
+            unsigned char OSTDE:1;\r
+        } BIT;\r
+    } OSTDCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OSTDF:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } OSTDSR;\r
+    char           wk8[94];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OPCM:3;\r
+            unsigned char :1;\r
+            unsigned char OPCMTSF:1;\r
+            unsigned char :3;\r
+        } BIT;\r
+    } OPCCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RSTCKSEL:3;\r
+            unsigned char :4;\r
+            unsigned char RSTCKEN:1;\r
+        } BIT;\r
+    } RSTCKCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MSTS:8;\r
+        } BIT;\r
+    } MOSCWTCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SSTS:8;\r
+        } BIT;\r
+    } SOSCWTCR;\r
+    char           wk9[28];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IWTDRF:1;\r
+            unsigned char WDTRF:1;\r
+            unsigned char SWRF:1;\r
+            unsigned char :5;\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 LVD1IDTSEL:2;\r
+            unsigned char LVD1IRQSEL:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } LVD1CR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LVD1DET:1;\r
+            unsigned char LVD1MON:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } LVD1SR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LVD2IDTSEL:2;\r
+            unsigned char LVD2IRQSEL:1;\r
+            unsigned char :5;\r
+        } BIT;\r
+    } LVD2CR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LVD2DET:1;\r
+            unsigned char LVD2MON:1;\r
+            unsigned char :6;\r
+        } BIT;\r
+    } LVD2SR;\r
+    char           wk12[794];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PRC0:1;\r
+            unsigned short PRC1:1;\r
+            unsigned short :1;\r
+            unsigned short PRC3:1;\r
+            unsigned short :4;\r
+            unsigned short PRKEY:8;\r
+        } BIT;\r
+    } PRCR;\r
+    char           wk13[48768];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DEEPCUT:2;\r
+            unsigned char :4;\r
+            unsigned char IOKEEP:1;\r
+            unsigned char DPSBY:1;\r
+        } BIT;\r
+    } DPSBYCR;\r
+    char           wk14[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DIRQ0E:1;\r
+            unsigned char DIRQ1E:1;\r
+            unsigned char DIRQ2E:1;\r
+            unsigned char DIRQ3E:1;\r
+            unsigned char DIRQ4E:1;\r
+            unsigned char DIRQ5E:1;\r
+            unsigned char DIRQ6E:1;\r
+            unsigned char DIRQ7E:1;\r
+        } BIT;\r
+    } DPSIER0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DIRQ8E:1;\r
+            unsigned char DIRQ9E:1;\r
+            unsigned char DIRQ10E:1;\r
+            unsigned char DIRQ11E:1;\r
+            unsigned char DIRQ12E:1;\r
+            unsigned char DIRQ13E:1;\r
+            unsigned char DIRQ14E:1;\r
+            unsigned char DIRQ15E:1;\r
+        } BIT;\r
+    } DPSIER1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DLVD1IE:1;\r
+            unsigned char DLVD2IE:1;\r
+            unsigned char DRTCIIE:1;\r
+            unsigned char DRTCAIE:1;\r
+            unsigned char DNMIE:1;\r
+            unsigned char DRIICDIE:1;\r
+            unsigned char DRIICCIE:1;\r
+            unsigned char DUSBIE:1;\r
+        } BIT;\r
+    } DPSIER2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DCANIE:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DPSIER3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DIRQ0F:1;\r
+            unsigned char DIRQ1F:1;\r
+            unsigned char DIRQ2F:1;\r
+            unsigned char DIRQ3F:1;\r
+            unsigned char DIRQ4F:1;\r
+            unsigned char DIRQ5F:1;\r
+            unsigned char DIRQ6F:1;\r
+            unsigned char DIRQ7F:1;\r
+        } BIT;\r
+    } DPSIFR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DIRQ8F:1;\r
+            unsigned char DIRQ9F:1;\r
+            unsigned char DIRQ10F:1;\r
+            unsigned char DIRQ11F:1;\r
+            unsigned char DIRQ12F:1;\r
+            unsigned char DIRQ13F:1;\r
+            unsigned char DIRQ14F:1;\r
+            unsigned char DIRQ15F:1;\r
+        } BIT;\r
+    } DPSIFR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DLVD1IF:1;\r
+            unsigned char DLVD2IF:1;\r
+            unsigned char DRTCIIF:1;\r
+            unsigned char DRTCAIF:1;\r
+            unsigned char DNMIF:1;\r
+            unsigned char DRIICDIF:1;\r
+            unsigned char DRIICCIF:1;\r
+            unsigned char DUSBIF:1;\r
+        } BIT;\r
+    } DPSIFR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DCANIF:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DPSIFR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DIRQ0EG:1;\r
+            unsigned char DIRQ1EG:1;\r
+            unsigned char DIRQ2EG:1;\r
+            unsigned char DIRQ3EG:1;\r
+            unsigned char DIRQ4EG:1;\r
+            unsigned char DIRQ5EG:1;\r
+            unsigned char DIRQ6EG:1;\r
+            unsigned char DIRQ7EG:1;\r
+        } BIT;\r
+    } DPSIEGR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DIRQ8EG:1;\r
+            unsigned char DIRQ9EG:1;\r
+            unsigned char DIRQ10EG:1;\r
+            unsigned char DIRQ11EG:1;\r
+            unsigned char DIRQ12EG:1;\r
+            unsigned char DIRQ13EG:1;\r
+            unsigned char DIRQ14EG:1;\r
+            unsigned char DIRQ15EG:1;\r
+        } BIT;\r
+    } DPSIEGR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DLVD1EG:1;\r
+            unsigned char DLVD2EG:1;\r
+            unsigned char :2;\r
+            unsigned char DNMIEG:1;\r
+            unsigned char DRIICDEG:1;\r
+            unsigned char DRIICCEG:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } DPSIEGR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DCANIEG:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } DPSIEGR3;\r
+    char           wk15[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PORF:1;\r
+            unsigned char LVD0RF:1;\r
+            unsigned char LVD1RF:1;\r
+            unsigned char LVD2RF:1;\r
+            unsigned char :3;\r
+            unsigned char DPSRSTF:1;\r
+        } BIT;\r
+    } RSTSR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CWSF:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } RSTSR1;\r
+    char           wk16[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MOFXIN:1;\r
+            unsigned char MODRV:3;\r
+            unsigned char MODRV2:2;\r
+            unsigned char MOSEL:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } MOFCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char HOCOPCNT:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } HOCOPCR;\r
+    char           wk17[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char LVD1E:1;\r
+            unsigned char LVD2E:1;\r
+            unsigned char :1;\r
+        } BIT;\r
+    } LVCMPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LVD1LVL:4;\r
+            unsigned char LVD2LVL:4;\r
+        } BIT;\r
+    } LVDLVLR;\r
+    char           wk18[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LVD1RIE:1;\r
+            unsigned char LVD1DFDIS:1;\r
+            unsigned char LVD1CMPE:1;\r
+            unsigned char :1;\r
+            unsigned char LVD1FSAMP:2;\r
+            unsigned char LVD1RI:1;\r
+            unsigned char LVD1RN:1;\r
+        } BIT;\r
+    } LVD1CR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char LVD2RIE:1;\r
+            unsigned char LVD2DFDIS:1;\r
+            unsigned char LVD2CMPE:1;\r
+            unsigned char :1;\r
+            unsigned char LVD2FSAMP:2;\r
+            unsigned char LVD2RI:1;\r
+            unsigned char LVD2RN:1;\r
+        } BIT;\r
+    } LVD2CR0;\r
+    char           wk19[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char VBATTMNSEL:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } VBATTMNSELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char VBATTMON:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } VBATTMONR;\r
+    char           wk20[1];\r
+    unsigned char  DPSBKR[32];\r
+    char           wk21[7794020];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MDE:3;\r
+            unsigned long :29;\r
+        } BIT;\r
+    } MDE;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long IWDTSTRT:1;\r
+            unsigned long IWDTTOPS:2;\r
+            unsigned long IWDTCKS:4;\r
+            unsigned long IWDTRPES:2;\r
+            unsigned long IWDTRPSS:2;\r
+            unsigned long IWDTRSTIRQS:1;\r
+            unsigned long :1;\r
+            unsigned long IWDTSLCSTP:1;\r
+            unsigned long :2;\r
+            unsigned long WDTSTRT:1;\r
+            unsigned long WDTTOPS:2;\r
+            unsigned long WDTCKS:4;\r
+            unsigned long WDTRPES:2;\r
+            unsigned long WDTRPSS:2;\r
+            unsigned long WDTRSTIRQS:1;\r
+            unsigned long :3;\r
+        } BIT;\r
+    } OFS0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VDSEL:2;\r
+            unsigned long LVDAS:1;\r
+            unsigned long :5;\r
+            unsigned long HOCOEN:1;\r
+            unsigned long :23;\r
+        } BIT;\r
+    } OFS1;\r
+};\r
+\r
+struct st_temps {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char TSOE:1;\r
+            unsigned char :2;\r
+            unsigned char TSEN:1;\r
+        } BIT;\r
+    } TSCR;\r
+};\r
+\r
+struct st_tmr0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char CCLR:2;\r
+            unsigned char OVIE:1;\r
+            unsigned char CMIEA:1;\r
+            unsigned char CMIEB:1;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OSA:2;\r
+            unsigned char OSB:2;\r
+            unsigned char ADTE:1;\r
+            unsigned char :3;\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 CKS:3;\r
+            unsigned char CSS:2;\r
+            unsigned char :2;\r
+            unsigned char TMRIS:1;\r
+        } BIT;\r
+    } TCCR;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TCS:1;\r
+            unsigned char :7;\r
+        } BIT;\r
+    } TCSTR;\r
+};\r
+\r
+struct st_tmr1 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char CCLR:2;\r
+            unsigned char OVIE:1;\r
+            unsigned char CMIEA:1;\r
+            unsigned char CMIEB:1;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char OSA:2;\r
+            unsigned char OSB:2;\r
+            unsigned char :4;\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 CKS:3;\r
+            unsigned char CSS:2;\r
+            unsigned char :2;\r
+            unsigned char TMRIS:1;\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 NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR;\r
+    char           wk0[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char ICSELB:1;\r
+            unsigned char ICSELD:1;\r
+        } BIT;\r
+    } TMDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char :2;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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
+};\r
+\r
+struct st_tpu1 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR;\r
+    char           wk1[22];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char ICSELB:1;\r
+            unsigned char ICSELD:1;\r
+        } BIT;\r
+    } TMDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIOR;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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_tpu2 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR;\r
+    char           wk0[37];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char ICSELB:1;\r
+            unsigned char ICSELD:1;\r
+        } BIT;\r
+    } TMDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIOR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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_tpu3 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR;\r
+    char           wk1[52];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char ICSELB:1;\r
+            unsigned char ICSELD:1;\r
+        } BIT;\r
+    } TMDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIORH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOC:4;\r
+            unsigned char IOD:4;\r
+        } BIT;\r
+    } TIORL;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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
+};\r
+\r
+struct st_tpu4 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR;\r
+    char           wk0[67];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char ICSELB:1;\r
+            unsigned char ICSELD:1;\r
+        } BIT;\r
+    } TMDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIOR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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_tpu5 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char NFAEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCS:2;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } NFCR;\r
+    char           wk1[82];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPSC:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char CCLR:3;\r
+        } BIT;\r
+    } TCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MD:4;\r
+            unsigned char BFA:1;\r
+            unsigned char BFB:1;\r
+            unsigned char ICSELB:1;\r
+            unsigned char ICSELD:1;\r
+        } BIT;\r
+    } TMDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char IOA:4;\r
+            unsigned char IOB:4;\r
+        } BIT;\r
+    } TIOR;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGIEA:1;\r
+            unsigned char TGIEB:1;\r
+            unsigned char TGIEC:1;\r
+            unsigned char TGIED:1;\r
+            unsigned char TCIEV:1;\r
+            unsigned char TCIEU:1;\r
+            unsigned char :1;\r
+            unsigned char TTGE:1;\r
+        } BIT;\r
+    } TIER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TGFA:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char TCFU:1;\r
+            unsigned char :1;\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_tpua {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CST0:1;\r
+            unsigned char CST1:1;\r
+            unsigned char CST2:1;\r
+            unsigned char CST3:1;\r
+            unsigned char CST4:1;\r
+            unsigned char CST5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TSTR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SYNC0:1;\r
+            unsigned char SYNC1:1;\r
+            unsigned char SYNC2:1;\r
+            unsigned char SYNC3:1;\r
+            unsigned char SYNC4:1;\r
+            unsigned char SYNC5:1;\r
+            unsigned char :2;\r
+        } BIT;\r
+    } TSYR;\r
+};\r
+\r
+struct st_usb {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SRPC0:1;\r
+            unsigned long RPUE0:1;\r
+            unsigned long :1;\r
+            unsigned long DRPD0:1;\r
+            unsigned long FIXPHY0:1;\r
+            unsigned long :11;\r
+            unsigned long DP0:1;\r
+            unsigned long DM0:1;\r
+            unsigned long :2;\r
+            unsigned long DOVCA0:1;\r
+            unsigned long DOVCB0:1;\r
+            unsigned long :1;\r
+            unsigned long DVBSTS0:1;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } DPUSR0R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DPINTE0:1;\r
+            unsigned long DMINTE0:1;\r
+            unsigned long :2;\r
+            unsigned long DOVRCRAE0:1;\r
+            unsigned long DOVRCRBE0:1;\r
+            unsigned long :1;\r
+            unsigned long DVBSE0:1;\r
+            unsigned long :8;\r
+            unsigned long DPINT0:1;\r
+            unsigned long DMINT0:1;\r
+            unsigned long :2;\r
+            unsigned long DOVRCRA0:1;\r
+            unsigned long DOVRCRB0:1;\r
+            unsigned long :1;\r
+            unsigned long DVBINT0:1;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } DPUSR1R;\r
+};\r
+\r
+struct st_usb0 {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short USBE:1;\r
+            unsigned short :3;\r
+            unsigned short DPRPU:1;\r
+            unsigned short DRPD:1;\r
+            unsigned short DCFM:1;\r
+            unsigned short :3;\r
+            unsigned short SCKE:1;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } SYSCFG;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short LNST:2;\r
+            unsigned short IDMON:1;\r
+            unsigned short :3;\r
+            unsigned short HTACT:1;\r
+            unsigned short :7;\r
+            unsigned short OVCMON:2;\r
+        } BIT;\r
+    } SYSSTS0;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RHST:3;\r
+            unsigned short :1;\r
+            unsigned short UACT:1;\r
+            unsigned short RESUME:1;\r
+            unsigned short USBRST:1;\r
+            unsigned short RWUPE:1;\r
+            unsigned short WKUP:1;\r
+            unsigned short VBUSEN:1;\r
+            unsigned short EXICEN:1;\r
+            unsigned short HNPBTOA:1;\r
+            unsigned short :4;\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 CURPIPE:4;\r
+            unsigned short :1;\r
+            unsigned short ISEL:1;\r
+            unsigned short :2;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :1;\r
+            unsigned short MBW:1;\r
+            unsigned short :3;\r
+            unsigned short REW:1;\r
+            unsigned short RCNT:1;\r
+        } BIT;\r
+    } CFIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DTLN:9;\r
+            unsigned short :4;\r
+            unsigned short FRDY:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short BVAL:1;\r
+        } BIT;\r
+    } CFIFOCTR;\r
+    char           wk6[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CURPIPE:4;\r
+            unsigned short :4;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :1;\r
+            unsigned short MBW:1;\r
+            unsigned short :1;\r
+            unsigned short DREQE:1;\r
+            unsigned short DCLRM:1;\r
+            unsigned short REW:1;\r
+            unsigned short RCNT:1;\r
+        } BIT;\r
+    } D0FIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DTLN:9;\r
+            unsigned short :4;\r
+            unsigned short FRDY:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short BVAL:1;\r
+        } BIT;\r
+    } D0FIFOCTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CURPIPE:4;\r
+            unsigned short :4;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :1;\r
+            unsigned short MBW:1;\r
+            unsigned short :1;\r
+            unsigned short DREQE:1;\r
+            unsigned short DCLRM:1;\r
+            unsigned short REW:1;\r
+            unsigned short RCNT:1;\r
+        } BIT;\r
+    } D1FIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DTLN:9;\r
+            unsigned short :4;\r
+            unsigned short FRDY:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short BVAL:1;\r
+        } BIT;\r
+    } D1FIFOCTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short BRDYE:1;\r
+            unsigned short NRDYE:1;\r
+            unsigned short BEMPE:1;\r
+            unsigned short CTRE:1;\r
+            unsigned short DVSE:1;\r
+            unsigned short SOFE:1;\r
+            unsigned short RSME:1;\r
+            unsigned short VBSE:1;\r
+        } BIT;\r
+    } INTENB0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short SACKE:1;\r
+            unsigned short SIGNE:1;\r
+            unsigned short EOFERRE:1;\r
+            unsigned short :4;\r
+            unsigned short ATTCHE:1;\r
+            unsigned short DTCHE:1;\r
+            unsigned short :1;\r
+            unsigned short BCHGE:1;\r
+            unsigned short OVRCRE:1;\r
+        } BIT;\r
+    } INTENB1;\r
+    char           wk7[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BRDYE:1;\r
+            unsigned short PIPE1BRDYE:1;\r
+            unsigned short PIPE2BRDYE:1;\r
+            unsigned short PIPE3BRDYE:1;\r
+            unsigned short PIPE4BRDYE:1;\r
+            unsigned short PIPE5BRDYE:1;\r
+            unsigned short PIPE6BRDYE:1;\r
+            unsigned short PIPE7BRDYE:1;\r
+            unsigned short PIPE8BRDYE:1;\r
+            unsigned short PIPE9BRDYE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BRDYENB;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0NRDYE:1;\r
+            unsigned short PIPE1NRDYE:1;\r
+            unsigned short PIPE2NRDYE:1;\r
+            unsigned short PIPE3NRDYE:1;\r
+            unsigned short PIPE4NRDYE:1;\r
+            unsigned short PIPE5NRDYE:1;\r
+            unsigned short PIPE6NRDYE:1;\r
+            unsigned short PIPE7NRDYE:1;\r
+            unsigned short PIPE8NRDYE:1;\r
+            unsigned short PIPE9NRDYE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } NRDYENB;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BEMPE:1;\r
+            unsigned short PIPE1BEMPE:1;\r
+            unsigned short PIPE2BEMPE:1;\r
+            unsigned short PIPE3BEMPE:1;\r
+            unsigned short PIPE4BEMPE:1;\r
+            unsigned short PIPE5BEMPE:1;\r
+            unsigned short PIPE6BEMPE:1;\r
+            unsigned short PIPE7BEMPE:1;\r
+            unsigned short PIPE8BEMPE:1;\r
+            unsigned short PIPE9BEMPE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BEMPENB;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short EDGESTS:1;\r
+            unsigned short :1;\r
+            unsigned short BRDYM:1;\r
+            unsigned short :1;\r
+            unsigned short TRNENSEL:1;\r
+            unsigned short :7;\r
+        } BIT;\r
+    } SOFCFG;\r
+    char           wk8[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CTSQ:3;\r
+            unsigned short VALID:1;\r
+            unsigned short DVSQ:3;\r
+            unsigned short VBSTS:1;\r
+            unsigned short BRDY:1;\r
+            unsigned short NRDY:1;\r
+            unsigned short BEMP:1;\r
+            unsigned short CTRT:1;\r
+            unsigned short DVST:1;\r
+            unsigned short SOFR:1;\r
+            unsigned short RESM:1;\r
+            unsigned short VBINT:1;\r
+        } BIT;\r
+    } INTSTS0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short SACK:1;\r
+            unsigned short SIGN:1;\r
+            unsigned short EOFERR:1;\r
+            unsigned short :4;\r
+            unsigned short ATTCH:1;\r
+            unsigned short DTCH:1;\r
+            unsigned short :1;\r
+            unsigned short BCHG:1;\r
+            unsigned short OVRCR:1;\r
+        } BIT;\r
+    } INTSTS1;\r
+    char           wk9[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BRDY:1;\r
+            unsigned short PIPE1BRDY:1;\r
+            unsigned short PIPE2BRDY:1;\r
+            unsigned short PIPE3BRDY:1;\r
+            unsigned short PIPE4BRDY:1;\r
+            unsigned short PIPE5BRDY:1;\r
+            unsigned short PIPE6BRDY:1;\r
+            unsigned short PIPE7BRDY:1;\r
+            unsigned short PIPE8BRDY:1;\r
+            unsigned short PIPE9BRDY:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BRDYSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0NRDY:1;\r
+            unsigned short PIPE1NRDY:1;\r
+            unsigned short PIPE2NRDY:1;\r
+            unsigned short PIPE3NRDY:1;\r
+            unsigned short PIPE4NRDY:1;\r
+            unsigned short PIPE5NRDY:1;\r
+            unsigned short PIPE6NRDY:1;\r
+            unsigned short PIPE7NRDY:1;\r
+            unsigned short PIPE8NRDY:1;\r
+            unsigned short PIPE9NRDY:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } NRDYSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BEMP:1;\r
+            unsigned short PIPE1BEMP:1;\r
+            unsigned short PIPE2BEMP:1;\r
+            unsigned short PIPE3BEMP:1;\r
+            unsigned short PIPE4BEMP:1;\r
+            unsigned short PIPE5BEMP:1;\r
+            unsigned short PIPE6BEMP:1;\r
+            unsigned short PIPE7BEMP:1;\r
+            unsigned short PIPE8BEMP:1;\r
+            unsigned short PIPE9BEMP:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BEMPSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short FRNM:11;\r
+            unsigned short :3;\r
+            unsigned short CRCE:1;\r
+            unsigned short OVRN:1;\r
+        } BIT;\r
+    } FRMNUM;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :15;\r
+            unsigned short DVCHG:1;\r
+        } BIT;\r
+    } DVCHGR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short USBADDR:7;\r
+            unsigned short :1;\r
+            unsigned short STSRECOV:4;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } USBADDR;\r
+    char           wk10[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BMREQUESTTYPE:8;\r
+            unsigned short BREQUEST: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 :4;\r
+            unsigned short DIR:1;\r
+            unsigned short :2;\r
+            unsigned short SHTNAK:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DCPCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MXPS:7;\r
+            unsigned short :5;\r
+            unsigned short DEVSEL:4;\r
+        } BIT;\r
+    } DCPMAXP;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short CCPL:1;\r
+            unsigned short :2;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short :2;\r
+            unsigned short SUREQCLR:1;\r
+            unsigned short :2;\r
+            unsigned short SUREQ:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } DCPCTR;\r
+    char           wk11[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPESEL:4;\r
+            unsigned short :12;\r
+        } BIT;\r
+    } PIPESEL;\r
+    char           wk12[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EPNUM:4;\r
+            unsigned short DIR:1;\r
+            unsigned short :2;\r
+            unsigned short SHTNAK:1;\r
+            unsigned short :1;\r
+            unsigned short DBLB:1;\r
+            unsigned short BFRE:1;\r
+            unsigned short :3;\r
+            unsigned short TYPE:2;\r
+        } BIT;\r
+    } PIPECFG;\r
+    char           wk13[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MXPS:9;\r
+            unsigned short :3;\r
+            unsigned short DEVSEL:4;\r
+        } BIT;\r
+    } PIPEMAXP;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short IITV:3;\r
+            unsigned short :9;\r
+            unsigned short IFIS:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } PIPEPERI;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :3;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE1CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :3;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE2CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :3;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE3CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :3;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE4CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :3;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE5CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short :5;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE6CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short :5;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE7CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short :5;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE8CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short :5;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE9CTR;\r
+    char           wk14[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE1TRE;\r
+    unsigned short PIPE1TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE2TRE;\r
+    unsigned short PIPE2TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE3TRE;\r
+    unsigned short PIPE3TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE4TRE;\r
+    unsigned short PIPE4TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE5TRE;\r
+    unsigned short PIPE5TRN;\r
+    char           wk15[44];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DEVADD0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DEVADD1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DEVADD2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DEVADD3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DEVADD4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } DEVADD5;\r
+    char           wk16[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SLEWR00:1;\r
+            unsigned long SLEWR01:1;\r
+            unsigned long SLEWF00:1;\r
+            unsigned long SLEWF01:1;\r
+            unsigned long :2;\r
+            unsigned long USBSPD:2;\r
+            unsigned long :24;\r
+        } BIT;\r
+    } DPUSR2R;\r
+};\r
+\r
+struct st_usbhs {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short USBE:1;\r
+            unsigned short :3;\r
+            unsigned short DPRPU:1;\r
+            unsigned short DRPD:1;\r
+            unsigned short DCFM:1;\r
+            unsigned short HSE:1;\r
+            unsigned short CNEN:1;\r
+            unsigned short :7;\r
+        } BIT;\r
+    } SYSCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BWAIT:4;\r
+            unsigned short :12;\r
+        } BIT;\r
+    } BUSWAIT;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short LNST:2;\r
+            unsigned short IDMON:1;\r
+            unsigned short :3;\r
+            unsigned short HTACT:1;\r
+            unsigned short :7;\r
+            unsigned short OVCMON:2;\r
+        } BIT;\r
+    } SYSSTS0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PLLLOCK:1;\r
+            unsigned short :15;\r
+        } BIT;\r
+    } PLLSTA;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RHST:3;\r
+            unsigned short :1;\r
+            unsigned short UACT:1;\r
+            unsigned short RESUME:1;\r
+            unsigned short USBRST:1;\r
+            unsigned short RWUPE:1;\r
+            unsigned short WKUP:1;\r
+            unsigned short VBUSEN:1;\r
+            unsigned short EXICEN:1;\r
+            unsigned short HNPBTOA:1;\r
+            unsigned short :4;\r
+        } BIT;\r
+    } DVSTCTR0;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short UTST:4;\r
+            unsigned short :12;\r
+        } BIT;\r
+    } TESTMODE;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short TENDE:1;\r
+            unsigned short :7;\r
+            unsigned short DFACC:2;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } D0FBCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short TENDE:1;\r
+            unsigned short :7;\r
+            unsigned short DFACC:2;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } D1FBCFG;\r
+    unsigned short CFIFO;\r
+    unsigned short CFIFO1;\r
+    unsigned short D0FIFO;\r
+    unsigned short D0FIFO1;\r
+    unsigned short D1FIFO;\r
+    unsigned short D1FIFO1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CURPIPE:4;\r
+            unsigned short :1;\r
+            unsigned short ISEL:1;\r
+            unsigned short :2;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :1;\r
+            unsigned short MBW:2;\r
+            unsigned short :2;\r
+            unsigned short REW:1;\r
+            unsigned short RCNT:1;\r
+        } BIT;\r
+    } CFIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DTLN:12;\r
+            unsigned short :1;\r
+            unsigned short FRDY:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short BVAL:1;\r
+        } BIT;\r
+    } CFIFOCTR;\r
+    char           wk2[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CURPIPE:4;\r
+            unsigned short :4;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :1;\r
+            unsigned short MBW:2;\r
+            unsigned short DREQE:1;\r
+            unsigned short DCLRM:1;\r
+            unsigned short REW:1;\r
+            unsigned short RCNT:1;\r
+        } BIT;\r
+    } D0FIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DTLN:12;\r
+            unsigned short :1;\r
+            unsigned short FRDY:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short BVAL:1;\r
+        } BIT;\r
+    } D0FIFOCTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CURPIPE:4;\r
+            unsigned short :4;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :1;\r
+            unsigned short MBW:2;\r
+            unsigned short DREQE:1;\r
+            unsigned short DCLRM:1;\r
+            unsigned short REW:1;\r
+            unsigned short RCNT:1;\r
+        } BIT;\r
+    } D1FIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DTLN:12;\r
+            unsigned short :1;\r
+            unsigned short FRDY:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short BVAL:1;\r
+        } BIT;\r
+    } D1FIFOCTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short BRDYE:1;\r
+            unsigned short NRDYE:1;\r
+            unsigned short BEMPE:1;\r
+            unsigned short CTRE:1;\r
+            unsigned short DVSE:1;\r
+            unsigned short SOFE:1;\r
+            unsigned short RSME:1;\r
+            unsigned short VBSE:1;\r
+        } BIT;\r
+    } INTENB0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PDDETINTE:1;\r
+            unsigned short :3;\r
+            unsigned short SACKE:1;\r
+            unsigned short SIGNE:1;\r
+            unsigned short EOFERRE:1;\r
+            unsigned short :1;\r
+            unsigned short LPMENDE:1;\r
+            unsigned short L1RSMENDE:1;\r
+            unsigned short :1;\r
+            unsigned short ATTCHE:1;\r
+            unsigned short DTCHE:1;\r
+            unsigned short :1;\r
+            unsigned short BCHGE:1;\r
+            unsigned short OVRCRE:1;\r
+        } BIT;\r
+    } INTENB1;\r
+    char           wk3[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BRDYE:1;\r
+            unsigned short PIPE1BRDYE:1;\r
+            unsigned short PIPE2BRDYE:1;\r
+            unsigned short PIPE3BRDYE:1;\r
+            unsigned short PIPE4BRDYE:1;\r
+            unsigned short PIPE5BRDYE:1;\r
+            unsigned short PIPE6BRDYE:1;\r
+            unsigned short PIPE7BRDYE:1;\r
+            unsigned short PIPE8BRDYE:1;\r
+            unsigned short PIPE9BRDYE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BRDYENB;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0NRDYE:1;\r
+            unsigned short PIPE1NRDYE:1;\r
+            unsigned short PIPE2NRDYE:1;\r
+            unsigned short PIPE3NRDYE:1;\r
+            unsigned short PIPE4NRDYE:1;\r
+            unsigned short PIPE5NRDYE:1;\r
+            unsigned short PIPE6NRDYE:1;\r
+            unsigned short PIPE7NRDYE:1;\r
+            unsigned short PIPE8NRDYE:1;\r
+            unsigned short PIPE9NRDYE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } NRDYENB;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BEMPE:1;\r
+            unsigned short PIPE1BEMPE:1;\r
+            unsigned short PIPE2BEMPE:1;\r
+            unsigned short PIPE3BEMPE:1;\r
+            unsigned short PIPE4BEMPE:1;\r
+            unsigned short PIPE5BEMPE:1;\r
+            unsigned short PIPE6BEMPE:1;\r
+            unsigned short PIPE7BEMPE:1;\r
+            unsigned short PIPE8BEMPE:1;\r
+            unsigned short PIPE9BEMPE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BEMPENB;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short SOFM:2;\r
+            unsigned short EDGESTS:1;\r
+            unsigned short INTL:1;\r
+            unsigned short BRDYM:1;\r
+            unsigned short :1;\r
+            unsigned short TRNENSEL:1;\r
+            unsigned short :7;\r
+        } BIT;\r
+    } SOFCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short dirpd:1;\r
+            unsigned short pllreset:1;\r
+            unsigned short :1;\r
+            unsigned short cdpen:1;\r
+            unsigned short clksel0:1;\r
+            unsigned short clksel1:1;\r
+            unsigned short :2;\r
+            unsigned short repsel0:1;\r
+            unsigned short repsel1:1;\r
+            unsigned short :1;\r
+            unsigned short repstart:1;\r
+            unsigned short :3;\r
+            unsigned short HSEB:1;\r
+        } BIT;\r
+    } PHYSET;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CTSQ:3;\r
+            unsigned short VALID:1;\r
+            unsigned short DVSQ:3;\r
+            unsigned short VBSTS:1;\r
+            unsigned short BRDY:1;\r
+            unsigned short NRDY:1;\r
+            unsigned short BEMP:1;\r
+            unsigned short CTRT:1;\r
+            unsigned short DVST:1;\r
+            unsigned short SOFR:1;\r
+            unsigned short RESM:1;\r
+            unsigned short VBINT:1;\r
+        } BIT;\r
+    } INTSTS0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PDDETINT:1;\r
+            unsigned short :3;\r
+            unsigned short SACK:1;\r
+            unsigned short SIGN:1;\r
+            unsigned short EOFERR:1;\r
+            unsigned short :1;\r
+            unsigned short LPMEND:1;\r
+            unsigned short L1RSMEND:1;\r
+            unsigned short :1;\r
+            unsigned short ATTCH:1;\r
+            unsigned short DTCH:1;\r
+            unsigned short :1;\r
+            unsigned short BCHG:1;\r
+            unsigned short OVRCR:1;\r
+        } BIT;\r
+    } INTSTS1;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BRDY:1;\r
+            unsigned short PIPE1BRDY:1;\r
+            unsigned short PIPE2BRDY:1;\r
+            unsigned short PIPE3BRDY:1;\r
+            unsigned short PIPE4BRDY:1;\r
+            unsigned short PIPE5BRDY:1;\r
+            unsigned short PIPE6BRDY:1;\r
+            unsigned short PIPE7BRDY:1;\r
+            unsigned short PIPE8BRDY:1;\r
+            unsigned short PIPE9BRDY:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BRDYSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0NRDYE:1;\r
+            unsigned short PIPE1NRDYE:1;\r
+            unsigned short PIPE2NRDYE:1;\r
+            unsigned short PIPE3NRDYE:1;\r
+            unsigned short PIPE4NRDYE:1;\r
+            unsigned short PIPE5NRDYE:1;\r
+            unsigned short PIPE6NRDYE:1;\r
+            unsigned short PIPE7NRDYE:1;\r
+            unsigned short PIPE8NRDYE:1;\r
+            unsigned short PIPE9NRDYE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } NRDYSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPE0BENP:1;\r
+            unsigned short PIPE1BENP:1;\r
+            unsigned short PIPE2BENP:1;\r
+            unsigned short PIPE3BENP:1;\r
+            unsigned short PIPE4BENP:1;\r
+            unsigned short PIPE5BENP:1;\r
+            unsigned short PIPE6BENP:1;\r
+            unsigned short PIPE7BENP:1;\r
+            unsigned short PIPE8BEMPE:1;\r
+            unsigned short PIPE9BEMPE:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BEMPSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short FRNM:11;\r
+            unsigned short :3;\r
+            unsigned short CRCE:1;\r
+            unsigned short OVRN:1;\r
+        } BIT;\r
+    } FRMNUM;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short UFRNM:3;\r
+            unsigned short :13;\r
+        } BIT;\r
+    } UFRMNUM;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short USBADDR:7;\r
+            unsigned short :9;\r
+        } BIT;\r
+    } USBADDR;\r
+    char           wk5[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BMREQUESTTYPE:8;\r
+            unsigned short BREQUEST: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 :4;\r
+            unsigned short DIR:1;\r
+            unsigned short :11;\r
+        } BIT;\r
+    } DCPCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MXPS:7;\r
+            unsigned short :5;\r
+            unsigned short DEVSEL:4;\r
+        } BIT;\r
+    } DCPMAXP;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short CCPL:1;\r
+            unsigned short :1;\r
+            unsigned short PINGE:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short :2;\r
+            unsigned short SUREQCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short SUREQ:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } DCPCTR;\r
+    char           wk6[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PIPESEL:4;\r
+            unsigned short :12;\r
+        } BIT;\r
+    } PIPESEL;\r
+    char           wk7[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EPNUM:4;\r
+            unsigned short DIR:1;\r
+            unsigned short :2;\r
+            unsigned short SHTNAK:1;\r
+            unsigned short CNTMD:1;\r
+            unsigned short DBLB:1;\r
+            unsigned short BFRE:1;\r
+            unsigned short :3;\r
+            unsigned short TYPE:2;\r
+        } BIT;\r
+    } PIPECFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BUFNMB:8;\r
+            unsigned short :2;\r
+            unsigned short BUFSIZE:5;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } PIPEBUF;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short MXPS:11;\r
+            unsigned short :1;\r
+            unsigned short DEVSEL:4;\r
+        } BIT;\r
+    } PIPEMAXP;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short IITV:3;\r
+            unsigned short :9;\r
+            unsigned short IFIS:1;\r
+            unsigned short :3;\r
+        } BIT;\r
+    } PIPEPERI;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE1CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE2CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE3CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE4CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE5CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE6CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE7CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE8CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short PID:2;\r
+            unsigned short :3;\r
+            unsigned short PBUSY:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short :1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short BSTS:1;\r
+        } BIT;\r
+    } PIPE9CTR;\r
+    char           wk8[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE1TRE;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } PIPE1TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE2TRE;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } PIPE2TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE3TRE;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } PIPE3TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE4TRE;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } PIPE4TRN;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TRCLR:1;\r
+            unsigned short TRENB:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } PIPE5TRE;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } PIPE5TRN;\r
+    char           wk9[44];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } DEVADD0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } DEVADD1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } DEVADD2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } DEVADD3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } DEVADD4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short USBSPD:2;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } DEVADD5;\r
+    char           wk10[36];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :7;\r
+            unsigned short HWLPM:1;\r
+            unsigned short :8;\r
+        } BIT;\r
+    } LPCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :14;\r
+            unsigned short SUSPENDM:1;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } LPSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short XCVRSEL:2;\r
+            unsigned short TERMSEL:1;\r
+            unsigned short OPMODE:2;\r
+            unsigned short :1;\r
+            unsigned short SUSMON:1;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } PHYFUNCTR;\r
+    char           wk11[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :9;\r
+            unsigned short DPPUDWN:1;\r
+            unsigned short DMPUDWN:1;\r
+            unsigned short :5;\r
+        } BIT;\r
+    } PHYOTGCTR;\r
+    char           wk12[52];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short IDPSRCE:1;\r
+            unsigned short IDMSINKE:1;\r
+            unsigned short VDPSRCE:1;\r
+            unsigned short IDPSINKE:1;\r
+            unsigned short VDMSRCE:1;\r
+            unsigned short DCPMODE:1;\r
+            unsigned short :2;\r
+            unsigned short CHGDETSTS:1;\r
+            unsigned short PDDETSTS:1;\r
+            unsigned short :6;\r
+        } BIT;\r
+    } BCCTRL;\r
+    char           wk13[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short drise0:1;\r
+            unsigned short drise1:1;\r
+            unsigned short dfall0:1;\r
+            unsigned short dfall1:1;\r
+            unsigned short :3;\r
+            unsigned short pcompenb:1;\r
+            unsigned short hsiup0:1;\r
+            unsigned short hsiup1:1;\r
+            unsigned short hsiup2:1;\r
+            unsigned short hsiup3:1;\r
+            unsigned short impoffset0:1;\r
+            unsigned short impoffset1:1;\r
+            unsigned short impoffset2:1;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } PHYTRIM1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short squ0:1;\r
+            unsigned short squ1:1;\r
+            unsigned short squ2:1;\r
+            unsigned short squ3:1;\r
+            unsigned short :3;\r
+            unsigned short hsrxenmode:1;\r
+            unsigned short prd0:1;\r
+            unsigned short prd1:1;\r
+            unsigned short :2;\r
+            unsigned short dis0:1;\r
+            unsigned short dis1:1;\r
+            unsigned short dis2:1;\r
+            unsigned short :1;\r
+        } BIT;\r
+    } PHYTRIM2;\r
+    char           wk14[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SRPC:1;\r
+            unsigned long :3;\r
+            unsigned long FIXPHY:1;\r
+            unsigned long :11;\r
+            unsigned long DP:1;\r
+            unsigned long DM:1;\r
+            unsigned long :2;\r
+            unsigned long DOVCA:1;\r
+            unsigned long DOVCB:1;\r
+            unsigned long :1;\r
+            unsigned long DVBSTS:1;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } DPUSR0R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DPINTE:1;\r
+            unsigned long DMINTE:1;\r
+            unsigned long :2;\r
+            unsigned long DOVRCRAE:1;\r
+            unsigned long DOVRCRBE:1;\r
+            unsigned long :1;\r
+            unsigned long DVBSE:1;\r
+            unsigned long :8;\r
+            unsigned long DPINT:1;\r
+            unsigned long DMINT:1;\r
+            unsigned long :2;\r
+            unsigned long DOVRCRA:1;\r
+            unsigned long DOVRCRB:1;\r
+            unsigned long :1;\r
+            unsigned long DVBINT:1;\r
+            unsigned long :8;\r
+        } BIT;\r
+    } DPUSR1R;\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 TOPS:2;\r
+            unsigned short :2;\r
+            unsigned short CKS:4;\r
+            unsigned short RPES:2;\r
+            unsigned short :2;\r
+            unsigned short RPSS:2;\r
+            unsigned short :2;\r
+        } BIT;\r
+    } WDTCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CNTVAL:14;\r
+            unsigned short UNDFF:1;\r
+            unsigned short REFEF:1;\r
+        } BIT;\r
+    } WDTSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char RSTIRQS:1;\r
+        } BIT;\r
+    } WDTRCR;\r
+};\r
+\r
+#elif __RX_BIG_ENDIAN__        /*Big endian*/\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_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 CACREFE:1;\r
+        } BIT;\r
+    } CACR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DFS: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_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_cmtw {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :15;\r
+            unsigned short STR:1;\r
+        } BIT;\r
+    } CMWSTR;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CLLR:3;\r
+            unsigned short :3;\r
+            unsigned short CMS:1;\r
+            unsigned short :1;\r
+            unsigned short OC1IE:1;\r
+            unsigned short OC0IE:1;\r
+            unsigned short IC1IE:1;\r
+            unsigned short IC0IE:1;\r
+            unsigned short CM2IE:1;\r
+            unsigned short :1;\r
+            unsigned short CKS:2;\r
+        } BIT;\r
+    } CMWCR;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CM2E:1;\r
+            unsigned short :1;\r
+            unsigned short OC1E:1;\r
+            unsigned short OC0E:1;\r
+            unsigned short OC1:2;\r
+            unsigned short OC0:2;\r
+            unsigned short :2;\r
+            unsigned short IC1E:1;\r
+            unsigned short IC0E:1;\r
+            unsigned short IC1:2;\r
+            unsigned short IC0:2;\r
+        } BIT;\r
+    } CMWIOR;\r
+    char           wk2[6];\r
+    unsigned long  CMWCNT;\r
+    unsigned long  CMWCOR;\r
+    unsigned long  CMWICR0;\r
+    unsigned long  CMWICR1;\r
+    unsigned long  CMWOCR0;\r
+    unsigned long  CMWOCR1;\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
+//    union {\r
+//        unsigned short WORD;\r
+//        struct {\r
+//            unsigned short :4;\r
+//            unsigned short B11:1;\r
+//            unsigned short B10:1;\r
+//            unsigned short B9:1;\r
+//            unsigned short B8:1;\r
+//            unsigned short B7:1;\r
+//            unsigned short B6:1;\r
+//            unsigned short B5:1;\r
+//            unsigned short B4:1;\r
+//            unsigned short B3:1;\r
+//            unsigned short B2:1;\r
+//            unsigned short B1:1;\r
+//            unsigned short B0:1;\r
+//        } BIT;\r
+//    } DADR0;\r
+//    union {\r
+//        unsigned short WORD;\r
+//        struct {\r
+//            unsigned short :4;\r
+//            unsigned short B11:1;\r
+//            unsigned short B10:1;\r
+//            unsigned short B9:1;\r
+//            unsigned short B8:1;\r
+//            unsigned short B7:1;\r
+//            unsigned short B6:1;\r
+//            unsigned short B5:1;\r
+//            unsigned short B4:1;\r
+//            unsigned short B3:1;\r
+//            unsigned short B2:1;\r
+//            unsigned short B1:1;\r
+//            unsigned short B0:1;\r
+//        } BIT;\r
+//    } DADR1;\r
+    unsigned short DADR0;\r
+    unsigned short DADR1;    \r
+    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
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DAAMP1:1;\r
+            unsigned char DAAMP0:1;\r
+        } BIT;\r
+    } DAAMPCR;\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
+    char           wk0[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char DMIS7:1;\r
+            unsigned char DMIS6:1;\r
+            unsigned char DMIS5:1;\r
+            unsigned char DMIS4:1;\r
+        } BIT;\r
+    } DMIST;\r
+};\r
+\r
+struct st_dmac0 {\r
+//    unsigned long  DMSAR;\r
+//    unsigned long  DMDAR;\r
+    void          *DMSAR;\r
+    void          *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
+    void          *DMSAR;\r
+    void          *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
+    void          *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_eccram {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char RAMMOD:2;\r
+        } BIT;\r
+    } ECCRAMMODE;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char RAMERR:1;\r
+        } BIT;\r
+    } ECCRAMSTS;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char KW:7;\r
+            unsigned char RAMPRCR:1;\r
+        } BIT;\r
+    } ECCRAMPRCR;\r
+    char           wk1[3];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :13;\r
+            unsigned long READ:16;\r
+        } BIT;\r
+    } ECCRAMECAD;\r
+    char           wk2[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char KW2:7;\r
+            unsigned char RAMPRCR2:1;\r
+        } BIT;\r
+    } ECCRAMPRCR2;\r
+    char           wk3[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char TSTBYP:1;\r
+        } BIT;\r
+    } ECCRAMETST;\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
+    void          *TDLAR;\r
+    char           wk3[4];\r
+//    unsigned long  RDLAR;\r
+    void          *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
+    void          *RBWAR;\r
+//    unsigned long  RDFAR;\r
+    void          *RDFAR;\r
+    char           wk14[4];\r
+//    unsigned long  TBRAR;\r
+    void          *TBRAR;    \r
+//    unsigned long  TDFAR;\r
+    void          *TDFAR;    \r
+};\r
+\r
+struct st_edmacp {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :25;\r
+            unsigned long DE:1;\r
+            unsigned long DL:2;\r
+            unsigned long :3;\r
+            unsigned long SWR:1;\r
+        } BIT;\r
+    } EDMR;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long TR:1;\r
+        } BIT;\r
+    } EDTRR;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long RR:1;\r
+        } BIT;\r
+    } EDRRR;\r
+    char           wk2[4];\r
+    unsigned long  TDLAR;\r
+    char           wk3[4];\r
+    unsigned long  RDLAR;\r
+    char           wk4[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long TWB:1;\r
+            unsigned long :3;\r
+            unsigned long TABT:1;\r
+            unsigned long RABT:1;\r
+            unsigned long RFCOF:1;\r
+            unsigned long ADE:1;\r
+            unsigned long ECI:1;\r
+            unsigned long TC:1;\r
+            unsigned long TDE:1;\r
+            unsigned long TFUF:1;\r
+            unsigned long FR:1;\r
+            unsigned long RDE:1;\r
+            unsigned long RFOF:1;\r
+        } BIT;\r
+    } EESR;\r
+    char           wk5[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long TWBIP:1;\r
+            unsigned long :3;\r
+            unsigned long TABTIP:1;\r
+            unsigned long RABTIP:1;\r
+            unsigned long RFCOFIP:1;\r
+            unsigned long ADEIP:1;\r
+            unsigned long ECIIP:1;\r
+            unsigned long TCIP:1;\r
+            unsigned long TDEIP:1;\r
+            unsigned long TFUFIP:1;\r
+            unsigned long FRIP:1;\r
+            unsigned long RDEIP:1;\r
+            unsigned long RFOFIP:1;\r
+        } BIT;\r
+    } EESIPR;\r
+    char           wk6[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :20;\r
+            unsigned long CNDCE:1;\r
+            unsigned long DLCCE:1;\r
+            unsigned long CDCE:1;\r
+            unsigned long TROCE:1;\r
+            unsigned long RMAFCE:1;\r
+            unsigned long :2;\r
+            unsigned long RRFCE:1;\r
+            unsigned long RTLFCE:1;\r
+            unsigned long RTSFCE:1;\r
+            unsigned long PRECE:1;\r
+            unsigned long CERFCE:1;\r
+        } BIT;\r
+    } TRSCER;\r
+    char           wk7[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long MFC:16;\r
+        } BIT;\r
+    } RMFCR;\r
+    char           wk8[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :21;\r
+            unsigned long TFT:11;\r
+        } BIT;\r
+    } TFTR;\r
+    char           wk9[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :19;\r
+            unsigned long TFD:5;\r
+            unsigned long :3;\r
+            unsigned long RFD:5;\r
+        } BIT;\r
+    } FDR;\r
+    char           wk10[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :30;\r
+            unsigned long RNC:1;\r
+            unsigned long RNR:1;\r
+        } BIT;\r
+    } RMCR;\r
+    char           wk11[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long UNDER:16;\r
+        } BIT;\r
+    } TFUCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long OVER:16;\r
+        } BIT;\r
+    } RFOCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long ELB:1;\r
+        } BIT;\r
+    } IOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :13;\r
+            unsigned long RFFO:3;\r
+            unsigned long :13;\r
+            unsigned long RFDO:3;\r
+        } BIT;\r
+    } FCFTR;\r
+    char           wk12[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :14;\r
+            unsigned long PADS:2;\r
+            unsigned long :10;\r
+            unsigned long PADR:6;\r
+        } BIT;\r
+    } RPADIR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :27;\r
+            unsigned long TIM:1;\r
+            unsigned long :3;\r
+            unsigned long TIS:1;\r
+        } BIT;\r
+    } TRIMD;\r
+    char           wk13[72];\r
+    unsigned long  RBWAR;\r
+    unsigned long  RDFAR;\r
+    char           wk14[4];\r
+    unsigned long  TBRAR;\r
+    unsigned long  TDFAR;\r
+};\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
+    } ELSR0;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR4;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR7;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR10;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR11;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR12;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR13;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR15;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR16;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR18;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR19;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR20;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR21;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR22;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR23;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR24;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR25;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR26;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR27;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR28;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char MTU3MD:2;\r
+            unsigned char :4;\r
+            unsigned char MTU0MD: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 TMR3MD:2;\r
+            unsigned char TMR2MD:2;\r
+            unsigned char TMR1MD:2;\r
+            unsigned char TMR0MD:2;\r
+        } BIT;\r
+    } ELOPD;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PGR7:1;\r
+            unsigned char PGR6:1;\r
+            unsigned char PGR5:1;\r
+            unsigned char PGR4:1;\r
+            unsigned char PGR3:1;\r
+            unsigned char PGR2:1;\r
+            unsigned char PGR1:1;\r
+            unsigned char PGR0:1;\r
+        } BIT;\r
+    } PGR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PGR7:1;\r
+            unsigned char PGR6:1;\r
+            unsigned char PGR5:1;\r
+            unsigned char PGR4:1;\r
+            unsigned char PGR3:1;\r
+            unsigned char PGR2:1;\r
+            unsigned char PGR1:1;\r
+            unsigned char PGR0: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
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR33;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR35;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR36;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR37;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR38;\r
+    char           wk8[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR41;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR42;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR43;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR44;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ELS:8;\r
+        } BIT;\r
+    } ELSR45;\r
+    char           wk9[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TPU3MD:2;\r
+            unsigned char TPU2MD:2;\r
+            unsigned char TPU1MD:2;\r
+            unsigned char TPU0MD:2;\r
+        } BIT;\r
+    } ELOPF;\r
+    char           wk10[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char CMTW0MD:2;\r
+        } BIT;\r
+    } ELOPH;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char GPT1MD:3;\r
+            unsigned char :1;\r
+            unsigned char GPT0MD:3;\r
+        } BIT;\r
+    } ELOPI;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char GPT3MD:3;\r
+            unsigned char :1;\r
+            unsigned char GPT2MD:3;\r
+        } BIT;\r
+    } ELOPJ;\r
+};\r
+\r
+struct st_eptpc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long RESET:1;\r
+        } BIT;\r
+    } PTRSTR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :21;\r
+            unsigned long SCLKSEL:3;\r
+            unsigned long :5;\r
+            unsigned long SCLKDIV:3;\r
+        } BIT;\r
+    } STCSELR;\r
+    char           wk0[15096];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :10;\r
+            unsigned long CYC5:1;\r
+            unsigned long CYC4:1;\r
+            unsigned long CYC3:1;\r
+            unsigned long CYC2:1;\r
+            unsigned long CYC1:1;\r
+            unsigned long CYC0:1;\r
+            unsigned long :12;\r
+            unsigned long PRC:1;\r
+            unsigned long SY1:1;\r
+            unsigned long SY0:1;\r
+            unsigned long ST:1;\r
+        } BIT;\r
+    } MIESR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :10;\r
+            unsigned long CYC5:1;\r
+            unsigned long CYC4:1;\r
+            unsigned long CYC3:1;\r
+            unsigned long CYC2:1;\r
+            unsigned long CYC1:1;\r
+            unsigned long CYC0:1;\r
+            unsigned long :12;\r
+            unsigned long PR:1;\r
+            unsigned long SY1:1;\r
+            unsigned long SY0:1;\r
+            unsigned long ST:1;\r
+        } BIT;\r
+    } MIEIPR;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VER:16;\r
+            unsigned long REV:16;\r
+        } BIT;\r
+    } PTVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :7;\r
+            unsigned long PLSN:1;\r
+            unsigned long :7;\r
+            unsigned long PLSP:1;\r
+            unsigned long :2;\r
+            unsigned long CYCN5:1;\r
+            unsigned long CYCN4:1;\r
+            unsigned long CYCN3:1;\r
+            unsigned long CYCN2:1;\r
+            unsigned long CYCN1:1;\r
+            unsigned long CYCN0:1;\r
+            unsigned long :2;\r
+            unsigned long CYCP5:1;\r
+            unsigned long CYCP4:1;\r
+            unsigned long CYCP3:1;\r
+            unsigned long CYCP2:1;\r
+            unsigned long CYCP1:1;\r
+            unsigned long CYCP0:1;\r
+        } BIT;\r
+    } ELIPPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :7;\r
+            unsigned long PLSN:1;\r
+            unsigned long :7;\r
+            unsigned long PLSP:1;\r
+            unsigned long :2;\r
+            unsigned long CYCN5:1;\r
+            unsigned long CYCN4:1;\r
+            unsigned long CYCN3:1;\r
+            unsigned long CYCN2:1;\r
+            unsigned long CYCN1:1;\r
+            unsigned long CYCN0:1;\r
+            unsigned long :2;\r
+            unsigned long CYCP5:1;\r
+            unsigned long CYCP4:1;\r
+            unsigned long CYCP3:1;\r
+            unsigned long CYCP2:1;\r
+            unsigned long CYCP1:1;\r
+            unsigned long CYCP0:1;\r
+        } BIT;\r
+    } ELIPACR;\r
+    char           wk2[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :27;\r
+            unsigned long W10D:1;\r
+            unsigned long SYNTOUT:1;\r
+            unsigned long :1;\r
+            unsigned long SYNCOUT:1;\r
+            unsigned long SYNC:1;\r
+        } BIT;\r
+    } STSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :27;\r
+            unsigned long W10D:1;\r
+            unsigned long SYNTOUT:1;\r
+            unsigned long :1;\r
+            unsigned long SYNCOUT:1;\r
+            unsigned long SYNC:1;\r
+        } BIT;\r
+    } STIPR;\r
+    char           wk3[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VER:16;\r
+            unsigned long REV:16;\r
+        } BIT;\r
+    } STVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :30;\r
+            unsigned long STCF:2;\r
+        } BIT;\r
+    } STCFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long ALEN1:1;\r
+            unsigned long ALEN0:1;\r
+            unsigned long :4;\r
+            unsigned long SYTH:4;\r
+            unsigned long DVTH:4;\r
+            unsigned long W10S:1;\r
+            unsigned long :1;\r
+            unsigned long CMOD:1;\r
+            unsigned long :5;\r
+            unsigned long WINT:8;\r
+        } BIT;\r
+    } STMR;\r
+    unsigned long  SYNTOR;\r
+    char           wk4[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :26;\r
+            unsigned long IPTSEL5:1;\r
+            unsigned long IPTSEL4:1;\r
+            unsigned long IPTSEL3:1;\r
+            unsigned long IPTSEL2:1;\r
+            unsigned long IPTSEL1:1;\r
+            unsigned long IPTSEL0:1;\r
+        } BIT;\r
+    } IPTSELR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :26;\r
+            unsigned long MINTEN5:1;\r
+            unsigned long MINTEN4:1;\r
+            unsigned long MINTEN3:1;\r
+            unsigned long MINTEN2:1;\r
+            unsigned long MINTEN1:1;\r
+            unsigned long MINTEN0:1;\r
+        } BIT;\r
+    } MITSELR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :26;\r
+            unsigned long ELTDIS5:1;\r
+            unsigned long ELTDIS4:1;\r
+            unsigned long ELTDIS3:1;\r
+            unsigned long ELTDIS2:1;\r
+            unsigned long ELTDIS1:1;\r
+            unsigned long ELTDIS0:1;\r
+        } BIT;\r
+    } ELTSELR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long SYSEL:1;\r
+        } BIT;\r
+    } STCHSELR;\r
+    char           wk5[16];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long STR:1;\r
+        } BIT;\r
+    } SYNSTARTR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long LOAD:1;\r
+        } BIT;\r
+    } LCIVLDR;\r
+    char           wk6[8];\r
+    unsigned long  SYNTDARU;\r
+    unsigned long  SYNTDARL;\r
+    unsigned long  SYNTDBRU;\r
+    unsigned long  SYNTDBRL;\r
+    char           wk7[16];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long VALU:16;\r
+        } BIT;\r
+    } LCIVRU;\r
+    unsigned long  LCIVRM;\r
+    unsigned long  LCIVRL;\r
+    char           wk8[104];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long GW10:1;\r
+        } BIT;\r
+    } GETW10R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long LMTU:31;\r
+        } BIT;\r
+    } PLIMITRU;\r
+    unsigned long  PLIMITRM;\r
+    unsigned long  PLIMITRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long LMTU:31;\r
+        } BIT;\r
+    } MLIMITRU;\r
+    unsigned long  MLIMITRM;\r
+    unsigned long  MLIMITRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long INFO:1;\r
+        } BIT;\r
+    } GETINFOR;\r
+    char           wk9[44];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long CNTU:16;\r
+        } BIT;\r
+    } LCCVRU;\r
+    unsigned long  LCCVRM;\r
+    unsigned long  LCCVRL;\r
+    char           wk10[148];\r
+    unsigned long  PW10VRU;\r
+    unsigned long  PW10VRM;\r
+    unsigned long  PW10VRL;\r
+    char           wk11[180];\r
+    unsigned long  MW10RU;\r
+    unsigned long  MW10RM;\r
+    unsigned long  MW10RL;\r
+    char           wk12[36];\r
+    unsigned long  TMSTTRU0;\r
+    unsigned long  TMSTTRL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long CYC:30;\r
+        } BIT;\r
+    } TMCYCR0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WTH:29;\r
+        } BIT;\r
+    } TMPLSR0;\r
+    unsigned long  TMSTTRU1;\r
+    unsigned long  TMSTTRL1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long CYC:30;\r
+        } BIT;\r
+    } TMCYCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WTH:29;\r
+        } BIT;\r
+    } TMPLSR1;\r
+    unsigned long  TMSTTRU2;\r
+    unsigned long  TMSTTRL2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long CYC:30;\r
+        } BIT;\r
+    } TMCYCR2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WTH:29;\r
+        } BIT;\r
+    } TMPLSR2;\r
+    unsigned long  TMSTTRU3;\r
+    unsigned long  TMSTTRL3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long CYC:30;\r
+        } BIT;\r
+    } TMCYCR3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WTH:29;\r
+        } BIT;\r
+    } TMPLSR3;\r
+    unsigned long  TMSTTRU4;\r
+    unsigned long  TMSTTRL4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long CYC:30;\r
+        } BIT;\r
+    } TMCYCR4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WTH:29;\r
+        } BIT;\r
+    } TMPLSR4;\r
+    unsigned long  TMSTTRU5;\r
+    unsigned long  TMSTTRL5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long CYC:30;\r
+        } BIT;\r
+    } TMCYCR5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WTH:29;\r
+        } BIT;\r
+    } TMPLSR5;\r
+    char           wk13[28];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :26;\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
+    } TMSTARTR;\r
+    char           wk14[128];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long URE1:1;\r
+            unsigned long URE0:1;\r
+            unsigned long PRTE13:1;\r
+            unsigned long PRTE12:1;\r
+            unsigned long PRTE11:1;\r
+            unsigned long PRTE10:1;\r
+            unsigned long PRTE03:1;\r
+            unsigned long PRTE02:1;\r
+            unsigned long PRTE01:1;\r
+            unsigned long PRTE00:1;\r
+            unsigned long PRRE3:1;\r
+            unsigned long PRRE2:1;\r
+            unsigned long PRRE1:1;\r
+            unsigned long PRRE0:1;\r
+            unsigned long :7;\r
+            unsigned long MACE:1;\r
+            unsigned long :4;\r
+            unsigned long OVRE3:1;\r
+            unsigned long OVRE2:1;\r
+            unsigned long OVRE1:1;\r
+            unsigned long OVRE0:1;\r
+        } BIT;\r
+    } PRSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long URE1:1;\r
+            unsigned long URE0:1;\r
+            unsigned long PRTE13:1;\r
+            unsigned long PRTE12:1;\r
+            unsigned long PRTE11:1;\r
+            unsigned long PRTE10:1;\r
+            unsigned long PRTE03:1;\r
+            unsigned long PRTE02:1;\r
+            unsigned long PRTE01:1;\r
+            unsigned long PRTE00:1;\r
+            unsigned long PRRE3:1;\r
+            unsigned long PRRE2:1;\r
+            unsigned long PRRE1:1;\r
+            unsigned long PRRE0:1;\r
+            unsigned long :7;\r
+            unsigned long MACE:1;\r
+            unsigned long :4;\r
+            unsigned long OVRE3:1;\r
+            unsigned long OVRE2:1;\r
+            unsigned long OVRE1:1;\r
+            unsigned long OVRE0:1;\r
+        } BIT;\r
+    } PRIPR;\r
+    char           wk15[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VER:16;\r
+            unsigned long REV:16;\r
+        } BIT;\r
+    } PRVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } PRMACRU0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } PRMACRL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } PRMACRU1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } PRMACRL1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :30;\r
+            unsigned long TDIS:2;\r
+        } BIT;\r
+    } TRNDISR;\r
+    char           wk16[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long MOD:1;\r
+        } BIT;\r
+    } TRNMR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :21;\r
+            unsigned long THVAL:11;\r
+        } BIT;\r
+    } TRNCTTDR;\r
+};\r
+\r
+struct st_eptpcs {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long PRE3:1;\r
+            unsigned long PRE2:1;\r
+            unsigned long PRE1:1;\r
+            unsigned long PRE0:1;\r
+            unsigned long :2;\r
+            unsigned long GENDN:1;\r
+            unsigned long RESDN:1;\r
+            unsigned long :1;\r
+            unsigned long INFABT:1;\r
+            unsigned long SRTABT:1;\r
+            unsigned long RECLP:1;\r
+            unsigned long :2;\r
+            unsigned long PDRPMR:1;\r
+            unsigned long :2;\r
+            unsigned long DRQOVR:1;\r
+            unsigned long INTDEV:1;\r
+            unsigned long DRPTO:1;\r
+            unsigned long :1;\r
+            unsigned long MPDUD:1;\r
+            unsigned long INTCHG:1;\r
+            unsigned long OFMUD:1;\r
+        } BIT;\r
+    } SYSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long PRE3:1;\r
+            unsigned long PRE2:1;\r
+            unsigned long PRE1:1;\r
+            unsigned long PRE0:1;\r
+            unsigned long :2;\r
+            unsigned long GENDN:1;\r
+            unsigned long RESDN:1;\r
+            unsigned long :1;\r
+            unsigned long INFABT:1;\r
+            unsigned long SRTABT:1;\r
+            unsigned long RECLP:1;\r
+            unsigned long :2;\r
+            unsigned long PDRPMR:1;\r
+            unsigned long :2;\r
+            unsigned long DRQOVR:1;\r
+            unsigned long INTDEV:1;\r
+            unsigned long DRPTO:1;\r
+            unsigned long :1;\r
+            unsigned long MPDUD:1;\r
+            unsigned long INTCHG:1;\r
+            unsigned long OFMUD:1;\r
+        } BIT;\r
+    } SYIPR;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long VER:16;\r
+            unsigned long REV:16;\r
+        } BIT;\r
+    } SYVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } SYMACRU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } SYMACRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long LLC:8;\r
+        } BIT;\r
+    } SYLLCCTLR;\r
+    unsigned long  SYIPR2;\r
+    char           wk1[32];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long TRSP:4;\r
+            unsigned long VER:4;\r
+        } BIT;\r
+    } SYSPVRR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long DNUM:8;\r
+        } BIT;\r
+    } SYDOMR;\r
+    char           wk2[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long FLG15:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG0:1;\r
+        } BIT;\r
+    } ANFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long FLG15:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG0:1;\r
+        } BIT;\r
+    } SYNFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long FLG15:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG0:1;\r
+        } BIT;\r
+    } DYRQFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long FLG15:1;\r
+            unsigned long FLG14:1;\r
+            unsigned long FLG13:1;\r
+            unsigned long FLG12:1;\r
+            unsigned long FLG11:1;\r
+            unsigned long FLG10:1;\r
+            unsigned long FLG9:1;\r
+            unsigned long FLG8:1;\r
+            unsigned long FLG7:1;\r
+            unsigned long FLG6:1;\r
+            unsigned long FLG5:1;\r
+            unsigned long FLG4:1;\r
+            unsigned long FLG3:1;\r
+            unsigned long FLG2:1;\r
+            unsigned long FLG1:1;\r
+            unsigned long FLG0:1;\r
+        } BIT;\r
+    } DYRPFR;\r
+    unsigned long  SYCIDRU;\r
+    unsigned long  SYCIDRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long PNUM:16;\r
+        } BIT;\r
+    } SYPNUMR;\r
+    char           wk3[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :29;\r
+            unsigned long ANUP:1;\r
+            unsigned long STUP:1;\r
+            unsigned long BMUP:1;\r
+        } BIT;\r
+    } SYRVLDR;\r
+    char           wk4[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long PDFUP2:1;\r
+            unsigned long PDFUP1:1;\r
+            unsigned long PDFUP0:1;\r
+            unsigned long :1;\r
+            unsigned long PDRP2:1;\r
+            unsigned long PDRP1:1;\r
+            unsigned long PDRP0:1;\r
+            unsigned long :1;\r
+            unsigned long PDRQ2:1;\r
+            unsigned long PDRQ1:1;\r
+            unsigned long PDRQ0:1;\r
+            unsigned long :1;\r
+            unsigned long DRP2:1;\r
+            unsigned long DRP1:1;\r
+            unsigned long DRP0:1;\r
+            unsigned long :1;\r
+            unsigned long DRQ2:1;\r
+            unsigned long DRQ1:1;\r
+            unsigned long DRQ0:1;\r
+            unsigned long :1;\r
+            unsigned long FUP2:1;\r
+            unsigned long FUP1:1;\r
+            unsigned long FUP0:1;\r
+            unsigned long :1;\r
+            unsigned long SYNC2:1;\r
+            unsigned long SYNC1:1;\r
+            unsigned long SYNC0:1;\r
+            unsigned long :2;\r
+            unsigned long ANCE1:1;\r
+            unsigned long ANCE0:1;\r
+        } BIT;\r
+    } SYRFL1R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long ILL1:1;\r
+            unsigned long ILL0:1;\r
+            unsigned long :22;\r
+            unsigned long SIG1:1;\r
+            unsigned long SIG0:1;\r
+            unsigned long :2;\r
+            unsigned long MAN1:1;\r
+            unsigned long MAN0:1;\r
+        } BIT;\r
+    } SYRFL2R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :19;\r
+            unsigned long PDRQ:1;\r
+            unsigned long :3;\r
+            unsigned long DRQ:1;\r
+            unsigned long :3;\r
+            unsigned long SYNC:1;\r
+            unsigned long :3;\r
+            unsigned long ANCE:1;\r
+        } BIT;\r
+    } SYTRENR;\r
+    char           wk5[4];\r
+    unsigned long  MTCIDU;\r
+    unsigned long  MTCIDL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long PNUM:16;\r
+        } BIT;\r
+    } MTPID;\r
+    char           wk6[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long DRQ:8;\r
+            unsigned long SYNC:8;\r
+            unsigned long ANCE:8;\r
+        } BIT;\r
+    } SYTLIR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long DRP:8;\r
+            unsigned long SYNC:8;\r
+            unsigned long ANCE:8;\r
+        } BIT;\r
+    } SYRLIR;\r
+    unsigned long  OFMRU;\r
+    unsigned long  OFMRL;\r
+    unsigned long  MPDRU;\r
+    unsigned long  MPDRL;\r
+    char           wk7[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long GMPR1:8;\r
+            unsigned long :8;\r
+            unsigned long GMPR2:8;\r
+        } BIT;\r
+    } GMPR;\r
+    unsigned long  GMCQR;\r
+    unsigned long  GMIDRU;\r
+    unsigned long  GMIDRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CUTO:16;\r
+            unsigned long :8;\r
+            unsigned long TSRC:8;\r
+        } BIT;\r
+    } CUOTSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long SRMV:16;\r
+        } BIT;\r
+    } SRR;\r
+    char           wk8[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } PPMACRU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } PPMACRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } PDMACRU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } PDMACRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long TYPE:16;\r
+        } BIT;\r
+    } PETYPER;\r
+    char           wk9[12];\r
+    unsigned long  PPIPR;\r
+    unsigned long  PDIPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long EVTO:8;\r
+        } BIT;\r
+    } PETOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long GETO:8;\r
+        } BIT;\r
+    } PGTOSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long PRTL:8;\r
+        } BIT;\r
+    } PPTTLR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long PDTL:8;\r
+        } BIT;\r
+    } PDTTLR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long EVUPT:16;\r
+        } BIT;\r
+    } PEUDPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long GEUPT:16;\r
+        } BIT;\r
+    } PGUDPR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :29;\r
+            unsigned long ENB:1;\r
+            unsigned long PRT:1;\r
+            unsigned long SEL:1;\r
+        } BIT;\r
+    } FFLTR;\r
+    char           wk10[28];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } FMAC0RU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } FMAC0RL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACU:24;\r
+        } BIT;\r
+    } FMAC1RU;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long MACL:24;\r
+        } BIT;\r
+    } FMAC1RL;\r
+    char           wk11[80];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :16;\r
+            unsigned long ASYMU:16;\r
+        } BIT;\r
+    } DASYMRU;\r
+    unsigned long  DASYMRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long INGP:16;\r
+            unsigned long EGP:16;\r
+        } BIT;\r
+    } TSLATR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :7;\r
+            unsigned long TRAN:1;\r
+            unsigned long :3;\r
+            unsigned long TCMOD:1;\r
+            unsigned long :3;\r
+            unsigned long FILDIS:1;\r
+            unsigned long :3;\r
+            unsigned long SBDIS:1;\r
+            unsigned long :4;\r
+            unsigned long TCYC:8;\r
+        } BIT;\r
+    } SYCONFR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :30;\r
+            unsigned long FORM1:1;\r
+            unsigned long FORM0:1;\r
+        } BIT;\r
+    } SYFORMR;\r
+    unsigned long  RSTOUTR;\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 ZPF: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
+    void          *EDMSAR;\r
+    void          *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
+            unsigned char DACKSEL: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
+    void          *EDMSAR;\r
+    void          *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
+            unsigned char DACKSEL: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_gpt {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :8;\r
+            unsigned char :4;\r
+            unsigned char CST3:1;\r
+            unsigned char CST2:1;\r
+            unsigned char CST1:1;\r
+            unsigned char CST0:1;\r
+        } BIT;\r
+    } GTSTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short NFCS3:2;\r
+            unsigned short NFCS2:2;\r
+            unsigned short NFCS1:2;\r
+            unsigned short NFCS0:2;\r
+            unsigned short NFB3EN:1;\r
+            unsigned short NFA3EN:1;\r
+            unsigned short NFB2EN:1;\r
+            unsigned short NFA2EN:1;\r
+            unsigned short NFB1EN:1;\r
+            unsigned short NFA1EN:1;\r
+            unsigned short NFB0EN:1;\r
+            unsigned short NFA0EN:1;\r
+        } BIT;\r
+    } NFCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CPHW3:2;\r
+            unsigned char CPHW2:2;\r
+            unsigned char CPHW1:2;\r
+            unsigned char CPHW0:2;\r
+            unsigned char CSHW3:2;\r
+            unsigned char CSHW2:2;\r
+            unsigned char CSHW1:2;\r
+            unsigned char CSHW0:2;\r
+        } BIT;\r
+    } GTHSCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char CCSW3:1;\r
+            unsigned char CCSW2:1;\r
+            unsigned char CCSW1:1;\r
+            unsigned char CCSW0:1;\r
+            unsigned char CCHW3:2;\r
+            unsigned char CCHW2:2;\r
+            unsigned char CCHW1:2;\r
+            unsigned char CCHW0:2;\r
+        } BIT;\r
+    } GTHCCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CSHSL3:4;\r
+            unsigned char CSHSL2:4;\r
+            unsigned char CSHSL1:4;\r
+            unsigned char CSHSL0:4;\r
+        } BIT;\r
+    } GTHSSR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char CSHPL3:4;\r
+            unsigned char CSHPL2:4;\r
+            unsigned char CSHPL1:4;\r
+            unsigned char CSHPL0:4;\r
+        } BIT;\r
+    } GTHPSR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :8;\r
+            unsigned char :4;\r
+            unsigned char WP3:1;\r
+            unsigned char WP2:1;\r
+            unsigned char WP1:1;\r
+            unsigned char WP0:1;\r
+        } BIT;\r
+    } GTWP;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char SYNC3:2;\r
+            unsigned char :2;\r
+            unsigned char SYNC2:2;\r
+            unsigned char :2;\r
+            unsigned char SYNC1:2;\r
+            unsigned char :2;\r
+            unsigned char SYNC0:2;\r
+        } BIT;\r
+    } GTSYNC;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char GTETRGEN:1;\r
+            unsigned char GTENFCS:2;\r
+            unsigned char :3;\r
+            unsigned char ETINF:1;\r
+            unsigned char ETIPF:1;\r
+            unsigned char :6;\r
+            unsigned char ETINEN:1;\r
+            unsigned char ETIPEN:1;\r
+        } BIT;\r
+    } GTETINT;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char BD33:1;\r
+            unsigned char BD32:1;\r
+            unsigned char BD31:1;\r
+            unsigned char BD30:1;\r
+            unsigned char BD23:1;\r
+            unsigned char BD22:1;\r
+            unsigned char BD21:1;\r
+            unsigned char BD20:1;\r
+            unsigned char BD13:1;\r
+            unsigned char BD12:1;\r
+            unsigned char BD11:1;\r
+            unsigned char BD10:1;\r
+            unsigned char BD03:1;\r
+            unsigned char BD02:1;\r
+            unsigned char BD01:1;\r
+            unsigned char BD00:1;\r
+        } BIT;\r
+    } GTBDR;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :8;\r
+            unsigned char :4;\r
+            unsigned char SWP3:1;\r
+            unsigned char SWP2:1;\r
+            unsigned char SWP1:1;\r
+            unsigned char SWP0:1;\r
+        } BIT;\r
+    } GTSWP;\r
+};\r
+\r
+struct st_gpt0 {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char OBHLD:1;\r
+            unsigned char OBDFLT:1;\r
+            unsigned char GTIOB:6;\r
+            unsigned char OAHLD:1;\r
+            unsigned char OADFLT:1;\r
+            unsigned char GTIOA:6;\r
+        } BIT;\r
+    } GTIOR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char ADTRBDEN:1;\r
+            unsigned char ADTRBUEN:1;\r
+            unsigned char ADTRADEN:1;\r
+            unsigned char ADTRAUEN:1;\r
+            unsigned char EINT:1;\r
+            unsigned char :3;\r
+            unsigned char GTINTPR:2;\r
+            unsigned char GTINTF:1;\r
+            unsigned char GTINTE:1;\r
+            unsigned char GTINTD:1;\r
+            unsigned char GTINTC:1;\r
+            unsigned char GTINTB:1;\r
+            unsigned char GTINTA:1;\r
+        } BIT;\r
+    } GTINTAD;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char CCLR:2;\r
+            unsigned char :2;\r
+            unsigned char TPCS:2;\r
+            unsigned char :5;\r
+            unsigned char MD:3;\r
+        } BIT;\r
+    } GTCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ADTDB:1;\r
+            unsigned char ADTTB:2;\r
+            unsigned char :1;\r
+            unsigned char ADTDA:1;\r
+            unsigned char ADTTA:2;\r
+            unsigned char :1;\r
+            unsigned char CCRSWT:1;\r
+            unsigned char PR:2;\r
+            unsigned char CCRB:2;\r
+            unsigned char CCRA:2;\r
+        } BIT;\r
+    } GTBER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :8;\r
+            unsigned char :6;\r
+            unsigned char UDF:1;\r
+            unsigned char UD:1;\r
+        } BIT;\r
+    } GTUDC;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ADTBL:1;\r
+            unsigned char :1;\r
+            unsigned char ADTAL:1;\r
+            unsigned char :1;\r
+            unsigned char IVTT:3;\r
+            unsigned char IVTC:2;\r
+            unsigned char ITLF:1;\r
+            unsigned char ITLE:1;\r
+            unsigned char ITLD:1;\r
+            unsigned char ITLC:1;\r
+            unsigned char ITLB:1;\r
+            unsigned char ITLA:1;\r
+        } BIT;\r
+    } GTITC;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char TUCF:1;\r
+            unsigned char :3;\r
+            unsigned char DTEF:1;\r
+            unsigned char ITCNT:3;\r
+            unsigned char TCFPU:1;\r
+            unsigned char TCFPO:1;\r
+            unsigned char TCFF:1;\r
+            unsigned char TCFE:1;\r
+            unsigned char TCFD:1;\r
+            unsigned char TCFC:1;\r
+            unsigned char TCFB:1;\r
+            unsigned char TCFA:1;\r
+        } BIT;\r
+    } GTST;\r
+    unsigned short GTCNT;\r
+    unsigned short GTCCRA;\r
+    unsigned short GTCCRB;\r
+    unsigned short GTCCRC;\r
+    unsigned short GTCCRD;\r
+    unsigned short GTCCRE;\r
+    unsigned short GTCCRF;\r
+    unsigned short GTPR;\r
+    unsigned short GTPBR;\r
+    unsigned short GTPDBR;\r
+    char           wk0[2];\r
+    unsigned short GTADTRA;\r
+    unsigned short GTADTBRA;\r
+    unsigned short GTADTDBRA;\r
+    char           wk1[2];\r
+    unsigned short GTADTRB;\r
+    unsigned short GTADTBRB;\r
+    unsigned short GTADTDBRB;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short OBE:1;\r
+            unsigned short OAE:1;\r
+            unsigned short :1;\r
+            unsigned short SWN:1;\r
+            unsigned short :3;\r
+            unsigned short NFV:1;\r
+            unsigned short NFS:4;\r
+            unsigned short NVB:1;\r
+            unsigned short NVA:1;\r
+            unsigned short NEB:1;\r
+            unsigned short NEA:1;\r
+        } BIT;\r
+    } GTONCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :7;\r
+            unsigned short TDFER:1;\r
+            unsigned short :2;\r
+            unsigned short TDBDE:1;\r
+            unsigned short TDBUE:1;\r
+            unsigned short :3;\r
+            unsigned short TDE:1;\r
+        } BIT;\r
+    } GTDTCR;\r
+    unsigned short GTDVU;\r
+    unsigned short GTDVD;\r
+    unsigned short GTDBU;\r
+    unsigned short GTDBD;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :14;\r
+            unsigned short SOS:2;\r
+        } BIT;\r
+    } GTSOS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :15;\r
+            unsigned short SOTR:1;\r
+        } BIT;\r
+    } GTSOTR;\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[256];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char DTCE:1;\r
+        } BIT;\r
+    } DTCER[256];\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           wk0[192];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char SWINT:1;\r
+        } BIT;\r
+    } SWINTR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char SWINT2:1;\r
+        } BIT;\r
+    } SWINT2R;\r
+    char           wk1[14];\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           wk2[14];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char IPR:4;\r
+        } BIT;\r
+    } IPR[256];\r
+    unsigned char  DMRSR0;\r
+    char           wk3[3];\r
+    unsigned char  DMRSR1;\r
+    char           wk4[3];\r
+    unsigned char  DMRSR2;\r
+    char           wk5[3];\r
+    unsigned char  DMRSR3;\r
+    char           wk6[3];\r
+    unsigned char  DMRSR4;\r
+    char           wk7[3];\r
+    unsigned char  DMRSR5;\r
+    char           wk8[3];\r
+    unsigned char  DMRSR6;\r
+    char           wk9[3];\r
+    unsigned char  DMRSR7;\r
+    char           wk10[227];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR0;\r
+//    char           wk3[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR1;\r
+//    char           wk4[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR2;\r
+//    char           wk5[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR3;\r
+//    char           wk6[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR4;\r
+//    char           wk7[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR5;\r
+//    char           wk8[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR6;\r
+//    char           wk9[3];\r
+//    union {\r
+//        unsigned char BYTE;\r
+//        struct {\r
+//            unsigned char DMRS:8;\r
+//        } BIT;\r
+//    } DMRSR7;\r
+//    char           wk10[227];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char IRQMD:2;\r
+        } BIT;\r
+    } IRQCR[16];\r
+    char           wk11[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           wk12[6];\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           wk13[84];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ECCRAMST: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 ECCRAMEN: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 :1;\r
+            unsigned char ECCRAMCLR:1;\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           wk14[12];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char NFLTEN:1;\r
+        } BIT;\r
+    } NMIFLTE;\r
+    char           wk15[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char NFCLKSEL:2;\r
+        } BIT;\r
+    } NMIFLTC;\r
+    char           wk16[107];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPBE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPBE1;\r
+    char           wk17[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPBL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPBL1;\r
+    char           wk18[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENBE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENBE1;\r
+    char           wk19[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENBL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENBL1;\r
+    char           wk20[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR31:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR0:1;\r
+        } BIT;\r
+    } GCREBE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR31:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR0:1;\r
+        } BIT;\r
+    } GCREBE1;\r
+    char           wk21[120];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR4;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR5;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR6;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR7;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR8;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBR9;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIBRA;\r
+    char           wk22[117];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR128;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR129;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR130;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR131;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR132;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR133;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR134;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR135;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR136;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR137;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR138;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR139;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR140;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR141;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR142;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBXR143;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR144;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR145;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR146;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR147;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR148;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR149;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR150;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR151;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR152;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR153;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR154;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR155;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR156;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR157;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR158;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR159;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR160;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR161;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR162;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR163;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR164;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR165;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR166;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR167;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR168;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR169;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR170;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR171;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR172;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR173;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR174;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR175;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR176;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR177;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR178;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR179;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR180;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR181;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR182;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR183;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR184;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR185;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR186;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR187;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR188;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR189;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR190;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR191;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR192;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR193;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR194;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR195;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR196;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR197;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR198;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR199;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR200;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR201;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR202;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR203;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR204;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR205;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR206;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIBR207;\r
+    char           wk23[48];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPAE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPAE1;\r
+    char           wk24[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPAL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long IS31:1;\r
+            unsigned long IS30:1;\r
+            unsigned long IS29:1;\r
+            unsigned long IS28:1;\r
+            unsigned long IS27:1;\r
+            unsigned long IS26:1;\r
+            unsigned long IS25:1;\r
+            unsigned long IS24:1;\r
+            unsigned long IS23:1;\r
+            unsigned long IS22:1;\r
+            unsigned long IS21:1;\r
+            unsigned long IS20:1;\r
+            unsigned long IS19:1;\r
+            unsigned long IS18:1;\r
+            unsigned long IS17:1;\r
+            unsigned long IS16:1;\r
+            unsigned long IS15:1;\r
+            unsigned long IS14:1;\r
+            unsigned long IS13:1;\r
+            unsigned long IS12:1;\r
+            unsigned long IS11:1;\r
+            unsigned long IS10:1;\r
+            unsigned long IS9:1;\r
+            unsigned long IS8:1;\r
+            unsigned long IS7:1;\r
+            unsigned long IS6:1;\r
+            unsigned long IS5:1;\r
+            unsigned long IS4:1;\r
+            unsigned long IS3:1;\r
+            unsigned long IS2:1;\r
+            unsigned long IS1:1;\r
+            unsigned long IS0:1;\r
+        } BIT;\r
+    } GRPAL1;\r
+    char           wk25[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENAE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENAE1;\r
+    char           wk26[40];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENAL0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long EN31:1;\r
+            unsigned long EN30:1;\r
+            unsigned long EN29:1;\r
+            unsigned long EN28:1;\r
+            unsigned long EN27:1;\r
+            unsigned long EN26:1;\r
+            unsigned long EN25:1;\r
+            unsigned long EN24:1;\r
+            unsigned long EN23:1;\r
+            unsigned long EN22:1;\r
+            unsigned long EN21:1;\r
+            unsigned long EN20:1;\r
+            unsigned long EN19:1;\r
+            unsigned long EN18:1;\r
+            unsigned long EN17:1;\r
+            unsigned long EN16:1;\r
+            unsigned long EN15:1;\r
+            unsigned long EN14:1;\r
+            unsigned long EN13:1;\r
+            unsigned long EN12:1;\r
+            unsigned long EN11:1;\r
+            unsigned long EN10:1;\r
+            unsigned long EN9:1;\r
+            unsigned long EN8:1;\r
+            unsigned long EN7:1;\r
+            unsigned long EN6:1;\r
+            unsigned long EN5:1;\r
+            unsigned long EN4:1;\r
+            unsigned long EN3:1;\r
+            unsigned long EN2:1;\r
+            unsigned long EN1:1;\r
+            unsigned long EN0:1;\r
+        } BIT;\r
+    } GENAL1;\r
+    char           wk27[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR31:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR0:1;\r
+        } BIT;\r
+    } GCREAE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CLR31:1;\r
+            unsigned long CLR30:1;\r
+            unsigned long CLR29:1;\r
+            unsigned long CLR28:1;\r
+            unsigned long CLR27:1;\r
+            unsigned long CLR26:1;\r
+            unsigned long CLR25:1;\r
+            unsigned long CLR24:1;\r
+            unsigned long CLR23:1;\r
+            unsigned long CLR22:1;\r
+            unsigned long CLR21:1;\r
+            unsigned long CLR20:1;\r
+            unsigned long CLR19:1;\r
+            unsigned long CLR18:1;\r
+            unsigned long CLR17:1;\r
+            unsigned long CLR16:1;\r
+            unsigned long CLR15:1;\r
+            unsigned long CLR14:1;\r
+            unsigned long CLR13:1;\r
+            unsigned long CLR12:1;\r
+            unsigned long CLR11:1;\r
+            unsigned long CLR10:1;\r
+            unsigned long CLR9:1;\r
+            unsigned long CLR8:1;\r
+            unsigned long CLR7:1;\r
+            unsigned long CLR6:1;\r
+            unsigned long CLR5:1;\r
+            unsigned long CLR4:1;\r
+            unsigned long CLR3:1;\r
+            unsigned long CLR2:1;\r
+            unsigned long CLR1:1;\r
+            unsigned long CLR0:1;\r
+        } BIT;\r
+    } GCREAE1;\r
+    char           wk28[120];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR0;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR4;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR5;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR6;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR7;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR8;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIAR9;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIARA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char PIR7:1;\r
+            unsigned char PIR6:1;\r
+            unsigned char PIR5:1;\r
+            unsigned char PIR4:1;\r
+            unsigned char PIR3:1;\r
+            unsigned char PIR2:1;\r
+            unsigned char PIR1:1;\r
+            unsigned char PIR0:1;\r
+        } BIT;\r
+    } PIARB;\r
+    char           wk29[196];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR208;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR209;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR210;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR211;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR212;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR213;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR214;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR215;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR216;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR217;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR218;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR219;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR220;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR221;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR222;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR223;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR224;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR225;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR226;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR227;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR228;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR229;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR230;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR231;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR232;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR233;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR234;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR235;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR236;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR237;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR238;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR239;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR240;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR241;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR242;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR243;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR244;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR245;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR246;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR247;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR248;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR249;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR250;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR251;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR252;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR253;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR254;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SLI:8;\r
+        } BIT;\r
+    } SLIAR255;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char WPRC:1;\r
+        } BIT;\r
+    } SLIPRCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char SELEXD1:1;\r
+            unsigned char SELEXD0:1;\r
+        } BIT;\r
+    } SELEXDR;\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_mmc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long BOOT:1;\r
+            unsigned long CMD:6;\r
+            unsigned long RTYP:2;\r
+            unsigned long RBSY:1;\r
+            unsigned long :1;\r
+            unsigned long WDAT:1;\r
+            unsigned long DWEN:1;\r
+            unsigned long CMLTE:1;\r
+            unsigned long CMD12EN:1;\r
+            unsigned long RIDXC:2;\r
+            unsigned long RCRC7C:2;\r
+            unsigned long :1;\r
+            unsigned long CRC16C:1;\r
+            unsigned long BOOTACK:1;\r
+            unsigned long CRCSTE:1;\r
+            unsigned long TBIT:1;\r
+            unsigned long OPDM:1;\r
+            unsigned long :2;\r
+            unsigned long SBIT:1;\r
+            unsigned long :1;\r
+            unsigned long DATW:2;\r
+        } BIT;\r
+    } CECMDSET;\r
+    char           wk0[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long ARG:32;\r
+        } BIT;\r
+    } CEARG;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long C12ARG:32;\r
+        } BIT;\r
+    } CEARGCMD12;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long BREAK:1;\r
+        } BIT;\r
+    } CECMDCTRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long BLKCNT:16;\r
+            unsigned long BLKSZ:16;\r
+        } BIT;\r
+    } CEBLOCKSET;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MMCBUSBSY:1;\r
+            unsigned long :6;\r
+            unsigned long CLKEN:1;\r
+            unsigned long :4;\r
+            unsigned long CLKDIV:4;\r
+            unsigned long :2;\r
+            unsigned long SRSTPO:2;\r
+            unsigned long SRBSYTO:4;\r
+            unsigned long SRWDTO:4;\r
+        } BIT;\r
+    } CECLKCTRL;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :5;\r
+            unsigned long DMATYP:1;\r
+            unsigned long DMAWEN:1;\r
+            unsigned long DMAREN:1;\r
+            unsigned long :7;\r
+            unsigned long ATYP:1;\r
+        } BIT;\r
+    } CEBUFACC;\r
+    unsigned long  CERESP3;\r
+    unsigned long  CERESP2;\r
+    unsigned long  CERESP1;\r
+    unsigned long  CERESP0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSP12:32;\r
+        } BIT;\r
+    } CERESPCMD12;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DATA:32;\r
+        } BIT;\r
+    } CEDATA;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SBTCLKDIV:4;\r
+            unsigned long SBTACKTO:4;\r
+            unsigned long S1STBTDATTO:4;\r
+            unsigned long SBTDATTO:4;\r
+        } BIT;\r
+    } CEBOOT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :5;\r
+            unsigned long CMD12DRE:1;\r
+            unsigned long CMD12RBE:1;\r
+            unsigned long CMD12CRE:1;\r
+            unsigned long DTRANE:1;\r
+            unsigned long BUFRE:1;\r
+            unsigned long BUFWEN:1;\r
+            unsigned long BUFREN:1;\r
+            unsigned long :2;\r
+            unsigned long RBSYE:1;\r
+            unsigned long CRSPE:1;\r
+            unsigned long CMDVIO:1;\r
+            unsigned long BUFVIO:1;\r
+            unsigned long :2;\r
+            unsigned long WDATERR:1;\r
+            unsigned long RDATERR:1;\r
+            unsigned long RIDXERR:1;\r
+            unsigned long RSPERR:1;\r
+            unsigned long :3;\r
+            unsigned long CRCSTO:1;\r
+            unsigned long WDATTO:1;\r
+            unsigned long RDATTO:1;\r
+            unsigned long RBSYTO:1;\r
+            unsigned long RSPTO:1;\r
+        } BIT;\r
+    } CEINT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :5;\r
+            unsigned long MCMD12DRE:1;\r
+            unsigned long MCMD12RBE:1;\r
+            unsigned long MCMD12CRE:1;\r
+            unsigned long MDTRANE:1;\r
+            unsigned long MBUFRE:1;\r
+            unsigned long MBUFWEN:1;\r
+            unsigned long MBUFREN:1;\r
+            unsigned long :2;\r
+            unsigned long MRBSYE:1;\r
+            unsigned long MCRSPE:1;\r
+            unsigned long MCMDVIO:1;\r
+            unsigned long MBUFVIO:1;\r
+            unsigned long :2;\r
+            unsigned long MWDATERR:1;\r
+            unsigned long MRDATERR:1;\r
+            unsigned long MRIDXERR:1;\r
+            unsigned long MRSPERR:1;\r
+            unsigned long :3;\r
+            unsigned long MCRCSTO:1;\r
+            unsigned long MWDATTO:1;\r
+            unsigned long MRDATTO:1;\r
+            unsigned long MRBSYTO:1;\r
+            unsigned long MRSPTO:1;\r
+        } BIT;\r
+    } CEINTEN;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CMDSEQ:1;\r
+            unsigned long CMDSIG:1;\r
+            unsigned long RSPIDX:6;\r
+            unsigned long DATSIG:8;\r
+            unsigned long RCVBLK:16;\r
+        } BIT;\r
+    } CEHOSTSTS1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long CRCSTE:1;\r
+            unsigned long CRC16E:1;\r
+            unsigned long AC12CRCE:1;\r
+            unsigned long RSPCRC7E:1;\r
+            unsigned long CRCSTEBE:1;\r
+            unsigned long RDATEBE:1;\r
+            unsigned long AC12REBE:1;\r
+            unsigned long RSPEBE:1;\r
+            unsigned long AC12IDXE:1;\r
+            unsigned long RSPIDXE:1;\r
+            unsigned long BTACKPATE:1;\r
+            unsigned long BTACKEBE:1;\r
+            unsigned long :1;\r
+            unsigned long CRCST:3;\r
+            unsigned long :1;\r
+            unsigned long STRDATTO:1;\r
+            unsigned long DATBSYTO:1;\r
+            unsigned long CRCSTTO:1;\r
+            unsigned long AC12BSYTO:1;\r
+            unsigned long RSPBSYTO:1;\r
+            unsigned long AC12RSPTO:1;\r
+            unsigned long STRSPTO:1;\r
+            unsigned long BTACKTO:1;\r
+            unsigned long STBTDATTO:1;\r
+            unsigned long BTDATTO:1;\r
+        } BIT;\r
+    } CEHOSTSTS2;\r
+    char           wk2[32];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :17;\r
+            unsigned long CDSIG:1;\r
+            unsigned long CDRISE:1;\r
+            unsigned long CDFALL:1;\r
+            unsigned long :6;\r
+            unsigned long MCDRISE:1;\r
+            unsigned long MCDFALL:1;\r
+        } BIT;\r
+    } CEDETECT;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :10;\r
+            unsigned long RESNOUT:1;\r
+            unsigned long :1;\r
+            unsigned long CLKMAIN:1;\r
+        } BIT;\r
+    } CEADDMODE;\r
+    char           wk3[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SWRST:1;\r
+            unsigned long :15;\r
+            unsigned long VERSION:16;\r
+        } BIT;\r
+    } CEVERSION;\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 BCLKO:1;\r
+            unsigned char :1;\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 ALES: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 :2;\r
+            unsigned char PHYMODE1:1;\r
+            unsigned char PHYMODE0:1;\r
+        } BIT;\r
+    } PFENET;\r
+    char           wk2[16];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char B0WI:1;\r
+            unsigned char PFSWE:1;\r
+        } BIT;\r
+    } PWPR;\r
+    char           wk3[32];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\r
+        } BIT;\r
+    } P03PFS;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P05PFS;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P07PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P10PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P11PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P12PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P13PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P14PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P15PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P16PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P17PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P20PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P21PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P22PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P23PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P24PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P25PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P26PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P27PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P30PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P31PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P32PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P33PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P34PFS;\r
+    char           wk6[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 :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P50PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P51PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P52PFS;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P54PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P55PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P56PFS;\r
+    char           wk8[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P60PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P61PFS;\r
+    char           wk9[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P66PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P67PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P70PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P71PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P72PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P73PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P74PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P75PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P76PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P77PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P80PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P81PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P82PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P83PFS;\r
+    char           wk10[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P86PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P87PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P90PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P91PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P92PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P93PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P94PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P95PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P96PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char :1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } P97PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PA7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PB7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PC7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\r
+        } BIT;\r
+    } PD7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PE0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\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 PSEL:6;\r
+        } BIT;\r
+    } PE2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PE3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ASEL:1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\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 PSEL:6;\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 PSEL:6;\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 PSEL:6;\r
+        } BIT;\r
+    } PE7PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PF0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PF1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PF2PFS;\r
+    char           wk11[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char ISEL:1;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PF5PFS;\r
+    char           wk12[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG0PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG1PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG2PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG3PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG4PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG5PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG6PFS;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PG7PFS;\r
+    char           wk13[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PJ3PFS;\r
+    char           wk14[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char PSEL:6;\r
+        } BIT;\r
+    } PJ5PFS;\r
+};\r
+\r
+struct st_mpu {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE2;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE3;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE4;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE5;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE6;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE6;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long RSPN:28;\r
+        } BIT;\r
+    } RSPAGE7;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long REPN:28;\r
+            unsigned long UAC:3;\r
+            unsigned long V:1;\r
+        } BIT;\r
+    } REPAGE7;\r
+    char           wk0[192];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long MPEN:1;\r
+        } BIT;\r
+    } MPEN;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :28;\r
+            unsigned long UBAC:3;\r
+        } BIT;\r
+    } MPBAC;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long CLR:1;\r
+        } BIT;\r
+    } MPECLR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :29;\r
+            unsigned long DRW:1;\r
+            unsigned long DA:1;\r
+            unsigned long IA:1;\r
+        } BIT;\r
+    } MPESTS;\r
+    char           wk1[4];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long DEA:32;\r
+        } BIT;\r
+    } MPDEA;\r
+    char           wk2[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SA:32;\r
+        } BIT;\r
+    } MPSA;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :15;\r
+            unsigned short S:1;\r
+        } BIT;\r
+    } MPOPS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :15;\r
+            unsigned short INV:1;\r
+        } BIT;\r
+    } MPOPI;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long HITI:8;\r
+            unsigned long :12;\r
+            unsigned long UHACI:3;\r
+        } BIT;\r
+    } MHITI;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long HITD:8;\r
+            unsigned long :12;\r
+            unsigned long UHACD:3;\r
+        } BIT;\r
+    } MHITD;\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
+    } TOERA;\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
+    } TGCRA;\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
+    } TOCR1A;\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
+    } TOCR2A;\r
+    char           wk1[4];\r
+    unsigned short TCDRA;\r
+    unsigned short TDDRA;\r
+    char           wk2[8];\r
+    unsigned short TCNTSA;\r
+    unsigned short TCBRA;\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
+    } TITCR1A;\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
+    } TITCNT1A;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char BTE:2;\r
+        } BIT;\r
+    } TBTERA;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char TDER:1;\r
+        } BIT;\r
+    } TDERA;\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
+    } TOLBRA;\r
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char TITM:1;\r
+        } BIT;\r
+    } TITMRA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TRG4COR:3;\r
+        } BIT;\r
+    } TITCR2A;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TRG4CNT:3;\r
+        } BIT;\r
+    } TITCNT2A;\r
+    char           wk7[35];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CCE:1;\r
+            unsigned char :5;\r
+            unsigned char SCC:1;\r
+            unsigned char WRE:1;\r
+        } BIT;\r
+    } TWCRA;\r
+    char           wk8[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char DRS:1;\r
+        } BIT;\r
+    } TMDR2A;\r
+    char           wk9[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CST4:1;\r
+            unsigned char CST3:1;\r
+            unsigned char :2;\r
+            unsigned char CST8:1;\r
+            unsigned char CST2:1;\r
+            unsigned char CST1:1;\r
+            unsigned char CST0:1;\r
+        } BIT;\r
+    } TSTRA;\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
+    } TSYRA;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SCH0:1;\r
+            unsigned char SCH1:1;\r
+            unsigned char SCH2:1;\r
+            unsigned char SCH3:1;\r
+            unsigned char SCH4:1;\r
+            unsigned char :1;\r
+            unsigned char SCH6:1;\r
+            unsigned char SCH7:1;\r
+        } BIT;\r
+    } TCSYSTR;\r
+    char           wk10[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char RWE:1;\r
+        } BIT;\r
+    } TRWERA;\r
+    char           wk11[1925];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char OE7D:1;\r
+            unsigned char OE7C:1;\r
+            unsigned char OE6D:1;\r
+            unsigned char OE7B:1;\r
+            unsigned char OE7A:1;\r
+            unsigned char OE6B:1;\r
+        } BIT;\r
+    } TOERB;\r
+    char           wk12[3];\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
+    } TOCR1B;\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
+    } TOCR2B;\r
+    char           wk13[4];\r
+    unsigned short TCDRB;\r
+    unsigned short TDDRB;\r
+    char           wk14[8];\r
+    unsigned short TCNTSB;\r
+    unsigned short TCBRB;\r
+    char           wk15[12];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char T6AEN:1;\r
+            unsigned char T6ACOR:3;\r
+            unsigned char T7VEN:1;\r
+            unsigned char T7VCOR:3;\r
+        } BIT;\r
+    } TITCR1B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char T6ACNT:3;\r
+            unsigned char :1;\r
+            unsigned char T7VCNT:3;\r
+        } BIT;\r
+    } TITCNT1B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char BTE:2;\r
+        } BIT;\r
+    } TBTERB;\r
+    char           wk16[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char TDER:1;\r
+        } BIT;\r
+    } TDERB;\r
+    char           wk17[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
+    } TOLBRB;\r
+    char           wk18[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char TITM:1;\r
+        } BIT;\r
+    } TITMRB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TRG7COR:3;\r
+        } BIT;\r
+    } TITCR2B;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TRG7CNT:3;\r
+        } BIT;\r
+    } TITCNT2B;\r
+    char           wk19[35];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CCE:1;\r
+            unsigned char :5;\r
+            unsigned char SCC:1;\r
+            unsigned char WRE:1;\r
+        } BIT;\r
+    } TWCRB;\r
+    char           wk20[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char DRS:1;\r
+        } BIT;\r
+    } TMDR2B;\r
+    char           wk21[15];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CST7:1;\r
+            unsigned char CST6:1;\r
+        } BIT;\r
+    } TSTRB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SYNC7:1;\r
+            unsigned char SYNC6:1;\r
+        } BIT;\r
+    } TSYRB;\r
+    char           wk22[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char RWE:1;\r
+        } BIT;\r
+    } TRWERB;\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
+    } NFCR0;\r
+    char           wk0[8];\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
+    } NFCRC;\r
+    char           wk1[102];\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
+    } TMDR1;\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 :3;\r
+            unsigned char TCFV:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    unsigned short TCNT;\r
+    unsigned short TGRA;\r
+    unsigned short TGRB;\r
+    unsigned short TGRC;\r
+    unsigned short TGRD;\r
+    char           wk2[16];\r
+    unsigned short TGRE;\r
+    unsigned short TGRF;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TTGE2:1;\r
+            unsigned char :5;\r
+            unsigned char TGIEF:1;\r
+            unsigned char TGIEE:1;\r
+        } BIT;\r
+    } TIER2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char TGFF:1;\r
+            unsigned char TGFE:1;\r
+        } BIT;\r
+    } TSR2;\r
+    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           wk3[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\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
+    } NFCR1;\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
+    } TMDR1;\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
+            unsigned char :1;\r
+            unsigned char TCFU:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :2;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    unsigned short TCNT;\r
+    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
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char PHCKSEL:1;\r
+            unsigned char LWA:1;\r
+        } BIT;\r
+    } TMDR3;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char PCB:2;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk5[11];\r
+    unsigned long  TCNTLW;\r
+    unsigned long  TGRALW;\r
+    unsigned long  TGRBLW;\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
+    } NFCR2;\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
+    } TMDR1;\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
+            unsigned char :1;\r
+            unsigned char TCFU:1;\r
+            unsigned char TCFV:1;\r
+            unsigned char :2;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    unsigned short TCNT;\r
+    unsigned short TGRA;\r
+    unsigned short TGRB;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char PCB:2;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\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
+    } TMDR1;\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
+            unsigned char :2;\r
+            unsigned char TCFV:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk7[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char TTSB:1;\r
+            unsigned char TTSA:1;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk8[19];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk9[37];\r
+    unsigned short TGRE;\r
+    char           wk10[31];\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
+    } NFCR3;\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
+    } TMDR1;\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
+            unsigned char :2;\r
+            unsigned char TCFV:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk8[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\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[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk12[38];\r
+    unsigned short TGRE;\r
+    unsigned short TGRF;\r
+    char           wk13[28];\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
+    } NFCR4;\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
+    } NFCR5;\r
+    char           wk1[2538];\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
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char CKEG:2;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2U;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char IOC:5;\r
+        } BIT;\r
+    } TIORU;\r
+    char           wk2[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
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char CKEG:2;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2V;\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
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char CKEG:2;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2W;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char IOC:5;\r
+        } BIT;\r
+    } TIORW;\r
+    char           wk4[9];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char CMFU5:1;\r
+            unsigned char CMFV5:1;\r
+            unsigned char CMFW5:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk5[1];\r
+    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_mtu6 {\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char NFCS:2;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFAEN:1;\r
+        } BIT;\r
+    } NFCR6;\r
+    char           wk1[1884];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CCLR:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char TPSC:3;\r
+        } BIT;\r
+    } TCR;\r
+    char           wk2[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
+    } TMDR1;\r
+    char           wk3[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           wk4[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           wk5[7];\r
+    unsigned short TCNT;\r
+    char           wk6[6];\r
+    unsigned short TGRA;\r
+    unsigned short TGRB;\r
+    char           wk7[8];\r
+    unsigned short TGRC;\r
+    unsigned short TGRD;\r
+    char           wk8[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TCFD:1;\r
+            unsigned char :2;\r
+            unsigned char TCFV:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk9[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char TTSB:1;\r
+            unsigned char TTSA:1;\r
+        } BIT;\r
+    } TBTM;\r
+    char           wk10[19];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk11[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CE0A:1;\r
+            unsigned char CE0B:1;\r
+            unsigned char CE0C:1;\r
+            unsigned char CE0D:1;\r
+            unsigned char CE1A:1;\r
+            unsigned char CE1B:1;\r
+            unsigned char CE2A:1;\r
+            unsigned char CE2B:1;\r
+        } BIT;\r
+    } TSYCR;\r
+    char           wk12[33];\r
+    unsigned short TGRE;\r
+};\r
+\r
+struct st_mtu7 {\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
+    } NFCR7;\r
+    char           wk0[1884];\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
+    } TMDR1;\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
+            unsigned char :2;\r
+            unsigned char TCFV:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    char           wk8[11];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\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 UT7AE:1;\r
+            unsigned short DT7AE:1;\r
+            unsigned short UT7BE:1;\r
+            unsigned short DT7BE:1;\r
+            unsigned short ITA6AE:1;\r
+            unsigned short ITA7VE:1;\r
+            unsigned short ITB6AE:1;\r
+            unsigned short ITB7VE: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[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk12[38];\r
+    unsigned short TGRE;\r
+    unsigned short TGRF;\r
+};\r
+\r
+struct st_mtu8 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char NFCS:2;\r
+            unsigned char NFDEN:1;\r
+            unsigned char NFCEN:1;\r
+            unsigned char NFBEN:1;\r
+            unsigned char NFAEN:1;\r
+        } BIT;\r
+    } NFCR8;\r
+    char           wk0[871];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CCLR:3;\r
+            unsigned char CKEG:2;\r
+            unsigned char TPSC:3;\r
+        } BIT;\r
+    } TCR;\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
+    } TMDR1;\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 :2;\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 :3;\r
+            unsigned char TCFV:1;\r
+            unsigned char TGFD:1;\r
+            unsigned char TGFC:1;\r
+            unsigned char TGFB:1;\r
+            unsigned char TGFA:1;\r
+        } BIT;\r
+    } TSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char PCB:2;\r
+            unsigned char TPSC2:3;\r
+        } BIT;\r
+    } TCR2;\r
+    char           wk1[1];\r
+    unsigned long  TCNT;\r
+    unsigned long  TGRA;\r
+    unsigned long  TGRB;\r
+    unsigned long  TGRC;\r
+    unsigned long  TGRD;\r
+};\r
+\r
+struct st_pdc {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :17;\r
+            unsigned long EDS:1;\r
+            unsigned long PCKDIV:3;\r
+            unsigned long PCKOE:1;\r
+            unsigned long HERIE:1;\r
+            unsigned long VERIE:1;\r
+            unsigned long UDRIE:1;\r
+            unsigned long OVIE:1;\r
+            unsigned long FEIE:1;\r
+            unsigned long DFIE:1;\r
+            unsigned long PRST:1;\r
+            unsigned long HPS:1;\r
+            unsigned long VPS:1;\r
+            unsigned long PCKE:1;\r
+        } BIT;\r
+    } PCCR0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :31;\r
+            unsigned long PCE:1;\r
+        } BIT;\r
+    } PCCR1;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :25;\r
+            unsigned long HERF:1;\r
+            unsigned long VERF:1;\r
+            unsigned long UDRF:1;\r
+            unsigned long OVRF:1;\r
+            unsigned long FEF:1;\r
+            unsigned long FEMPF:1;\r
+            unsigned long FBSY:1;\r
+        } BIT;\r
+    } PCSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :30;\r
+            unsigned long HSYNC:1;\r
+            unsigned long VSYNC:1;\r
+        } BIT;\r
+    } PCMONR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long B31:1;\r
+            unsigned long B30:1;\r
+            unsigned long B29:1;\r
+            unsigned long B28:1;\r
+            unsigned long B27:1;\r
+            unsigned long B26:1;\r
+            unsigned long B25:1;\r
+            unsigned long B24:1;\r
+            unsigned long B23:1;\r
+            unsigned long B22:1;\r
+            unsigned long B21:1;\r
+            unsigned long B20:1;\r
+            unsigned long B19:1;\r
+            unsigned long B18:1;\r
+            unsigned long B17:1;\r
+            unsigned long B16:1;\r
+            unsigned long B15:1;\r
+            unsigned long B14:1;\r
+            unsigned long B13:1;\r
+            unsigned long B12:1;\r
+            unsigned long B11:1;\r
+            unsigned long B10:1;\r
+            unsigned long B9:1;\r
+            unsigned long B8:1;\r
+            unsigned long B7:1;\r
+            unsigned long B6:1;\r
+            unsigned long B5:1;\r
+            unsigned long B4:1;\r
+            unsigned long B3:1;\r
+            unsigned long B2:1;\r
+            unsigned long B1:1;\r
+            unsigned long B0:1;\r
+        } BIT;\r
+    } PCDR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long VSZ:12;\r
+            unsigned long :4;\r
+            unsigned long VST:12;\r
+        } BIT;\r
+    } VCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long HSZ:12;\r
+            unsigned long :4;\r
+            unsigned long HST:12;\r
+        } BIT;\r
+    } HCR;\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 :3;\r
+            unsigned char POE0F:1;\r
+            unsigned char :3;\r
+            unsigned char PIE1:1;\r
+            unsigned char :6;\r
+            unsigned char POE0M:2;\r
+        } 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
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char POE4F:1;\r
+            unsigned char :3;\r
+            unsigned char PIE2:1;\r
+            unsigned char :6;\r
+            unsigned char POE4M:2;\r
+        } BIT;\r
+    } ICSR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char OSF2:1;\r
+            unsigned char :5;\r
+            unsigned char OCE2:1;\r
+            unsigned char OIE2:1;\r
+        } BIT;\r
+    } OCSR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char POE8F:1;\r
+            unsigned char :2;\r
+            unsigned char POE8E:1;\r
+            unsigned char PIE3:1;\r
+            unsigned char :6;\r
+            unsigned char POE8M:2;\r
+        } BIT;\r
+    } ICSR3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char GPT23HIZ:1;\r
+            unsigned char GPT01HIZ:1;\r
+            unsigned char MTUCH0HIZ:1;\r
+            unsigned char MTUCH67HIZ:1;\r
+            unsigned char MTUCH34HIZ:1;\r
+        } BIT;\r
+    } SPOER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char MTU0DZE:1;\r
+            unsigned char MTU0CZE:1;\r
+            unsigned char MTU0BZE:1;\r
+            unsigned char MTU0AZE:1;\r
+        } BIT;\r
+    } POECR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :5;\r
+            unsigned short MTU3BDZE:1;\r
+            unsigned short MTU4ACZE:1;\r
+            unsigned short MTU4BDZE:1;\r
+            unsigned short :5;\r
+            unsigned short MTU6BDZE:1;\r
+            unsigned short MTU7ACZE:1;\r
+            unsigned short MTU7BDZE:1;\r
+        } BIT;\r
+    } POECR2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short GPT3ABZE:1;\r
+            unsigned short GPT2ABZE:1;\r
+            unsigned short :6;\r
+            unsigned short GPT1ABZE:1;\r
+            unsigned short GPT0ABZE:1;\r
+        } BIT;\r
+    } POECR3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short IC5ADDMT67ZE:1;\r
+            unsigned short IC4ADDMT67ZE:1;\r
+            unsigned short IC3ADDMT67ZE:1;\r
+            unsigned short :1;\r
+            unsigned short IC1ADDMT67ZE:1;\r
+            unsigned short :3;\r
+            unsigned short IC5ADDMT34ZE:1;\r
+            unsigned short IC4ADDMT34ZE:1;\r
+            unsigned short IC3ADDMT34ZE:1;\r
+            unsigned short IC2ADDMT34ZE:1;\r
+        } BIT;\r
+    } POECR4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :10;\r
+            unsigned short IC5ADDMT0ZE:1;\r
+            unsigned short IC4ADDMT0ZE:1;\r
+            unsigned short :1;\r
+            unsigned short IC2ADDMT0ZE:1;\r
+            unsigned short IC1ADDMT0ZE:1;\r
+        } BIT;\r
+    } POECR5;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :3;\r
+            unsigned short IC4ADDGPT23ZE:1;\r
+            unsigned short IC3ADDGPT23ZE:1;\r
+            unsigned short IC2ADDGPT23Z:1;\r
+            unsigned short IC1ADDGPT23ZE:1;\r
+            unsigned short :3;\r
+            unsigned short IC5ADDGPT01ZE:1;\r
+            unsigned short :1;\r
+            unsigned short IC3ADDGPT01ZE:1;\r
+            unsigned short IC2ADDGPT01Z:1;\r
+            unsigned short IC1ADDGPT01ZE:1;\r
+        } BIT;\r
+    } POECR6;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char POE10F:1;\r
+            unsigned char :2;\r
+            unsigned char POE10E:1;\r
+            unsigned char PIE4:1;\r
+            unsigned char :6;\r
+            unsigned char POE10M:2;\r
+        } BIT;\r
+    } ICSR4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char POE11F:1;\r
+            unsigned char :2;\r
+            unsigned char POE11E:1;\r
+            unsigned char PIE5:1;\r
+            unsigned char :6;\r
+            unsigned char POE11M:2;\r
+        } BIT;\r
+    } ICSR5;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :8;\r
+            unsigned char OLSEN:1;\r
+            unsigned char :1;\r
+            unsigned char OLSG2B:1;\r
+            unsigned char OLSG2A:1;\r
+            unsigned char OLSG1B:1;\r
+            unsigned char OLSG1A:1;\r
+            unsigned char OLSG0B:1;\r
+            unsigned char OLSG0A:1;\r
+        } BIT;\r
+    } ALR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned char H;\r
+            unsigned char L;\r
+        } BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char OSTSTF:1;\r
+            unsigned char :2;\r
+            unsigned char OSTSTE:1;\r
+        } BIT;\r
+    } ICSR6;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G0BSEL:4;\r
+            unsigned char G0ASEL:4;\r
+        } BIT;\r
+    } G0SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G1BSEL:4;\r
+            unsigned char G1ASEL:4;\r
+        } BIT;\r
+    } G1SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G2BSEL:4;\r
+            unsigned char G2ASEL:4;\r
+        } BIT;\r
+    } G2SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char G3BSEL:4;\r
+            unsigned char G3ASEL:4;\r
+        } BIT;\r
+    } G3SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M0BSEL:4;\r
+            unsigned char M0ASEL:4;\r
+        } BIT;\r
+    } M0SELR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M0DSEL:4;\r
+            unsigned char M0CSEL:4;\r
+        } BIT;\r
+    } M0SELR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M3DSEL:4;\r
+            unsigned char M3BSEL:4;\r
+        } BIT;\r
+    } M3SELR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M4CSEL:4;\r
+            unsigned char M4ASEL:4;\r
+        } BIT;\r
+    } M4SELR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char M4DSEL:4;\r
+            unsigned char M4BSEL:4;\r
+        } BIT;\r
+    } M4SELR2;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char M4G2SEL:1;\r
+            unsigned char M4G1SEL:1;\r
+            unsigned char M4G0SEL:1;\r
+        } BIT;\r
+    } MGSELR;\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 :1;\r
+            unsigned char B6:1;\r
+            unsigned char B5:1;\r
+            unsigned char B4: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 :1;\r
+            unsigned char B6:1;\r
+            unsigned char B5:1;\r
+            unsigned char B4: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 :1;\r
+            unsigned char B6:1;\r
+            unsigned char B5:1;\r
+            unsigned char B4: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 :1;\r
+            unsigned char B6:1;\r
+            unsigned char B5:1;\r
+            unsigned char B4: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 :1;\r
+            unsigned char B6:1;\r
+            unsigned char B5:1;\r
+            unsigned char B4: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 :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 :2;\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 :2;\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 :2;\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 :2;\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 :2;\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_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_qspi {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPRIE:1;\r
+            unsigned char SPE:1;\r
+            unsigned char SPTIE:1;\r
+            unsigned char :3;\r
+            unsigned char SPSSLIE:1;\r
+        } BIT;\r
+    } SPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char SSLP:1;\r
+        } BIT;\r
+    } SSLP;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char MOIFE:1;\r
+            unsigned char MOIFV:1;\r
+            unsigned char :1;\r
+            unsigned char IO3FV:1;\r
+            unsigned char IO2FV:1;\r
+            unsigned char SPLP:1;\r
+        } BIT;\r
+    } SPPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPRFF:1;\r
+            unsigned char TREND:1;\r
+            unsigned char SPTEF:1;\r
+            unsigned char SPSSLF:1;\r
+        } BIT;\r
+    } SPSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long SPD31:1;\r
+            unsigned long SPD30:1;\r
+            unsigned long SPD29:1;\r
+            unsigned long SPD28:1;\r
+            unsigned long SPD27:1;\r
+            unsigned long SPD26:1;\r
+            unsigned long SPD25:1;\r
+            unsigned long SPD24:1;\r
+            unsigned long SPD23:1;\r
+            unsigned long SPD22:1;\r
+            unsigned long SPD21:1;\r
+            unsigned long SPD20:1;\r
+            unsigned long SPD19:1;\r
+            unsigned long SPD18:1;\r
+            unsigned long SPD17:1;\r
+            unsigned long SPD16:1;\r
+            unsigned long SPD15:1;\r
+            unsigned long SPD14:1;\r
+            unsigned long SPD13:1;\r
+            unsigned long SPD12:1;\r
+            unsigned long SPD11:1;\r
+            unsigned long SPD10:1;\r
+            unsigned long SPD9:1;\r
+            unsigned long SPD8:1;\r
+            unsigned long SPD7:1;\r
+            unsigned long SPD6:1;\r
+            unsigned long SPD5:1;\r
+            unsigned long SPD4:1;\r
+            unsigned long SPD3:1;\r
+            unsigned long SPD2:1;\r
+            unsigned long SPD1:1;\r
+            unsigned long SPD0:1;\r
+        } BIT;\r
+    } SPDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char SPSC:2;\r
+        } BIT;\r
+    } SPSCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char SPSS:2;\r
+        } BIT;\r
+    } SPSSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPBR7:1;\r
+            unsigned char SPBR6:1;\r
+            unsigned char SPBR5:1;\r
+            unsigned char SPBR4:1;\r
+            unsigned char SPBR3:1;\r
+            unsigned char SPBR2:1;\r
+            unsigned char SPBR1:1;\r
+            unsigned char SPBR0:1;\r
+        } BIT;\r
+    } SPBR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TXDMY:1;\r
+        } BIT;\r
+    } SPDCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            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
+    char           wk0[1];\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 SPIMOD:2;\r
+            unsigned short SPRW:1;\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 SPIMOD:2;\r
+            unsigned short SPRW:1;\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 SPIMOD:2;\r
+            unsigned short SPRW:1;\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 SPIMOD:2;\r
+            unsigned short SPRW:1;\r
+            unsigned short BRDV:2;\r
+            unsigned short CPOL:1;\r
+            unsigned short CPHA:1;\r
+        } BIT;\r
+    } SPCMD3;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TXRST:1;\r
+            unsigned char RXRST:1;\r
+            unsigned char TXTRG:2;\r
+            unsigned char TXTRGEX:1;\r
+            unsigned char RXTRG:3;\r
+        } BIT;\r
+    } SPBFCR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short TXBC:6;\r
+            unsigned short :2;\r
+            unsigned short RXBC:6;\r
+        } BIT;\r
+    } SPBDCR;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL0;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL1;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL2;\r
+    union {\r
+        unsigned long LONG;\r
+    } SPBMUL3;\r
+};\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_riic2 {\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_rspi0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SPRIE:1;\r
+            unsigned char SPE:1;\r
+            unsigned char SPTIE:1;\r
+            unsigned char SPEIE:1;\r
+            unsigned char MSTR:1;\r
+            unsigned char MODFEN:1;\r
+            unsigned char TXMD:1;\r
+            unsigned char SPMS:1;\r
+        } BIT;\r
+    } SPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char SSL3P:1;\r
+            unsigned char SSL2P:1;\r
+            unsigned char SSL1P:1;\r
+            unsigned char SSL0P:1;\r
+        } BIT;\r
+    } SSLP;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char MOIFE:1;\r
+            unsigned char MOIFV:1;\r
+            unsigned char :2;\r
+            unsigned char SPLP2:1;\r
+            unsigned char SPLP:1;\r
+        } BIT;\r
+    } SPPCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :4;\r
+            unsigned char PERF:1;\r
+            unsigned char MODF:1;\r
+            unsigned char IDLNF:1;\r
+            unsigned char OVRF:1;\r
+        } BIT;\r
+    } SPSR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned short H;\r
+        } WORD;\r
+    } SPDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char SPSLN:3;\r
+        } BIT;\r
+    } SPSCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :1;\r
+            unsigned char SPECM:3;\r
+            unsigned char :1;\r
+            unsigned char SPCP:3;\r
+        } BIT;\r
+    } SPSSR;\r
+    unsigned char SPBR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char SPLW:1;\r
+            unsigned char SPRDTD:1;\r
+            unsigned char :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 SPTDDL:3;\r
+            unsigned char SCKASE:1;\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 RTCOS: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 CNTMD: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 :4;\r
+            unsigned char RTCDV:3;\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 :2;\r
+            unsigned char DATE10:2;\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 :2;\r
+            unsigned char DATE10:2;\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 :2;\r
+            unsigned char DATE10:2;\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_rtcb {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT0;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT1;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT2;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNT:8;\r
+        } BIT;\r
+    } BCNT3;\r
+    char           wk3[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT0AR;\r
+    char           wk4[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT1AR;\r
+    char           wk5[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT2AR;\r
+    char           wk6[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNTAR:8;\r
+        } BIT;\r
+    } BCNT3AR;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ENB:8;\r
+        } BIT;\r
+    } BCNT0AER;\r
+    char           wk8[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ENB:8;\r
+        } BIT;\r
+    } BCNT1AER;\r
+    char           wk9[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short ENB:8;\r
+        } BIT;\r
+    } BCNT2AER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char ENB:8;\r
+        } BIT;\r
+    } BCNT3AER;\r
+    char           wk10[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CNTMD:1;\r
+            unsigned char :1;\r
+            unsigned char AADJP:1;\r
+            unsigned char AADJE:1;\r
+            unsigned char RTCOE:1;\r
+            unsigned char :1;\r
+            unsigned char RESET:1;\r
+            unsigned char START:1;\r
+        } BIT;\r
+    } BRCR2;\r
+    char           wk11[45];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT0CP0;\r
+    char           wk12[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT1CP0;\r
+    char           wk13[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT2CP0;\r
+    char           wk14[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP0:8;\r
+        } BIT;\r
+    } BCNT3CP0;\r
+    char           wk15[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT0CP1;\r
+    char           wk16[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT1CP1;\r
+    char           wk17[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT2CP1;\r
+    char           wk18[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP1:8;\r
+        } BIT;\r
+    } BCNT3CP1;\r
+    char           wk19[7];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT0CP2;\r
+    char           wk20[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT1CP2;\r
+    char           wk21[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT2CP2;\r
+    char           wk22[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCNCP2:8;\r
+        } BIT;\r
+    } BCNT3CP2;\r
+};\r
+\r
+struct st_s12ad {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ADST:1;\r
+            unsigned short ADCS:2;\r
+            unsigned short ADIE:1;\r
+            unsigned short :2;\r
+            unsigned short TRGE:1;\r
+            unsigned short EXTRG:1;\r
+            unsigned short DBLE:1;\r
+            unsigned short GBADIE:1;\r
+            unsigned short :1;\r
+            unsigned short DBLANS:5;\r
+        } BIT;\r
+    } ADCSR;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSA0:16;\r
+        } BIT;\r
+    } ADANSA0;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ADS0:16;\r
+        } BIT;\r
+    } ADADS0;\r
+    char           wk2[2];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char AVEE:1;\r
+            unsigned char :5;\r
+            unsigned char ADC:2;\r
+        } BIT;\r
+    } ADADC;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ADRFMT:1;\r
+            unsigned short :3;\r
+            unsigned short DIAGM:1;\r
+            unsigned short DIAGLD:1;\r
+            unsigned short DIAGVAL:2;\r
+            unsigned short :2;\r
+            unsigned short ACE:1;\r
+            unsigned short :2;\r
+            unsigned short ADPRC:2;\r
+        } BIT;\r
+    } ADCER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short TRSA:6;\r
+            unsigned short :2;\r
+            unsigned short TRSB:6;\r
+        } BIT;\r
+    } ADSTRGR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXOEN:1;\r
+            unsigned short EXSEL:2;\r
+            unsigned short :3;\r
+            unsigned short OCS:1;\r
+            unsigned short TSS:1;\r
+            unsigned short :6;\r
+            unsigned short OCSAD:1;\r
+            unsigned short TSSAD:1;\r
+        } BIT;\r
+    } ADEXICR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSB0:16;\r
+        } BIT;\r
+    } ADANSB0;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short AD:12;\r
+        } BIT;\r
+    } ADDBLDR;\r
+    char           wk5[4];\r
+    union {\r
+        unsigned short WORD;\r
+        union {\r
+            struct {\r
+                unsigned short DIAGST:2;\r
+                unsigned short :2;\r
+                unsigned short AD:12;\r
+            } RIGHT;\r
+            struct {\r
+                unsigned short AD:12;\r
+                unsigned short :2;\r
+                unsigned short DIAGST:2;\r
+            } LEFT;\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
+    char           wk6[48];\r
+    unsigned char  ADSSTR0;\r
+    unsigned char  ADSSTRL;\r
+    char           wk7[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           wk8[11];\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
+    char           wk9[5];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short GBRP:1;\r
+            unsigned short :13;\r
+            unsigned short GBRSCN:1;\r
+            unsigned short PGS:1;\r
+        } BIT;\r
+    } ADGSPCR;\r
+    char           wk10[2];\r
+    unsigned short ADDBLDRA;\r
+    unsigned short ADDBLDRB;\r
+    char           wk11[8];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMPIE:1;\r
+            unsigned char WCMPE:1;\r
+        } BIT;\r
+    } ADCMPCR;\r
+    char           wk12[3];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPS0:16;\r
+        } BIT;\r
+    } ADCMPANSR0;\r
+    char           wk13[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPL0:16;\r
+        } BIT;\r
+    } ADCMPLR0;\r
+    char           wk14[2];\r
+    unsigned short ADCMPDR0;\r
+    unsigned short ADCMPDR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPF0:16;\r
+        } BIT;\r
+    } ADCMPSR0;\r
+};\r
+\r
+struct st_s12ad1 {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSA0:16;\r
+        } BIT;\r
+    } ADANSA0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :11;\r
+            unsigned short ANSA1:5;\r
+        } BIT;\r
+    } ADANSA1;\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 AVEE:1;\r
+            unsigned char :5;\r
+            unsigned char ADC:2;\r
+        } BIT;\r
+    } ADADC;\r
+    char           wk0[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ADRFMT:1;\r
+            unsigned short :3;\r
+            unsigned short DIAGM:1;\r
+            unsigned short DIAGLD:1;\r
+            unsigned short DIAGVAL:2;\r
+            unsigned short :2;\r
+            unsigned short ACE:1;\r
+            unsigned short :2;\r
+            unsigned short ADPRC:2;\r
+        } BIT;\r
+    } ADCER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short TRSA:6;\r
+            unsigned short :2;\r
+            unsigned short TRSB:6;\r
+        } BIT;\r
+    } ADSTRGR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short EXOEN:1;\r
+            unsigned short EXSEL:2;\r
+            unsigned short :3;\r
+            unsigned short OCS:1;\r
+            unsigned short TSS:1;\r
+            unsigned short :6;\r
+            unsigned short OCSAD:1;\r
+            unsigned short TSSAD:1;\r
+        } BIT;\r
+    } ADEXICR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short ANSB0:16;\r
+        } BIT;\r
+    } ADANSB0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :11;\r
+            unsigned short ANSB1:5;\r
+        } BIT;\r
+    } ADANSB1;\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 AD:12;\r
+            } RIGHT;\r
+            struct {\r
+                unsigned short AD:12;\r
+                unsigned short :2;\r
+                unsigned short DIAGST:2;\r
+            } LEFT;\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
+    unsigned short ADDR16;\r
+    unsigned short ADDR17;\r
+    unsigned short ADDR18;\r
+    unsigned short ADDR19;\r
+    unsigned short ADDR20;\r
+    char           wk1[22];\r
+    unsigned char  ADSSTR0;\r
+    unsigned char  ADSSTRL;\r
+    char           wk2[14];\r
+    unsigned char  ADSSTRT;\r
+    unsigned char  ADSSTRO;\r
+    char           wk3[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
+    char           wk4[5];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short GBRP:1;\r
+            unsigned short :13;\r
+            unsigned short GBRSCN:1;\r
+            unsigned short PGS:1;\r
+        } BIT;\r
+    } ADGSPCR;\r
+    char           wk5[2];\r
+    unsigned short ADDBLDRA;\r
+    unsigned short ADDBLDRB;\r
+    char           wk6[8];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char CMPIE:1;\r
+            unsigned char WCMPE:1;\r
+        } BIT;\r
+    } ADCMPCR;\r
+    char           wk7[1];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char CMPSOC:1;\r
+            unsigned char CMPSTS:1;\r
+        } BIT;\r
+    } ADCMPANSER;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char CMPLOC:1;\r
+            unsigned char CMPLTS:1;\r
+        } BIT;\r
+    } ADCMPLER;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPS0:16;\r
+        } BIT;\r
+    } ADCMPANSR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :11;\r
+            unsigned short CMPS1:5;\r
+        } BIT;\r
+    } ADCMPANSR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPL0:16;\r
+        } BIT;\r
+    } ADCMPLR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :11;\r
+            unsigned short CMPL1:5;\r
+        } BIT;\r
+    } ADCMPLR1;\r
+    unsigned short ADCMPDR0;\r
+    unsigned short ADCMPDR1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short CMPF0:16;\r
+        } BIT;\r
+    } ADCMPSR0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :11;\r
+            unsigned short CMPF1:5;\r
+        } BIT;\r
+    } ADCMPSR1;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char CMPFOC:1;\r
+            unsigned char CMPFTS:1;\r
+        } BIT;\r
+    } ADCMPSER;\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 :2;\r
+            unsigned char CHR1:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char SINV:1;\r
+            unsigned char :1;\r
+            unsigned char SMIF:1;\r
+        } BIT;\r
+    } SCMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RXDESEL:1;\r
+            unsigned char BGDM:1;\r
+            unsigned char NFEN:1;\r
+            unsigned char ABCS:1;\r
+            unsigned char :1;\r
+            unsigned char BRME:1;\r
+            unsigned char :1;\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
+    unsigned char  TDRH;\r
+    unsigned char  TDRL;\r
+    unsigned char  RDRH;\r
+    unsigned char  RDRL;\r
+    unsigned char  MDDR;\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 :2;\r
+            unsigned char CHR1:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char SINV:1;\r
+            unsigned char :1;\r
+            unsigned char SMIF:1;\r
+        } BIT;\r
+    } SCMR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char RXDESEL:1;\r
+            unsigned char BGDM:1;\r
+            unsigned char NFEN:1;\r
+            unsigned char ABCS:1;\r
+            unsigned char :1;\r
+            unsigned char BRME:1;\r
+            unsigned char :1;\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
+    unsigned char  TDRH;\r
+    unsigned char  TDRL;\r
+    unsigned char  RDRH;\r
+    unsigned char  RDRL;\r
+    unsigned char  MDDR;\r
+    char           wk0[13];\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_scif {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short CM:1;\r
+            unsigned short CHR:1;\r
+            unsigned short PE:1;\r
+            unsigned short PM:1;\r
+            unsigned short STOP:1;\r
+            unsigned short :1;\r
+            unsigned short CKS:2;\r
+        } BIT;\r
+    } SMR;\r
+//    unsigned char  BRR;\r
+    union {\r
+        unsigned char  BRR;\r
+        unsigned char  MDDR;    \r
+    };\r
+    char           wk0[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short TIE:1;\r
+            unsigned short RIE:1;\r
+            unsigned short TE:1;\r
+            unsigned short RE:1;\r
+            unsigned short REIE:1;\r
+            unsigned short TEIE:1;\r
+            unsigned short CKE:2;\r
+        } BIT;\r
+    } SCR;\r
+    unsigned char  FTDR;\r
+    char           wk1[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short ER:1;\r
+            unsigned short TEND:1;\r
+            unsigned short TDFE:1;\r
+            unsigned short BRK:1;\r
+            unsigned short FER:1;\r
+            unsigned short PER:1;\r
+            unsigned short RDF:1;\r
+            unsigned short DR:1;\r
+        } BIT;\r
+    } FSR;\r
+    unsigned char  FRDR;\r
+    char           wk2[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :5;\r
+            unsigned short RSTRG:3;\r
+            unsigned short RTRG:2;\r
+            unsigned short TTRG:2;\r
+            unsigned short MCE:1;\r
+            unsigned short TFRST:1;\r
+            unsigned short RFRST:1;\r
+            unsigned short LOOP:1;\r
+        } BIT;\r
+    } FCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :3;\r
+            unsigned short T:5;\r
+            unsigned short :3;\r
+            unsigned short R:5;\r
+        } BIT;\r
+    } FDR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short RTS2IO:1;\r
+            unsigned short RTS2DT:1;\r
+            unsigned short CTS2IO:1;\r
+            unsigned short CTS2DT:1;\r
+            unsigned short SCKIO:1;\r
+            unsigned short SCKDT:1;\r
+            unsigned short SPB2IO:1;\r
+            unsigned short SPB2DT:1;\r
+        } BIT;\r
+    } SPTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short PER:4;\r
+            unsigned short :2;\r
+            unsigned short FER:4;\r
+            unsigned short :1;\r
+            unsigned short ORER:1;\r
+        } BIT;\r
+    } LSR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BGDM:1;\r
+            unsigned char ACS0:1;\r
+            unsigned char BRME:1;\r
+            unsigned char MDDRS:1;\r
+            unsigned char DIR:1;\r
+            unsigned char NFEN:1;\r
+            unsigned char :1;\r
+            unsigned char ABCS0:1;\r
+        } BIT;\r
+    } SEMR;\r
+    char           wk3[1];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RTRGS:1;\r
+            unsigned short :2;\r
+            unsigned short RFTC:5;\r
+            unsigned short TTRGS:1;\r
+            unsigned short :2;\r
+            unsigned short TFTC:5;\r
+        } BIT;\r
+    } FTCR;\r
+};\r
+\r
+struct st_smci {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char GM:1;\r
+            unsigned char BLK:1;\r
+            unsigned char PE:1;\r
+            unsigned char PM:1;\r
+            unsigned char BCP:2;\r
+            unsigned char CKS:2;\r
+        } BIT;\r
+    } SMR;\r
+    char           wk0[3];\r
+//    unsigned char  BRR;\r
+    union {\r
+        unsigned char  BRR;\r
+        unsigned char  MDDR;    \r
+    };\r
+    char           wk1[3];\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
+    char           wk2[3];\r
+    unsigned char  TDR;\r
+    char           wk3[3];\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
+    char           wk4[3];\r
+    unsigned char  RDR;\r
+    char           wk5[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCP2:1;\r
+            unsigned char :2;\r
+            unsigned char CHR1:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char SINV:1;\r
+            unsigned char :1;\r
+            unsigned char SMIF:1;\r
+        } BIT;\r
+    } SCMR;\r
+    char           wk6[3];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BRME:1;\r
+            unsigned char MDDRS:1;\r
+            unsigned char :1;\r
+            unsigned char ABCS:1;\r
+            unsigned char :1;\r
+            unsigned char RSDMOS:1;\r
+            unsigned char :1;\r
+            unsigned char ACS0:1;\r
+        } BIT;\r
+    } SEMR;\r
+};\r
+\r
+struct st_smci0 {\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char GM:1;\r
+            unsigned char BLK:1;\r
+            unsigned char PE:1;\r
+            unsigned char PM:1;\r
+            unsigned char BCP:2;\r
+            unsigned char CKS:2;\r
+        } BIT;\r
+    } SMR;\r
+    unsigned char  BRR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char TIE:1;\r
+            unsigned char RIE:1;\r
+            unsigned char TE:1;\r
+            unsigned char RE:1;\r
+            unsigned char MPIE:1;\r
+            unsigned char TEIE:1;\r
+            unsigned char CKE:2;\r
+        } BIT;\r
+    } SCR;\r
+    unsigned char  TDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :2;\r
+            unsigned char ORER:1;\r
+            unsigned char ERS:1;\r
+            unsigned char PER:1;\r
+            unsigned char TEND:1;\r
+            unsigned char MPB:1;\r
+            unsigned char MPBT:1;\r
+        } BIT;\r
+    } SSR;\r
+    unsigned char  RDR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char BCP2:1;\r
+            unsigned char :2;\r
+            unsigned char CHR1:1;\r
+            unsigned char SDIR:1;\r
+            unsigned char SINV:1;\r
+            unsigned char :1;\r
+            unsigned char SMIF:1;\r
+        } BIT;\r
+    } SCMR;\r
+};\r
+\r
+struct st_src {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :10;\r
+            unsigned long SRCFCTR:22;\r
+        } BIT;\r
+    } SRCFCTR[5552];\r
+    char           wk0[2352];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long B31:1;\r
+            unsigned long B30:1;\r
+            unsigned long B29:1;\r
+            unsigned long B28:1;\r
+            unsigned long B27:1;\r
+            unsigned long B26:1;\r
+            unsigned long B25:1;\r
+            unsigned long B24:1;\r
+            unsigned long B23:1;\r
+            unsigned long B22:1;\r
+            unsigned long B21:1;\r
+            unsigned long B20:1;\r
+            unsigned long B19:1;\r
+            unsigned long B18:1;\r
+            unsigned long B17:1;\r
+            unsigned long B16:1;\r
+            unsigned long B15:1;\r
+            unsigned long B14:1;\r
+            unsigned long B13:1;\r
+            unsigned long B12:1;\r
+            unsigned long B11:1;\r
+            unsigned long B10:1;\r
+            unsigned long B9:1;\r
+            unsigned long B8:1;\r
+            unsigned long B7:1;\r
+            unsigned long B6:1;\r
+            unsigned long B5:1;\r
+            unsigned long B4:1;\r
+            unsigned long B3:1;\r
+            unsigned long B2:1;\r
+            unsigned long B1:1;\r
+            unsigned long B0:1;\r
+        } BIT;\r
+    } SRCID;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long B31:1;\r
+            unsigned long B30:1;\r
+            unsigned long B29:1;\r
+            unsigned long B28:1;\r
+            unsigned long B27:1;\r
+            unsigned long B26:1;\r
+            unsigned long B25:1;\r
+            unsigned long B24:1;\r
+            unsigned long B23:1;\r
+            unsigned long B22:1;\r
+            unsigned long B21:1;\r
+            unsigned long B20:1;\r
+            unsigned long B19:1;\r
+            unsigned long B18:1;\r
+            unsigned long B17:1;\r
+            unsigned long B16:1;\r
+            unsigned long B15:1;\r
+            unsigned long B14:1;\r
+            unsigned long B13:1;\r
+            unsigned long B12:1;\r
+            unsigned long B11:1;\r
+            unsigned long B10:1;\r
+            unsigned long B9:1;\r
+            unsigned long B8:1;\r
+            unsigned long B7:1;\r
+            unsigned long B6:1;\r
+            unsigned long B5:1;\r
+            unsigned long B4:1;\r
+            unsigned long B3:1;\r
+            unsigned long B2:1;\r
+            unsigned long B1:1;\r
+            unsigned long B0:1;\r
+        } BIT;\r
+    } SRCOD;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short IED:1;\r
+            unsigned short IEN:1;\r
+            unsigned short :6;\r
+            unsigned short IFTRG:2;\r
+        } BIT;\r
+    } SRCIDCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :5;\r
+            unsigned short OCH:1;\r
+            unsigned short OED:1;\r
+            unsigned short OEN:1;\r
+            unsigned short :6;\r
+            unsigned short OFTRG:2;\r
+        } BIT;\r
+    } SRCODCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short FICRAE:1;\r
+            unsigned short :1;\r
+            unsigned short CEEN:1;\r
+            unsigned short SRCEN:1;\r
+            unsigned short UDEN:1;\r
+            unsigned short OVEN:1;\r
+            unsigned short FL:1;\r
+            unsigned short CL:1;\r
+            unsigned short IFS:4;\r
+            unsigned short :1;\r
+            unsigned short OFS:3;\r
+        } BIT;\r
+    } SRCCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short OFDN:5;\r
+            unsigned short IFDN:3;\r
+            unsigned short :2;\r
+            unsigned short CEF:1;\r
+            unsigned short FLF:1;\r
+            unsigned short UDF:1;\r
+            unsigned short OVF:1;\r
+            unsigned short IINIT:1;\r
+            unsigned short OINT:1;\r
+        } BIT;\r
+    } SRCSTAT;\r
+};\r
+\r
+struct st_ssi {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :1;\r
+            unsigned long CKS:1;\r
+            unsigned long TUIEN:1;\r
+            unsigned long TOIEN:1;\r
+            unsigned long RUIEN:1;\r
+            unsigned long ROIEN:1;\r
+            unsigned long IIEN:1;\r
+            unsigned long :1;\r
+            unsigned long CHNL:2;\r
+            unsigned long DWL:3;\r
+            unsigned long SWL:3;\r
+            unsigned long SCKD:1;\r
+            unsigned long SWSD:1;\r
+            unsigned long SCKP:1;\r
+            unsigned long SWSP:1;\r
+            unsigned long SPDP:1;\r
+            unsigned long SDTA:1;\r
+            unsigned long PDTA:1;\r
+            unsigned long DEL:1;\r
+            unsigned long CKDV:4;\r
+            unsigned long MUEN:1;\r
+            unsigned long :1;\r
+            unsigned long TEN:1;\r
+            unsigned long REN:1;\r
+        } BIT;\r
+    } SSICR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :2;\r
+            unsigned long TUIRQ:1;\r
+            unsigned long TOIRQ:1;\r
+            unsigned long RUIRQ:1;\r
+            unsigned long ROIRQ:1;\r
+            unsigned long IIRQ:1;\r
+            unsigned long :18;\r
+            unsigned long TCHNO:2;\r
+            unsigned long TSWNO:1;\r
+            unsigned long RCHNO:2;\r
+            unsigned long RSWNO:1;\r
+            unsigned long IDST:1;\r
+        } BIT;\r
+    } SSISR;\r
+    char           wk0[8];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long AUCKE:1;\r
+            unsigned long :23;\r
+            unsigned long TTRG:2;\r
+            unsigned long RTRG:2;\r
+            unsigned long TUE:1;\r
+            unsigned long RIE:1;\r
+            unsigned long TFRST:1;\r
+            unsigned long RFRST:1;\r
+        } BIT;\r
+    } SSIFCR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :4;\r
+            unsigned long TDC:4;\r
+            unsigned long :7;\r
+            unsigned long TDE:1;\r
+            unsigned long :4;\r
+            unsigned long RDC:4;\r
+            unsigned long :7;\r
+            unsigned long RDF:1;\r
+        } BIT;\r
+    } SSIFSR;\r
+    unsigned long  SSIFTDR;\r
+    unsigned long  SSIFRDR;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :23;\r
+            unsigned long CONT:1;\r
+        } BIT;\r
+    } SSITDMR;\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
+        } 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 :8;\r
+            unsigned short SBYRAME:1;\r
+            unsigned short ECCRAME:1;\r
+            unsigned short :5;\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 :7;\r
+            unsigned long MSTPA19:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA17:1;\r
+            unsigned long MSTPA16:1;\r
+            unsigned long MSTPA15:1;\r
+            unsigned long MSTPA14:1;\r
+            unsigned long MSTPA13:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA11:1;\r
+            unsigned long MSTPA10:1;\r
+            unsigned long MSTPA9:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA7:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPA5:1;\r
+            unsigned long MSTPA4:1;\r
+            unsigned long :2;\r
+            unsigned long MSTPA1:1;\r
+            unsigned long MSTPA0: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 MSTPB22:1;\r
+            unsigned long MSTPB21:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB19:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB17:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB15:1;\r
+            unsigned long MSTPB14:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPB12:1;\r
+            unsigned long :2;\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
+            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 MSTPC23:1;\r
+            unsigned long :3;\r
+            unsigned long MSTPC19:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPC17:1;\r
+            unsigned long :9;\r
+            unsigned long MSTPC7:1;\r
+            unsigned long :4;\r
+            unsigned long MSTPC2:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPC0:1;\r
+        } BIT;\r
+    } MSTPCRC;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long MSTPD31:1;\r
+            unsigned long MSTPD30:1;\r
+            unsigned long MSTPD29:1;\r
+            unsigned long MSTPD28:1;\r
+            unsigned long :4;\r
+            unsigned long MSTPD23:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPD21:1;\r
+            unsigned long :1;\r
+            unsigned long MSTPD19:1;\r
+            unsigned long :3;\r
+            unsigned long MSTPD15:1;\r
+            unsigned long MSTPD14:1;\r
+        } BIT;\r
+    } MSTPCRD;\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
+            unsigned long PCKC:4;\r
+            unsigned long PCKD:4;\r
+        } BIT;\r
+    } SCKCR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short UCK: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 :3;\r
+            unsigned short PLLSRCSEL:1;\r
+            unsigned short :2;\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           wk3[5];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :7;\r
+            unsigned char BCLKDIV:1;\r
+        } BIT;\r
+    } BCKCR;\r
+    char           wk4[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
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :6;\r
+            unsigned char HCFRQ:2;\r
+        } BIT;\r
+    } HOCOCR2;\r
+    char           wk6[4];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :3;\r
+            unsigned char ILCOVF:1;\r
+            unsigned char HCOVF:1;\r
+            unsigned char PLOVF:1;\r
+            unsigned char SOOVF:1;\r
+            unsigned char MOOVF:1;\r
+        } BIT;\r
+    } OSCOVFSR;\r
+    char           wk7[3];\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 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 MSTS:8;\r
+        } BIT;\r
+    } MOSCWTCR;\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char SSTS:8;\r
+        } BIT;\r
+    } SOSCWTCR;\r
+    char           wk9[28];\r
+    union {\r
+        unsigned char BYTE;\r
+        struct {\r
+            unsigned char :5;\r
+            unsigned char SWRF:1;\r
+            unsigned char WDTRF:1;\r
+            unsigned char IWTDRF:1;\r
+        } 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 :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           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 DRIICCIE:1;\r
+            unsigned char DRIICDIE: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 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
+    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 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
+    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 :1;\r
+            unsigned char MOSEL:1;\r
+            unsigned char MODRV2:2;\r
+            unsigned char MODRV:3;\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[7794020];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :29;\r
+            unsigned long MDE:3;\r
+        } BIT;\r
+    } MDE;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :3;\r
+            unsigned long WDTRSTIRQS:1;\r
+            unsigned long WDTRPSS:2;\r
+            unsigned long WDTRPES:2;\r
+            unsigned long WDTCKS:4;\r
+            unsigned long WDTTOPS:2;\r
+            unsigned long WDTSTRT:1;\r
+            unsigned long :2;\r
+            unsigned long IWDTSLCSTP:1;\r
+            unsigned long :1;\r
+            unsigned long IWDTRSTIRQS:1;\r
+            unsigned long IWDTRPSS:2;\r
+            unsigned long IWDTRPES:2;\r
+            unsigned long IWDTCKS:4;\r
+            unsigned long IWDTTOPS:2;\r
+            unsigned long IWDTSTRT:1;\r
+        } BIT;\r
+    } OFS0;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :23;\r
+            unsigned long HOCOEN:1;\r
+            unsigned long :5;\r
+            unsigned long LVDAS:1;\r
+            unsigned long VDSEL:2;\r
+        } BIT;\r
+    } OFS1;\r
+};\r
+\r
+struct st_temps {\r
+    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
+    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_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 :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
+            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_usb {\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\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 :11;\r
+            unsigned long FIXPHY0:1;\r
+            unsigned long DRPD0:1;\r
+            unsigned long :1;\r
+            unsigned long RPUE0:1;\r
+            unsigned long SRPC0:1;\r
+        } BIT;\r
+    } DPUSR0R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\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 :8;\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 PIPE9NRDY:1;\r
+            unsigned short PIPE8NRDY:1;\r
+            unsigned short PIPE7NRDY:1;\r
+            unsigned short PIPE6NRDY:1;\r
+            unsigned short PIPE5NRDY:1;\r
+            unsigned short PIPE4NRDY:1;\r
+            unsigned short PIPE3NRDY:1;\r
+            unsigned short PIPE2NRDY:1;\r
+            unsigned short PIPE1NRDY:1;\r
+            unsigned short PIPE0NRDY:1;\r
+        } BIT;\r
+    } NRDYSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short PIPE9BEMP:1;\r
+            unsigned short PIPE8BEMP:1;\r
+            unsigned short PIPE7BEMP:1;\r
+            unsigned short PIPE6BEMP:1;\r
+            unsigned short PIPE5BEMP:1;\r
+            unsigned short PIPE4BEMP:1;\r
+            unsigned short PIPE3BEMP:1;\r
+            unsigned short PIPE2BEMP:1;\r
+            unsigned short PIPE1BEMP:1;\r
+            unsigned short PIPE0BEMP: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
+    char           wk16[20];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :24;\r
+            unsigned long USBSPD:2;\r
+            unsigned long :2;\r
+            unsigned long SLEWF01:1;\r
+            unsigned long SLEWF00:1;\r
+            unsigned long SLEWR01:1;\r
+            unsigned long SLEWR00:1;\r
+        } BIT;\r
+    } DPUSR2R;\r
+};\r
+\r
+struct st_usbhs {\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :7;\r
+            unsigned short CNEN:1;\r
+            unsigned short HSE:1;\r
+            unsigned short DCFM:1;\r
+            unsigned short DRPD:1;\r
+            unsigned short DPRPU:1;\r
+            unsigned short :3;\r
+            unsigned short USBE:1;\r
+        } BIT;\r
+    } SYSCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :12;\r
+            unsigned short BWAIT:4;\r
+        } BIT;\r
+    } BUSWAIT;\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
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :15;\r
+            unsigned short PLLLOCK:1;\r
+        } BIT;\r
+    } PLLSTA;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :4;\r
+            unsigned short HNPBTOA:1;\r
+            unsigned short EXICEN:1;\r
+            unsigned short VBUSEN:1;\r
+            unsigned short WKUP:1;\r
+            unsigned short RWUPE:1;\r
+            unsigned short USBRST:1;\r
+            unsigned short RESUME:1;\r
+            unsigned short UACT:1;\r
+            unsigned short :1;\r
+            unsigned short RHST:3;\r
+        } BIT;\r
+    } DVSTCTR0;\r
+    char           wk0[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :12;\r
+            unsigned short UTST:4;\r
+        } BIT;\r
+    } TESTMODE;\r
+    char           wk1[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short DFACC:2;\r
+            unsigned short :7;\r
+            unsigned short TENDE:1;\r
+        } BIT;\r
+    } D0FBCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :2;\r
+            unsigned short DFACC:2;\r
+            unsigned short :7;\r
+            unsigned short TENDE:1;\r
+        } BIT;\r
+    } D1FBCFG;\r
+    unsigned short CFIFO;\r
+    unsigned short CFIFO1;\r
+    unsigned short D0FIFO;\r
+    unsigned short D0FIFO1;\r
+    unsigned short D1FIFO;\r
+    unsigned short D1FIFO1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RCNT:1;\r
+            unsigned short REW:1;\r
+            unsigned short :2;\r
+            unsigned short MBW:2;\r
+            unsigned short :1;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :2;\r
+            unsigned short ISEL:1;\r
+            unsigned short :1;\r
+            unsigned short CURPIPE:4;\r
+        } BIT;\r
+    } CFIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BVAL:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short FRDY:1;\r
+            unsigned short :1;\r
+            unsigned short DTLN:12;\r
+        } BIT;\r
+    } CFIFOCTR;\r
+    char           wk2[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RCNT:1;\r
+            unsigned short REW:1;\r
+            unsigned short DCLRM:1;\r
+            unsigned short DREQE:1;\r
+            unsigned short MBW:2;\r
+            unsigned short :1;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :4;\r
+            unsigned short CURPIPE:4;\r
+        } BIT;\r
+    } D0FIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BVAL:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short FRDY:1;\r
+            unsigned short :1;\r
+            unsigned short DTLN:12;\r
+        } BIT;\r
+    } D0FIFOCTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short RCNT:1;\r
+            unsigned short REW:1;\r
+            unsigned short DCLRM:1;\r
+            unsigned short DREQE:1;\r
+            unsigned short MBW:2;\r
+            unsigned short :1;\r
+            unsigned short BIGEND:1;\r
+            unsigned short :4;\r
+            unsigned short CURPIPE:4;\r
+        } BIT;\r
+    } D1FIFOSEL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BVAL:1;\r
+            unsigned short BCLR:1;\r
+            unsigned short FRDY:1;\r
+            unsigned short :1;\r
+            unsigned short DTLN:12;\r
+        } BIT;\r
+    } 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 :1;\r
+            unsigned short L1RSMENDE:1;\r
+            unsigned short LPMENDE:1;\r
+            unsigned short :1;\r
+            unsigned short EOFERRE:1;\r
+            unsigned short SIGNE:1;\r
+            unsigned short SACKE:1;\r
+            unsigned short :3;\r
+            unsigned short PDDETINTE:1;\r
+        } BIT;\r
+    } INTENB1;\r
+    char           wk3[2];\r
+    union {\r
+        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 INTL:1;\r
+            unsigned short EDGESTS:1;\r
+            unsigned short SOFM:2;\r
+        } BIT;\r
+    } SOFCFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short HSEB:1;\r
+            unsigned short :3;\r
+            unsigned short repstart:1;\r
+            unsigned short :1;\r
+            unsigned short repsel1:1;\r
+            unsigned short repsel0:1;\r
+            unsigned short :2;\r
+            unsigned short clksel1:1;\r
+            unsigned short clksel0:1;\r
+            unsigned short cdpen:1;\r
+            unsigned short :1;\r
+            unsigned short pllreset:1;\r
+            unsigned short dirpd:1;\r
+        } BIT;\r
+    } PHYSET;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short VBINT:1;\r
+            unsigned short RESM:1;\r
+            unsigned short SOFR:1;\r
+            unsigned short DVST:1;\r
+            unsigned short CTRT:1;\r
+            unsigned short BEMP:1;\r
+            unsigned short NRDY:1;\r
+            unsigned short BRDY:1;\r
+            unsigned short VBSTS:1;\r
+            unsigned short DVSQ:3;\r
+            unsigned short VALID:1;\r
+            unsigned short CTSQ:3;\r
+        } BIT;\r
+    } INTSTS0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short OVRCR:1;\r
+            unsigned short BCHG:1;\r
+            unsigned short :1;\r
+            unsigned short DTCH:1;\r
+            unsigned short ATTCH:1;\r
+            unsigned short :1;\r
+            unsigned short L1RSMEND:1;\r
+            unsigned short LPMEND:1;\r
+            unsigned short :1;\r
+            unsigned short EOFERR:1;\r
+            unsigned short SIGN:1;\r
+            unsigned short SACK:1;\r
+            unsigned short :3;\r
+            unsigned short PDDETINT:1;\r
+        } BIT;\r
+    } INTSTS1;\r
+    char           wk4[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short PIPE9BRDY:1;\r
+            unsigned short PIPE8BRDY:1;\r
+            unsigned short PIPE7BRDY:1;\r
+            unsigned short PIPE6BRDY:1;\r
+            unsigned short PIPE5BRDY:1;\r
+            unsigned short PIPE4BRDY:1;\r
+            unsigned short PIPE3BRDY:1;\r
+            unsigned short PIPE2BRDY:1;\r
+            unsigned short PIPE1BRDY:1;\r
+            unsigned short PIPE0BRDY:1;\r
+        } BIT;\r
+    } 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 :13;\r
+            unsigned short UFRNM:3;\r
+        } BIT;\r
+    } UFRMNUM;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :9;\r
+            unsigned short USBADDR:7;\r
+        } BIT;\r
+    } USBADDR;\r
+    char           wk5[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 :11;\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 CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short SUREQCLR:1;\r
+            unsigned short :2;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short PINGE:1;\r
+            unsigned short :1;\r
+            unsigned short CCPL:1;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } DCPCTR;\r
+    char           wk6[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :12;\r
+            unsigned short PIPESEL:4;\r
+        } BIT;\r
+    } PIPESEL;\r
+    char           wk7[2];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TYPE:2;\r
+            unsigned short :3;\r
+            unsigned short BFRE:1;\r
+            unsigned short DBLB:1;\r
+            unsigned short CNTMD:1;\r
+            unsigned short SHTNAK:1;\r
+            unsigned short :2;\r
+            unsigned short DIR:1;\r
+            unsigned short EPNUM:4;\r
+        } BIT;\r
+    } PIPECFG;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short BUFSIZE:5;\r
+            unsigned short :2;\r
+            unsigned short BUFNMB:8;\r
+        } BIT;\r
+    } PIPEBUF;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short DEVSEL:4;\r
+            unsigned short :1;\r
+            unsigned short MXPS:11;\r
+        } BIT;\r
+    } 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 CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE1CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE2CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE3CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE4CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE5CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE6CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE7CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE8CTR;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short BSTS:1;\r
+            unsigned short INBUFM:1;\r
+            unsigned short CSCLR:1;\r
+            unsigned short CSSTS:1;\r
+            unsigned short :1;\r
+            unsigned short ATREPM:1;\r
+            unsigned short ACLRM:1;\r
+            unsigned short SQCLR:1;\r
+            unsigned short SQSET:1;\r
+            unsigned short SQMON:1;\r
+            unsigned short PBUSY:1;\r
+            unsigned short :3;\r
+            unsigned short PID:2;\r
+        } BIT;\r
+    } PIPE9CTR;\r
+    char           wk8[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short TRENB:1;\r
+            unsigned short TRCLR:1;\r
+        } BIT;\r
+    } PIPE1TRE;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } 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
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } 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
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } 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
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } 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
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short TRNCNT:16;\r
+        } BIT;\r
+    } PIPE5TRN;\r
+    char           wk9[44];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short USBSPD:2;\r
+        } BIT;\r
+    } DEVADD0;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short USBSPD:2;\r
+        } BIT;\r
+    } DEVADD1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short USBSPD:2;\r
+        } BIT;\r
+    } DEVADD2;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short USBSPD:2;\r
+        } BIT;\r
+    } DEVADD3;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short USBSPD:2;\r
+        } BIT;\r
+    } DEVADD4;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short UPPHUB:4;\r
+            unsigned short HUBPORT:3;\r
+            unsigned short USBSPD:2;\r
+        } BIT;\r
+    } DEVADD5;\r
+    char           wk10[36];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :8;\r
+            unsigned short HWLPM:1;\r
+        } BIT;\r
+    } LPCTRL;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short SUSPENDM:1;\r
+        } BIT;\r
+    } LPSTS;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short SUSMON:1;\r
+            unsigned short :1;\r
+            unsigned short OPMODE:2;\r
+            unsigned short TERMSEL:1;\r
+            unsigned short XCVRSEL:2;\r
+        } BIT;\r
+    } PHYFUNCTR;\r
+    char           wk11[4];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :5;\r
+            unsigned short DMPUDWN:1;\r
+            unsigned short DPPUDWN:1;\r
+        } BIT;\r
+    } PHYOTGCTR;\r
+    char           wk12[52];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :6;\r
+            unsigned short PDDETSTS:1;\r
+            unsigned short CHGDETSTS:1;\r
+            unsigned short :2;\r
+            unsigned short DCPMODE:1;\r
+            unsigned short VDMSRCE:1;\r
+            unsigned short IDPSINKE:1;\r
+            unsigned short VDPSRCE:1;\r
+            unsigned short IDMSINKE:1;\r
+            unsigned short IDPSRCE:1;\r
+        } BIT;\r
+    } BCCTRL;\r
+    char           wk13[14];\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short impoffset2:1;\r
+            unsigned short impoffset1:1;\r
+            unsigned short impoffset0:1;\r
+            unsigned short hsiup3:1;\r
+            unsigned short hsiup2:1;\r
+            unsigned short hsiup1:1;\r
+            unsigned short hsiup0:1;\r
+            unsigned short pcompenb:1;\r
+            unsigned short :3;\r
+            unsigned short dfall1:1;\r
+            unsigned short dfall0:1;\r
+            unsigned short drise1:1;\r
+            unsigned short drise0:1;\r
+        } BIT;\r
+    } PHYTRIM1;\r
+    union {\r
+        unsigned short WORD;\r
+        struct {\r
+            unsigned short :1;\r
+            unsigned short dis2:1;\r
+            unsigned short dis1:1;\r
+            unsigned short dis0:1;\r
+            unsigned short :2;\r
+            unsigned short prd1:1;\r
+            unsigned short prd0:1;\r
+            unsigned short hsrxenmode:1;\r
+            unsigned short :3;\r
+            unsigned short squ3:1;\r
+            unsigned short squ2:1;\r
+            unsigned short squ1:1;\r
+            unsigned short squ0:1;\r
+        } BIT;\r
+    } PHYTRIM2;\r
+    char           wk14[12];\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long DVBSTS:1;\r
+            unsigned long :1;\r
+            unsigned long DOVCB:1;\r
+            unsigned long DOVCA:1;\r
+            unsigned long :2;\r
+            unsigned long DM:1;\r
+            unsigned long DP:1;\r
+            unsigned long :11;\r
+            unsigned long FIXPHY:1;\r
+            unsigned long :3;\r
+            unsigned long SRPC:1;\r
+        } BIT;\r
+    } DPUSR0R;\r
+    union {\r
+        unsigned long LONG;\r
+        struct {\r
+            unsigned long :8;\r
+            unsigned long DVBINT:1;\r
+            unsigned long :1;\r
+            unsigned long DOVRCRB:1;\r
+            unsigned long DOVRCRA:1;\r
+            unsigned long :2;\r
+            unsigned long DMINT:1;\r
+            unsigned long DPINT:1;\r
+            unsigned long :8;\r
+            unsigned long DVBSE:1;\r
+            unsigned long :1;\r
+            unsigned long DOVRCRBE:1;\r
+            unsigned long DOVRCRAE:1;\r
+            unsigned long :2;\r
+            unsigned long DMINTE:1;\r
+            unsigned long DPINTE:1;\r
+        } BIT;\r
+    } DPUSR1R;\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
+#endif\r
+enum enum_ir {\r
+IR_BSC_BUSERR=16,IR_RAM_RAMERR=18,\r
+IR_FCU_FIFERR=21,IR_FCU_FRDYI=23,\r
+IR_ICU_SWINT2=26,IR_ICU_SWINT,\r
+IR_CMT0_CMI0,\r
+IR_CMT1_CMI1,\r
+IR_CMTW0_CMWI0,\r
+IR_CMTW_CMWI1,\r
+IR_USBHS_D0FIFO2,IR_USBHS_D1FIFO2,\r
+IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,\r
+IR_RSPI0_SPRI0=38,IR_RSPI0_SPTI0,\r
+IR_QSPI_SPRI=42,IR_QSPI_SPTI,\r
+IR_SDHI_SBFAI,\r
+IR_MMC_MBFAI,\r
+IR_SSI0_SSITXI0,IR_SSI0_SSIRXI0,\r
+IR_SSI1_SSIRTI1,\r
+IR_SRC0_IDEI0=50,IR_SRC0_ODFI0,\r
+IR_RIIC0_RXI0,IR_RIIC0_TXI0,\r
+IR_RIIC2_RXI2,IR_RIIC2_TXI2,\r
+IR_SCI0_RXI0=58,IR_SCI0_TXI0,\r
+IR_SCI1_RXI1,IR_SCI1_TXI1,\r
+IR_SCI2_RXI2,IR_SCI2_TXI2,\r
+IR_ICU_IRQ0,IR_ICU_IRQ1,IR_ICU_IRQ2,IR_ICU_IRQ3,IR_ICU_IRQ4,IR_ICU_IRQ5,IR_ICU_IRQ6,IR_ICU_IRQ7,IR_ICU_IRQ8,IR_ICU_IRQ9,IR_ICU_IRQ10,IR_ICU_IRQ11,IR_ICU_IRQ12,IR_ICU_IRQ13,IR_ICU_IRQ14,IR_ICU_IRQ15,\r
+IR_SCI3_RXI3,IR_SCI3_TXI3,\r
+IR_SCI4_RXI4,IR_SCI4_TXI4,\r
+IR_SCI5_RXI5,IR_SCI5_TXI5,\r
+IR_SCI6_RXI6,IR_SCI6_TXI6,\r
+IR_LVD1_COMPA1,\r
+IR_LVD2_COMPA2,\r
+IR_USB0_USBR0,\r
+IR_RTC_ALARM,IR_RTC_PRD,\r
+IR_USBHS_HSUSBR,\r
+IR_IWDT_IWUNI,\r
+IR_WDT_WUNI,\r
+IR_SCI7_RXI7,IR_SCI7_TXI7,\r
+IR_SCIF8_RXIF8,IR_SCIF8_TXIF8,\r
+IR_SCIF9_RXIF9,IR_SCIF9_TXIF9,\r
+IR_SCIF10_RXIF10,IR_SCIF10_TXIF10,\r
+IR_ICU_GROUPBE0,IR_ICU_GROUPBE1,IR_ICU_GROUPAE0,IR_ICU_GROUPAE1,IR_ICU_GROUPBL0,IR_ICU_GROUPBL1,IR_ICU_GROUPAL0,IR_ICU_GROUPAL1,\r
+IR_SCIF11_RXIF11,IR_SCIF11_TXIF11,\r
+IR_SCI12_RXI12,IR_SCI12_TXI12,\r
+IR_DMAC_DMAC0I=120,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,IR_DMAC_DMAC74I,\r
+IR_ICU_OST,\r
+IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
+IR_PERIB128_INTB128,\r
+IR_PERIB129_INTB129,\r
+IR_PERIB130_INTB130,\r
+IR_PERIB131_INTB131,\r
+IR_PERIB132_INTB132,\r
+IR_PERIB133_INTB133,\r
+IR_PERIB134_INTB134,\r
+IR_PERIB135_INTB135,\r
+IR_PERIB136_INTB136,\r
+IR_PERIB137_INTB137,\r
+IR_PERIB138_INTB138,\r
+IR_PERIB139_INTB139,\r
+IR_PERIB140_INTB140,\r
+IR_PERIB141_INTB141,\r
+IR_PERIB142_INTB142,\r
+IR_PERIB143_INTB143,\r
+IR_PERIB144_INTB144,\r
+IR_PERIB145_INTB145,\r
+IR_PERIB146_INTB146,\r
+IR_PERIB147_INTB147,\r
+IR_PERIB148_INTB148,\r
+IR_PERIB149_INTB149,\r
+IR_PERIB150_INTB150,\r
+IR_PERIB151_INTB151,\r
+IR_PERIB152_INTB152,\r
+IR_PERIB153_INTB153,\r
+IR_PERIB154_INTB154,\r
+IR_PERIB155_INTB155,\r
+IR_PERIB156_INTB156,\r
+IR_PERIB157_INTB157,\r
+IR_PERIB158_INTB158,\r
+IR_PERIB159_INTB159,\r
+IR_PERIB160_INTB160,\r
+IR_PERIB161_INTB161,\r
+IR_PERIB162_INTB162,\r
+IR_PERIB163_INTB163,\r
+IR_PERIB164_INTB164,\r
+IR_PERIB165_INTB165,\r
+IR_PERIB166_INTB166,\r
+IR_PERIB167_INTB167,\r
+IR_PERIB168_INTB168,\r
+IR_PERIB169_INTB169,\r
+IR_PERIB170_INTB170,\r
+IR_PERIB171_INTB171,\r
+IR_PERIB172_INTB172,\r
+IR_PERIB173_INTB173,\r
+IR_PERIB174_INTB174,\r
+IR_PERIB175_INTB175,\r
+IR_PERIB176_INTB176,\r
+IR_PERIB177_INTB177,\r
+IR_PERIB178_INTB178,\r
+IR_PERIB179_INTB179,\r
+IR_PERIB180_INTB180,\r
+IR_PERIB181_INTB181,\r
+IR_PERIB182_INTB182,\r
+IR_PERIB183_INTB183,\r
+IR_PERIB184_INTB184,\r
+IR_PERIB185_INTB185,\r
+IR_PERIB186_INTB186,\r
+IR_PERIB187_INTB187,\r
+IR_PERIB188_INTB188,\r
+IR_PERIB189_INTB189,\r
+IR_PERIB190_INTB190,\r
+IR_PERIB191_INTB191,\r
+IR_PERIB192_INTB192,\r
+IR_PERIB193_INTB193,\r
+IR_PERIB194_INTB194,\r
+IR_PERIB195_INTB195,\r
+IR_PERIB196_INTB196,\r
+IR_PERIB197_INTB197,\r
+IR_PERIB198_INTB198,\r
+IR_PERIB199_INTB199,\r
+IR_PERIB200_INTB200,\r
+IR_PERIB201_INTB201,\r
+IR_PERIB202_INTB202,\r
+IR_PERIB203_INTB203,\r
+IR_PERIB204_INTB204,\r
+IR_PERIB205_INTB205,\r
+IR_PERIB206_INTB206,\r
+IR_PERIB207_INTB207,\r
+IR_PERIA208_INTA208,\r
+IR_PERIA209_INTA209,\r
+IR_PERIA210_INTA210,\r
+IR_PERIA211_INTA211,\r
+IR_PERIA212_INTA212,\r
+IR_PERIA213_INTA213,\r
+IR_PERIA214_INTA214,\r
+IR_PERIA215_INTA215,\r
+IR_PERIA216_INTA216,\r
+IR_PERIA217_INTA217,\r
+IR_PERIA218_INTA218,\r
+IR_PERIA219_INTA219,\r
+IR_PERIA220_INTA220,\r
+IR_PERIA221_INTA221,\r
+IR_PERIA222_INTA222,\r
+IR_PERIA223_INTA223,\r
+IR_PERIA224_INTA224,\r
+IR_PERIA225_INTA225,\r
+IR_PERIA226_INTA226,\r
+IR_PERIA227_INTA227,\r
+IR_PERIA228_INTA228,\r
+IR_PERIA229_INTA229,\r
+IR_PERIA230_INTA230,\r
+IR_PERIA231_INTA231,\r
+IR_PERIA232_INTA232,\r
+IR_PERIA233_INTA233,\r
+IR_PERIA234_INTA234,\r
+IR_PERIA235_INTA235,\r
+IR_PERIA236_INTA236,\r
+IR_PERIA237_INTA237,\r
+IR_PERIA238_INTA238,\r
+IR_PERIA239_INTA239,\r
+IR_PERIA240_INTA240,\r
+IR_PERIA241_INTA241,\r
+IR_PERIA242_INTA242,\r
+IR_PERIA243_INTA243,\r
+IR_PERIA244_INTA244,\r
+IR_PERIA245_INTA245,\r
+IR_PERIA246_INTA246,\r
+IR_PERIA247_INTA247,\r
+IR_PERIA248_INTA248,\r
+IR_PERIA249_INTA249,\r
+IR_PERIA250_INTA250,\r
+IR_PERIA251_INTA251,\r
+IR_PERIA252_INTA252,\r
+IR_PERIA253_INTA253,\r
+IR_PERIA254_INTA254,\r
+IR_PERIA255_INTA255\r
+};\r
+\r
+enum enum_dtce {\r
+DTCE_ICU_SWINT2=26,DTCE_ICU_SWINT,\r
+DTCE_CMT0_CMI0,\r
+DTCE_CMT1_CMI1,\r
+DTCE_CMTW0_CMWI0,\r
+DTCE_CMTW_CMWI1,\r
+DTCE_USBHS_D0FIFO2,DTCE_USBHS_D1FIFO2,\r
+DTCE_USB0_D0FIFO0,DTCE_USB0_D1FIFO0,\r
+DTCE_RSPI0_SPRI0=38,DTCE_RSPI0_SPTI0,\r
+DTCE_QSPI_SPRI=42,DTCE_QSPI_SPTI,\r
+DTCE_SDHI_SBFAI,\r
+DTCE_MMC_MBFAI,\r
+DTCE_SSI0_SSITXI0,DTCE_SSI0_SSIRXI0,\r
+DTCE_SSI1_SSIRTI1,\r
+DTCE_SRC0_IDEI0=50,DTCE_SRC0_ODFI0,\r
+DTCE_RIIC0_RXI0,DTCE_RIIC0_TXI0,\r
+DTCE_RIIC2_RXI2,DTCE_RIIC2_TXI2,\r
+DTCE_SCI0_RXI0=58,DTCE_SCI0_TXI0,\r
+DTCE_SCI1_RXI1,DTCE_SCI1_TXI1,\r
+DTCE_SCI2_RXI2,DTCE_SCI2_TXI2,\r
+DTCE_ICU_IRQ0,DTCE_ICU_IRQ1,DTCE_ICU_IRQ2,DTCE_ICU_IRQ3,DTCE_ICU_IRQ4,DTCE_ICU_IRQ5,DTCE_ICU_IRQ6,DTCE_ICU_IRQ7,DTCE_ICU_IRQ8,DTCE_ICU_IRQ9,DTCE_ICU_IRQ10,DTCE_ICU_IRQ11,DTCE_ICU_IRQ12,DTCE_ICU_IRQ13,DTCE_ICU_IRQ14,DTCE_ICU_IRQ15,\r
+DTCE_SCI3_RXI3,DTCE_SCI3_TXI3,\r
+DTCE_SCI4_RXI4,DTCE_SCI4_TXI4,\r
+DTCE_SCI5_RXI5,DTCE_SCI5_TXI5,\r
+DTCE_SCI6_RXI6,DTCE_SCI6_TXI6,\r
+DTCE_PDC_PCDFI=97,\r
+DTCE_SCI7_RXI7,DTCE_SCI7_TXI7,\r
+DTCE_SCIF8_RXIF8,DTCE_SCIF8_TXIF8,\r
+DTCE_SCIF9_RXIF9,DTCE_SCIF9_TXIF9,\r
+DTCE_SCIF10_RXIF10,DTCE_SCIF10_TXIF10,\r
+DTCE_SCIF11_RXIF11=114,DTCE_SCIF11_TXIF11,\r
+DTCE_SCI12_RXI12,DTCE_SCI12_TXI12,\r
+DTCE_DMAC_DMAC0I=120,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
+DTCE_EXDMAC_EXDMAC0I=126,DTCE_EXDMAC_EXDMAC1I,\r
+DTCE_PERIB128_INTB128,\r
+DTCE_PERIB129_INTB129,\r
+DTCE_PERIB130_INTB130,\r
+DTCE_PERIB131_INTB131,\r
+DTCE_PERIB132_INTB132,\r
+DTCE_PERIB133_INTB133,\r
+DTCE_PERIB134_INTB134,\r
+DTCE_PERIB135_INTB135,\r
+DTCE_PERIB136_INTB136,\r
+DTCE_PERIB137_INTB137,\r
+DTCE_PERIB138_INTB138,\r
+DTCE_PERIB139_INTB139,\r
+DTCE_PERIB140_INTB140,\r
+DTCE_PERIB141_INTB141,\r
+DTCE_PERIB142_INTB142,\r
+DTCE_PERIB143_INTB143,\r
+DTCE_PERIB144_INTB144,\r
+DTCE_PERIB145_INTB145,\r
+DTCE_PERIB146_INTB146,\r
+DTCE_PERIB147_INTB147,\r
+DTCE_PERIB148_INTB148,\r
+DTCE_PERIB149_INTB149,\r
+DTCE_PERIB150_INTB150,\r
+DTCE_PERIB151_INTB151,\r
+DTCE_PERIB152_INTB152,\r
+DTCE_PERIB153_INTB153,\r
+DTCE_PERIB154_INTB154,\r
+DTCE_PERIB155_INTB155,\r
+DTCE_PERIB156_INTB156,\r
+DTCE_PERIB157_INTB157,\r
+DTCE_PERIB158_INTB158,\r
+DTCE_PERIB159_INTB159,\r
+DTCE_PERIB160_INTB160,\r
+DTCE_PERIB161_INTB161,\r
+DTCE_PERIB162_INTB162,\r
+DTCE_PERIB163_INTB163,\r
+DTCE_PERIB164_INTB164,\r
+DTCE_PERIB165_INTB165,\r
+DTCE_PERIB166_INTB166,\r
+DTCE_PERIB167_INTB167,\r
+DTCE_PERIB168_INTB168,\r
+DTCE_PERIB169_INTB169,\r
+DTCE_PERIB170_INTB170,\r
+DTCE_PERIB171_INTB171,\r
+DTCE_PERIB172_INTB172,\r
+DTCE_PERIB173_INTB173,\r
+DTCE_PERIB174_INTB174,\r
+DTCE_PERIB175_INTB175,\r
+DTCE_PERIB176_INTB176,\r
+DTCE_PERIB177_INTB177,\r
+DTCE_PERIB178_INTB178,\r
+DTCE_PERIB179_INTB179,\r
+DTCE_PERIB180_INTB180,\r
+DTCE_PERIB181_INTB181,\r
+DTCE_PERIB182_INTB182,\r
+DTCE_PERIB183_INTB183,\r
+DTCE_PERIB184_INTB184,\r
+DTCE_PERIB185_INTB185,\r
+DTCE_PERIB186_INTB186,\r
+DTCE_PERIB187_INTB187,\r
+DTCE_PERIB188_INTB188,\r
+DTCE_PERIB189_INTB189,\r
+DTCE_PERIB190_INTB190,\r
+DTCE_PERIB191_INTB191,\r
+DTCE_PERIB192_INTB192,\r
+DTCE_PERIB193_INTB193,\r
+DTCE_PERIB194_INTB194,\r
+DTCE_PERIB195_INTB195,\r
+DTCE_PERIB196_INTB196,\r
+DTCE_PERIB197_INTB197,\r
+DTCE_PERIB198_INTB198,\r
+DTCE_PERIB199_INTB199,\r
+DTCE_PERIB200_INTB200,\r
+DTCE_PERIB201_INTB201,\r
+DTCE_PERIB202_INTB202,\r
+DTCE_PERIB203_INTB203,\r
+DTCE_PERIB204_INTB204,\r
+DTCE_PERIB205_INTB205,\r
+DTCE_PERIB206_INTB206,\r
+DTCE_PERIB207_INTB207,\r
+DTCE_PERIA208_INTA208,\r
+DTCE_PERIA209_INTA209,\r
+DTCE_PERIA210_INTA210,\r
+DTCE_PERIA211_INTA211,\r
+DTCE_PERIA212_INTA212,\r
+DTCE_PERIA213_INTA213,\r
+DTCE_PERIA214_INTA214,\r
+DTCE_PERIA215_INTA215,\r
+DTCE_PERIA216_INTA216,\r
+DTCE_PERIA217_INTA217,\r
+DTCE_PERIA218_INTA218,\r
+DTCE_PERIA219_INTA219,\r
+DTCE_PERIA220_INTA220,\r
+DTCE_PERIA221_INTA221,\r
+DTCE_PERIA222_INTA222,\r
+DTCE_PERIA223_INTA223,\r
+DTCE_PERIA224_INTA224,\r
+DTCE_PERIA225_INTA225,\r
+DTCE_PERIA226_INTA226,\r
+DTCE_PERIA227_INTA227,\r
+DTCE_PERIA228_INTA228,\r
+DTCE_PERIA229_INTA229,\r
+DTCE_PERIA230_INTA230,\r
+DTCE_PERIA231_INTA231,\r
+DTCE_PERIA232_INTA232,\r
+DTCE_PERIA233_INTA233,\r
+DTCE_PERIA234_INTA234,\r
+DTCE_PERIA235_INTA235,\r
+DTCE_PERIA236_INTA236,\r
+DTCE_PERIA237_INTA237,\r
+DTCE_PERIA238_INTA238,\r
+DTCE_PERIA239_INTA239,\r
+DTCE_PERIA240_INTA240,\r
+DTCE_PERIA241_INTA241,\r
+DTCE_PERIA242_INTA242,\r
+DTCE_PERIA243_INTA243,\r
+DTCE_PERIA244_INTA244,\r
+DTCE_PERIA245_INTA245,\r
+DTCE_PERIA246_INTA246,\r
+DTCE_PERIA247_INTA247,\r
+DTCE_PERIA248_INTA248,\r
+DTCE_PERIA249_INTA249,\r
+DTCE_PERIA250_INTA250,\r
+DTCE_PERIA251_INTA251,\r
+DTCE_PERIA252_INTA252,\r
+DTCE_PERIA253_INTA253,\r
+DTCE_PERIA254_INTA254,\r
+DTCE_PERIA255_INTA255\r
+};\r
+\r
+enum enum_ier {\r
+IER_BSC_BUSERR=0x02,\r
+IER_RAM_RAMERR=0x02,\r
+IER_FCU_FIFERR=0x02,IER_FCU_FRDYI=0x02,\r
+IER_ICU_SWINT2=0x03,IER_ICU_SWINT=0x03,\r
+IER_CMT0_CMI0=0x03,\r
+IER_CMT1_CMI1=0x03,\r
+IER_CMTW0_CMWI0=0x03,\r
+IER_CMTW_CMWI1=0x03,\r
+IER_USBHS_D0FIFO2=0x04,IER_USBHS_D1FIFO2=0x04,\r
+IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,\r
+IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x04,\r
+IER_QSPI_SPRI=0x05,IER_QSPI_SPTI=0x05,\r
+IER_SDHI_SBFAI=0x05,\r
+IER_MMC_MBFAI=0x05,\r
+IER_SSI0_SSITXI0=0x05,IER_SSI0_SSIRXI0=0x05,\r
+IER_SSI1_SSIRTI1=0x06,\r
+IER_SRC0_IDEI0=0x06,IER_SRC0_ODFI0=0x06,\r
+IER_RIIC0_RXI0=0x06,IER_RIIC0_TXI0=0x06,\r
+IER_RIIC2_RXI2=0x06,IER_RIIC2_TXI2=0x06,\r
+IER_SCI0_RXI0=0x07,IER_SCI0_TXI0=0x07,\r
+IER_SCI1_RXI1=0x07,IER_SCI1_TXI1=0x07,\r
+IER_SCI2_RXI2=0x07,IER_SCI2_TXI2=0x07,\r
+IER_ICU_IRQ0=0x08,IER_ICU_IRQ1=0x08,IER_ICU_IRQ2=0x08,IER_ICU_IRQ3=0x08,IER_ICU_IRQ4=0x08,IER_ICU_IRQ5=0x08,IER_ICU_IRQ6=0x08,IER_ICU_IRQ7=0x08,IER_ICU_IRQ8=0x09,IER_ICU_IRQ9=0x09,IER_ICU_IRQ10=0x09,IER_ICU_IRQ11=0x09,IER_ICU_IRQ12=0x09,IER_ICU_IRQ13=0x09,IER_ICU_IRQ14=0x09,IER_ICU_IRQ15=0x09,\r
+IER_SCI3_RXI3=0x0A,IER_SCI3_TXI3=0x0A,\r
+IER_SCI4_RXI4=0x0A,IER_SCI4_TXI4=0x0A,\r
+IER_SCI5_RXI5=0x0A,IER_SCI5_TXI5=0x0A,\r
+IER_SCI6_RXI6=0x0A,IER_SCI6_TXI6=0x0A,\r
+IER_LVD1_COMPA1=0x0B,\r
+IER_LVD2_COMPA2=0x0B,\r
+IER_USB0_USBR0=0x0B,\r
+IER_RTC_ALARM=0x0B,IER_RTC_PRD=0x0B,\r
+IER_USBHS_HSUSBR=0x0B,\r
+IER_IWDT_IWUNI=0x0B,\r
+IER_WDT_WUNI=0x0C,\r
+IER_PDC_PCDFI=0x0C,\r
+IER_SCI7_RXI7=0x0C,IER_SCI7_TXI7=0x0C,\r
+IER_SCIF8_RXIF8=0x0C,IER_SCIF8_TXIF8=0x0C,\r
+IER_SCIF9_RXIF9=0x0C,IER_SCIF9_TXIF9=0x0C,\r
+IER_SCIF10_RXIF10=0x0D,IER_SCIF10_TXIF10=0x0D,\r
+IER_ICU_GROUPBE0=0x0D,IER_ICU_GROUPBE1=0x0D,IER_ICU_GROUPAE0=0x0D,IER_ICU_GROUPAE1=0x0D,IER_ICU_GROUPBL0=0x0D,IER_ICU_GROUPBL1=0x0D,IER_ICU_GROUPAL0=0x0E,IER_ICU_GROUPAL1=0x0E,\r
+IER_SCIF11_RXIF11=0x0E,IER_SCIF11_TXIF11=0x0E,\r
+IER_SCI12_RXI12=0x0E,IER_SCI12_TXI12=0x0E,\r
+IER_DMAC_DMAC0I=0x0F,IER_DMAC_DMAC1I=0x0F,IER_DMAC_DMAC2I=0x0F,IER_DMAC_DMAC3I=0x0F,IER_DMAC_DMAC74I=0x0F,\r
+IER_ICU_OST=0x0F,\r
+IER_EXDMAC_EXDMAC0I=0x0F,IER_EXDMAC_EXDMAC1I=0x0F,\r
+IER_PERIB128_INTB128=0x10,\r
+IER_PERIB129_INTB129=0x10,\r
+IER_PERIB130_INTB130=0x10,\r
+IER_PERIB131_INTB131=0x10,\r
+IER_PERIB132_INTB132=0x10,\r
+IER_PERIB133_INTB133=0x10,\r
+IER_PERIB134_INTB134=0x10,\r
+IER_PERIB135_INTB135=0x10,\r
+IER_PERIB136_INTB136=0x11,\r
+IER_PERIB137_INTB137=0x11,\r
+IER_PERIB138_INTB138=0x11,\r
+IER_PERIB139_INTB139=0x11,\r
+IER_PERIB140_INTB140=0x11,\r
+IER_PERIB141_INTB141=0x11,\r
+IER_PERIB142_INTB142=0x11,\r
+IER_PERIB143_INTB143=0x11,\r
+IER_PERIB144_INTB144=0x12,\r
+IER_PERIB145_INTB145=0x12,\r
+IER_PERIB146_INTB146=0x12,\r
+IER_PERIB147_INTB147=0x12,\r
+IER_PERIB148_INTB148=0x12,\r
+IER_PERIB149_INTB149=0x12,\r
+IER_PERIB150_INTB150=0x12,\r
+IER_PERIB151_INTB151=0x12,\r
+IER_PERIB152_INTB152=0x13,\r
+IER_PERIB153_INTB153=0x13,\r
+IER_PERIB154_INTB154=0x13,\r
+IER_PERIB155_INTB155=0x13,\r
+IER_PERIB156_INTB156=0x13,\r
+IER_PERIB157_INTB157=0x13,\r
+IER_PERIB158_INTB158=0x13,\r
+IER_PERIB159_INTB159=0x13,\r
+IER_PERIB160_INTB160=0x14,\r
+IER_PERIB161_INTB161=0x14,\r
+IER_PERIB162_INTB162=0x14,\r
+IER_PERIB163_INTB163=0x14,\r
+IER_PERIB164_INTB164=0x14,\r
+IER_PERIB165_INTB165=0x14,\r
+IER_PERIB166_INTB166=0x14,\r
+IER_PERIB167_INTB167=0x14,\r
+IER_PERIB168_INTB168=0x15,\r
+IER_PERIB169_INTB169=0x15,\r
+IER_PERIB170_INTB170=0x15,\r
+IER_PERIB171_INTB171=0x15,\r
+IER_PERIB172_INTB172=0x15,\r
+IER_PERIB173_INTB173=0x15,\r
+IER_PERIB174_INTB174=0x15,\r
+IER_PERIB175_INTB175=0x15,\r
+IER_PERIB176_INTB176=0x16,\r
+IER_PERIB177_INTB177=0x16,\r
+IER_PERIB178_INTB178=0x16,\r
+IER_PERIB179_INTB179=0x16,\r
+IER_PERIB180_INTB180=0x16,\r
+IER_PERIB181_INTB181=0x16,\r
+IER_PERIB182_INTB182=0x16,\r
+IER_PERIB183_INTB183=0x16,\r
+IER_PERIB184_INTB184=0x17,\r
+IER_PERIB185_INTB185=0x17,\r
+IER_PERIB186_INTB186=0x17,\r
+IER_PERIB187_INTB187=0x17,\r
+IER_PERIB188_INTB188=0x17,\r
+IER_PERIB189_INTB189=0x17,\r
+IER_PERIB190_INTB190=0x17,\r
+IER_PERIB191_INTB191=0x17,\r
+IER_PERIB192_INTB192=0x18,\r
+IER_PERIB193_INTB193=0x18,\r
+IER_PERIB194_INTB194=0x18,\r
+IER_PERIB195_INTB195=0x18,\r
+IER_PERIB196_INTB196=0x18,\r
+IER_PERIB197_INTB197=0x18,\r
+IER_PERIB198_INTB198=0x18,\r
+IER_PERIB199_INTB199=0x18,\r
+IER_PERIB200_INTB200=0x19,\r
+IER_PERIB201_INTB201=0x19,\r
+IER_PERIB202_INTB202=0x19,\r
+IER_PERIB203_INTB203=0x19,\r
+IER_PERIB204_INTB204=0x19,\r
+IER_PERIB205_INTB205=0x19,\r
+IER_PERIB206_INTB206=0x19,\r
+IER_PERIB207_INTB207=0x19,\r
+IER_PERIA208_INTA208=0x1A,\r
+IER_PERIA209_INTA209=0x1A,\r
+IER_PERIA210_INTA210=0x1A,\r
+IER_PERIA211_INTA211=0x1A,\r
+IER_PERIA212_INTA212=0x1A,\r
+IER_PERIA213_INTA213=0x1A,\r
+IER_PERIA214_INTA214=0x1A,\r
+IER_PERIA215_INTA215=0x1A,\r
+IER_PERIA216_INTA216=0x1B,\r
+IER_PERIA217_INTA217=0x1B,\r
+IER_PERIA218_INTA218=0x1B,\r
+IER_PERIA219_INTA219=0x1B,\r
+IER_PERIA220_INTA220=0x1B,\r
+IER_PERIA221_INTA221=0x1B,\r
+IER_PERIA222_INTA222=0x1B,\r
+IER_PERIA223_INTA223=0x1B,\r
+IER_PERIA224_INTA224=0x1C,\r
+IER_PERIA225_INTA225=0x1C,\r
+IER_PERIA226_INTA226=0x1C,\r
+IER_PERIA227_INTA227=0x1C,\r
+IER_PERIA228_INTA228=0x1C,\r
+IER_PERIA229_INTA229=0x1C,\r
+IER_PERIA230_INTA230=0x1C,\r
+IER_PERIA231_INTA231=0x1C,\r
+IER_PERIA232_INTA232=0x1D,\r
+IER_PERIA233_INTA233=0x1D,\r
+IER_PERIA234_INTA234=0x1D,\r
+IER_PERIA235_INTA235=0x1D,\r
+IER_PERIA236_INTA236=0x1D,\r
+IER_PERIA237_INTA237=0x1D,\r
+IER_PERIA238_INTA238=0x1D,\r
+IER_PERIA239_INTA239=0x1D,\r
+IER_PERIA240_INTA240=0x1E,\r
+IER_PERIA241_INTA241=0x1E,\r
+IER_PERIA242_INTA242=0x1E,\r
+IER_PERIA243_INTA243=0x1E,\r
+IER_PERIA244_INTA244=0x1E,\r
+IER_PERIA245_INTA245=0x1E,\r
+IER_PERIA246_INTA246=0x1E,\r
+IER_PERIA247_INTA247=0x1E,\r
+IER_PERIA248_INTA248=0x1F,\r
+IER_PERIA249_INTA249=0x1F,\r
+IER_PERIA250_INTA250=0x1F,\r
+IER_PERIA251_INTA251=0x1F,\r
+IER_PERIA252_INTA252=0x1F,\r
+IER_PERIA253_INTA253=0x1F,\r
+IER_PERIA254_INTA254=0x1F,\r
+IER_PERIA255_INTA255=0x1F\r
+};\r
+\r
+enum enum_ipr {\r
+IPR_BSC_BUSERR=0,\r
+IPR_RAM_RAMERR=0,\r
+IPR_FCU_FIFERR=1,IPR_FCU_FRDYI=2,\r
+IPR_ICU_SWINT2=3,IPR_ICU_SWINT=3,\r
+IPR_CMT0_CMI0=4,\r
+IPR_CMT1_CMI1=5,\r
+IPR_CMTW0_CMWI0=6,\r
+IPR_CMTW_CMWI1=7,\r
+IPR_USBHS_D0FIFO2=32,IPR_USBHS_D1FIFO2=33,\r
+IPR_USB0_D0FIFO0=34,IPR_USB0_D1FIFO0=35,\r
+IPR_RSPI0_SPRI0=38,IPR_RSPI0_SPTI0=39,\r
+IPR_QSPI_SPRI=42,IPR_QSPI_SPTI=43,\r
+IPR_SDHI_SBFAI=44,\r
+IPR_MMC_MBFAI=45,\r
+IPR_SSI0_SSITXI0=46,IPR_SSI0_SSIRXI0=47,\r
+IPR_SSI1_SSIRTI1=48,\r
+IPR_SRC0_IDEI0=50,IPR_SRC0_ODFI0=51,\r
+IPR_RIIC0_RXI0=52,IPR_RIIC0_TXI0=53,\r
+IPR_RIIC2_RXI2=54,IPR_RIIC2_TXI2=55,\r
+IPR_SCI0_RXI0=58,IPR_SCI0_TXI0=59,\r
+IPR_SCI1_RXI1=60,IPR_SCI1_TXI1=61,\r
+IPR_SCI2_RXI2=62,IPR_SCI2_TXI2=63,\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_SCI3_RXI3=80,IPR_SCI3_TXI3=81,\r
+IPR_SCI4_RXI4=82,IPR_SCI4_TXI4=83,\r
+IPR_SCI5_RXI5=84,IPR_SCI5_TXI5=85,\r
+IPR_SCI6_RXI6=86,IPR_SCI6_TXI6=87,\r
+IPR_LVD1_COMPA1=88,\r
+IPR_LVD2_COMPA2=89,\r
+IPR_USB0_USBR0=90,\r
+IPR_RTC_ALARM=92,IPR_RTC_PRD=93,\r
+IPR_USBHS_HSUSBR=94,\r
+IPR_IWDT_IWUNI=95,\r
+IPR_WDT_WUNI=96,\r
+IPR_PDC_PCDFI=97,\r
+IPR_SCI7_RXI7=98,IPR_SCI7_TXI7=99,\r
+IPR_SCIF8_RXIF8=100,IPR_SCIF8_TXIF8=101,\r
+IPR_SCIF9_RXIF9=102,IPR_SCIF9_TXIF9=103,\r
+IPR_SCIF10_RXIF10=104,IPR_SCIF10_TXIF10=105,\r
+IPR_ICU_GROUPBE0=106,IPR_ICU_GROUPBE1=107,IPR_ICU_GROUPAE0=108,IPR_ICU_GROUPAE1=109,IPR_ICU_GROUPBL0=110,IPR_ICU_GROUPBL1=111,IPR_ICU_GROUPAL0=112,IPR_ICU_GROUPAL1=113,\r
+IPR_SCIF11_RXIF11=114,IPR_SCIF11_TXIF11=115,\r
+IPR_SCI12_RXI12=116,IPR_SCI12_TXI12=117,\r
+IPR_DMAC_DMAC0I=120,IPR_DMAC_DMAC1I=121,IPR_DMAC_DMAC2I=122,IPR_DMAC_DMAC3I=123,IPR_DMAC_DMAC74I=124,\r
+IPR_ICU_OST=125,\r
+IPR_EXDMAC_EXDMAC0I=126,IPR_EXDMAC_EXDMAC1I=127,\r
+IPR_PERIB128_INTB128=128,\r
+IPR_PERIB129_INTB129=129,\r
+IPR_PERIB130_INTB130=130,\r
+IPR_PERIB131_INTB131=131,\r
+IPR_PERIB132_INTB132=132,\r
+IPR_PERIB133_INTB133=133,\r
+IPR_PERIB134_INTB134=134,\r
+IPR_PERIB135_INTB135=135,\r
+IPR_PERIB136_INTB136=136,\r
+IPR_PERIB137_INTB137=137,\r
+IPR_PERIB138_INTB138=138,\r
+IPR_PERIB139_INTB139=139,\r
+IPR_PERIB140_INTB140=140,\r
+IPR_PERIB141_INTB141=141,\r
+IPR_PERIB142_INTB142=142,\r
+IPR_PERIB143_INTB143=143,\r
+IPR_PERIB144_INTB144=144,\r
+IPR_PERIB145_INTB145=145,\r
+IPR_PERIB146_INTB146=146,\r
+IPR_PERIB147_INTB147=147,\r
+IPR_PERIB148_INTB148=148,\r
+IPR_PERIB149_INTB149=149,\r
+IPR_PERIB150_INTB150=150,\r
+IPR_PERIB151_INTB151=151,\r
+IPR_PERIB152_INTB152=152,\r
+IPR_PERIB153_INTB153=153,\r
+IPR_PERIB154_INTB154=154,\r
+IPR_PERIB155_INTB155=155,\r
+IPR_PERIB156_INTB156=156,\r
+IPR_PERIB157_INTB157=157,\r
+IPR_PERIB158_INTB158=158,\r
+IPR_PERIB159_INTB159=159,\r
+IPR_PERIB160_INTB160=160,\r
+IPR_PERIB161_INTB161=161,\r
+IPR_PERIB162_INTB162=162,\r
+IPR_PERIB163_INTB163=163,\r
+IPR_PERIB164_INTB164=164,\r
+IPR_PERIB165_INTB165=165,\r
+IPR_PERIB166_INTB166=166,\r
+IPR_PERIB167_INTB167=167,\r
+IPR_PERIB168_INTB168=168,\r
+IPR_PERIB169_INTB169=169,\r
+IPR_PERIB170_INTB170=170,\r
+IPR_PERIB171_INTB171=171,\r
+IPR_PERIB172_INTB172=172,\r
+IPR_PERIB173_INTB173=173,\r
+IPR_PERIB174_INTB174=174,\r
+IPR_PERIB175_INTB175=175,\r
+IPR_PERIB176_INTB176=176,\r
+IPR_PERIB177_INTB177=177,\r
+IPR_PERIB178_INTB178=178,\r
+IPR_PERIB179_INTB179=179,\r
+IPR_PERIB180_INTB180=180,\r
+IPR_PERIB181_INTB181=181,\r
+IPR_PERIB182_INTB182=182,\r
+IPR_PERIB183_INTB183=183,\r
+IPR_PERIB184_INTB184=184,\r
+IPR_PERIB185_INTB185=185,\r
+IPR_PERIB186_INTB186=186,\r
+IPR_PERIB187_INTB187=187,\r
+IPR_PERIB188_INTB188=188,\r
+IPR_PERIB189_INTB189=189,\r
+IPR_PERIB190_INTB190=190,\r
+IPR_PERIB191_INTB191=191,\r
+IPR_PERIB192_INTB192=192,\r
+IPR_PERIB193_INTB193=193,\r
+IPR_PERIB194_INTB194=194,\r
+IPR_PERIB195_INTB195=195,\r
+IPR_PERIB196_INTB196=196,\r
+IPR_PERIB197_INTB197=197,\r
+IPR_PERIB198_INTB198=198,\r
+IPR_PERIB199_INTB199=199,\r
+IPR_PERIB200_INTB200=200,\r
+IPR_PERIB201_INTB201=201,\r
+IPR_PERIB202_INTB202=202,\r
+IPR_PERIB203_INTB203=203,\r
+IPR_PERIB204_INTB204=204,\r
+IPR_PERIB205_INTB205=205,\r
+IPR_PERIB206_INTB206=206,\r
+IPR_PERIB207_INTB207=207,\r
+IPR_PERIA208_INTA208=208,\r
+IPR_PERIA209_INTA209=209,\r
+IPR_PERIA210_INTA210=210,\r
+IPR_PERIA211_INTA211=211,\r
+IPR_PERIA212_INTA212=212,\r
+IPR_PERIA213_INTA213=213,\r
+IPR_PERIA214_INTA214=214,\r
+IPR_PERIA215_INTA215=215,\r
+IPR_PERIA216_INTA216=216,\r
+IPR_PERIA217_INTA217=217,\r
+IPR_PERIA218_INTA218=218,\r
+IPR_PERIA219_INTA219=219,\r
+IPR_PERIA220_INTA220=220,\r
+IPR_PERIA221_INTA221=221,\r
+IPR_PERIA222_INTA222=222,\r
+IPR_PERIA223_INTA223=223,\r
+IPR_PERIA224_INTA224=224,\r
+IPR_PERIA225_INTA225=225,\r
+IPR_PERIA226_INTA226=226,\r
+IPR_PERIA227_INTA227=227,\r
+IPR_PERIA228_INTA228=228,\r
+IPR_PERIA229_INTA229=229,\r
+IPR_PERIA230_INTA230=230,\r
+IPR_PERIA231_INTA231=231,\r
+IPR_PERIA232_INTA232=232,\r
+IPR_PERIA233_INTA233=233,\r
+IPR_PERIA234_INTA234=234,\r
+IPR_PERIA235_INTA235=235,\r
+IPR_PERIA236_INTA236=236,\r
+IPR_PERIA237_INTA237=237,\r
+IPR_PERIA238_INTA238=238,\r
+IPR_PERIA239_INTA239=239,\r
+IPR_PERIA240_INTA240=240,\r
+IPR_PERIA241_INTA241=241,\r
+IPR_PERIA242_INTA242=242,\r
+IPR_PERIA243_INTA243=243,\r
+IPR_PERIA244_INTA244=244,\r
+IPR_PERIA245_INTA245=245,\r
+IPR_PERIA246_INTA246=246,\r
+IPR_PERIA247_INTA247=247,\r
+IPR_PERIA248_INTA248=248,\r
+IPR_PERIA249_INTA249=249,\r
+IPR_PERIA250_INTA250=250,\r
+IPR_PERIA251_INTA251=251,\r
+IPR_PERIA252_INTA252=252,\r
+IPR_PERIA253_INTA253=253,\r
+IPR_PERIA254_INTA254=254,\r
+IPR_PERIA255_INTA255=255\r
+};\r
+\r
+#define    IEN_BSC_BUSERR        IEN0\r
+#define    IEN_RAM_RAMERR        IEN2\r
+#define    IEN_FCU_FIFERR        IEN5\r
+#define    IEN_FCU_FRDYI        IEN7\r
+#define    IEN_ICU_SWINT2        IEN2\r
+#define    IEN_ICU_SWINT        IEN3\r
+#define    IEN_CMT0_CMI0        IEN4\r
+#define    IEN_CMT1_CMI1        IEN5\r
+#define    IEN_CMTW0_CMWI0        IEN6\r
+#define    IEN_CMTW_CMWI1        IEN7\r
+#define    IEN_USBHS_D0FIFO2    IEN0\r
+#define    IEN_USBHS_D1FIFO2    IEN1\r
+#define    IEN_USB0_D0FIFO0    IEN2\r
+#define    IEN_USB0_D1FIFO0    IEN3\r
+#define    IEN_RSPI0_SPRI0        IEN6\r
+#define    IEN_RSPI0_SPTI0        IEN7\r
+#define    IEN_QSPI_SPRI        IEN2\r
+#define    IEN_QSPI_SPTI        IEN3\r
+#define    IEN_SDHI_SBFAI        IEN4\r
+#define    IEN_MMC_MBFAI        IEN5\r
+#define    IEN_SSI0_SSITXI0    IEN6\r
+#define    IEN_SSI0_SSIRXI0    IEN7\r
+#define    IEN_SSI1_SSIRTI1    IEN0\r
+#define    IEN_SRC0_IDEI0        IEN2\r
+#define    IEN_SRC0_ODFI0        IEN3\r
+#define    IEN_RIIC0_RXI0        IEN4\r
+#define    IEN_RIIC0_TXI0        IEN5\r
+#define    IEN_RIIC2_RXI2        IEN6\r
+#define    IEN_RIIC2_TXI2        IEN7\r
+#define    IEN_SCI0_RXI0        IEN2\r
+#define    IEN_SCI0_TXI0        IEN3\r
+#define    IEN_SCI1_RXI1        IEN4\r
+#define    IEN_SCI1_TXI1        IEN5\r
+#define    IEN_SCI2_RXI2        IEN6\r
+#define    IEN_SCI2_TXI2        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_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_SCI3_RXI3        IEN0\r
+#define    IEN_SCI3_TXI3        IEN1\r
+#define    IEN_SCI4_RXI4        IEN2\r
+#define    IEN_SCI4_TXI4        IEN3\r
+#define    IEN_SCI5_RXI5        IEN4\r
+#define    IEN_SCI5_TXI5        IEN5\r
+#define    IEN_SCI6_RXI6        IEN6\r
+#define    IEN_SCI6_TXI6        IEN7\r
+#define    IEN_LVD1_COMPA1        IEN0\r
+#define    IEN_LVD2_COMPA2        IEN1\r
+#define    IEN_USB0_USBR0        IEN2\r
+#define    IEN_RTC_ALARM        IEN4\r
+#define    IEN_RTC_PRD            IEN5\r
+#define    IEN_USBHS_HSUSBR    IEN6\r
+#define    IEN_IWDT_IWUNI        IEN7\r
+#define    IEN_WDT_WUNI        IEN0\r
+#define    IEN_PDC_PCDFI        IEN1\r
+#define    IEN_SCI7_RXI7        IEN2\r
+#define    IEN_SCI7_TXI7        IEN3\r
+#define    IEN_SCIF8_RXIF8        IEN4\r
+#define    IEN_SCIF8_TXIF8        IEN5\r
+#define    IEN_SCIF9_RXIF9        IEN6\r
+#define    IEN_SCIF9_TXIF9        IEN7\r
+#define    IEN_SCIF10_RXIF10    IEN0\r
+#define    IEN_SCIF10_TXIF10    IEN1\r
+#define    IEN_ICU_GROUPBE0    IEN2\r
+#define    IEN_ICU_GROUPBE1    IEN3\r
+#define    IEN_ICU_GROUPAE0    IEN4\r
+#define    IEN_ICU_GROUPAE1    IEN5\r
+#define    IEN_ICU_GROUPBL0    IEN6\r
+#define    IEN_ICU_GROUPBL1    IEN7\r
+#define    IEN_ICU_GROUPAL0    IEN0\r
+#define    IEN_ICU_GROUPAL1    IEN1\r
+#define    IEN_SCIF11_RXIF11    IEN2\r
+#define    IEN_SCIF11_TXIF11    IEN3\r
+#define    IEN_SCI12_RXI12        IEN4\r
+#define    IEN_SCI12_TXI12        IEN5\r
+#define    IEN_DMAC_DMAC0I        IEN0\r
+#define    IEN_DMAC_DMAC1I        IEN1\r
+#define    IEN_DMAC_DMAC2I        IEN2\r
+#define    IEN_DMAC_DMAC3I        IEN3\r
+#define    IEN_DMAC_DMAC74I    IEN4\r
+#define    IEN_ICU_OST            IEN5\r
+#define    IEN_EXDMAC_EXDMAC0I    IEN6\r
+#define    IEN_EXDMAC_EXDMAC1I    IEN7\r
+#define    IEN_PERIB128_INTB128    IEN0\r
+#define    IEN_PERIB129_INTB129    IEN1\r
+#define    IEN_PERIB130_INTB130    IEN2\r
+#define    IEN_PERIB131_INTB131    IEN3\r
+#define    IEN_PERIB132_INTB132    IEN4\r
+#define    IEN_PERIB133_INTB133    IEN5\r
+#define    IEN_PERIB134_INTB134    IEN6\r
+#define    IEN_PERIB135_INTB135    IEN7\r
+#define    IEN_PERIB136_INTB136    IEN0\r
+#define    IEN_PERIB137_INTB137    IEN1\r
+#define    IEN_PERIB138_INTB138    IEN2\r
+#define    IEN_PERIB139_INTB139    IEN3\r
+#define    IEN_PERIB140_INTB140    IEN4\r
+#define    IEN_PERIB141_INTB141    IEN5\r
+#define    IEN_PERIB142_INTB142    IEN6\r
+#define    IEN_PERIB143_INTB143    IEN7\r
+#define    IEN_PERIB144_INTB144    IEN0\r
+#define    IEN_PERIB145_INTB145    IEN1\r
+#define    IEN_PERIB146_INTB146    IEN2\r
+#define    IEN_PERIB147_INTB147    IEN3\r
+#define    IEN_PERIB148_INTB148    IEN4\r
+#define    IEN_PERIB149_INTB149    IEN5\r
+#define    IEN_PERIB150_INTB150    IEN6\r
+#define    IEN_PERIB151_INTB151    IEN7\r
+#define    IEN_PERIB152_INTB152    IEN0\r
+#define    IEN_PERIB153_INTB153    IEN1\r
+#define    IEN_PERIB154_INTB154    IEN2\r
+#define    IEN_PERIB155_INTB155    IEN3\r
+#define    IEN_PERIB156_INTB156    IEN4\r
+#define    IEN_PERIB157_INTB157    IEN5\r
+#define    IEN_PERIB158_INTB158    IEN6\r
+#define    IEN_PERIB159_INTB159    IEN7\r
+#define    IEN_PERIB160_INTB160    IEN0\r
+#define    IEN_PERIB161_INTB161    IEN1\r
+#define    IEN_PERIB162_INTB162    IEN2\r
+#define    IEN_PERIB163_INTB163    IEN3\r
+#define    IEN_PERIB164_INTB164    IEN4\r
+#define    IEN_PERIB165_INTB165    IEN5\r
+#define    IEN_PERIB166_INTB166    IEN6\r
+#define    IEN_PERIB167_INTB167    IEN7\r
+#define    IEN_PERIB168_INTB168    IEN0\r
+#define    IEN_PERIB169_INTB169    IEN1\r
+#define    IEN_PERIB170_INTB170    IEN2\r
+#define    IEN_PERIB171_INTB171    IEN3\r
+#define    IEN_PERIB172_INTB172    IEN4\r
+#define    IEN_PERIB173_INTB173    IEN5\r
+#define    IEN_PERIB174_INTB174    IEN6\r
+#define    IEN_PERIB175_INTB175    IEN7\r
+#define    IEN_PERIB176_INTB176    IEN0\r
+#define    IEN_PERIB177_INTB177    IEN1\r
+#define    IEN_PERIB178_INTB178    IEN2\r
+#define    IEN_PERIB179_INTB179    IEN3\r
+#define    IEN_PERIB180_INTB180    IEN4\r
+#define    IEN_PERIB181_INTB181    IEN5\r
+#define    IEN_PERIB182_INTB182    IEN6\r
+#define    IEN_PERIB183_INTB183    IEN7\r
+#define    IEN_PERIB184_INTB184    IEN0\r
+#define    IEN_PERIB185_INTB185    IEN1\r
+#define    IEN_PERIB186_INTB186    IEN2\r
+#define    IEN_PERIB187_INTB187    IEN3\r
+#define    IEN_PERIB188_INTB188    IEN4\r
+#define    IEN_PERIB189_INTB189    IEN5\r
+#define    IEN_PERIB190_INTB190    IEN6\r
+#define    IEN_PERIB191_INTB191    IEN7\r
+#define    IEN_PERIB192_INTB192    IEN0\r
+#define    IEN_PERIB193_INTB193    IEN1\r
+#define    IEN_PERIB194_INTB194    IEN2\r
+#define    IEN_PERIB195_INTB195    IEN3\r
+#define    IEN_PERIB196_INTB196    IEN4\r
+#define    IEN_PERIB197_INTB197    IEN5\r
+#define    IEN_PERIB198_INTB198    IEN6\r
+#define    IEN_PERIB199_INTB199    IEN7\r
+#define    IEN_PERIB200_INTB200    IEN0\r
+#define    IEN_PERIB201_INTB201    IEN1\r
+#define    IEN_PERIB202_INTB202    IEN2\r
+#define    IEN_PERIB203_INTB203    IEN3\r
+#define    IEN_PERIB204_INTB204    IEN4\r
+#define    IEN_PERIB205_INTB205    IEN5\r
+#define    IEN_PERIB206_INTB206    IEN6\r
+#define    IEN_PERIB207_INTB207    IEN7\r
+#define    IEN_PERIA208_INTA208    IEN0\r
+#define    IEN_PERIA209_INTA209    IEN1\r
+#define    IEN_PERIA210_INTA210    IEN2\r
+#define    IEN_PERIA211_INTA211    IEN3\r
+#define    IEN_PERIA212_INTA212    IEN4\r
+#define    IEN_PERIA213_INTA213    IEN5\r
+#define    IEN_PERIA214_INTA214    IEN6\r
+#define    IEN_PERIA215_INTA215    IEN7\r
+#define    IEN_PERIA216_INTA216    IEN0\r
+#define    IEN_PERIA217_INTA217    IEN1\r
+#define    IEN_PERIA218_INTA218    IEN2\r
+#define    IEN_PERIA219_INTA219    IEN3\r
+#define    IEN_PERIA220_INTA220    IEN4\r
+#define    IEN_PERIA221_INTA221    IEN5\r
+#define    IEN_PERIA222_INTA222    IEN6\r
+#define    IEN_PERIA223_INTA223    IEN7\r
+#define    IEN_PERIA224_INTA224    IEN0\r
+#define    IEN_PERIA225_INTA225    IEN1\r
+#define    IEN_PERIA226_INTA226    IEN2\r
+#define    IEN_PERIA227_INTA227    IEN3\r
+#define    IEN_PERIA228_INTA228    IEN4\r
+#define    IEN_PERIA229_INTA229    IEN5\r
+#define    IEN_PERIA230_INTA230    IEN6\r
+#define    IEN_PERIA231_INTA231    IEN7\r
+#define    IEN_PERIA232_INTA232    IEN0\r
+#define    IEN_PERIA233_INTA233    IEN1\r
+#define    IEN_PERIA234_INTA234    IEN2\r
+#define    IEN_PERIA235_INTA235    IEN3\r
+#define    IEN_PERIA236_INTA236    IEN4\r
+#define    IEN_PERIA237_INTA237    IEN5\r
+#define    IEN_PERIA238_INTA238    IEN6\r
+#define    IEN_PERIA239_INTA239    IEN7\r
+#define    IEN_PERIA240_INTA240    IEN0\r
+#define    IEN_PERIA241_INTA241    IEN1\r
+#define    IEN_PERIA242_INTA242    IEN2\r
+#define    IEN_PERIA243_INTA243    IEN3\r
+#define    IEN_PERIA244_INTA244    IEN4\r
+#define    IEN_PERIA245_INTA245    IEN5\r
+#define    IEN_PERIA246_INTA246    IEN6\r
+#define    IEN_PERIA247_INTA247    IEN7\r
+#define    IEN_PERIA248_INTA248    IEN0\r
+#define    IEN_PERIA249_INTA249    IEN1\r
+#define    IEN_PERIA250_INTA250    IEN2\r
+#define    IEN_PERIA251_INTA251    IEN3\r
+#define    IEN_PERIA252_INTA252    IEN4\r
+#define    IEN_PERIA253_INTA253    IEN5\r
+#define    IEN_PERIA254_INTA254    IEN6\r
+#define    IEN_PERIA255_INTA255    IEN7\r
+\r
+#define    VECT_BSC_BUSERR        16\r
+#define    VECT_RAM_RAMERR        18\r
+#define    VECT_FCU_FIFERR        21\r
+#define    VECT_FCU_FRDYI        23\r
+#define    VECT_ICU_SWINT2        26\r
+#define    VECT_ICU_SWINT        27\r
+#define    VECT_CMT0_CMI0        28\r
+#define    VECT_CMT1_CMI1        29\r
+#define    VECT_CMTW0_CMWI0    30\r
+#define    VECT_CMTW_CMWI1        31\r
+#define    VECT_USBHS_D0FIFO2    32\r
+#define    VECT_USBHS_D1FIFO2    33\r
+#define    VECT_USB0_D0FIFO0    34\r
+#define    VECT_USB0_D1FIFO0    35\r
+#define    VECT_RSPI0_SPRI0    38\r
+#define    VECT_RSPI0_SPTI0    39\r
+#define    VECT_QSPI_SPRI        42\r
+#define    VECT_QSPI_SPTI        43\r
+#define    VECT_SDHI_SBFAI        44\r
+#define    VECT_MMC_MBFAI        45\r
+#define    VECT_SSI0_SSITXI0    46\r
+#define    VECT_SSI0_SSIRXI0    47\r
+#define    VECT_SSI1_SSIRTI1    48\r
+#define    VECT_SRC0_IDEI0        50\r
+#define    VECT_SRC0_ODFI0        51\r
+#define    VECT_RIIC0_RXI0        52\r
+#define    VECT_RIIC0_TXI0        53\r
+#define    VECT_RIIC2_RXI2        54\r
+#define    VECT_RIIC2_TXI2        55\r
+#define    VECT_SCI0_RXI0        58\r
+#define    VECT_SCI0_TXI0        59\r
+#define    VECT_SCI1_RXI1        60\r
+#define    VECT_SCI1_TXI1        61\r
+#define    VECT_SCI2_RXI2        62\r
+#define    VECT_SCI2_TXI2        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_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_SCI3_RXI3        80\r
+#define    VECT_SCI3_TXI3        81\r
+#define    VECT_SCI4_RXI4        82\r
+#define    VECT_SCI4_TXI4        83\r
+#define    VECT_SCI5_RXI5        84\r
+#define    VECT_SCI5_TXI5        85\r
+#define    VECT_SCI6_RXI6        86\r
+#define    VECT_SCI6_TXI6        87\r
+#define    VECT_LVD1_COMPA1    88\r
+#define    VECT_LVD2_COMPA2    89\r
+#define    VECT_USB0_USBR0        90\r
+#define    VECT_RTC_ALARM        92\r
+#define    VECT_RTC_PRD        93\r
+#define    VECT_USBHS_HSUSBR    94\r
+#define    VECT_IWDT_IWUNI        95\r
+#define    VECT_WDT_WUNI        96\r
+#define    VECT_PDC_PCDFI        97\r
+#define    VECT_SCI7_RXI7        98\r
+#define    VECT_SCI7_TXI7        99\r
+#define    VECT_SCIF8_RXIF8    100\r
+#define    VECT_SCIF8_TXIF8    101\r
+#define    VECT_SCIF9_RXIF9    102\r
+#define    VECT_SCIF9_TXIF9    103\r
+#define    VECT_SCIF10_RXIF10    104\r
+#define    VECT_SCIF10_TXIF10    105\r
+#define    VECT_ICU_GROUPBE0    106\r
+#define    VECT_ICU_GROUPBE1    107\r
+#define    VECT_ICU_GROUPAE0    108\r
+#define    VECT_ICU_GROUPAE1    109\r
+#define    VECT_ICU_GROUPBL0    110\r
+#define    VECT_ICU_GROUPBL1    111\r
+#define    VECT_ICU_GROUPAL0    112\r
+#define    VECT_ICU_GROUPAL1    113\r
+#define    VECT_SCIF11_RXIF11    114\r
+#define    VECT_SCIF11_TXIF11    115\r
+#define    VECT_SCI12_RXI12    116\r
+#define    VECT_SCI12_TXI12    117\r
+#define    VECT_DMAC_DMAC0I    120\r
+#define    VECT_DMAC_DMAC1I    121\r
+#define    VECT_DMAC_DMAC2I    122\r
+#define    VECT_DMAC_DMAC3I    123\r
+#define    VECT_DMAC_DMAC74I    124\r
+#define    VECT_ICU_OST        125\r
+#define    VECT_EXDMAC_EXDMAC0I    126\r
+#define    VECT_EXDMAC_EXDMAC1I    127\r
+#define    VECT_PERIB128_INTB128    128\r
+#define    VECT_PERIB129_INTB129    129\r
+#define    VECT_PERIB130_INTB130    130\r
+#define    VECT_PERIB131_INTB131    131\r
+#define    VECT_PERIB132_INTB132    132\r
+#define    VECT_PERIB133_INTB133    133\r
+#define    VECT_PERIB134_INTB134    134\r
+#define    VECT_PERIB135_INTB135    135\r
+#define    VECT_PERIB136_INTB136    136\r
+#define    VECT_PERIB137_INTB137    137\r
+#define    VECT_PERIB138_INTB138    138\r
+#define    VECT_PERIB139_INTB139    139\r
+#define    VECT_PERIB140_INTB140    140\r
+#define    VECT_PERIB141_INTB141    141\r
+#define    VECT_PERIB142_INTB142    142\r
+#define    VECT_PERIB143_INTB143    143\r
+#define    VECT_PERIB144_INTB144    144\r
+#define    VECT_PERIB145_INTB145    145\r
+#define    VECT_PERIB146_INTB146    146\r
+#define    VECT_PERIB147_INTB147    147\r
+#define    VECT_PERIB148_INTB148    148\r
+#define    VECT_PERIB149_INTB149    149\r
+#define    VECT_PERIB150_INTB150    150\r
+#define    VECT_PERIB151_INTB151    151\r
+#define    VECT_PERIB152_INTB152    152\r
+#define    VECT_PERIB153_INTB153    153\r
+#define    VECT_PERIB154_INTB154    154\r
+#define    VECT_PERIB155_INTB155    155\r
+#define    VECT_PERIB156_INTB156    156\r
+#define    VECT_PERIB157_INTB157    157\r
+#define    VECT_PERIB158_INTB158    158\r
+#define    VECT_PERIB159_INTB159    159\r
+#define    VECT_PERIB160_INTB160    160\r
+#define    VECT_PERIB161_INTB161    161\r
+#define    VECT_PERIB162_INTB162    162\r
+#define    VECT_PERIB163_INTB163    163\r
+#define    VECT_PERIB164_INTB164    164\r
+#define    VECT_PERIB165_INTB165    165\r
+#define    VECT_PERIB166_INTB166    166\r
+#define    VECT_PERIB167_INTB167    167\r
+#define    VECT_PERIB168_INTB168    168\r
+#define    VECT_PERIB169_INTB169    169\r
+#define    VECT_PERIB170_INTB170    170\r
+#define    VECT_PERIB171_INTB171    171\r
+#define    VECT_PERIB172_INTB172    172\r
+#define    VECT_PERIB173_INTB173    173\r
+#define    VECT_PERIB174_INTB174    174\r
+#define    VECT_PERIB175_INTB175    175\r
+#define    VECT_PERIB176_INTB176    176\r
+#define    VECT_PERIB177_INTB177    177\r
+#define    VECT_PERIB178_INTB178    178\r
+#define    VECT_PERIB179_INTB179    179\r
+#define    VECT_PERIB180_INTB180    180\r
+#define    VECT_PERIB181_INTB181    181\r
+#define    VECT_PERIB182_INTB182    182\r
+#define    VECT_PERIB183_INTB183    183\r
+#define    VECT_PERIB184_INTB184    184\r
+#define    VECT_PERIB185_INTB185    185\r
+#define    VECT_PERIB186_INTB186    186\r
+#define    VECT_PERIB187_INTB187    187\r
+#define    VECT_PERIB188_INTB188    188\r
+#define    VECT_PERIB189_INTB189    189\r
+#define    VECT_PERIB190_INTB190    190\r
+#define    VECT_PERIB191_INTB191    191\r
+#define    VECT_PERIB192_INTB192    192\r
+#define    VECT_PERIB193_INTB193    193\r
+#define    VECT_PERIB194_INTB194    194\r
+#define    VECT_PERIB195_INTB195    195\r
+#define    VECT_PERIB196_INTB196    196\r
+#define    VECT_PERIB197_INTB197    197\r
+#define    VECT_PERIB198_INTB198    198\r
+#define    VECT_PERIB199_INTB199    199\r
+#define    VECT_PERIB200_INTB200    200\r
+#define    VECT_PERIB201_INTB201    201\r
+#define    VECT_PERIB202_INTB202    202\r
+#define    VECT_PERIB203_INTB203    203\r
+#define    VECT_PERIB204_INTB204    204\r
+#define    VECT_PERIB205_INTB205    205\r
+#define    VECT_PERIB206_INTB206    206\r
+#define    VECT_PERIB207_INTB207    207\r
+#define    VECT_PERIA208_INTA208    208\r
+#define    VECT_PERIA209_INTA209    209\r
+#define    VECT_PERIA210_INTA210    210\r
+#define    VECT_PERIA211_INTA211    211\r
+#define    VECT_PERIA212_INTA212    212\r
+#define    VECT_PERIA213_INTA213    213\r
+#define    VECT_PERIA214_INTA214    214\r
+#define    VECT_PERIA215_INTA215    215\r
+#define    VECT_PERIA216_INTA216    216\r
+#define    VECT_PERIA217_INTA217    217\r
+#define    VECT_PERIA218_INTA218    218\r
+#define    VECT_PERIA219_INTA219    219\r
+#define    VECT_PERIA220_INTA220    220\r
+#define    VECT_PERIA221_INTA221    221\r
+#define    VECT_PERIA222_INTA222    222\r
+#define    VECT_PERIA223_INTA223    223\r
+#define    VECT_PERIA224_INTA224    224\r
+#define    VECT_PERIA225_INTA225    225\r
+#define    VECT_PERIA226_INTA226    226\r
+#define    VECT_PERIA227_INTA227    227\r
+#define    VECT_PERIA228_INTA228    228\r
+#define    VECT_PERIA229_INTA229    229\r
+#define    VECT_PERIA230_INTA230    230\r
+#define    VECT_PERIA231_INTA231    231\r
+#define    VECT_PERIA232_INTA232    232\r
+#define    VECT_PERIA233_INTA233    233\r
+#define    VECT_PERIA234_INTA234    234\r
+#define    VECT_PERIA235_INTA235    235\r
+#define    VECT_PERIA236_INTA236    236\r
+#define    VECT_PERIA237_INTA237    237\r
+#define    VECT_PERIA238_INTA238    238\r
+#define    VECT_PERIA239_INTA239    239\r
+#define    VECT_PERIA240_INTA240    240\r
+#define    VECT_PERIA241_INTA241    241\r
+#define    VECT_PERIA242_INTA242    242\r
+#define    VECT_PERIA243_INTA243    243\r
+#define    VECT_PERIA244_INTA244    244\r
+#define    VECT_PERIA245_INTA245    245\r
+#define    VECT_PERIA246_INTA246    246\r
+#define    VECT_PERIA247_INTA247    247\r
+#define    VECT_PERIA248_INTA248    248\r
+#define    VECT_PERIA249_INTA249    249\r
+#define    VECT_PERIA250_INTA250    250\r
+#define    VECT_PERIA251_INTA251    251\r
+#define    VECT_PERIA252_INTA252    252\r
+#define    VECT_PERIA253_INTA253    253\r
+#define    VECT_PERIA254_INTA254    254\r
+#define    VECT_PERIA255_INTA255    255\r
+\r
+#define    MSTP_EXDMAC    SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define    MSTP_EXDMAC0    SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define    MSTP_EXDMAC1    SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define    MSTP_DTC    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC0    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC1    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC2    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC3    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC4    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC5    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC6    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DMAC7    SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define    MSTP_DA        SYSTEM.MSTPCRA.BIT.MSTPA19\r
+#define    MSTP_S12AD    SYSTEM.MSTPCRA.BIT.MSTPA17\r
+#define    MSTP_S12AD1    SYSTEM.MSTPCRA.BIT.MSTPA16\r
+#define    MSTP_CMT0    SYSTEM.MSTPCRA.BIT.MSTPA15\r
+#define    MSTP_CMT1    SYSTEM.MSTPCRA.BIT.MSTPA15\r
+#define    MSTP_CMT2    SYSTEM.MSTPCRA.BIT.MSTPA14\r
+#define    MSTP_CMT3    SYSTEM.MSTPCRA.BIT.MSTPA14\r
+#define    MSTP_TPU0    SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define    MSTP_TPU1    SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define    MSTP_TPU2    SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define    MSTP_TPU3    SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define    MSTP_TPU4    SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define    MSTP_TPU5    SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define    MSTP_PPG0    SYSTEM.MSTPCRA.BIT.MSTPA11\r
+#define    MSTP_PPG1    SYSTEM.MSTPCRA.BIT.MSTPA10\r
+#define    MSTP_MTU3    SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define    MSTP_GPT    SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define    MSTP_GPT0    SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define    MSTP_GPT1    SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define    MSTP_GPT2    SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define    MSTP_GPT3    SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define    MSTP_TMR0    SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define    MSTP_TMR1    SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define    MSTP_TMR2    SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define    MSTP_TMR3    SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define    MSTP_CMTW1    SYSTEM.MSTPCRA.BIT.MSTPA1\r
+#define    MSTP_CMTW0    SYSTEM.MSTPCRA.BIT.MSTPA0\r
+#define    MSTP_SCI0    SYSTEM.MSTPCRB.BIT.MSTPB31\r
+#define    MSTP_SMCI0    SYSTEM.MSTPCRB.BIT.MSTPB31\r
+#define    MSTP_SCI1    SYSTEM.MSTPCRB.BIT.MSTPB30\r
+#define    MSTP_SMCI1    SYSTEM.MSTPCRB.BIT.MSTPB30\r
+#define    MSTP_SCI2    SYSTEM.MSTPCRB.BIT.MSTPB29\r
+#define    MSTP_SMCI2    SYSTEM.MSTPCRB.BIT.MSTPB29\r
+#define    MSTP_SCI3    SYSTEM.MSTPCRB.BIT.MSTPB28\r
+#define    MSTP_SMCI3    SYSTEM.MSTPCRB.BIT.MSTPB28\r
+#define    MSTP_SCI4    SYSTEM.MSTPCRB.BIT.MSTPB27\r
+#define    MSTP_SMCI4    SYSTEM.MSTPCRB.BIT.MSTPB27\r
+#define    MSTP_SCI5    SYSTEM.MSTPCRB.BIT.MSTPB26\r
+#define    MSTP_SMCI5    SYSTEM.MSTPCRB.BIT.MSTPB26\r
+#define    MSTP_SCI6    SYSTEM.MSTPCRB.BIT.MSTPB25\r
+#define    MSTP_SMCI6    SYSTEM.MSTPCRB.BIT.MSTPB25\r
+#define    MSTP_SCI7    SYSTEM.MSTPCRB.BIT.MSTPB24\r
+#define    MSTP_SMCI7    SYSTEM.MSTPCRB.BIT.MSTPB24\r
+#define    MSTP_CRC    SYSTEM.MSTPCRB.BIT.MSTPB23\r
+#define    MSTP_DCU    SYSTEM.MSTPCRB.BIT.MSTPB22\r
+#define    MSTP_RIIC0    SYSTEM.MSTPCRB.BIT.MSTPB21\r
+#define    MSTP_USB0    SYSTEM.MSTPCRB.BIT.MSTPB19\r
+#define    MSTP_RSPI0    SYSTEM.MSTPCRB.BIT.MSTPB17\r
+#define    MSTP_EDMAC0    SYSTEM.MSTPCRB.BIT.MSTPB15\r
+#define    MSTP_EDMAC1    SYSTEM.MSTPCRB.BIT.MSTPB14\r
+#define    MSTP_USBHS    SYSTEM.MSTPCRB.BIT.MSTPB12\r
+#define    MSTP_ELC    SYSTEM.MSTPCRB.BIT.MSTPB9\r
+#define    MSTP_TEMPS    SYSTEM.MSTPCRB.BIT.MSTPB8\r
+#define    MSTP_DOC    SYSTEM.MSTPCRB.BIT.MSTPB6\r
+#define    MSTP_SCI12    SYSTEM.MSTPCRB.BIT.MSTPB4\r
+#define    MSTP_SMCI12    SYSTEM.MSTPCRB.BIT.MSTPB4\r
+#define    MSTP_CAN2    SYSTEM.MSTPCRB.BIT.MSTPB2\r
+#define    MSTP_CAN1    SYSTEM.MSTPCRB.BIT.MSTPB1\r
+#define    MSTP_CAN0    SYSTEM.MSTPCRB.BIT.MSTPB0\r
+#define    MSTP_SCIF8    SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define    MSTP_SCIF9    SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define    MSTP_SCIF10    SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define    MSTP_SCIF11    SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define    MSTP_QSPI    SYSTEM.MSTPCRC.BIT.MSTPC23\r
+#define    MSTP_CAC    SYSTEM.MSTPCRC.BIT.MSTPC19\r
+#define    MSTP_RIIC2    SYSTEM.MSTPCRC.BIT.MSTPC17\r
+#define    MSTP_STBYRAM    SYSTEM.MSTPCRC.BIT.MSTPC7\r
+#define    MSTP_ECCRAM    SYSTEM.MSTPCRC.BIT.MSTPC2\r
+#define    MSTP_RAM0    SYSTEM.MSTPCRC.BIT.MSTPC0\r
+#define    MSTP_AES    SYSTEM.MSTPCRD.BIT.MSTPD31\r
+#define    MSTP_DES    SYSTEM.MSTPCRD.BIT.MSTPD30\r
+#define    MSTP_SHA    SYSTEM.MSTPCRD.BIT.MSTPD29\r
+#define    MSTP_RNG    SYSTEM.MSTPCRD.BIT.MSTPD28\r
+#define    MSTP_SRC    SYSTEM.MSTPCRD.BIT.MSTPD23\r
+#define    MSTP_MMC    SYSTEM.MSTPCRD.BIT.MSTPD21\r
+#define    MSTP_SDHI    SYSTEM.MSTPCRD.BIT.MSTPD19\r
+#define    MSTP_SSI0    SYSTEM.MSTPCRD.BIT.MSTPD15\r
+#define    MSTP_SSI1    SYSTEM.MSTPCRD.BIT.MSTPD14\r
+\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     *)0x81300)\r
+#define    CAC        (*(volatile struct st_cac     *)0x8B000)\r
+#define    CAN0    (*(volatile struct st_can     *)0x90200)\r
+#define    CAN1    (*(volatile struct st_can     *)0x91200)\r
+#define    CAN2    (*(volatile struct st_can     *)0x92200)\r
+#define    CMT        (*(volatile struct st_cmt     *)0x88000)\r
+#define    CMT0    (*(volatile struct st_cmt0    *)0x88002)\r
+#define    CMT1    (*(volatile struct st_cmt0    *)0x88008)\r
+#define    CMT2    (*(volatile struct st_cmt0    *)0x88012)\r
+#define    CMT3    (*(volatile struct st_cmt0    *)0x88018)\r
+#define    CMTW0    (*(volatile struct st_cmtw    *)0x94200)\r
+#define    CMTW1    (*(volatile struct st_cmtw    *)0x94280)\r
+#define    CRC        (*(volatile struct st_crc     *)0x88280)\r
+#define    DA        (*(volatile struct st_da      *)0x88040)\r
+#define    DMAC    (*(volatile struct st_dmac    *)0x82200)\r
+#define    DMAC0    (*(volatile struct st_dmac0   *)0x82000)\r
+#define    DMAC1    (*(volatile struct st_dmac1   *)0x82040)\r
+#define    DMAC2    (*(volatile struct st_dmac1   *)0x82080)\r
+#define    DMAC3    (*(volatile struct st_dmac1   *)0x820C0)\r
+#define    DMAC4    (*(volatile struct st_dmac1   *)0x82100)\r
+#define    DMAC5    (*(volatile struct st_dmac1   *)0x82140)\r
+#define    DMAC6    (*(volatile struct st_dmac1   *)0x82180)\r
+#define    DMAC7    (*(volatile struct st_dmac1   *)0x821C0)\r
+#define    DOC        (*(volatile struct st_doc     *)0x8B080)\r
+#define    DTC        (*(volatile struct st_dtc     *)0x82400)\r
+#define    ECCRAM    (*(volatile struct st_eccram  *)0x812C0)\r
+#define    EDMAC0    (*(volatile struct st_edmac   *)0xC0000)\r
+#define    EDMAC1    (*(volatile struct st_edmac   *)0xC0200)\r
+#define    EDMACP    (*(volatile struct st_edmacp  *)0xC0400)\r
+#define    ELC        (*(volatile struct st_elc     *)0x8B100)\r
+#define    EPTPC    (*(volatile struct st_eptpc   *)0xC0500)\r
+#define    EPTPCS0    (*(volatile struct st_eptpcs  *)0xC4800)\r
+#define    EPTPCS1    (*(volatile struct st_eptpcs  *)0xC4C00)\r
+#define    ETHERC0    (*(volatile struct st_etherc  *)0xC0100)\r
+#define    ETHERC1    (*(volatile struct st_etherc  *)0xC0300)\r
+#define    EXDMAC    (*(volatile struct st_exdmac  *)0x82A00)\r
+#define    EXDMAC0    (*(volatile struct st_exdmac0 *)0x82800)\r
+#define    EXDMAC1    (*(volatile struct st_exdmac1 *)0x82840)\r
+#define    GPT        (*(volatile struct st_gpt     *)0xC2000)\r
+#define    GPT0    (*(volatile struct st_gpt0    *)0xC2100)\r
+#define    GPT1    (*(volatile struct st_gpt0    *)0xC2180)\r
+#define    GPT2    (*(volatile struct st_gpt0    *)0xC2200)\r
+#define    GPT3    (*(volatile struct st_gpt0    *)0xC2280)\r
+#define    ICU        (*(volatile struct st_icu     *)0x87000)\r
+#define    IWDT    (*(volatile struct st_iwdt    *)0x88030)\r
+#define    MMC        (*(volatile struct st_mmc     *)0x88500)\r
+#define    MPC        (*(volatile struct st_mpc     *)0x8C100)\r
+#define    MPU        (*(volatile struct st_mpu     *)0x86400)\r
+#define    MTU        (*(volatile struct st_mtu     *)0xC120A)\r
+#define    MTU0    (*(volatile struct st_mtu0    *)0xC1290)\r
+#define    MTU1    (*(volatile struct st_mtu1    *)0xC1290)\r
+#define    MTU2    (*(volatile struct st_mtu2    *)0xC1292)\r
+#define    MTU3    (*(volatile struct st_mtu3    *)0xC1200)\r
+#define    MTU4    (*(volatile struct st_mtu4    *)0xC1200)\r
+#define    MTU5    (*(volatile struct st_mtu5    *)0xC1294)\r
+#define    MTU6    (*(volatile struct st_mtu6    *)0xC12A2)\r
+#define    MTU7    (*(volatile struct st_mtu7    *)0xC12A4)\r
+#define    MTU8    (*(volatile struct st_mtu8    *)0xC1298)\r
+#define    PDC        (*(volatile struct st_pdc     *)0xA0500)\r
+#define    POE3    (*(volatile struct st_poe     *)0x8C4C0)\r
+#define    PORT0    (*(volatile struct st_port0   *)0x8C000)\r
+#define    PORT1    (*(volatile struct st_port1   *)0x8C001)\r
+#define    PORT2    (*(volatile struct st_port2   *)0x8C002)\r
+#define    PORT3    (*(volatile struct st_port3   *)0x8C003)\r
+#define    PORT4    (*(volatile struct st_port4   *)0x8C004)\r
+#define    PORT5    (*(volatile struct st_port5   *)0x8C005)\r
+#define    PORT6    (*(volatile struct st_port6   *)0x8C006)\r
+#define    PORT7    (*(volatile struct st_port7   *)0x8C007)\r
+#define    PORT8    (*(volatile struct st_port8   *)0x8C008)\r
+#define    PORT9    (*(volatile struct st_port9   *)0x8C009)\r
+#define    PORTA    (*(volatile struct st_porta   *)0x8C00A)\r
+#define    PORTB    (*(volatile struct st_portb   *)0x8C00B)\r
+#define    PORTC    (*(volatile struct st_portc   *)0x8C00C)\r
+#define    PORTD    (*(volatile struct st_portd   *)0x8C00D)\r
+#define    PORTE    (*(volatile struct st_porte   *)0x8C00E)\r
+#define    PORTF    (*(volatile struct st_portf   *)0x8C00F)\r
+#define    PORTG    (*(volatile struct st_portg   *)0x8C010)\r
+#define    PORTJ    (*(volatile struct st_portj   *)0x8C012)\r
+#define    PPG0    (*(volatile struct st_ppg0    *)0x881E6)\r
+#define    PPG1    (*(volatile struct st_ppg1    *)0x881F0)\r
+#define    QSPI    (*(volatile struct st_qspi    *)0x89E00)\r
+#define    RIIC0    (*(volatile struct st_riic0   *)0x88300)\r
+#define    RIIC2    (*(volatile struct st_riic2   *)0x88340)\r
+#define    RSPI0    (*(volatile struct st_rspi0   *)0xD0100)\r
+#define    RTC        (*(volatile struct st_rtc     *)0x8C400)\r
+#define    RTCB    (*(volatile struct st_rtcb    *)0x8C402)\r
+#define    S12AD    (*(volatile struct st_s12ad   *)0x89000)\r
+#define    S12AD1    (*(volatile struct st_s12ad1  *)0x89104)\r
+#define    SCI0    (*(volatile struct st_sci0    *)0x8A000)\r
+#define    SCI1    (*(volatile struct st_sci0    *)0x8A020)\r
+#define    SCI2    (*(volatile struct st_sci0    *)0x8A040)\r
+#define    SCI3    (*(volatile struct st_sci0    *)0x8A060)\r
+#define    SCI4    (*(volatile struct st_sci0    *)0x8A080)\r
+#define    SCI5    (*(volatile struct st_sci0    *)0x8A0A0)\r
+#define    SCI6    (*(volatile struct st_sci0    *)0x8A0C0)\r
+#define    SCI7    (*(volatile struct st_sci0    *)0x8A0E0)\r
+#define    SCI12    (*(volatile struct st_sci12   *)0x8B300)\r
+//#define    SCIA    (*(volatile struct st_scia    *)0x88484)\r
+//#define    SCIF10A    (*(volatile struct st_scia    *)0xD0042)\r
+//#define    SCIF11A    (*(volatile struct st_scia    *)0xD0062)\r
+#define    SCIF8    (*(volatile struct st_scif    *)0xD0000)\r
+#define    SCIF9    (*(volatile struct st_scif    *)0xD0020)\r
+#define    SCIF10    (*(volatile struct st_scif    *)0xD0040)\r
+#define    SCIF11    (*(volatile struct st_scif    *)0xD0060)\r
+//#define    SCIF8A    (*(volatile struct st_scia    *)0xD0002)\r
+//#define    SCIF9A    (*(volatile struct st_scia    *)0xD0022)\r
+#define    SMCI    (*(volatile struct st_smci    *)0x88480)\r
+#define    SMCI0    (*(volatile struct st_smci0   *)0x8A000)\r
+#define    SMCI1    (*(volatile struct st_smci0   *)0x8A020)\r
+#define    SMCI2    (*(volatile struct st_smci0   *)0x8A040)\r
+#define    SMCI3    (*(volatile struct st_smci0   *)0x8A060)\r
+#define    SMCI4    (*(volatile struct st_smci0   *)0x8A080)\r
+#define    SMCI5    (*(volatile struct st_smci0   *)0x8A0A0)\r
+#define    SMCI6    (*(volatile struct st_smci0   *)0x8A0C0)\r
+#define    SMCI7    (*(volatile struct st_smci0   *)0x8A0E0)\r
+#define    SMCI12    (*(volatile struct st_smci0   *)0x8B300)\r
+//#define    SMCIA    (*(volatile struct st_scia    *)0x88484)\r
+#define    SRC        (*(volatile struct st_src     *)0x98000)\r
+#define    SSI0    (*(volatile struct st_ssi     *)0x8A500)\r
+#define    SSI1    (*(volatile struct st_ssi     *)0x8A540)\r
+#define    SYSTEM    (*(volatile struct st_system  *)0x80000)\r
+#define    TEMPS    (*(volatile struct st_temps   *)0x8C500)\r
+#define    TMR0    (*(volatile struct st_tmr0    *)0x88200)\r
+#define    TMR1    (*(volatile struct st_tmr1    *)0x88201)\r
+#define    TMR2    (*(volatile struct st_tmr0    *)0x88210)\r
+#define    TMR3    (*(volatile struct st_tmr1    *)0x88211)\r
+#define    TMR01    (*(volatile struct st_tmr01   *)0x88204)\r
+#define    TMR23    (*(volatile struct st_tmr01   *)0x88214)\r
+#define    TPU0    (*(volatile struct st_tpu0    *)0x88108)\r
+#define    TPU1    (*(volatile struct st_tpu1    *)0x88108)\r
+#define    TPU2    (*(volatile struct st_tpu2    *)0x8810A)\r
+#define    TPU3    (*(volatile struct st_tpu3    *)0x8810A)\r
+#define    TPU4    (*(volatile struct st_tpu4    *)0x8810C)\r
+#define    TPU5    (*(volatile struct st_tpu5    *)0x8810C)\r
+#define    TPUA    (*(volatile struct st_tpua    *)0x88100)\r
+#define    USB        (*(volatile struct st_usb     *)0xA0400)\r
+#define    USB0    (*(volatile struct st_usb0    *)0xA0000)\r
+#define    USBHS    (*(volatile struct st_usbhs   *)0xD0400)\r
+#define    WDT        (*(volatile struct st_wdt     *)0x88020)\r
+#endif\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/reset_program.asm b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/reset_program.asm
new file mode 100644 (file)
index 0000000..ef2a6a9
--- /dev/null
@@ -0,0 +1,180 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  reset_program.asm                              */
+/*      DESCRIPTION  :  Reset Program                                  */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
\r
+/************************************************************************/\r
+/*    File Version: V1.00                                               */\r
+/*    Date Generated: 08/07/2013                                        */\r
+/************************************************************************/\r
+\r
+    /*reset_program.asm*/\r
+\r
+    .list\r
+    .section .text\r
+    .global _PowerON_Reset    /*global Start routine */\r
+    \r
+    .extern _HardwareSetup  /*external Sub-routine to initialise Hardware*/\r
+    .extern _data\r
+    .extern _mdata\r
+    .extern _ebss\r
+    .extern _bss\r
+    .extern _edata\r
+    .extern _main \r
+    .extern _ustack\r
+    .extern _istack\r
+    .extern _rvectors\r
+    .extern _exit\r
+    \r
+_PowerON_Reset :\r
+/* initialise user stack pointer */\r
+    mvtc    #_ustack,USP\r
+\r
+/* initialise interrupt stack pointer */\r
+    mvtc    #_istack,ISP\r
+\r
+/* setup intb */\r
+    mvtc    #_rvectors_start, intb    /* INTERRUPT VECTOR ADDRESS  definition    */\r
+\r
+/* setup FPSW */\r
+    mvtc    #100h, fpsw    \r
+\r
+/* load data section from ROM to RAM */\r
+\r
+    mov     #_mdata,r2      /* src ROM address of data section in R2 */\r
+    mov     #_data,r1       /* dest start RAM address of data section in R1 */\r
+    mov     #_edata,r3      /* end RAM address of data section in R3 */\r
+    sub    r1,r3            /* size of data section in R3 (R3=R3-R1) */\r
+    smovf                   /* block copy R3 bytes from R2 to R1 */\r
+\r
+/* bss initialisation : zero out bss */\r
+\r
+    mov    #00h,r2      /* load R2 reg with zero */\r
+    mov    #_ebss, r3  /* store the end address of bss in R3 */\r
+    mov    #_bss, r1     /* store the start address of bss in R1 */\r
+    sub   r1,r3           /* size of bss section in R3 (R3=R3-R1) */\r
+    sstr.b\r
+/* call the hardware initialiser */\r
+    bsr.a    _HardwareSetup    \r
+    nop\r
+\r
+/* setup PSW */\r
+    mvtc    #10000h, psw            /* Set Ubit & Ibit for PSW */\r
+\r
+/* change PSW PM to user-mode */\r
+    MVFC   PSW,R1\r
+    OR     #00100000h,R1\r
+    PUSH.L R1\r
+    MVFC   PC,R1\r
+    ADD    #10,R1\r
+    PUSH.L R1\r
+    RTE\r
+    NOP\r
+    NOP\r
+#ifdef CPPAPP\r
+    bsr.a    __rx_init\r
+#endif\r
+\r
+/* start user program */\r
+    bsr.a    _main        \r
+    bsr.a     _exit\r
+\r
+#ifdef CPPAPP\r
+    .global    _rx_run_preinit_array\r
+    .type    _rx_run_preinit_array,@function\r
+_rx_run_preinit_array:\r
+    mov    #__preinit_array_start,r1\r
+    mov    #__preinit_array_end,r2\r
+    bra.a    _rx_run_inilist\r
+\r
+    .global    _rx_run_init_array\r
+    .type    _rx_run_init_array,@function\r
+_rx_run_init_array:\r
+    mov    #__init_array_start,r1\r
+    mov    #__init_array_end,r2\r
+    mov    #4, r3\r
+    bra.a    _rx_run_inilist\r
+\r
+    .global    _rx_run_fini_array\r
+    .type    _rx_run_fini_array,@function\r
+_rx_run_fini_array:\r
+    mov    #__fini_array_start,r2\r
+    mov    #__fini_array_end,r1\r
+    mov    #-4, r3\r
+    /* fall through */\r
+\r
+_rx_run_inilist:\r
+next_inilist:\r
+    cmp    r1,r2\r
+    beq.b    done_inilist\r
+    mov.l    [r1],r4\r
+    cmp    #-1, r4\r
+    beq.b    skip_inilist\r
+    cmp    #0, r4\r
+    beq.b    skip_inilist\r
+    pushm    r1-r3\r
+    jsr    r4\r
+    popm    r1-r3\r
+skip_inilist:\r
+    add    r3,r1\r
+    bra.b    next_inilist\r
+done_inilist:\r
+    rts\r
+\r
+    .section    .init,"ax"\r
+    .balign 4\r
+\r
+    .global __rx_init\r
+__rx_init:\r
+\r
+    .section    .fini,"ax"\r
+    .balign 4\r
+\r
+    .global __rx_fini\r
+__rx_fini:\r
+    bsr.a    _rx_run_fini_array\r
+\r
+        .section .sdata\r
+        .balign 4\r
+        .global __gp\r
+    .weak   __gp\r
+__gp:   \r
+\r
+    .section .data\r
+    .global ___dso_handle\r
+    .weak   ___dso_handle\r
+___dso_handle:\r
+    .long    0\r
+\r
+     .section        .init,"ax"\r
+     bsr.a   _rx_run_preinit_array\r
+     bsr.a   _rx_run_init_array\r
+     rts\r
+     \r
+    .global __rx_init_end\r
+__rx_init_end:\r
+\r
+    .section        .fini,"ax"\r
+\r
+    rts\r
+    .global __rx_fini_end\r
+__rx_fini_end:\r
+\r
+#endif\r
+\r
+/* call to exit*/\r
+_exit:\r
+    bra  _loop_here\r
+_loop_here:\r
+    bra _loop_here\r
+    \r
+    .text    \r
+    .end\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/typedefine.h b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/typedefine.h
new file mode 100644 (file)
index 0000000..ee7853e
--- /dev/null
@@ -0,0 +1,28 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  typedefine.h                                   */
+/*      DESCRIPTION  :  Aliases of Integer Type                        */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
+                                                                           \r
+/************************************************************************/\r
+/*    File Version: V1.00                                               */\r
+/*    Date Generated: 08/07/2013                                        */\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/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/vector_table.c b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/RenesasCode/vector_table.c
new file mode 100644 (file)
index 0000000..94fb38c
--- /dev/null
@@ -0,0 +1,822 @@
+/***********************************************************************/
+/*                                                                                                                    */
+/*      PROJECT NAME :  RTOSDemo                                       */
+/*      FILE         :  vector_table.c                                 */
+/*      DESCRIPTION  :  Vector Table                                   */
+/*      CPU SERIES   :  RX600                                          */
+/*      CPU TYPE     :  RX64M                                          */
+/*                                                                                                                    */
+/*      This file is generated by e2 studio.                        */
+/*                                                                                                                    */
+/***********************************************************************/                                                                          \r
+                                                                           \r
+                                                                           \r
+/************************************************************************/\r
+/*    File Version: V1.00                                               */\r
+/*    Date Generated: 03/10/2013                                        */\r
+/************************************************************************/\r
+\r
+#include "interrupt_handlers.h"\r
+\r
+typedef void (*fp) (void);\r
+extern void PowerON_Reset (void);\r
+extern void stack (void);\r
+\r
+#define FVECT_SECT    __attribute__ ((section (".fvectors")))\r
+\r
+const void *HardwareVectors[] FVECT_SECT  = {\r
+//;0xffffff80  Reserved\r
+    (fp)0,\r
+//;0xffffff84  Reserved\r
+    (fp)0,\r
+//;0xffffff88  Reserved\r
+    (fp)0,\r
+//;0xffffff8C  Reserved\r
+    (fp)0,\r
+//;0xffffff90  Reserved\r
+    (fp)0,\r
+//;0xffffff94  Reserved\r
+    (fp)0,\r
+//;0xffffff98  Reserved\r
+    (fp)0,\r
+//;0xffffff9C  Reserved\r
+    (fp)0,\r
+//;0xffffffA0  Reserved\r
+    (fp)0xFFFFFFFF,\r
+//;0xffffffA4  Reserved\r
+    (fp)0xFFFFFFFF,\r
+//;0xffffffA8  Reserved\r
+    (fp)0xFFFFFFFF,\r
+//;0xffffffAC  Reserved\r
+    (fp)0xFFFFFFFF,\r
+//;0xffffffB0  Reserved\r
+    (fp)0,\r
+//;0xffffffB4  Reserved\r
+    (fp)0,\r
+//;0xffffffB8  Reserved\r
+    (fp)0,\r
+//;0xffffffBC  Reserved\r
+    (fp)0,\r
+//;0xffffffC0  Reserved\r
+    (fp)0,\r
+//;0xffffffC4  Reserved\r
+    (fp)0,\r
+//;0xffffffC8  Reserved\r
+    (fp)0,\r
+//;0xffffffCC  Reserved\r
+    (fp)0,\r
+//;0xffffffd0  Exception(Supervisor Instruction)\r
+    INT_Excep_SuperVisorInst,\r
+//;0xffffffd4  Exception(Access Instruction)\r
+    INT_Excep_AccessInst,\r
+//;0xffffffd8  Reserved\r
+    Dummy,\r
+//;0xffffffdc  Exception(Undefined Instruction)\r
+    INT_Excep_UndefinedInst,\r
+//;0xffffffe0  Reserved\r
+    Dummy,\r
+//;0xffffffe4  Exception(Floating Point)\r
+    INT_Excep_FloatingPoint,\r
+//;0xffffffe8  Reserved\r
+    Dummy,\r
+//;0xffffffec  Reserved\r
+    Dummy,\r
+//;0xfffffff0  Reserved\r
+    Dummy,\r
+//;0xfffffff4  Reserved\r
+    Dummy,\r
+//;0xfffffff8  NMI\r
+    INT_NonMaskableInterrupt,\r
+//;0xfffffffc  RESET\r
+//;<<VECTOR DATA START (POWER ON RESET)>>\r
+//;Power On Reset PC\r
+    /*(void*)*/ PowerON_Reset                                                                                                                 \r
+//;<<VECTOR DATA END (POWER ON RESET)>>\r
+};\r
+\r
+#define RVECT_SECT          __attribute__ ((section (".rvectors")))\r
+\r
+const fp RelocatableVectors[] RVECT_SECT  = {\r
+//;0x0000  Reserved\r
+    \r
+//;0x0004  Reserved\r
+    \r
+//;0x0008  Reserved\r
+    \r
+//;0x000C  Reserved\r
+    \r
+//;0x0010  Reserved\r
+    \r
+//;0x0014  Reserved\r
+    \r
+//;0x0018  Reserved\r
+    \r
+//;0x001C  Reserved\r
+    \r
+//;0x0020  Reserved\r
+    \r
+//;0x0024  Reserved\r
+    \r
+//;0x0028  Reserved\r
+    \r
+//;0x002C  Reserved\r
+    \r
+//;0x0030  Reserved\r
+    \r
+//;0x0034  Reserved\r
+    \r
+//;0x0038  Reserved\r
+    \r
+//;0x003C  Reserved\r
+\r
+//;0x0040  BUSERR\r
+    (fp)INT_Excep_BSC_BUSERR,\r
+//;0x0044  Reserved\r
+\r
+//;0x0048  RAMERR\r
+    (fp)INT_Excep_RAM_RAMERR,\r
+//;0x004C  Reserved\r
+\r
+//;0x0050  Reserved\r
+\r
+//;0x0054 FIFERR\r
+    (fp)INT_Excep_FCU_FIFERR,\r
+//;0x0058  Reserved\r
+\r
+//;0x005C  FRDYI\r
+    (fp)INT_Excep_FCU_FRDYI,\r
+//;0x0060  Reserved\r
+\r
+//;0x0064  Reserved\r
+\r
+//;0x0068  SWINT2\r
+    (fp)INT_Excep_ICU_SWINT2,\r
+\r
+//;0x006C  SWINT\r
+    (fp)INT_Excep_ICU_SWINT,\r
+\r
+//;0x0070  CMI0\r
+    (fp)INT_Excep_CMT0_CMI0,\r
+\r
+//;0x0074  CMI1\r
+    (fp)INT_Excep_CMT1_CMI1,\r
+\r
+//;0x0078  CMWI0\r
+    (fp)INT_Excep_CMTW0_CMWI0,\r
+\r
+//;0x007C  CMWI1\r
+    (fp)INT_Excep_CMTW1_CMWI1,\r
+\r
+//;0x0080  D0FIFO2\r
+    (fp)INT_Excep_USBHS_D0FIFO2,\r
+\r
+//;0x0084  D1FIFO2\r
+    (fp)INT_Excep_USBHS_D1FIFO2,\r
+\r
+//;0x0088  D0FIFO0\r
+    (fp)INT_Excep_USB0_D0FIFO0,\r
+\r
+//;0x008C  D1FIFO0\r
+    (fp)INT_Excep_USB0_D1FIFO0,\r
+//;0x0090  Reserved\r
+\r
+//;0x0094  Reserved\r
+\r
+//;0x0098  SPRI0\r
+    (fp)INT_Excep_RSPI0_SPRI0,\r
+\r
+//;0x009C  SPTI0\r
+    (fp)INT_Excep_RSPI0_SPTI0,\r
+//;0x00A0  Reserved\r
+\r
+//;0x00A4  Reserved\r
+\r
+//;0x00A8  SPRI\r
+    (fp)INT_Excep_QSPI_SPRI,\r
+\r
+//;0x00AC  SPTI\r
+    (fp)INT_Excep_QSPI_SPTI,\r
+\r
+//;0x00B0  SBFAI\r
+    (fp)INT_Excep_SHDI_SBFAI,\r
+\r
+//;0x00B4  MBFAI\r
+    (fp)INT_Excep_MMC_MBFAI,\r
+\r
+//;0x00B8  SSITX0\r
+    (fp)INT_Excep_SSI0_SSITXI0,\r
+\r
+//;0x00BC  SSIRX0\r
+    (fp)INT_Excep_SSI0_SSIRXI0,\r
+\r
+//;0x00C0  SSIRTI1\r
+    (fp)INT_Excep_SSI1_SSIRTI1,\r
+//;0x00C4  Reserved\r
+\r
+//;0x00C8  IDEI\r
+    (fp)INT_Excep_SRC_IDEI,\r
+\r
+//;0x00CC  ODFI\r
+    (fp)INT_Excep_SRC_ODFI,\r
+\r
+//;0x00D0  RXI0\r
+    (fp)INT_Excep_RIIC0_RXI0,\r
+\r
+//;0x00D4C  TXI0\r
+    (fp)INT_Excep_RIIC0_TXI0,\r
+\r
+//;0x00D8  RXI2\r
+    (fp)INT_Excep_RIIC2_RXI2,\r
+\r
+//;0x00DC TXI2\r
+    (fp)INT_Excep_RIIC2_TXI2,\r
+//;0x00E0  Reserved\r
+\r
+//;0x00E4  Reserved\r
+\r
+//;0x00E8 RXI0\r
+    (fp)INT_Excep_SCI0_RXI0,\r
+\r
+//;0x00EC TXI0\r
+    (fp)INT_Excep_SCI0_TXI0,\r
+\r
+//;0x00F0 RXI1\r
+    (fp)INT_Excep_SCI1_RXI1,\r
+\r
+//;0x00F4 TXI1\r
+    (fp)INT_Excep_SCI1_TXI1,\r
+\r
+//;0x00F8 RXI2\r
+    (fp)INT_Excep_SCI2_RXI2,\r
+\r
+//;0x00FC TXI2\r
+    (fp)INT_Excep_SCI2_TXI2,\r
+\r
+//;0x0100 IRQ0\r
+    (fp)INT_Excep_ICU_IRQ0,\r
+\r
+//;0x0104 IRQ1\r
+    (fp)INT_Excep_ICU_IRQ1,\r
+\r
+//;0x0108 IRQ2\r
+    (fp)INT_Excep_ICU_IRQ2,\r
+\r
+//;0x010C IRQ3\r
+    (fp)INT_Excep_ICU_IRQ3,\r
+\r
+//;0x0110 IRQ4\r
+    (fp)INT_Excep_ICU_IRQ4,\r
+\r
+//;0x0114 IRQ5\r
+    (fp)INT_Excep_ICU_IRQ5,\r
+\r
+//;0x0118 IRQ6\r
+    (fp)INT_Excep_ICU_IRQ6,\r
+\r
+//;0x011C IRQ7\r
+    (fp)INT_Excep_ICU_IRQ7,\r
+\r
+//;0x0120 IRQ8\r
+    (fp)INT_Excep_ICU_IRQ8,\r
+\r
+//;0x0124 IRQ9\r
+    (fp)INT_Excep_ICU_IRQ9,\r
+\r
+//;0x0128 IRQ10\r
+    (fp)INT_Excep_ICU_IRQ10,\r
+\r
+//;0x012C IRQ11\r
+    (fp)INT_Excep_ICU_IRQ11,\r
+\r
+//;0x0130 IRQ12\r
+    (fp)INT_Excep_ICU_IRQ12,\r
+\r
+//;0x0134 IRQ13\r
+    (fp)INT_Excep_ICU_IRQ13,\r
+\r
+//;0x0138 IRQ14\r
+    (fp)INT_Excep_ICU_IRQ14,\r
+\r
+//;0x013C IRQ15\r
+    (fp)INT_Excep_ICU_IRQ15,\r
+\r
+//;0x0140 RXI3\r
+    (fp)INT_Excep_SCI3_RXI3,\r
+\r
+//;0x0144 TXI3\r
+    (fp)INT_Excep_SCI3_TXI3,\r
+\r
+//;0x0148 RXI4\r
+    (fp)INT_Excep_SCI4_RXI4,\r
+\r
+//;0x014C TXI4\r
+    (fp)INT_Excep_SCI4_TXI4,\r
+\r
+//;0x0150 RXI5\r
+    (fp)INT_Excep_SCI5_RXI5,\r
+\r
+//;0x0154 TXI5\r
+    (fp)INT_Excep_SCI5_TXI5,\r
+\r
+//;0x0158 RXI6\r
+    (fp)INT_Excep_SCI6_RXI6,\r
+\r
+//;0x015C TXI6\r
+    (fp)INT_Excep_SCI6_TXI6,\r
+\r
+//;0x0160 COMPA1\r
+    (fp)INT_Excep_LVD1_COMPA1,\r
+\r
+//;0x0164 COMPA2\r
+    (fp)INT_Excep_LVD2_COMPA2,\r
+\r
+//;0x0168 USBR0\r
+    (fp)INT_Excep_USB_USBR0,\r
+//;0x016C Reserved\r
+\r
+//;0x0170 ALM\r
+    (fp)INT_Excep_RTC_ALM,\r
+\r
+//;0x0174 PRD\r
+    (fp)INT_Excep_RTC_PRD,\r
+\r
+//;0x0178 HSUSBR\r
+    (fp)INT_Excep_USBHS_USBHSR,\r
+\r
+//;0x017C IWUNI\r
+    (fp)INT_Excep_IWDT_IWUNI,\r
+\r
+//;0x0180 WUNI\r
+    (fp)INT_Excep_WDT_WUNI,\r
+\r
+//;0x0184 PCDFI\r
+    (fp)INT_Excep_PDC_PCDFI,\r
+\r
+//;0x0188 RXI7\r
+    (fp)INT_Excep_SCI7_RXI7,\r
+\r
+//;0x018C TXI7\r
+    (fp)INT_Excep_SCI7_TXI7,\r
+\r
+//;0x0190 RXIF8\r
+    (fp)INT_Excep_SCIF8_RXIF8,\r
+\r
+//;0x0194 TXIF8\r
+    (fp)INT_Excep_SCIF8_TXIF8,\r
+\r
+//;0x0198 RXIF9\r
+    (fp)INT_Excep_SCIF9_RXIF9,\r
+\r
+//;0x019C TXIF9\r
+    (fp)INT_Excep_SCIF9_TXIF9,\r
+\r
+//;0x01A0 RXIF10\r
+    (fp)INT_Excep_SCIF10_RXIF10,\r
+\r
+//;0x01A4 TXIF10\r
+    (fp)INT_Excep_SCIF10_TXIF10,\r
+\r
+//;0x01A8 GROUPBE0\r
+    (fp)INT_Excep_ICU_GROUPBE0,\r
+//;0x01AC Reserved \r
+\r
+//;0x01B0 Reserved \r
+\r
+//;0x01B4 Reserved \r
+\r
+//;0x01B8 GROUPBL0\r
+    (fp)INT_Excep_ICU_GROUPBL0,\r
+\r
+//;0x01BC GROUPBL1\r
+    (fp)INT_Excep_ICU_GROUPBL1,\r
+\r
+//;0x01C0 GROUPAL0\r
+    (fp)INT_Excep_ICU_GROUPAL0,\r
+\r
+//;0x01C4 GROUPAL1\r
+    (fp)INT_Excep_ICU_GROUPAL1,\r
+\r
+//;0x01C8 RXIF11\r
+    (fp)INT_Excep_SCIF11_RXIF11,\r
+\r
+//;0x01CC TXIF11\r
+    (fp)INT_Excep_SCIF11_TXIF11,\r
+\r
+//;0x01D0 RXIF12\r
+    (fp)INT_Excep_SCIF12_RXIF12,\r
+\r
+//;0x01D4 TXIF12\r
+    (fp)INT_Excep_SCIF12_TXIF12,\r
+\r
+//;0x01D8 Reserved\r
+\r
+//;0x01DC Reserved\r
+\r
+//;0x01E0 DMAC0I\r
+    (fp)INT_Excep_DMAC_DMAC0I,\r
+\r
+//;0x01E4 DMAC1I\r
+    (fp)INT_Excep_DMAC_DMAC1I,\r
+\r
+//;0x01E8 DMAC2I\r
+    (fp)INT_Excep_DMAC_DMAC2I,\r
+\r
+//;0x01EC DMAC3I\r
+    (fp)INT_Excep_DMAC_DMAC3I,\r
+\r
+//;0x01F0 DMAC74I\r
+    (fp)INT_Excep_DMAC_DMAC74I,\r
+\r
+//;0x01F4 OST\r
+    (fp)INT_Excep_ICU_OST,\r
+\r
+//;0x01F8  EXDMAC0I\r
+    (fp)INT_Excep_EXDMAC_EXDMAC0I,\r
+\r
+//;0x01FC  EXDMAC1I\r
+    (fp)INT_Excep_EXDMAC_EXDMAC1I,\r
+\r
+//;0x0200  INTB128\r
+    (fp)INT_Excep_PERIB_INTB128,\r
+\r
+//;0x0204 INTB129\r
+    (fp)INT_Excep_PERIB_INTB129,\r
+\r
+//;0x0208 INTB130\r
+    (fp)INT_Excep_PERIB_INTB130,\r
+\r
+//;0x020C INTB131\r
+    (fp)INT_Excep_PERIB_INTB131,\r
+\r
+//;0x0210 INTB132\r
+    (fp)INT_Excep_PERIB_INTB132,\r
+\r
+//;0x0214 INTB133\r
+    (fp)INT_Excep_PERIB_INTB133,\r
+\r
+//;0x0218 INTB134\r
+    (fp)INT_Excep_PERIB_INTB134,\r
+\r
+//;0x021C INTB135\r
+    (fp)INT_Excep_PERIB_INTB135,\r
+\r
+//;0x0220 INTB136\r
+    (fp)INT_Excep_PERIB_INTB136,\r
+\r
+//;0x0224 INTB137\r
+    (fp)INT_Excep_PERIB_INTB137,\r
+\r
+//;0x0228 INTB138\r
+    (fp)INT_Excep_PERIB_INTB138,\r
+\r
+//;0x022C INTB139\r
+    (fp)INT_Excep_PERIB_INTB139,\r
+\r
+//;0x0230 INTB140\r
+    (fp)INT_Excep_PERIB_INTB140,\r
+\r
+//;0x0234 INTB141\r
+    (fp)INT_Excep_PERIB_INTB141,\r
+\r
+//;0x0238 INTB142\r
+    (fp)INT_Excep_PERIB_INTB142,\r
+\r
+//;0x023C INTB143\r
+    (fp)INT_Excep_PERIB_INTB143,\r
+\r
+//;0x0240 INTB144\r
+    (fp)INT_Excep_PERIB_INTB144,\r
+\r
+//;0x0244 INTB145\r
+    (fp)INT_Excep_PERIB_INTB145,\r
+\r
+//;0x0248 INTB146\r
+    (fp)INT_Excep_PERIB_INTB146,\r
+\r
+//;0x024C INTB147\r
+    (fp)INT_Excep_PERIB_INTB147,\r
+\r
+//;0x0250 INTB148\r
+    (fp)INT_Excep_PERIB_INTB148,\r
+\r
+//;0x02540 INTB149\r
+    (fp)INT_Excep_PERIB_INTB149,\r
+\r
+//;0x0258 INTB150\r
+    (fp)INT_Excep_PERIB_INTB150,\r
+\r
+//;0x025C INTB151\r
+    (fp)INT_Excep_PERIB_INTB151,\r
+\r
+//;0x0260 INTB152\r
+    (fp)INT_Excep_PERIB_INTB152,\r
+\r
+//;0x0264 INTB153\r
+    (fp)INT_Excep_PERIB_INTB153,\r
+\r
+//;0x0268 INTB154\r
+    (fp)INT_Excep_PERIB_INTB154,\r
+\r
+//;0x026C INTB155\r
+    (fp)INT_Excep_PERIB_INTB155,\r
+\r
+//;0x0270 INTB156\r
+    (fp)INT_Excep_PERIB_INTB156,\r
+\r
+//;0x0274 INTB157\r
+    (fp)INT_Excep_PERIB_INTB157,\r
+\r
+//;0x0278 INTB158\r
+    (fp)INT_Excep_PERIB_INTB158,\r
+\r
+//;0x027C INTB159\r
+    (fp)INT_Excep_PERIB_INTB159,\r
+\r
+//;0x0280 INTB160\r
+    (fp)INT_Excep_PERIB_INTB160,\r
+\r
+//;0x0284 INTB161\r
+    (fp)INT_Excep_PERIB_INTB161,\r
+\r
+//;0x0288 INTB162\r
+    (fp)INT_Excep_PERIB_INTB162,\r
+\r
+//;0x028C INTB163\r
+    (fp)INT_Excep_PERIB_INTB163,\r
+\r
+//;0x0290 INTB164\r
+    (fp)INT_Excep_PERIB_INTB164,\r
+\r
+//;0x0294 PERIB INTB165\r
+    (fp)INT_Excep_PERIB_INTB165,\r
+\r
+//;0x0298 PERIB INTB166\r
+    (fp)INT_Excep_PERIB_INTB166,\r
+\r
+//;0x029C PERIB INTB167\r
+    (fp)INT_Excep_PERIB_INTB167,\r
+\r
+//;0x02A0 PERIB INTB168\r
+    (fp)INT_Excep_PERIB_INTB168,\r
+\r
+//;0x02A4 PERIB INTB169\r
+    (fp)INT_Excep_PERIB_INTB169,\r
+\r
+//;0x02A8 PERIB INTB170\r
+    (fp)INT_Excep_PERIB_INTB170,\r
+\r
+//;0x02AC PERIB INTB171\r
+    (fp)INT_Excep_PERIB_INTB171,\r
+\r
+//;0x02B0 PERIB INTB172\r
+    (fp)INT_Excep_PERIB_INTB172,\r
+\r
+//;0x02B4 PERIB INTB173\r
+    (fp)INT_Excep_PERIB_INTB173,\r
+\r
+//;0x02B8 PERIB INTB174\r
+    (fp)INT_Excep_PERIB_INTB174,\r
+\r
+//;0x02BC PERIB INTB175\r
+    (fp)INT_Excep_PERIB_INTB175,\r
+\r
+//;0x02C0 PERIB INTB176\r
+    (fp)INT_Excep_PERIB_INTB176,\r
+\r
+//;0x02C4 PERIB INTB177\r
+    (fp)INT_Excep_PERIB_INTB177,\r
+\r
+//;0x02C8 PERIB INTB178\r
+    (fp)INT_Excep_PERIB_INTB178,\r
+\r
+//;0x02CC PERIB INTB179\r
+    (fp)INT_Excep_PERIB_INTB179,\r
+\r
+//;0x02D0 PERIB INTB180\r
+    (fp)INT_Excep_PERIB_INTB180,\r
+\r
+//;0x02D4 PERIB INTB181\r
+    (fp)INT_Excep_PERIB_INTB181,\r
+\r
+//;0x02D8 PERIB INTB182\r
+    (fp)INT_Excep_PERIB_INTB182,\r
+\r
+//;0x02DC PERIB INTB183\r
+    (fp)INT_Excep_PERIB_INTB183,\r
+\r
+//;0x02E0 PERIB INTB184\r
+    (fp)INT_Excep_PERIB_INTB184,\r
+\r
+//;0x02E4 PERIB INTB185\r
+    (fp)INT_Excep_PERIB_INTB185,\r
+\r
+//;0x02E8 PERIB INTB186\r
+    (fp)INT_Excep_PERIB_INTB186,\r
+\r
+//;0x02EC PERIB INTB187\r
+    (fp)INT_Excep_PERIB_INTB187,\r
+\r
+//;0x02F0 PERIB INTB188\r
+    (fp)INT_Excep_PERIB_INTB188,\r
+\r
+//;0x02F4 PERIB INTB189\r
+    (fp)INT_Excep_PERIB_INTB189,\r
+\r
+//;0x02F8 PERIB INTB190\r
+    (fp)INT_Excep_PERIB_INTB190,\r
+\r
+//;0x02FC PERIB INTB191\r
+    (fp)INT_Excep_PERIB_INTB191,\r
+\r
+//;0x0300 PERIB INTB192\r
+    (fp)INT_Excep_PERIB_INTB192,\r
+\r
+//;0x0304 PERIB INTB193\r
+    (fp)INT_Excep_PERIB_INTB193,\r
+\r
+//;0x0308 PERIB INTB194\r
+    (fp)INT_Excep_PERIB_INTB194,\r
+\r
+//;0x030C PERIB INTB195\r
+    (fp)INT_Excep_PERIB_INTB195,\r
+\r
+//;0x0310 PERIB INTB196\r
+    (fp)INT_Excep_PERIB_INTB196,\r
+\r
+//;0x0314 PERIB INTB197\r
+    (fp)INT_Excep_PERIB_INTB197,\r
+\r
+//;0x0318 PERIB INTB198\r
+    (fp)INT_Excep_PERIB_INTB198,\r
+\r
+//;0x031C PERIB INTB199\r
+    (fp)INT_Excep_PERIB_INTB199,\r
+\r
+//;0x0320 PERIB INTB200\r
+    (fp)INT_Excep_PERIB_INTB200,\r
+\r
+//;0x0324 PERIB INTB201\r
+    (fp)INT_Excep_PERIB_INTB201,\r
+\r
+//;0x0328 PERIB INTB202\r
+    (fp)INT_Excep_PERIB_INTB202,\r
+\r
+//;0x032C PERIB INTB203\r
+    (fp)INT_Excep_PERIB_INTB203,\r
+\r
+//;0x0320 PERIB INTB204\r
+    (fp)INT_Excep_PERIB_INTB204,\r
+\r
+//;0x0334 PERIB INTB205\r
+    (fp)INT_Excep_PERIB_INTB205,\r
+\r
+//;0x0338 PERIB INTB206\r
+    (fp)INT_Excep_PERIB_INTB206,\r
+\r
+//;0x033C PERIB INTB207\r
+    (fp)INT_Excep_PERIB_INTB207,\r
+\r
+//;0x0340 PERIA INTA208\r
+    (fp)INT_Excep_PERIA_INTA208,\r
+\r
+//;0x0344 PERIA INTA209\r
+    (fp)INT_Excep_PERIA_INTA209,\r
+\r
+//;0x0348 PERIA INTA210\r
+    (fp)INT_Excep_PERIA_INTA210,\r
+\r
+//;0x034C PERIA INTA211\r
+    (fp)INT_Excep_PERIA_INTA211,\r
+\r
+//;0x0350 PERIA INTA212\r
+    (fp)INT_Excep_PERIA_INTA212,\r
+\r
+//;0x0354 PERIA INTA213\r
+    (fp)INT_Excep_PERIA_INTA213,\r
+\r
+//;0x0358 PERIA INTA214\r
+    (fp)INT_Excep_PERIA_INTA214,\r
+\r
+//;0x035C PERIA INTA215\r
+    (fp)INT_Excep_PERIA_INTA215,\r
+\r
+//;0x0360 PERIA INTA216\r
+    (fp)INT_Excep_PERIA_INTA216,\r
+\r
+//;0x0364 PERIA INTA217\r
+    (fp)INT_Excep_PERIA_INTA217,\r
+\r
+//;0x0368 PERIA INTA218\r
+    (fp)INT_Excep_PERIA_INTA218,\r
+\r
+//;0x036C PERIA INTA219\r
+    (fp)INT_Excep_PERIA_INTA219,\r
+\r
+//;0x0370 PERIA INTA220\r
+    (fp)INT_Excep_PERIA_INTA220,\r
+\r
+//;0x0374 PERIA INTA221\r
+    (fp)INT_Excep_PERIA_INTA221,\r
+\r
+//;0x0378 PERIA INTA222\r
+    (fp)INT_Excep_PERIA_INTA222,\r
+\r
+//;0x037C PERIA INTA223\r
+    (fp)INT_Excep_PERIA_INTA223,\r
+\r
+//;0x0380 PERIA INTA224\r
+    (fp)INT_Excep_PERIA_INTA224,\r
+\r
+//;0x0384 PERIA INTA225\r
+    (fp)INT_Excep_PERIA_INTA225,\r
+\r
+//;0x0388 PERIA INTA226\r
+    (fp)INT_Excep_PERIA_INTA226,\r
+\r
+//;0x038C PERIA INTA227\r
+    (fp)INT_Excep_PERIA_INTA227,\r
+\r
+//;0x0390 PERIA INTA228\r
+    (fp)INT_Excep_PERIA_INTA228,\r
+\r
+//;0x0394 PERIA INTA229\r
+    (fp)INT_Excep_PERIA_INTA229,\r
+\r
+//;0x0398 PERIA INTA230\r
+    (fp)INT_Excep_PERIA_INTA230,\r
+\r
+//;0x039C PERIA INTA231\r
+    (fp)INT_Excep_PERIA_INTA231,\r
+\r
+//;0x03A0 PERIA INTA232\r
+    (fp)INT_Excep_PERIA_INTA232,\r
+\r
+//;0x03A4 PERIA INTA233\r
+    (fp)INT_Excep_PERIA_INTA233,\r
+\r
+//;0x03A8 PERIA INTA234\r
+    (fp)INT_Excep_PERIA_INTA234,\r
+\r
+//;0x03AC PERIA INTA235\r
+    (fp)INT_Excep_PERIA_INTA235,\r
+\r
+//;0x03B0 PERIA INTA236\r
+    (fp)INT_Excep_PERIA_INTA236,\r
+\r
+//;0x04B4 PERIA INTA237\r
+    (fp)INT_Excep_PERIA_INTA237,\r
+\r
+//;0x03B8 PERIA INTA238\r
+    (fp)INT_Excep_PERIA_INTA238,\r
+\r
+//;0x03BC PERIA INTA239\r
+    (fp)INT_Excep_PERIA_INTA239,\r
+\r
+//;0x03C0 PERIA INTA240\r
+    (fp)INT_Excep_PERIA_INTA240,\r
+\r
+//;0x03C4 PERIA INTA241\r
+    (fp)INT_Excep_PERIA_INTA241,\r
+\r
+//;0x03C8 PERIA INTA242\r
+    (fp)INT_Excep_PERIA_INTA242,\r
+\r
+//;0x03CC PERIA INTA243\r
+    (fp)INT_Excep_PERIA_INTA243,\r
+\r
+//;0x03D0 PERIA INTA244\r
+    (fp)INT_Excep_PERIA_INTA244,\r
+\r
+//;0x03D4 PERIA INTA245\r
+    (fp)INT_Excep_PERIA_INTA245,\r
+\r
+//;0x03D8 PERIA INTA246\r
+    (fp)INT_Excep_PERIA_INTA246,\r
+\r
+//;0x03DC PERIA INTA247\r
+    (fp)INT_Excep_PERIA_INTA247,\r
+\r
+//;0x03E0 PERIA INTA248\r
+    (fp)INT_Excep_PERIA_INTA248,\r
+\r
+//;0x03E4 PERIA INTA249\r
+    (fp)INT_Excep_PERIA_INTA249,\r
+\r
+//;0x03E8 PERIA INTA250\r
+    (fp)INT_Excep_PERIA_INTA250,\r
+\r
+//;0x03EC PERIA INTA251\r
+    (fp)INT_Excep_PERIA_INTA251,\r
+\r
+//;0x03F0 PERIA INTA252\r
+    (fp)INT_Excep_PERIA_INTA252,\r
+\r
+//;0x03F4 PERIA INTA253\r
+    (fp)INT_Excep_PERIA_INTA253,\r
+\r
+//;0x03F8 PERIA INTA254\r
+    (fp)INT_Excep_PERIA_INTA254,\r
+\r
+//;0x03FC PERIA INTA255\r
+    (fp)INT_Excep_PERIA_INTA255,\r
+};\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/main.c b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/main.c
new file mode 100644 (file)
index 0000000..ad85d20
--- /dev/null
@@ -0,0 +1,280 @@
+/*\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    All rights reserved\r
+\r
+    VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS provides completely free yet professionally developed,    *\r
+     *    robust, strictly quality controlled, supported, and cross          *\r
+     *    platform software that has become a de facto standard.             *\r
+     *                                                                       *\r
+     *    Help yourself get started quickly and support the FreeRTOS         *\r
+     *    project by purchasing a FreeRTOS tutorial book, reference          *\r
+     *    manual, or both from: http://www.FreeRTOS.org/Documentation        *\r
+     *                                                                       *\r
+     *    Thank you!                                                         *\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
+\r
+    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
+    >>! a combined work that includes FreeRTOS without being obliged to provide\r
+    >>! the source code for proprietary components outside of the FreeRTOS\r
+    >>! kernel.\r
+\r
+    FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
+    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+    FOR A PARTICULAR PURPOSE.  Full license text is available from the following\r
+    link: http://www.freertos.org/a00114.html\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    Having a problem?  Start by reading the FAQ "My application does   *\r
+     *    not run, what could be wrong?"                                     *\r
+     *                                                                       *\r
+     *    http://www.FreeRTOS.org/FAQHelp.html                               *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
+    license and Real Time Engineers Ltd. contact details.\r
+\r
+    http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
+    including FreeRTOS+Trace - an indispensable productivity tool, a DOS\r
+    compatible FAT file system, and our tiny thread aware UDP/IP stack.\r
+\r
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+    Integrity Systems to sell under the OpenRTOS brand.  Low cost OpenRTOS\r
+    licenses offer ticketed support, indemnification and middleware.\r
+\r
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+    engineered and independently SIL3 certified version for use in safety and\r
+    mission critical applications that require provable dependability.\r
+\r
+    1 tab == 4 spaces!\r
+*/\r
+\r
+/******************************************************************************\r
+ * This project provides two demo applications.  A simple blinky style project,\r
+ * and a more comprehensive test and demo application.  The\r
+ * mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting (defined in this file) is used to\r
+ * select between the two.  The simply blinky demo is implemented and described\r
+ * in main_blinky.c.  The more comprehensive test and demo application is\r
+ * implemented and described in main_full.c.\r
+ *\r
+ * This file implements the code that is not demo specific, including the\r
+ * hardware setup and FreeRTOS hook functions.\r
+ *\r
+ * ENSURE TO READ THE DOCUMENTATION PAGE FOR THIS PORT AND DEMO APPLICATION ON\r
+ * THE http://www.FreeRTOS.org WEB SITE FOR FULL INFORMATION ON USING THIS DEMO\r
+ * APPLICATION, AND ITS ASSOCIATE FreeRTOS ARCHITECTURE PORT!\r
+ *\r
+ */\r
+\r
+/* Scheduler include files. */\r
+#include "FreeRTOS.h"\r
+#include "task.h"\r
+#include "semphr.h"\r
+\r
+/* Standard demo includes. */\r
+#include "partest.h"\r
+#include "TimerDemo.h"\r
+#include "QueueOverwrite.h"\r
+#include "EventGroupsDemo.h"\r
+\r
+/* Renesas includes. */\r
+#include "iodefine.h"\r
+\r
+/* Set option bytes */\r
+#pragma address OFS0_location = 0xFFFFFF8CUL\r
+#pragma address OFS1_location = 0xFFFFFF88UL\r
+volatile const uint32_t OFS0_location = 0xFFFFFFFFUL;\r
+volatile const uint32_t OFS1_location = 0xFFFFFFFFUL;\r
+\r
+\r
+/* Set mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to one to run the simple blinky demo,\r
+or 0 to run the more comprehensive test and demo application. */\r
+#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     1\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/*\r
+ * Configure the hardware as necessary to run this demo.\r
+ */\r
+static void prvSetupHardware( void );\r
+\r
+/*\r
+ * main_blinky() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.\r
+ * main_full() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 0.\r
+ */\r
+#if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1\r
+       extern void main_blinky( void );\r
+#else\r
+       extern void main_full( void );\r
+#endif /* #if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 */\r
+\r
+/*\r
+ * The Xilinx projects use a BSP that do not allow the start up code to be\r
+ * altered easily.  Therefore the vector table used by FreeRTOS is defined in\r
+ * FreeRTOS_asm_vectors.S, which is part of this project.  Switch to use the\r
+ * FreeRTOS vector table.\r
+ */\r
+extern void vPortInstallFreeRTOSVectorTable( void );\r
+\r
+/* Prototypes for the standard FreeRTOS callback/hook functions implemented\r
+within this file. */\r
+void vApplicationMallocFailedHook( void );\r
+void vApplicationIdleHook( void );\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );\r
+void vApplicationTickHook( void );\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+int main( void )\r
+{\r
+       /* Configure the hardware ready to run the demo. */\r
+       prvSetupHardware();\r
+\r
+       /* The mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting is described at the top\r
+       of this file. */\r
+       #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1 )\r
+       {\r
+               main_blinky();\r
+       }\r
+       #else\r
+       {\r
+               main_full();\r
+       }\r
+       #endif\r
+\r
+       /* Don't expect to reach here. */\r
+       return 0;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+static void prvSetupHardware( void )\r
+{\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vApplicationMallocFailedHook( void )\r
+{\r
+       /* Called if a call to pvPortMalloc() fails because there is insufficient\r
+       free memory available in the FreeRTOS heap.  pvPortMalloc() is called\r
+       internally by FreeRTOS API functions that create tasks, queues, software\r
+       timers, and semaphores.  The size of the FreeRTOS heap is set by the\r
+       configTOTAL_HEAP_SIZE configuration constant in FreeRTOSConfig.h. */\r
+       taskDISABLE_INTERRUPTS();\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
+{\r
+       ( void ) pcTaskName;\r
+       ( void ) pxTask;\r
+\r
+       /* Run time stack overflow checking is performed if\r
+       configCHECK_FOR_STACK_OVERFLOW is defined to 1 or 2.  This hook\r
+       function is called if a stack overflow is detected. */\r
+       taskDISABLE_INTERRUPTS();\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vApplicationIdleHook( void )\r
+{\r
+volatile size_t xFreeHeapSpace;\r
+\r
+       /* This is just a trivial example of an idle hook.  It is called on each\r
+       cycle of the idle task.  It must *NOT* attempt to block.  In this case the\r
+       idle task just queries the amount of FreeRTOS heap that remains.  See the\r
+       memory management section on the http://www.FreeRTOS.org web site for memory\r
+       management options.  If there is a lot of heap memory free then the\r
+       configTOTAL_HEAP_SIZE value in FreeRTOSConfig.h can be reduced to free up\r
+       RAM. */\r
+       xFreeHeapSpace = xPortGetFreeHeapSize();\r
+\r
+       /* Remove compiler warning about xFreeHeapSpace being set but never used. */\r
+       ( void ) xFreeHeapSpace;\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vApplicationTickHook( void )\r
+{\r
+       #if( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 )\r
+       {\r
+               /* The full demo includes a software timer demo/test that requires\r
+               prodding periodically from the tick interrupt. */\r
+               vTimerPeriodicISRTests();\r
+\r
+               /* Call the periodic queue overwrite from ISR demo. */\r
+               vQueueOverwritePeriodicISRDemo();\r
+\r
+               /* Call the periodic event group from ISR demo. */\r
+               vPeriodicEventGroupsProcessing();\r
+       }\r
+       #endif\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+void vAssertCalled( void )\r
+{\r
+volatile unsigned long ul = 0;\r
+\r
+       taskENTER_CRITICAL();\r
+       {\r
+               /* Use the debugger to set ul to a non-zero value in order to step out\r
+               of this function to determine why it was called. */\r
+               while( ul == 0 )\r
+               {\r
+                       portNOP();\r
+               }\r
+       }\r
+       taskEXIT_CRITICAL();\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+/* The RX port uses this callback function to configure its tick interrupt.\r
+This allows the application to choose the tick interrupt source. */\r
+void vApplicationSetupTimerInterrupt( void )\r
+{\r
+const uint32_t ulEnableRegisterWrite = 0xA50BUL, ulDisableRegisterWrite = 0xA500UL;\r
+\r
+    /* Disable register write protection. */\r
+    SYSTEM.PRCR.WORD = ulEnableRegisterWrite;\r
+\r
+       /* Enable compare match timer 0. */\r
+       MSTP( CMT0 ) = 0;\r
+\r
+       /* Interrupt on compare match. */\r
+       CMT0.CMCR.BIT.CMIE = 1;\r
+\r
+       /* Set the compare match value. */\r
+       CMT0.CMCOR = ( unsigned short ) ( ( ( configPERIPHERAL_CLOCK_HZ / configTICK_RATE_HZ ) -1 ) / 8 );\r
+\r
+       /* Divide the PCLK by 8. */\r
+       CMT0.CMCR.BIT.CKS = 0;\r
+\r
+       /* Enable the interrupt... */\r
+       _IEN( _CMT0_CMI0 ) = 1;\r
+\r
+       /* ...and set its priority to the application defined kernel priority. */\r
+       _IPR( _CMT0_CMI0 ) = configKERNEL_INTERRUPT_PRIORITY;\r
+\r
+       /* Start the timer. */\r
+       CMT.CMSTR0.BIT.STR0 = 1;\r
+\r
+    /* Reneable register protection. */\r
+    SYSTEM.PRCR.WORD = ulDisableRegisterWrite;\r
+}\r
+/*-----------------------------------------------------------*/\r
diff --git a/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/main_blinky.c b/FreeRTOS/Demo/RX600_RX64M_RSK_GCC_e2studio/src/main_blinky.c
new file mode 100644 (file)
index 0000000..9c39e72
--- /dev/null
@@ -0,0 +1,235 @@
+/*\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+    All rights reserved\r
+\r
+    VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    FreeRTOS provides completely free yet professionally developed,    *\r
+     *    robust, strictly quality controlled, supported, and cross          *\r
+     *    platform software that has become a de facto standard.             *\r
+     *                                                                       *\r
+     *    Help yourself get started quickly and support the FreeRTOS         *\r
+     *    project by purchasing a FreeRTOS tutorial book, reference          *\r
+     *    manual, or both from: http://www.FreeRTOS.org/Documentation        *\r
+     *                                                                       *\r
+     *    Thank you!                                                         *\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
+\r
+    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
+    >>! a combined work that includes FreeRTOS without being obliged to provide\r
+    >>! the source code for proprietary components outside of the FreeRTOS\r
+    >>! kernel.\r
+\r
+    FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
+    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+    FOR A PARTICULAR PURPOSE.  Full license text is available from the following\r
+    link: http://www.freertos.org/a00114.html\r
+\r
+    1 tab == 4 spaces!\r
+\r
+    ***************************************************************************\r
+     *                                                                       *\r
+     *    Having a problem?  Start by reading the FAQ "My application does   *\r
+     *    not run, what could be wrong?"                                     *\r
+     *                                                                       *\r
+     *    http://www.FreeRTOS.org/FAQHelp.html                               *\r
+     *                                                                       *\r
+    ***************************************************************************\r
+\r
+    http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
+    license and Real Time Engineers Ltd. contact details.\r
+\r
+    http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
+    including FreeRTOS+Trace - an indispensable productivity tool, a DOS\r
+    compatible FAT file system, and our tiny thread aware UDP/IP stack.\r
+\r
+    http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+    Integrity Systems to sell under the OpenRTOS brand.  Low cost OpenRTOS\r
+    licenses offer ticketed support, indemnification and middleware.\r
+\r
+    http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+    engineered and independently SIL3 certified version for use in safety and\r
+    mission critical applications that require provable dependability.\r
+\r
+    1 tab == 4 spaces!\r
+*/\r
+\r
+/******************************************************************************\r
+ * NOTE 1:  This project provides two demo applications.  A simple blinky style\r
+ * project, and a more comprehensive test and demo application.  The\r
+ * mainCREATE_SIMPLE_BLINKY_DEMO_ONLY setting in main.c is used to select\r
+ * between the two.  See the notes on using mainCREATE_SIMPLE_BLINKY_DEMO_ONLY\r
+ * in main.c.  This file implements the simply blinky style version.\r
+ *\r
+ * NOTE 2:  This file only contains the source code that is specific to the\r
+ * basic demo.  Generic functions, such FreeRTOS hook functions, and functions\r
+ * required to configure the hardware are defined in main.c.\r
+ ******************************************************************************\r
+ *\r
+ * main_blinky() creates one queue, and two tasks.  It then starts the\r
+ * scheduler.\r
+ *\r
+ * The Queue Send Task:\r
+ * The queue send task is implemented by the prvQueueSendTask() function in\r
+ * this file.  prvQueueSendTask() sits in a loop that causes it to repeatedly\r
+ * block for 200 milliseconds, before sending the value 100 to the queue that\r
+ * was created within main_blinky().  Once the value is sent, the task loops\r
+ * back around to block for another 200 milliseconds...and so on.\r
+ *\r
+ * The Queue Receive Task:\r
+ * The queue receive task is implemented by the prvQueueReceiveTask() function\r
+ * in this file.  prvQueueReceiveTask() sits in a loop where it repeatedly\r
+ * blocks on attempts to read data from the queue that was created within\r
+ * main_blinky().  When data is received, the task checks the value of the\r
+ * data, and if the value equals the expected 100, toggles an LED.  The 'block\r
+ * time' parameter passed to the queue receive function specifies that the\r
+ * task should be held in the Blocked state indefinitely to wait for data to\r
+ * be available on the queue.  The queue receive task will only leave the\r
+ * Blocked state when the queue send task writes to the queue.  As the queue\r
+ * send task writes to the queue every 200 milliseconds, the queue receive\r
+ * task leaves the Blocked state every 200 milliseconds, and therefore toggles\r
+ * the LED every 200 milliseconds.\r
+ */\r
+\r
+/* Kernel includes. */\r
+#include "FreeRTOS.h"\r
+#include "task.h"\r
+#include "semphr.h"\r
+\r
+/* Standard demo includes. */\r
+#include "partest.h"\r
+\r
+/* Priorities at which the tasks are created. */\r
+#define mainQUEUE_RECEIVE_TASK_PRIORITY                ( tskIDLE_PRIORITY + 2 )\r
+#define        mainQUEUE_SEND_TASK_PRIORITY            ( tskIDLE_PRIORITY + 1 )\r
+\r
+/* The rate at which data is sent to the queue.  The 200ms value is converted\r
+to ticks using the portTICK_PERIOD_MS constant. */\r
+#define mainQUEUE_SEND_FREQUENCY_MS                    ( 200 / portTICK_PERIOD_MS )\r
+\r
+/* The number of items the queue can hold.  This is 1 as the receive task\r
+will remove items as they are added, meaning the send task should always find\r
+the queue empty. */\r
+#define mainQUEUE_LENGTH                                       ( 1 )\r
+\r
+/* The LED toggled by the Rx task. */\r
+#define mainTASK_LED                                           ( 0 )\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/*\r
+ * The tasks as described in the comments at the top of this file.\r
+ */\r
+static void prvQueueReceiveTask( void *pvParameters );\r
+static void prvQueueSendTask( void *pvParameters );\r
+\r
+/*\r
+ * Called by main() to create the simply blinky style application if\r
+ * mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.\r
+ */\r
+void main_blinky( void );\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/* The queue used by both tasks. */\r
+static QueueHandle_t xQueue = NULL;\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+void main_blinky( void )\r
+{\r
+       /* Create the queue. */\r
+       xQueue = xQueueCreate( mainQUEUE_LENGTH, sizeof( uint32_t ) );\r
+\r
+       if( xQueue != NULL )\r
+       {\r
+               /* Start the two tasks as described in the comments at the top of this\r
+               file. */\r
+               xTaskCreate( prvQueueReceiveTask,                               /* The function that implements the task. */\r
+                                       "Rx",                                                           /* The text name assigned to the task - for debug only as it is not used by the kernel. */\r
+                                       configMINIMAL_STACK_SIZE,                       /* The size of the stack to allocate to the task. */\r
+                                       NULL,                                                           /* The parameter passed to the task - not used in this case. */\r
+                                       mainQUEUE_RECEIVE_TASK_PRIORITY,        /* The priority assigned to the task. */\r
+                                       NULL );                                                         /* The task handle is not required, so NULL is passed. */\r
+\r
+               xTaskCreate( prvQueueSendTask, "TX", configMINIMAL_STACK_SIZE, NULL, mainQUEUE_SEND_TASK_PRIORITY, NULL );\r
+\r
+               /* Start the tasks and timer running. */\r
+               vTaskStartScheduler();\r
+       }\r
+\r
+       /* If all is well, the scheduler will now be running, and the following\r
+       line will never be reached.  If the following line does execute, then\r
+       there was either insufficient FreeRTOS heap memory available for the idle\r
+       and/or timer tasks to be created, or vTaskStartScheduler() was called from\r
+       User mode.  See the memory management section on the FreeRTOS web site for\r
+       more details on the FreeRTOS heap http://www.freertos.org/a00111.html.  The\r
+       mode from which main() is called is set in the C start up code and must be\r
+       a privileged mode (not user mode). */\r
+       for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+static void prvQueueSendTask( void *pvParameters )\r
+{\r
+TickType_t xNextWakeTime;\r
+const uint32_t ulValueToSend = 100UL;\r
+\r
+       /* Remove compiler warning about unused parameter. */\r
+       ( void ) pvParameters;\r
+\r
+       /* Initialise xNextWakeTime - this only needs to be done once. */\r
+       xNextWakeTime = xTaskGetTickCount();\r
+\r
+       for( ;; )\r
+       {\r
+               /* Place this task in the blocked state until it is time to run again. */\r
+               vTaskDelayUntil( &xNextWakeTime, mainQUEUE_SEND_FREQUENCY_MS );\r
+\r
+               /* Send to the queue - causing the queue receive task to unblock and\r
+               toggle the LED.  0 is used as the block time so the sending operation\r
+               will not block - it shouldn't need to block as the queue should always\r
+               be empty at this point in the code. */\r
+               xQueueSend( xQueue, &ulValueToSend, 0U );\r
+       }\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
+volatile uint32_t ulRxEvents = 0;\r
+\r
+static void prvQueueReceiveTask( void *pvParameters )\r
+{\r
+uint32_t ulReceivedValue;\r
+const uint32_t ulExpectedValue = 100UL;\r
+\r
+       /* Remove compiler warning about unused parameter. */\r
+       ( void ) pvParameters;\r
+\r
+       for( ;; )\r
+       {\r
+               /* Wait until something arrives in the queue - this task will block\r
+               indefinitely provided INCLUDE_vTaskSuspend is set to 1 in\r
+               FreeRTOSConfig.h. */\r
+               xQueueReceive( xQueue, &ulReceivedValue, portMAX_DELAY );\r
+\r
+               /*  To get here something must have been received from the queue, but\r
+               is it the expected value?  If it is, toggle the LED. */\r
+               if( ulReceivedValue == ulExpectedValue )\r
+               {\r
+                       vParTestToggleLED( mainTASK_LED );\r
+                       ulReceivedValue = 0U;\r
+                       ulRxEvents++;\r
+               }\r
+       }\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r