<?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
+<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">\r
<storageModule moduleId="org.eclipse.cdt.core.settings">\r
<cconfiguration id="com.arm.eclipse.build.config.baremetal.exe.debug.2085733085">\r
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.arm.eclipse.build.config.baremetal.exe.debug.2085733085" moduleId="org.eclipse.cdt.core.settings" name="Debug">\r
<storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
<project id="FreeRTOS_Demo.com.arm.eclipse.build.project.baremetal.exe.508091358" name="Bare-metal Executable" projectType="com.arm.eclipse.build.project.baremetal.exe"/>\r
</storageModule>\r
- <storageModule moduleId="refreshScope" versionNumber="1">\r
- <resource resourceType="PROJECT" workspacePath="/FreeRTOS_Demo"/>\r
+ <storageModule moduleId="refreshScope" versionNumber="2">\r
+ <configuration configurationName="Debug">\r
+ <resource resourceType="PROJECT" workspacePath="/FreeRTOS_Demo"/>\r
+ </configuration>\r
</storageModule>\r
<storageModule moduleId="scannerConfiguration">\r
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>\r
</scannerConfigBuildInfo>\r
</storageModule>\r
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>\r
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>\r
</cproject>\r
</option>\r
<option>\r
<name>MemFile</name>\r
- <state>$TOOLKIT_DIR$\CONFIG\debugger\Renesas\R7S721000.ddf</state>\r
+ <state>$TOOLKIT_DIR$\CONFIG\debugger\Renesas\R7S721001.ddf</state>\r
</option>\r
<option>\r
<name>RunToEnable</name>\r
- <state>1</state>\r
+ <state>0</state>\r
</option>\r
<option>\r
<name>RunToName</name>\r
</option>\r
<option>\r
<name>OCLastSavedByProductVersion</name>\r
- <state>7.10.1.6733</state>\r
+ <state>7.20.2.7418</state>\r
</option>\r
<option>\r
<name>OCDownloadAttachToProgram</name>\r
</option>\r
<option>\r
<name>CCXds100InterfaceList</name>\r
- <version>1</version>\r
+ <version>2</version>\r
<state>0</state>\r
</option>\r
<option>\r
</option>\r
<option>\r
<name>OGLastSavedByProductVersion</name>\r
- <state>7.10.1.6733</state>\r
+ <state>7.20.2.7418</state>\r
</option>\r
<option>\r
<name>GeneralEnableMisra</name>\r
</option>\r
<option>\r
<name>OGChipSelectEditMenu</name>\r
- <state>R7S721000 Renesas R7S721000</state>\r
+ <state>R7S721001 Renesas R7S721001</state>\r
</option>\r
<option>\r
<name>GenLowLevelInterface</name>\r
<name>ICCARM</name>\r
<archiveVersion>2</archiveVersion>\r
<data>\r
- <version>30</version>\r
+ <version>31</version>\r
<wantNonLocal>1</wantNonLocal>\r
<debug>1</debug>\r
<option>\r
<version>0</version>\r
<state>0</state>\r
</option>\r
+ <option>\r
+ <name>CCGuardCalls</name>\r
+ <state>1</state>\r
+ </option>\r
</data>\r
</settings>\r
<settings>\r
</option>\r
<option>\r
<name>IlinkIcfOverride</name>\r
- <state>1</state>\r
+ <state>0</state>\r
</option>\r
<option>\r
<name>IlinkIcfFile</name>\r
- <state>$PROJ_DIR$\r7s721000.icf</state>\r
+ <state>$TOOLKIT_DIR$\config\linker\Renesas\r7s721001.icf</state>\r
</option>\r
<option>\r
<name>IlinkIcfFileSlave</name>\r
\r
\r
\r
- <Wnd2>\r
+ <Wnd3>\r
<Tabs>\r
<Tab>\r
<Identity>TabID-6824-27546</Identity>\r
</Tab>\r
<Tab><Identity>TabID-11794-23690</Identity><TabName>Find in Files</TabName><Factory>Find-in-Files</Factory><Session/></Tab></Tabs>\r
\r
- <SelectedTab>0</SelectedTab></Wnd2><Wnd3>\r
+ <SelectedTab>0</SelectedTab></Wnd3><Wnd4>\r
<Tabs>\r
<Tab>\r
<Identity>TabID-17573-27549</Identity>\r
</Tab>\r
</Tabs>\r
\r
- <SelectedTab>0</SelectedTab></Wnd3></Windows>\r
+ <SelectedTab>0</SelectedTab></Wnd4><Wnd5><Tabs><Tab><Identity>TabID-8721-7680</Identity><TabName>Disassembly</TabName><Factory>Disassembly</Factory><Session/></Tab></Tabs><SelectedTab>0</SelectedTab></Wnd5></Windows>\r
<Editor>\r
\r
\r
\r
\r
- <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\main.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>122</YPos2><SelStart2>6677</SelStart2><SelEnd2>6677</SelEnd2></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Full-Demo\main_full.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>410</YPos2><SelStart2>19389</SelStart2><SelEnd2>19389</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\..\Common\Minimal\QueueOverwrite.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>178</YPos2><SelStart2>8141</SelStart2><SelEnd2>8141</SelEnd2></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+ <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Full-Demo\main_full.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>64</YPos2><SelStart2>8123</SelStart2><SelEnd2>8123</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Blinky-Demo\main_blinky.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>64</YPos2><SelStart2>9979</SelStart2><SelEnd2>9979</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\main.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>112</YPos2><SelStart2>6090</SelStart2><SelEnd2>6090</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\cstartup.s</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>132</YPos2><SelStart2>5456</SelStart2><SelEnd2>5456</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\LowLevelInitialise.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>24</YPos2><SelStart2>1341</SelStart2><SelEnd2>1341</SelEnd2></Tab><ActiveTab>4</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\modules\armv7a_cp15_drv.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>727</YPos2><SelStart2>20604</SelStart2><SelEnd2>20604</SelEnd2></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
<Positions>\r
\r
\r
\r
\r
\r
- <Top><Row0><Sizes><Toolbar-0134b418><key>iaridepm.enu1</key></Toolbar-0134b418></Sizes></Row0><Row1><Sizes><Toolbar-13399d38><key>debuggergui.enu1</key></Toolbar-13399d38></Sizes></Row1></Top><Left><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>716</Bottom><Right>302</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>119048</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>180952</sizeVertCX><sizeVertCY>731161</sizeVertCY></Rect></Wnd3></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>200</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>119048</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd2></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+ <Top><Row0><Sizes><Toolbar-00D172A8><key>iaridepm.enu1</key></Toolbar-00D172A8></Sizes></Row0><Row1><Sizes><Toolbar-12B3ABF8><key>debuggergui.enu1</key></Toolbar-12B3ABF8></Sizes></Row1></Top><Left><Row0><Sizes><Wnd4><Rect><Top>-2</Top><Left>-2</Left><Bottom>718</Bottom><Right>302</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>119048</sizeHorzCX><sizeHorzCY>203252</sizeHorzCY><sizeVertCX>180952</sizeVertCX><sizeVertCY>731707</sizeVertCY></Rect></Wnd4></Sizes></Row0></Left><Right><Row0><Sizes><Wnd5><Rect><Top>-2</Top><Left>-2</Left><Bottom>718</Bottom><Right>699</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>119048</sizeHorzCX><sizeHorzCY>203252</sizeHorzCY><sizeVertCX>417262</sizeVertCX><sizeVertCY>731707</sizeVertCY></Rect></Wnd5></Sizes></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>198</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>200</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>203252</sizeHorzCY><sizeVertCX>119048</sizeVertCX><sizeVertCY>203252</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
</Desktop>\r
</Project>\r
\r
Watch1=_ 0 "" 0 "" 0 "" 0 "" 0 0 0 0\r
CStepIntDis=_ 0\r
[DebugChecksum]\r
-Checksum=1422761829\r
+Checksum=-1045357403\r
[Jet]\r
JetConnSerialNo=73866\r
JetConnFoundProbes=\r
\r
\r
\r
- <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\main.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>62</YPos2><SelStart2>6677</SelStart2><SelEnd2>6677</SelEnd2></Tab><ActiveTab>0</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Full-Demo\main_full.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>410</YPos2><SelStart2>19389</SelStart2><SelEnd2>19389</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Blinky-Demo\main_blinky.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>63</YPos2><SelStart2>0</SelStart2><SelEnd2>0</SelEnd2></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
+ <Pane><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Full-Demo\main_full.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>64</YPos2><SelStart2>8123</SelStart2><SelEnd2>8123</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\Blinky-Demo\main_blinky.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>64</YPos2><SelStart2>0</SelStart2><SelEnd2>0</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\..\Source\main.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>112</YPos2><SelStart2>0</SelStart2><SelEnd2>0</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\cstartup.s</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>132</YPos2><SelStart2>5456</SelStart2><SelEnd2>5456</SelEnd2></Tab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\LowLevelInitialise.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>14</YPos2><SelStart2>1341</SelStart2><SelEnd2>1341</SelEnd2></Tab><ActiveTab>4</ActiveTab><Tab><Factory>TextEditor</Factory><Filename>$WS_DIR$\modules\armv7a_cp15_drv.c</Filename><XPos>0</XPos><YPos>0</YPos><SelStart>0</SelStart><SelEnd>0</SelEnd><XPos2>0</XPos2><YPos2>727</YPos2><SelStart2>20604</SelStart2><SelEnd2>20604</SelEnd2></Tab></Pane><ActivePane>0</ActivePane><Sizes><Pane><X>1000000</X><Y>1000000</Y></Pane></Sizes><SplitMode>1</SplitMode></Editor>\r
<Positions>\r
\r
\r
\r
\r
\r
- <Top><Row0><Sizes><Toolbar-013BA3C8><key>iaridepm.enu1</key></Toolbar-013BA3C8></Sizes></Row0></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>692</Bottom><Right>380</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>119048</sizeHorzCX><sizeHorzCY>203666</sizeHorzCY><sizeVertCX>227381</sizeVertCX><sizeVertCY>706721</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>246</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>248</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>252546</sizeHorzCY><sizeVertCX>119048</sizeVertCX><sizeVertCY>203666</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
+ <Top><Row0><Sizes><Toolbar-00D172A8><key>iaridepm.enu1</key></Toolbar-00D172A8></Sizes></Row0><Row1><Sizes/></Row1></Top><Left><Row0><Sizes><Wnd2><Rect><Top>-2</Top><Left>-2</Left><Bottom>693</Bottom><Right>380</Right><x>-2</x><y>-2</y><xscreen>200</xscreen><yscreen>200</yscreen><sizeHorzCX>119048</sizeHorzCX><sizeHorzCY>203252</sizeHorzCY><sizeVertCX>227381</sizeVertCX><sizeVertCY>706301</sizeVertCY></Rect></Wnd2></Sizes></Row0></Left><Right><Row0><Sizes/></Row0></Right><Bottom><Row0><Sizes><Wnd3><Rect><Top>-2</Top><Left>-2</Left><Bottom>247</Bottom><Right>1682</Right><x>-2</x><y>-2</y><xscreen>1684</xscreen><yscreen>249</yscreen><sizeHorzCX>1002381</sizeHorzCX><sizeHorzCY>253049</sizeHorzCY><sizeVertCX>119048</sizeVertCX><sizeVertCY>203252</sizeVertCY></Rect></Wnd3></Sizes></Row0></Bottom><Float><Sizes/></Float></Positions>\r
</Desktop>\r
</Workspace>\r
\r
/*\r
- FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+ FreeRTOS V8.0.1 - 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
- * Simple IO routines to control the LEDs.\r
+ * Simple IO routines to control an LED.\r
*-----------------------------------------------------------*/\r
\r
/* Scheduler includes. */\r
\r
void vParTestInitialise( void )\r
{\r
- /* Initialise P4_10 for LED1. */\r
- PORT4.PMCn.BIT.PMCn10 = 0;\r
- PORT4.Pn.BIT.Pn10 = 1;\r
- PORT4.PMn.BIT.PMn10 = 0;\r
- PORT4.PIPCn.BIT.PIPCn10 = 0;\r
-\r
- /* Initialise P4_11 for LED2. */\r
- PORT4.PMCn.BIT.PMCn11 = 0;\r
- PORT4.Pn.BIT.Pn11 = 1;\r
- PORT4.PMn.BIT.PMn11 = 0;\r
- PORT4.PIPCn.BIT.PIPCn11 = 0;\r
+ /* Initialise P7_01 for LED0. */\r
+ PORT7.PMCn.BIT.PMCn1 = 0;\r
+ PORT7.Pn.BIT.Pn1 = 1;\r
+ PORT7.PMn.BIT.PMn1 = 0;\r
+ PORT7.PIPCn.BIT.PIPCn1 = 0;\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vParTestSetLED( unsigned long ulLED, signed long xValue )\r
+void vParTestToggleLED( unsigned long ulLED )\r
{\r
- /* A high value turns the LED off. */\r
- xValue = !xValue;\r
-\r
- taskENTER_CRITICAL();\r
+ if( ulLED == 0 )\r
{\r
- if( ulLED == 0 )\r
+ taskENTER_CRITICAL();\r
{\r
- PORT4.Pn.BIT.Pn10 = xValue;\r
- }\r
-\r
- if( ulLED == 1 )\r
- {\r
- PORT4.Pn.BIT.Pn11 = xValue;\r
+ PORT7.Pn.BIT.Pn1 = !PORT7.Pn.BIT.Pn1;\r
}\r
+ taskEXIT_CRITICAL();\r
}\r
- taskEXIT_CRITICAL();\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vParTestToggleLED( unsigned long ulLED )\r
+void vParTestSetLED( unsigned long ulLED, signed long xValue )\r
{\r
- taskENTER_CRITICAL();\r
- {\r
- if( ulLED == 0 )\r
- {\r
- PORT4.Pn.BIT.Pn10 = !PORT4.Pn.BIT.Pn10;\r
- }\r
+ /* A high value turns the LED off. */\r
+ xValue = !xValue;\r
\r
- if( ulLED == 1 )\r
+ if( ulLED == 0 )\r
+ {\r
+ taskENTER_CRITICAL();\r
{\r
- PORT4.Pn.BIT.Pn11 = !PORT4.Pn.BIT.Pn11;\r
+ PORT7.Pn.BIT.Pn1 = xValue;\r
}\r
+ taskEXIT_CRITICAL();\r
}\r
- taskEXIT_CRITICAL();\r
}\r
/*-----------------------------------------------------------*/\r
-\r
; LDR r0, =||Image$$VECTOR_TABLE$$Base||\r
MCR p15, 0, r0, c12, c0, 0\r
\r
+;===================================================================\r
+; Set low vectors\r
+;===================================================================\r
+\r
+ MRC p15, 0, r0, c1, c0, 0 ;/* Read CP15 System Control register (SCTLR) */\r
+ BIC r0, r0, #(0x1 << 13) ;/* Clear V bit 13 to set Low Vectors */\r
+ MCR p15, 0, r0, c1, c0, 0 ;/* Write CP15 System Control register */\r
+ ISB\r
BX lr\r
\r
ENDFUNC\r
/*\r
- FreeRTOS V8.0.1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
+ FreeRTOS V8.0.1 - 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
-stop\r
-pause 500\r
reset\r
stop\r
#reset\r
\r
info memory\r
memory S:0x00000000 S:0x07ffffff ro\r
+memory S:0x08000000 S:0x0fffffff cache\r
memory S:0x3fffff80 S:0x3fffffff nocache noverify\r
memory S:0xfcfe0000 S:0xfcfeffff nocache noverify\r
\r
\r
# ;*Writing to On-Chip Data-Retention RAM is enabled.\r
# ;SYSCR3.RRAMWE3=RRAMWE2=RRAMWE1=RRAMWE0=1\r
-mem set 0xfcfe0408 32 0xf\r
+memory set S:0xFCFE0408 0 {(unsigned char)0x0F}\r
+x/1b 0xfcfe0408\r
\r
######################################\r
# CS0 Port Setting ##\r
mem set 0xfcfe3620 16 0x0000 # PFCE8\r
mem set 0xfcfe3520 16 0x0000 # PFC8\r
mem set 0xfcfe7220 16 0xffff # PIPC8\r
-# P7_6(WE0#), P7_8(RD#), P7_0(CS0#),\r
-mem set 0xfcfe341c 16 0xff41 # PMC7\r
-mem set 0xfcfe3A1c 16 0x0000 # PFCAE7\r
-mem set 0xfcfe361c 16 0x0000 # PFCE7\r
-mem set 0xfcfe351c 16 0x0000 # PFC7\r
-mem set 0xfcfe721c 16 0xff41 # PIPC7\r
# P3_7(CS1#),\r
mem set 0xfcfe340c 16 0x0080 # PMC3\r
mem set 0xfcfe3A0c 16 0x0080 # PFCAE3\r
mem set 0xfcfe350c 16 0x0000 # PFC3\r
mem set 0xfcfe720c 16 0x0080 # PIPC3\r
\r
+# SRSR - SDRAM Setup?\r
+# P7_8(RD#), P7_7(WE1#), P7_6(WE0#), P7_5(RD/WR#), P7_4(CKE), P7_3(CAS#), P7_2(RAS#), P7_1(CS3#), P7_0(CS0#)\r
+mem set 0xfcfe341c 16 0xffff # PMC7\r
+mem set 0xfcfe3A1c 16 0x0000 # PFCAE7\r
+mem set 0xfcfe361c 16 0x0000 # PFCE7\r
+mem set 0xfcfe351c 16 0x0000 # PFC7\r
+mem set 0xfcfe721c 16 0xffff # PIPC7\r
+# P5_8(CS2#),\r
+mem set 0xfcfe3414 16 0x0100 # PMC5\r
+mem set 0xfcfe3A14 16 0x0100 # PFCAE5\r
+mem set 0xfcfe3614 16 0x0000 # PFCE5\r
+mem set 0xfcfe3514 16 0x0100 # PFC5\r
+mem set 0xfcfe7214 16 0x0100 # PIPC5\r
+\r
+# disable verify on SDRAM setup registers\r
+memory S:0x3fffc000 S:0x3fffffff nocache noverify\r
+\r
+######################################\r
+# CS2 SDRAM Setting ##\r
+######################################\r
+mem set 0x3fffc00c 32 0x00004C00 # CS2BCR - SDRAM\r
+mem set 0x3fffc030 32 0x00000080 # CS2WCR - SDRAM\r
+mem set 0x3fffd040 16 0x0000 # SDRAM_MODE_CS2\r
+\r
+######################################\r
+# CS3 SDRAM Setting ##\r
+######################################\r
+wait 0.5s\r
+mem set 0x3fffc010 32 0x00004C00 # CS3BCR - SDRAM\r
+mem set 0x3fffc034 32 0x00002492 # CS3WCR - SDRAM\r
+mem set 0x3fffc04c 32 0x00120812 # SDCR\r
+mem set 0x3fffc058 32 0xA55A0020 # RTCOR\r
+mem set 0x3fffc050 32 0xA55A0010 # RTCSR\r
+mem set 0x3fffe040 16 0x0000 # SDRAM_MODE_CS3\r
+# SRSR - SDRAM Setup?\r
\r
+#SRSR - Not used - updated to include SDRAM setup\r
+# P7_6(WE0#), P7_8(RD#), P7_0(CS0#),\r
+#mem set 0xfcfe341c 16 0xff41 # PMC7\r
+#mem set 0xfcfe3A1c 16 0x0000 # PFCAE7\r
+#mem set 0xfcfe361c 16 0x0000 # PFCE7\r
+#mem set 0xfcfe351c 16 0x0000 # PFC7\r
+#mem set 0xfcfe721c 16 0xff41 # PIPC7\r
+#SRSR - Not used - updated to include SDRAM setup\r
void vAssertCalled( const char * pcFile, unsigned long ulLine );\r
#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ );\r
\r
+/* If configTASK_RETURN_ADDRESS is not defined then a task that attempts to\r
+return from its implementing function will end up in a "task exit error"\r
+function - which contains a call to configASSERT(). However this can give GCC\r
+some problems when it tries to unwind the stack, as the exit error function has\r
+nothing to return to. To avoid this define configTASK_RETURN_ADDRESS to 0. */\r
+#define configTASK_RETURN_ADDRESS NULL\r
\r
\r
/****** Hardware specific settings. *******************************************/\r
\r
int main( void )\r
{\r
-extern void main_lwIP( void );\r
-\r
/* Configure the hardware ready to run the demo. */\r
prvSetupHardware();\r
\r
ser115200\r
} eBaud;\r
\r
-xComPortHandle xSerialPortInitMinimal( uint32_t ulWantedBaud, UBaseType_t uxQueueLength );\r
-xComPortHandle xSerialPortInit( eCOMPort ePort, eBaud eWantedBaud, eParity eWantedParity, eDataBits eWantedDataBits, eStopBits eWantedStopBits, UBaseType_t uxBufferLength );\r
-void vSerialPutString( xComPortHandle pxPort, const signed char * const pcString, uint16_t usStringLength );\r
-BaseType_t xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime );\r
-BaseType_t xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime );\r
-BaseType_t xSerialWaitForSemaphore( xComPortHandle xPort );\r
+xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned portBASE_TYPE uxQueueLength );\r
+xComPortHandle xSerialPortInit( eCOMPort ePort, eBaud eWantedBaud, eParity eWantedParity, eDataBits eWantedDataBits, eStopBits eWantedStopBits, unsigned portBASE_TYPE uxBufferLength );\r
+void vSerialPutString( xComPortHandle pxPort, const signed char * const pcString, unsigned short usStringLength );\r
+signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime );\r
+signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime );\r
+portBASE_TYPE xSerialWaitForSemaphore( xComPortHandle xPort );\r
void vSerialClose( xComPortHandle xPort );\r
\r
#endif\r
GCC_STRING=4.7-GNURX_v14.01
VERSION_IDE=
ACTIVE_CONFIGURATION=HardwareDebug
-E2STUDIO_VERSION=3.0.0.22
+E2STUDIO_VERSION=3.0.1.09
<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" env-hash="-1879026215548195910" id="RXGCCBuiltinSpecsDetector" keep-relative-paths="false" name="Renesas GCCBuildinCompilerSettings" options-hash="1142094570" parameter="rx-elf-gcc -E -P -v -dD ${INPUTS} -mcpu=rx600 -mlittle-endian-data" prefer-non-shared="true">\r
+ <provider class="com.renesas.cdt.common.build.spec.RXGCCBuiltinSpecsDetector" console="false" env-hash="982537399514949188" id="RXGCCBuiltinSpecsDetector" keep-relative-paths="false" name="Renesas GCCBuildinCompilerSettings" options-hash="1142094570" 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
<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.ioview.dsf.registerSelection" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <selectedRegisterList ioFilePath="C:\DevTools\Renesas\e2_studio\internal\IoFiles\RX\RX64M.sfrx"/> "/>\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
#ifndef FREERTOS_CONFIG_H\r
#define FREERTOS_CONFIG_H\r
\r
-/* Hardware specifics. */\r
-#include "iodefine.h"\r
-\r
/* Prevent Renesas headers redefining some stdint.h types. */\r
#define __TYPEDEF__ 1\r
\r
#include "IntQueueTimer.h"\r
#include "IntQueue.h"\r
\r
+/* Hardware specifics. */\r
+#include "iodefine.h"\r
+#include "rskrx64mdef.h"\r
+\r
#define IPR_PERIB_INTB128 128\r
#define IPR_PERIB_INTB129 129\r
#define IER_PERIB_INTB128 0x10\r
#include "partest.h"\r
\r
/* Hardware specifics. */\r
+#include "iodefine.h"\r
#include "rskrx64mdef.h"\r
\r
#define partestNUM_LEDS ( 4 )\r
#include "QueueOverwrite.h"\r
#include "EventGroupsDemo.h"\r
\r
+/* Hardware specifics. */\r
+#include "iodefine.h"\r
+#include "rskrx64mdef.h"\r
+\r
/* Set option bytes */\r
#pragma address OFS0_location = 0xFFFFFF8CUL\r
#pragma address OFS1_location = 0xFFFFFF88UL\r
VERSION=v2.01.00
TC_INSTALL=C:\Devtools\Renesas\RX\2_1_0\
VERSION_IDE=
-E2STUDIO_VERSION=3.0.0.22
ACTIVE_CONFIGURATION=HardwareDebug
+E2STUDIO_VERSION=3.0.1.09
#ifndef FREERTOS_CONFIG_H\r
#define FREERTOS_CONFIG_H\r
\r
-/* Hardware specifics. */\r
-#include "r_cg_iodefine.h"\r
-\r
/* Prevent Renesas headers redefining some stdint.h types. */\r
#define __TYPEDEF__ 1\r
\r
* Author: WarnerR\r
*/\r
\r
-#include "r_cg_iodefine.h"\r
+#include "../iodefine.h"\r
#include "stdint.h"\r
\r
#define PRC0_BIT 0x0001\r
+++ /dev/null
-/********************************************************************************/\r
-/* */\r
-/* Device : RX/RX600/RX64M */\r
-/* File Name : iodefine.h */\r
-/* Abstract : Definition of I/O Register. */\r
-/* History : V0.8C (2014-03-22) [Hardware Manual Revision : 0.80] */\r
-/* Note : This is a typical example. */\r
-/* */\r
-/* Copyright(c) 2014 Renesas Electronics Corp. */\r
-/* And Renesas Solutions Corp. ,All Rights Reserved. */\r
-/* */\r
-/********************************************************************************/\r
-/* */\r
-/* DESCRIPTION : Definition of ICU Register */\r
-/* CPU TYPE : RX64M */\r
-/* */\r
-/* Usage : IR,DTCER,IER,IPR of ICU Register */\r
-/* The following IR, DTCE, IEN, IPR macro functions simplify usage. */\r
-/* The bit access operation is "Bit_Name(interrupt source,name)". */\r
-/* A part of the name can be omitted. */\r
-/* for example : */\r
-/* IR(BSC,BUSERR) = 0; expands to : */\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
-/* for example : */\r
-/* #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0)) expands to : */\r
-/* #pragma interrupt INT_IRQ0(vect=64) */\r
-/* #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0)) expands to : */\r
-/* #pragma interrupt INT_CMT0_CMI0(vect=28) */\r
-/* */\r
-/* Usage : MSTPCRA,MSTPCRB,MSTPCRC of SYSTEM Register */\r
-/* The bit access operation is "MSTP(name)". */\r
-/* The name that can be used is a macro name defined with "iodefine.h". */\r
-/* for example : */\r
-/* MSTP(TMR2) = 0; // TMR2,TMR3,TMR23 expands to : */\r
-/* SYSTEM.MSTPCRA.BIT.MSTPA4 = 0; */\r
-/* MSTP(SCI0) = 0; // SCI0,SMCI0 expands to : */\r
-/* SYSTEM.MSTPCRB.BIT.MSTPB31 = 0; */\r
-/* MSTP(MTU4) = 0; // MTU,MTU0,MTU1,MTU2,MTU3,MTU4,... expands to : */\r
-/* SYSTEM.MSTPCRA.BIT.MSTPA9 = 0; */\r
-/* MSTP(TPU4) = 0; // TPU0,TPU1,TPU2,TPU3,TPU4,TPU5 expands to : */\r
-/* SYSTEM.MSTPCRA.BIT.MSTPA13 = 0; */\r
-/* MSTP(CMT3) = 0; // CMT2,CMT3 expands to : */\r
-/* SYSTEM.MSTPCRA.BIT.MSTPA14 = 0; */\r
-/* */\r
-/* */\r
-/********************************************************************************/\r
-#ifndef __RX64MIODEFINE_HEADER__\r
-#define __RX64MIODEFINE_HEADER__\r
-#pragma bit_order left\r
-#pragma unpack\r
-struct st_bsc {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char STSCLR:1;\r
- } BIT;\r
- } BERCLR;\r
- char wk0[3];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :6;\r
- unsigned char TOEN:1;\r
- unsigned char IGAEN:1;\r
- } BIT;\r
- } BEREN;\r
- char wk1[3];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char MST:3;\r
- unsigned char :2;\r
- unsigned char TO:1;\r
- unsigned char IA:1;\r
- } BIT;\r
- } BERSR1;\r
- char wk2[1];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short ADDR:13;\r
- } BIT;\r
- } BERSR2;\r
- char wk3[4];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :2;\r
- unsigned short BPEB:2;\r
- unsigned short BPFB:2;\r
- unsigned short BPHB:2;\r
- unsigned short BPGB:2;\r
- unsigned short BPIB:2;\r
- unsigned short BPRO:2;\r
- unsigned short BPRA:2;\r
- } BIT;\r
- } BUSPRI;\r
- char wk4[7408];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short PRMOD:1;\r
- unsigned short :5;\r
- unsigned short PWENB:1;\r
- unsigned short PRENB:1;\r
- unsigned short :4;\r
- unsigned short EWENB:1;\r
- unsigned short :2;\r
- unsigned short WRMOD:1;\r
- } BIT;\r
- } CS0MOD;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :3;\r
- unsigned long CSRWAIT:5;\r
- unsigned long :3;\r
- unsigned long CSWWAIT:5;\r
- unsigned long :5;\r
- unsigned long CSPRWAIT:3;\r
- unsigned long :5;\r
- unsigned long CSPWWAIT:3;\r
- } BIT;\r
- } CS0WCR1;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :1;\r
- unsigned long CSON:3;\r
- unsigned long :1;\r
- unsigned long WDON:3;\r
- unsigned long :1;\r
- unsigned long WRON:3;\r
- unsigned long :1;\r
- unsigned long RDON:3;\r
- unsigned long :2;\r
- unsigned long AWAIT:2;\r
- unsigned long :1;\r
- unsigned long WDOFF:3;\r
- unsigned long :1;\r
- unsigned long CSWOFF:3;\r
- unsigned long :1;\r
- unsigned long CSROFF:3;\r
- } BIT;\r
- } CS0WCR2;\r
- char wk5[6];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short PRMOD:1;\r
- unsigned short :5;\r
- unsigned short PWENB:1;\r
- unsigned short PRENB:1;\r
- unsigned short :4;\r
- unsigned short EWENB:1;\r
- unsigned short :2;\r
- unsigned short WRMOD:1;\r
- } BIT;\r
- } CS1MOD;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :3;\r
- unsigned long CSRWAIT:5;\r
- unsigned long :3;\r
- unsigned long CSWWAIT:5;\r
- unsigned long :5;\r
- unsigned long CSPRWAIT:3;\r
- unsigned long :5;\r
- unsigned long CSPWWAIT:3;\r
- } BIT;\r
- } CS1WCR1;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :1;\r
- unsigned long CSON:3;\r
- unsigned long :1;\r
- unsigned long WDON:3;\r
- unsigned long :1;\r
- unsigned long WRON:3;\r
- unsigned long :1;\r
- unsigned long RDON:3;\r
- unsigned long :2;\r
- unsigned long AWAIT:2;\r
- unsigned long :1;\r
- unsigned long WDOFF:3;\r
- unsigned long :1;\r
- unsigned long CSWOFF:3;\r
- unsigned long :1;\r
- unsigned long CSROFF:3;\r
- } BIT;\r
- } CS1WCR2;\r
- char wk6[6];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short PRMOD:1;\r
- unsigned short :5;\r
- unsigned short PWENB:1;\r
- unsigned short PRENB:1;\r
- unsigned short :4;\r
- unsigned short EWENB:1;\r
- unsigned short :2;\r
- unsigned short WRMOD:1;\r
- } BIT;\r
- } CS2MOD;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :3;\r
- unsigned long CSRWAIT:5;\r
- unsigned long :3;\r
- unsigned long CSWWAIT:5;\r
- unsigned long :5;\r
- unsigned long CSPRWAIT:3;\r
- unsigned long :5;\r
- unsigned long CSPWWAIT:3;\r
- } BIT;\r
- } CS2WCR1;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :1;\r
- unsigned long CSON:3;\r
- unsigned long :1;\r
- unsigned long WDON:3;\r
- unsigned long :1;\r
- unsigned long WRON:3;\r
- unsigned long :1;\r
- unsigned long RDON:3;\r
- unsigned long :2;\r
- unsigned long AWAIT:2;\r
- unsigned long :1;\r
- unsigned long WDOFF:3;\r
- unsigned long :1;\r
- unsigned long CSWOFF:3;\r
- unsigned long :1;\r
- unsigned long CSROFF:3;\r
- } BIT;\r
- } CS2WCR2;\r
- char wk7[6];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short PRMOD:1;\r
- unsigned short :5;\r
- unsigned short PWENB:1;\r
- unsigned short PRENB:1;\r
- unsigned short :4;\r
- unsigned short EWENB:1;\r
- unsigned short :2;\r
- unsigned short WRMOD:1;\r
- } BIT;\r
- } CS3MOD;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :3;\r
- unsigned long CSRWAIT:5;\r
- unsigned long :3;\r
- unsigned long CSWWAIT:5;\r
- unsigned long :5;\r
- unsigned long CSPRWAIT:3;\r
- unsigned long :5;\r
- unsigned long CSPWWAIT:3;\r
- } BIT;\r
- } CS3WCR1;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :1;\r
- unsigned long CSON:3;\r
- unsigned long :1;\r
- unsigned long WDON:3;\r
- unsigned long :1;\r
- unsigned long WRON:3;\r
- unsigned long :1;\r
- unsigned long RDON:3;\r
- unsigned long :2;\r
- unsigned long AWAIT:2;\r
- unsigned long :1;\r
- unsigned long WDOFF:3;\r
- unsigned long :1;\r
- unsigned long CSWOFF:3;\r
- unsigned long :1;\r
- unsigned long CSROFF:3;\r
- } BIT;\r
- } CS3WCR2;\r
- char wk8[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 CCLR: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 CMWIE: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 CMWE: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
- 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
- char wk1[17783];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :6;\r
- unsigned char AMADSEL1:1;\r
- } BIT;\r
- } DAADUSR;\r
-};\r
-\r
-struct st_dmac {\r
- 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
- 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
- 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
- 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 ECC2ERR:1;\r
- } BIT;\r
- } ECCRAM2STS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char ECC1STSEN:1;\r
- } BIT;\r
- } ECCRAM1STSEN;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char ECC1ERR:1;\r
- } BIT;\r
- } ECCRAM1STS;\r
-// union {\r
-// unsigned char BYTE;\r
-// struct {\r
-// unsigned char KW:7;\r
-// unsigned char PRCR:1;\r
-// } BIT;\r
-// } ECCRAMPRCR;\r
- unsigned char ECCRAMPRCR;\r
- char wk0[3];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :17;\r
- unsigned long ECC2EAD:12;\r
- } BIT;\r
- } ECCRAM2ECAD;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :17;\r
- unsigned long ECC1EAD:12;\r
- } BIT;\r
- } ECCRAM1ECAD;\r
-// union {\r
-// unsigned char BYTE;\r
-// struct {\r
-// unsigned char KW2:7;\r
-// unsigned char PRCR2:1;\r
-// } BIT;\r
-// } ECCRAMPRCR2;\r
- unsigned char ECCRAMPRCR2;\r
- char wk1[3];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- 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
- void *TDLAR;\r
- char wk3[4];\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 :24;\r
- unsigned long RMAFCE:1;\r
- unsigned long :2;\r
- unsigned long RRFCE: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 :31;\r
- unsigned long RNR:1;\r
- } BIT;\r
- } RMCR;\r
- char wk11[8];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long UNDER:16;\r
- } BIT;\r
- } TFUCR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long OVER:16;\r
- } BIT;\r
- } RFOCR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :31;\r
- unsigned long ELB:1;\r
- } BIT;\r
- } IOSR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :13;\r
- unsigned long RFFO:3;\r
- unsigned long :13;\r
- unsigned long RFDO:3;\r
- } BIT;\r
- } FCFTR;\r
- char wk12[4];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :14;\r
- unsigned long PADS:2;\r
- unsigned long :10;\r
- unsigned long PADR:6;\r
- } BIT;\r
- } RPADIR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :27;\r
- unsigned long TIM:1;\r
- unsigned long :3;\r
- unsigned long TIS:1;\r
- } BIT;\r
- } TRIMD;\r
- char wk13[72];\r
- void *RBWAR;\r
- void *RDFAR;\r
- char wk14[4];\r
- void *TBRAR;\r
- void *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
- unsigned long 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[8];\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
- unsigned long 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[8];\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 :19;\r
-// unsigned long MACE:1;\r
-// unsigned long :4;\r
-// unsigned long OVRE3:1;\r
-// unsigned long OVRE2:1;\r
-// unsigned long OVRE1:1;\r
-// unsigned long OVRE0:1;\r
-// } BIT;\r
-// } PRSR;\r
- unsigned long PRSR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :2;\r
- unsigned long URE1:1;\r
- unsigned long URE0:1;\r
- unsigned long :19;\r
- unsigned long MACE:1;\r
- unsigned long :4;\r
- unsigned long OVRE3:1;\r
- unsigned long OVRE2:1;\r
- unsigned long OVRE1:1;\r
- unsigned long OVRE0:1;\r
- } BIT;\r
- } PRIPR;\r
- char wk15[8];\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 :22;\r
- unsigned long FWD1:1;\r
- unsigned long FWD0:1;\r
- unsigned long :7;\r
- unsigned long MOD:1;\r
- } BIT;\r
- } TRNMR;\r
- 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_eptpc0 {\r
-// union {\r
-// unsigned long LONG;\r
-// struct {\r
-// unsigned long :14;\r
-// unsigned long GENDN:1;\r
-// unsigned long RESDN:1;\r
-// unsigned long :1;\r
-// unsigned long INFABT:1;\r
-// unsigned long SRTABT:1;\r
-// unsigned long RECLP:1;\r
-// unsigned long :2;\r
-// unsigned long PDRPMR:1;\r
-// unsigned long :2;\r
-// unsigned long DRQOVR:1;\r
-// unsigned long INTDEV:1;\r
-// unsigned long DRPTO:1;\r
-// unsigned long :1;\r
-// unsigned long MPDUD:1;\r
-// unsigned long INTCHG:1;\r
-// unsigned long OFMUD:1;\r
-// } BIT;\r
-// } SYSR;\r
- unsigned long SYSR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :14;\r
- unsigned long GENDN:1;\r
- unsigned long RESDN:1;\r
- unsigned long :1;\r
- unsigned long INFABT:1;\r
- unsigned long SRTABT:1;\r
- unsigned long RECLP:1;\r
- unsigned long :2;\r
- unsigned long PDRPMR:1;\r
- unsigned long :2;\r
- unsigned long DRQOVR:1;\r
- unsigned long INTDEV:1;\r
- unsigned long DRPTO:1;\r
- unsigned long :1;\r
- unsigned long MPDUD:1;\r
- unsigned long INTCHG:1;\r
- unsigned long OFMUD:1;\r
- } BIT;\r
- } SYIPR;\r
- char wk0[8];\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
- char wk1[4];\r
- unsigned long SYIPADDRR;\r
- char wk2[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 wk3[8];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long FLAG15:1;\r
- unsigned long FLAG14:1;\r
- unsigned long FLAG13:1;\r
- unsigned long FLAG12:1;\r
- unsigned long FLAG11:1;\r
- unsigned long FLAG10:1;\r
- unsigned long FLAG9:1;\r
- unsigned long FLAG8:1;\r
- unsigned long FLAG7:1;\r
- unsigned long FLAG6:1;\r
- unsigned long FLAG5:1;\r
- unsigned long FLAG4:1;\r
- unsigned long FLAG3:1;\r
- unsigned long FLAG2:1;\r
- unsigned long FLAG1:1;\r
- unsigned long FLAG0:1;\r
- } BIT;\r
- } ANFR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long FLAG15:1;\r
- unsigned long FLAG14:1;\r
- unsigned long FLAG13:1;\r
- unsigned long FLAG12:1;\r
- unsigned long FLAG11:1;\r
- unsigned long FLAG10:1;\r
- unsigned long FLAG9:1;\r
- unsigned long FLAG8:1;\r
- unsigned long FLAG7:1;\r
- unsigned long FLAG6:1;\r
- unsigned long FLAG5:1;\r
- unsigned long FLAG4:1;\r
- unsigned long FLAG3:1;\r
- unsigned long FLAG2:1;\r
- unsigned long FLAG1:1;\r
- unsigned long FLAG0:1;\r
- } BIT;\r
- } SYNFR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long FLAG15:1;\r
- unsigned long FLAG14:1;\r
- unsigned long FLAG13:1;\r
- unsigned long FLAG12:1;\r
- unsigned long FLAG11:1;\r
- unsigned long FLAG10:1;\r
- unsigned long FLAG9:1;\r
- unsigned long FLAG8:1;\r
- unsigned long FLAG7:1;\r
- unsigned long FLAG6:1;\r
- unsigned long FLAG5:1;\r
- unsigned long FLAG4:1;\r
- unsigned long FLAG3:1;\r
- unsigned long FLAG2:1;\r
- unsigned long FLAG1:1;\r
- unsigned long FLAG0:1;\r
- } BIT;\r
- } DYRQFR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long FLAG15:1;\r
- unsigned long FLAG14:1;\r
- unsigned long FLAG13:1;\r
- unsigned long FLAG12:1;\r
- unsigned long FLAG11:1;\r
- unsigned long FLAG10:1;\r
- unsigned long FLAG9:1;\r
- unsigned long FLAG8:1;\r
- unsigned long FLAG7:1;\r
- unsigned long FLAG6:1;\r
- unsigned long FLAG5:1;\r
- unsigned long FLAG4:1;\r
- unsigned long FLAG3:1;\r
- unsigned long FLAG2:1;\r
- unsigned long FLAG1:1;\r
- unsigned long FLAG0:1;\r
- } BIT;\r
- } DYRPFR;\r
- unsigned long SYCIDRU;\r
- 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 wk4[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 wk5[12];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :1;\r
- unsigned long PDFUP:3;\r
- unsigned long :1;\r
- unsigned long PDRP:3;\r
- unsigned long :1;\r
- unsigned long PDRQ:3;\r
- unsigned long :1;\r
- unsigned long DRP:3;\r
- unsigned long :1;\r
- unsigned long DRQ:3;\r
- unsigned long :1;\r
- unsigned long FUP:3;\r
- unsigned long :1;\r
- unsigned long SYNC:3;\r
- unsigned long :2;\r
- unsigned long ANCE:2;\r
- } BIT;\r
- } SYRFL1R;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :2;\r
- unsigned long ILL:2;\r
- unsigned long :22;\r
- unsigned long SIG:2;\r
- unsigned long :2;\r
- unsigned long MAN:2;\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 wk6[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 wk7[20];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :8;\r
- unsigned long DREQ: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 DRESP: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 wk8[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 wk9[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 wk10[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 :15;\r
- unsigned long EXTPRM:1;\r
- unsigned long :13;\r
- unsigned long ENB:1;\r
- unsigned long PRT:1;\r
- unsigned long SEL:1;\r
- } BIT;\r
- } FFLTR;\r
- char wk11[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 wk12[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 :11;\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
- 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
- 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_flash {\r
- char wk0[2];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :6;\r
- unsigned char FLWE:2;\r
- } BIT;\r
- } FWEPROR;\r
- char wk1[7806329];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char CFAE:1;\r
- unsigned char :2;\r
- unsigned char CMDLK:1;\r
- unsigned char DFAE:1;\r
- unsigned char :2;\r
- unsigned char ECRCT:1;\r
- } BIT;\r
- } FASTAT;\r
- char wk2[3];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char CFAEIE:1;\r
- unsigned char :2;\r
- unsigned char CMDLKIE:1;\r
- unsigned char DFAEIE:1;\r
- unsigned char :2;\r
- unsigned char ECRCTIE:1;\r
- } BIT;\r
- } FAEINT;\r
- char wk3[3];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char FRDYIE:1;\r
- } BIT;\r
- } FRDYIE;\r
- char wk4[23];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long FSADDR:32;\r
- } BIT;\r
- } FSADDR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long FEADDR:32;\r
- } BIT;\r
- } FEADDR;\r
- char wk5[28];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short KEY:8;\r
- unsigned short :6;\r
- unsigned short FRAMTRAN:1;\r
- unsigned short FCRME:1;\r
- } BIT;\r
- } FCURAME;\r
- char wk6[42];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long FRDY:1;\r
- unsigned long ILGLERR:1;\r
- unsigned long ERSERR:1;\r
- unsigned long PRGERR:1;\r
- unsigned long SUSRDY:1;\r
- unsigned long DBFULL:1;\r
- unsigned long ERSSPD:1;\r
- unsigned long PRGSPD:1;\r
- unsigned long FCUERR:1;\r
- unsigned long FLWEERR:1;\r
- unsigned long :4;\r
- unsigned long FRDTCT:1;\r
- unsigned long FRCRCT:1;\r
- } BIT;\r
- } FSTATR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short KEY:8;\r
- unsigned short FENTRYD:1;\r
- unsigned short :6;\r
- unsigned short FENTRYC:1;\r
- } BIT;\r
- } FENTRYR;\r
- char wk7[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short KEY:8;\r
- unsigned short :7;\r
- unsigned short FPROTCN:1;\r
- } BIT;\r
- } FPROTR;\r
- char wk8[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short KEY:8;\r
- unsigned short :7;\r
- unsigned short SUINIT:1;\r
- } BIT;\r
- } FSUINITR;\r
- char wk9[2];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char FLOCKST:1;\r
- } BIT;\r
- } FLKSTAT;\r
- char wk10[15];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short CMDR:8;\r
- unsigned short PCMDR:8;\r
- } BIT;\r
- } FCMDR;\r
- char wk11[30];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :8;\r
- unsigned short PEERRST:8;\r
- } BIT;\r
- } FPESTAT;\r
- char wk12[14];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char BCDIR:1;\r
- } BIT;\r
- } FBCCNT;\r
- char wk13[3];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char BCST:1;\r
- } BIT;\r
- } FBCSTAT;\r
- char wk14[3];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :13;\r
- unsigned long PSADR:19;\r
- } BIT;\r
- } FPSADDR;\r
- char wk15[4];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :15;\r
- unsigned short ESUSPMD:1;\r
- } BIT;\r
- } FCPSR;\r
- char wk16[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short KEY:8;\r
- unsigned short PCKA:8;\r
- } BIT;\r
- } FPCKAR;\r
-};\r
-\r
-struct st_gpt {\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :12;\r
- unsigned short CST3:1;\r
- unsigned short CST2:1;\r
- unsigned short CST1:1;\r
- unsigned short CST0:1;\r
- } BIT;\r
- } GTSTR;\r
- union {\r
- 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 short CPHW3:2;\r
- unsigned short CPHW2:2;\r
- unsigned short CPHW1:2;\r
- unsigned short CPHW0:2;\r
- unsigned short CSHW3:2;\r
- unsigned short CSHW2:2;\r
- unsigned short CSHW1:2;\r
- unsigned short CSHW0:2;\r
- } BIT;\r
- } GTHSCR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :4;\r
- unsigned short CCSW3:1;\r
- unsigned short CCSW2:1;\r
- unsigned short CCSW1:1;\r
- unsigned short CCSW0:1;\r
- unsigned short CCHW3:2;\r
- unsigned short CCHW2:2;\r
- unsigned short CCHW1:2;\r
- unsigned short CCHW0:2;\r
- } BIT;\r
- } GTHCCR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short CSHSL3:4;\r
- unsigned short CSHSL2:4;\r
- unsigned short CSHSL1:4;\r
- unsigned short CSHSL0:4;\r
- } BIT;\r
- } GTHSSR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short CSHPL3:4;\r
- unsigned short CSHPL2:4;\r
- unsigned short CSHPL1:4;\r
- unsigned short CSHPL0:4;\r
- } BIT;\r
- } GTHPSR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :12;\r
- unsigned short WP3:1;\r
- unsigned short WP2:1;\r
- unsigned short WP1:1;\r
- unsigned short WP0:1;\r
- } BIT;\r
- } GTWP;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :2;\r
- unsigned short SYNC3:2;\r
- unsigned short :2;\r
- unsigned short SYNC2:2;\r
- unsigned short :2;\r
- unsigned short SYNC1:2;\r
- unsigned short :2;\r
- unsigned short SYNC0:2;\r
- } BIT;\r
- } GTSYNC;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short GTETRGEN:1;\r
- unsigned short GTENFCS:2;\r
- unsigned short :11;\r
- unsigned short ETINEN:1;\r
- unsigned short ETIPEN:1;\r
- } BIT;\r
- } GTETINT;\r
- char wk0[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short BD33:1;\r
- unsigned short BD32:1;\r
- unsigned short BD31:1;\r
- unsigned short BD30:1;\r
- unsigned short BD23:1;\r
- unsigned short BD22:1;\r
- unsigned short BD21:1;\r
- unsigned short BD20:1;\r
- unsigned short BD13:1;\r
- unsigned short BD12:1;\r
- unsigned short BD11:1;\r
- unsigned short BD10:1;\r
- unsigned short BD03:1;\r
- unsigned short BD02:1;\r
- unsigned short BD01:1;\r
- unsigned short BD00:1;\r
- } BIT;\r
- } GTBDR;\r
- char wk1[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :12;\r
- unsigned short SWP3:1;\r
- unsigned short SWP2:1;\r
- unsigned short SWP1:1;\r
- unsigned short SWP0:1;\r
- } BIT;\r
- } GTSWP;\r
-};\r
-\r
-struct st_gpt0 {\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short OBHLD:1;\r
- unsigned short OBDFLT:1;\r
- unsigned short GTIOB:6;\r
- unsigned short OAHLD:1;\r
- unsigned short OADFLT:1;\r
- unsigned short GTIOA:6;\r
- } BIT;\r
- } GTIOR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short ADTRBDEN:1;\r
- unsigned short ADTRBUEN:1;\r
- unsigned short ADTRADEN:1;\r
- unsigned short ADTRAUEN:1;\r
- unsigned short EINT:1;\r
- unsigned short :3;\r
- unsigned short GTINTPR:2;\r
- unsigned short GTINTF:1;\r
- unsigned short GTINTE:1;\r
- unsigned short GTINTD:1;\r
- unsigned short GTINTC:1;\r
- unsigned short GTINTB:1;\r
- unsigned short GTINTA:1;\r
- } BIT;\r
- } GTINTAD;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :2;\r
- unsigned short CCLR:2;\r
- unsigned short :2;\r
- unsigned short TPCS:2;\r
- unsigned short :5;\r
- unsigned short MD:3;\r
- } BIT;\r
- } GTCR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :1;\r
- unsigned short ADTDB:1;\r
- unsigned short ADTTB:2;\r
- unsigned short :1;\r
- unsigned short ADTDA:1;\r
- unsigned short ADTTA:2;\r
- unsigned short :1;\r
- unsigned short CCRSWT:1;\r
- unsigned short PR:2;\r
- unsigned short CCRB:2;\r
- unsigned short CCRA:2;\r
- } BIT;\r
- } GTBER;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :14;\r
- unsigned short UDF:1;\r
- unsigned short UD:1;\r
- } BIT;\r
- } GTUDC;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :1;\r
- unsigned short ADTBL:1;\r
- unsigned short :1;\r
- unsigned short ADTAL:1;\r
- unsigned short :1;\r
- unsigned short IVTT:3;\r
- unsigned short IVTC:2;\r
- unsigned short ITLF:1;\r
- unsigned short ITLE:1;\r
- unsigned short ITLD:1;\r
- unsigned short ITLC:1;\r
- unsigned short ITLB:1;\r
- unsigned short ITLA:1;\r
- } BIT;\r
- } GTITC;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short TUCF:1;\r
- unsigned short :3;\r
- unsigned short DTEF:1;\r
- unsigned short ITCNT:3;\r
- } BIT;\r
- } GTST;\r
- unsigned short GTCNT;\r
- 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 :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 :2;\r
- unsigned char LVD2CLR:1;\r
- unsigned char LVD1CLR:1;\r
- unsigned char IWDTCLR:1;\r
- unsigned char WDTCLR:1;\r
- unsigned char OSTCLR:1;\r
- unsigned char NMICLR:1;\r
- } BIT;\r
- } NMICLR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :4;\r
- unsigned char NMIMD:1;\r
- } BIT;\r
- } NMICR;\r
- char 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
- char wk17[44];\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
- char wk19[44];\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
- } GCRBE0;\r
- char wk21[124];\r
- union {\r
- unsigned char BYTE;\r
-// struct {\r
-// unsigned char PIR7:1;\r
-// unsigned char PIR6:1;\r
-// unsigned char PIR5:1;\r
-// unsigned char PIR4:1;\r
-// unsigned char PIR3:1;\r
-// unsigned char PIR2:1;\r
-// unsigned char PIR1:1;\r
-// unsigned char PIR0:1;\r
-// } BIT;\r
- } 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[96];\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 wk24[56];\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 wk25[136];\r
- union {\r
- unsigned char BYTE;\r
-// struct {\r
-// unsigned char PIR7:1;\r
-// unsigned char PIR6:1;\r
-// unsigned char PIR5:1;\r
-// unsigned char PIR4:1;\r
-// unsigned char PIR3:1;\r
-// unsigned char PIR2:1;\r
-// unsigned char PIR1:1;\r
-// unsigned char PIR0:1;\r
-// } BIT;\r
- } 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 wk26[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_mmcif {\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 BLKSIZ: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 SRSPTO: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 SFSTBTDATTO:4;\r
- unsigned long SBTDATTO:4;\r
- } BIT;\r
- } CEBOOT;\r
-// union {\r
-// unsigned long LONG;\r
-// struct {\r
-// unsigned long :5;\r
-// unsigned long CMD12DRE:1;\r
-// unsigned long CMD12RBE:1;\r
-// unsigned long CMD12CRE:1;\r
-// unsigned long DTRANE:1;\r
-// unsigned long BUFRE:1;\r
-// unsigned long BUFWEN:1;\r
-// unsigned long BUFREN:1;\r
-// unsigned long :2;\r
-// unsigned long RBSYE:1;\r
-// unsigned long CRSPE:1;\r
-// unsigned long CMDVIO:1;\r
-// unsigned long BUFVIO:1;\r
-// unsigned long :2;\r
-// unsigned long WDATERR:1;\r
-// unsigned long RDATERR:1;\r
-// unsigned long RIDXERR:1;\r
-// unsigned long RSPERR:1;\r
-// unsigned long :3;\r
-// unsigned long CRCSTO:1;\r
-// unsigned long WDATTO:1;\r
-// unsigned long RDATTO:1;\r
-// unsigned long RBSYTO:1;\r
-// unsigned long RSPTO:1;\r
-// } BIT;\r
-// } CEINT;\r
- unsigned long 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 FSTBTDATTO: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 ADRHMS2: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
- } 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
- } BIT;\r
- } P05PFS;\r
- char wk5[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
- } 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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P22PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P23PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P24PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P25PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P26PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P50PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P51PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P52PFS;\r
- char wk7[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P56PFS;\r
- char wk8[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } P60PFS;\r
- char wk9[5];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\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
- char wk10[1];\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 wk11[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 :2;\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 :2;\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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PA5PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PA6PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PB2PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PB3PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PB4PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PB5PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PB6PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PC2PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PC3PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PC4PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\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 :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 :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 :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 :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 :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PF0PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PF1PFS;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PF2PFS;\r
- char wk12[2];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PF5PFS;\r
- char wk13[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 wk14[11];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char PSEL:6;\r
- } BIT;\r
- } PJ3PFS;\r
- char wk15[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 DMPER:1;\r
- unsigned long IMPER: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
- char wk2[1];\r
- unsigned short TCNT;\r
- unsigned short TGRA;\r
- unsigned short TGRB;\r
- unsigned short TGRC;\r
- unsigned short TGRD;\r
- char wk3[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
- char wk4[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :5;\r
- unsigned char TTSE:1;\r
- unsigned char TTSB:1;\r
- unsigned char TTSA:1;\r
- } BIT;\r
- } TBTM;\r
- char wk5[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
- } 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
- } 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
- } 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
- } 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[490];\r
- unsigned short TCNTU;\r
- unsigned short TGRU;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :6;\r
- unsigned char TPSC:2;\r
- } BIT;\r
- } TCRU;\r
- 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[11];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :5;\r
- unsigned char TGIE5U:1;\r
- unsigned char TGIE5V:1;\r
- unsigned char TGIE5W:1;\r
- } BIT;\r
- } TIER;\r
- char wk5[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 wk6[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
- 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
- } 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[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 wk10[33];\r
- unsigned short TGRE;\r
- char wk11[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
- } NFCR6;\r
-};\r
-\r
-struct st_mtu7 {\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
- } 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
- 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
- } NFCR7;\r
-};\r
-\r
-struct st_mtu8 {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char NFCS:2;\r
- unsigned char NFDEN:1;\r
- unsigned char NFCEN:1;\r
- unsigned char NFBEN:1;\r
- unsigned char NFAEN:1;\r
- } BIT;\r
- } NFCR8;\r
- char wk0[871];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char CCLR:3;\r
- unsigned char CKEG:2;\r
- unsigned char TPSC:3;\r
- } 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 :3;\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 wk1[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :5;\r
- unsigned char TPSC2:3;\r
- } BIT;\r
- } TCR2;\r
- char wk2[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
- } 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 short :3;\r
- unsigned short POE0F:1;\r
- unsigned short :3;\r
- unsigned short PIE1:1;\r
- unsigned short :6;\r
- unsigned short POE0M:2;\r
- } BIT;\r
- } ICSR1;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short OSF1:1;\r
- unsigned short :5;\r
- unsigned short OCE1:1;\r
- unsigned short OIE1:1;\r
- } BIT;\r
- } OCSR1;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :3;\r
- unsigned short POE4F:1;\r
- unsigned short :3;\r
- unsigned short PIE2:1;\r
- unsigned short :6;\r
- unsigned short POE4M:2;\r
- } BIT;\r
- } ICSR2;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short OSF2:1;\r
- unsigned short :5;\r
- unsigned short OCE2:1;\r
- unsigned short OIE2:1;\r
- } BIT;\r
- } OCSR2;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :3;\r
- unsigned short POE8F:1;\r
- unsigned short :2;\r
- unsigned short POE8E:1;\r
- unsigned short PIE3:1;\r
- unsigned short :6;\r
- unsigned short POE8M:2;\r
- } BIT;\r
- } ICSR3;\r
- union {\r
- 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 IC2ADDGPT23ZE:1;\r
- unsigned short IC1ADDGPT23ZE:1;\r
- unsigned short :3;\r
- unsigned short IC5ADDGPT01ZE:1;\r
- unsigned short :1;\r
- unsigned short IC3ADDGPT01ZE:1;\r
- unsigned short IC2ADDGPT01ZE:1;\r
- unsigned short IC1ADDGPT01ZE:1;\r
- } BIT;\r
- } POECR6;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :3;\r
- unsigned short POE10F:1;\r
- unsigned short :2;\r
- unsigned short POE10E:1;\r
- unsigned short PIE4:1;\r
- unsigned short :6;\r
- unsigned short POE10M:2;\r
- } BIT;\r
- } ICSR4;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :3;\r
- unsigned short POE11F:1;\r
- unsigned short :2;\r
- unsigned short POE11E:1;\r
- unsigned short PIE5:1;\r
- unsigned short :6;\r
- unsigned short POE11M:2;\r
- } BIT;\r
- } ICSR5;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :8;\r
- unsigned short OLSEN:1;\r
- unsigned short :1;\r
- unsigned short OLSG2B:1;\r
- unsigned short OLSG2A:1;\r
- unsigned short OLSG1B:1;\r
- unsigned short OLSG1A:1;\r
- unsigned short OLSG0B:1;\r
- unsigned short OLSG0A:1;\r
- } BIT;\r
- } ALR1;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :3;\r
- unsigned short OSTSTF:1;\r
- unsigned short :2;\r
- unsigned short OSTSTE:1;\r
- } BIT;\r
- } ICSR6;\r
- char wk0[2];\r
- 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 M3G0SEL: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 :1;\r
- unsigned char B4: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 :3;\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 :1;\r
- unsigned char B4: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
- } 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_ptpedmac {\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 :1;\r
- unsigned long RFCOF:1;\r
- unsigned long ADE:1;\r
- unsigned long :1;\r
- unsigned long TC:1;\r
- unsigned long TDE:1;\r
- unsigned long TFUF:1;\r
- unsigned long FR:1;\r
- unsigned long RDE:1;\r
- unsigned long RFOF:1;\r
- unsigned long :7;\r
- unsigned long MACE:1;\r
- unsigned long RPORT:1;\r
- unsigned long :2;\r
- unsigned long PVER:1;\r
- unsigned long TYPE:4;\r
- } BIT;\r
- } 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 :1;\r
- unsigned long RFCOFIP:1;\r
- unsigned long ADEIP:1;\r
- unsigned long :1;\r
- unsigned long TCIP:1;\r
- unsigned long TDEIP:1;\r
- unsigned long TFUFIP:1;\r
- unsigned long FRIP:1;\r
- unsigned long RDEIP:1;\r
- unsigned long RFOFIP:1;\r
- unsigned long :7;\r
- unsigned long MACEIP:1;\r
- unsigned long RPORTIP:1;\r
- unsigned long :2;\r
- unsigned long PVERIP:1;\r
- } BIT;\r
- } EESIPR;\r
- char wk6[4];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :24;\r
- unsigned long RPORTCE:1;\r
- unsigned long :2;\r
- unsigned long PVERCE:1;\r
- unsigned long TYPECE:4;\r
- } BIT;\r
- } 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 :31;\r
- unsigned long RNR:1;\r
- } BIT;\r
- } RMCR;\r
- char wk11[8];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long UNDER:16;\r
- } BIT;\r
- } TFUCR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :16;\r
- unsigned long OVER:16;\r
- } BIT;\r
- } RFOCR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :31;\r
- unsigned long ELB:1;\r
- } BIT;\r
- } IOSR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :13;\r
- unsigned long RFFO:3;\r
- unsigned long :13;\r
- unsigned long RFDO:3;\r
- } BIT;\r
- } FCFTR;\r
- char wk12[4];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :14;\r
- unsigned long PADS:2;\r
- unsigned long :10;\r
- unsigned long PADR:6;\r
- } BIT;\r
- } RPADIR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned long :27;\r
- unsigned long TIM:1;\r
- unsigned long :3;\r
- unsigned long TIS:1;\r
- } BIT;\r
- } TRIMD;\r
- char wk13[72];\r
- unsigned long RBWAR;\r
- unsigned long RDFAR;\r
- char wk14[4];\r
- unsigned long TBRAR;\r
- unsigned long TDFAR;\r
-};\r
-\r
-struct st_qspi {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char SPRIE:1;\r
- unsigned char SPE:1;\r
- unsigned char SPTIE:1;\r
- unsigned char :1;\r
- unsigned char SPMST:1;\r
- unsigned char :1;\r
- unsigned char SPSSLIE:1;\r
- } BIT;\r
- } SPCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char SSLP:1;\r
- } BIT;\r
- } SSLP;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char MOIFE:1;\r
- unsigned char MOIFV:1;\r
- unsigned char :1;\r
- unsigned char IO3FV:1;\r
- unsigned char IO2FV:1;\r
- unsigned char SPLP:1;\r
- } BIT;\r
- } SPPCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char SPRFF:1;\r
- unsigned char TREND:1;\r
- unsigned char SPTEF:1;\r
- unsigned char SPSSLF:1;\r
- } BIT;\r
- } SPSR;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned short H;\r
- } WORD;\r
- struct {\r
- unsigned char HH;\r
- } BYTE;\r
- } SPDR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :6;\r
- unsigned char SPSC:2;\r
- } BIT;\r
- } SPSCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :6;\r
- unsigned char SPSS:2;\r
- } BIT;\r
- } SPSSR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char SPBR7:1;\r
- unsigned char SPBR6:1;\r
- unsigned char SPBR5:1;\r
- unsigned char SPBR4:1;\r
- unsigned char SPBR3:1;\r
- unsigned char SPBR2:1;\r
- unsigned char SPBR1:1;\r
- unsigned char SPBR0:1;\r
- } BIT;\r
- } SPBR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TXDMY:1;\r
- } BIT;\r
- } SPDCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- 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
- unsigned long SPBMUL0;\r
- unsigned long SPBMUL1;\r
- unsigned long SPBMUL2;\r
- unsigned long SPBMUL3;\r
-};\r
-\r
-struct st_riic {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ICE:1;\r
- unsigned char IICRST:1;\r
- unsigned char CLO:1;\r
- unsigned char SOWP:1;\r
- unsigned char SCLO:1;\r
- unsigned char SDAO:1;\r
- unsigned char SCLI:1;\r
- unsigned char SDAI:1;\r
- } BIT;\r
- } ICCR1;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BBSY:1;\r
- unsigned char MST:1;\r
- unsigned char TRS:1;\r
- unsigned char :1;\r
- unsigned char SP:1;\r
- unsigned char RS:1;\r
- unsigned char ST:1;\r
- } BIT;\r
- } ICCR2;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char MTWP:1;\r
- unsigned char CKS:3;\r
- unsigned char BCWP:1;\r
- unsigned char BC:3;\r
- } BIT;\r
- } ICMR1;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char DLCS:1;\r
- unsigned char SDDL:3;\r
- unsigned char :1;\r
- unsigned char TMOH:1;\r
- unsigned char TMOL:1;\r
- unsigned char TMOS:1;\r
- } BIT;\r
- } ICMR2;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char SMBS:1;\r
- unsigned char WAIT:1;\r
- unsigned char RDRFS:1;\r
- unsigned char ACKWP:1;\r
- unsigned char ACKBT:1;\r
- unsigned char ACKBR:1;\r
- unsigned char NF:2;\r
- } BIT;\r
- } ICMR3;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char 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_rspi {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char SPRIE:1;\r
- unsigned char SPE:1;\r
- unsigned char SPTIE:1;\r
- unsigned char SPEIE:1;\r
- unsigned char MSTR:1;\r
- unsigned char MODFEN:1;\r
- unsigned char TXMD:1;\r
- unsigned char SPMS:1;\r
- } BIT;\r
- } SPCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :4;\r
- unsigned char SSL3P:1;\r
- unsigned char SSL2P:1;\r
- unsigned char SSL1P:1;\r
- unsigned char SSL0P:1;\r
- } BIT;\r
- } SSLP;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char MOIFE:1;\r
- unsigned char MOIFV:1;\r
- unsigned char :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 :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
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char SEC10:3;\r
- unsigned char SEC1:4;\r
- } BIT;\r
- } RSECCNT;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNT:8;\r
- } BIT;\r
- } BCNT0;\r
- };\r
- char wk1[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char MIN10:3;\r
- unsigned char MIN1:4;\r
- } BIT;\r
- } RMINCNT;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNT:8;\r
- } BIT;\r
- } BCNT1;\r
- };\r
- char wk2[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char PM:1;\r
- unsigned char HR10:2;\r
- unsigned char HR1:4;\r
- } BIT;\r
- } RHRCNT;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNT:8;\r
- } BIT;\r
- } BCNT2;\r
- };\r
- char wk3[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :5;\r
- unsigned char DAYW:3;\r
- } BIT;\r
- } RWKCNT;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNT:8;\r
- } BIT;\r
- } BCNT3;\r
- };\r
- char wk4[1];\r
- union {\r
- unsigned char BYTE;\r
- 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
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- unsigned char SEC10:3;\r
- unsigned char SEC1:4;\r
- } BIT;\r
- } RSECAR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNTAR:8;\r
- } BIT;\r
- } BCNT0AR;\r
- };\r
- char wk7[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- unsigned char MIN10:3;\r
- unsigned char MIN1:4;\r
- } BIT;\r
- } RMINAR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNTAR:8;\r
- } BIT;\r
- } BCNT1AR;\r
- };\r
- char wk8[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- unsigned char PM:1;\r
- unsigned char HR10:2;\r
- unsigned char HR1:4;\r
- } BIT;\r
- } RHRAR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNTAR:8;\r
- } BIT;\r
- } BCNT2AR;\r
- };\r
- char wk9[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- unsigned char :4;\r
- unsigned char DAYW:3;\r
- } BIT;\r
- } RWKAR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNTAR:8;\r
- } BIT;\r
- } BCNT3AR;\r
- };\r
- char wk10[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- unsigned char :1;\r
- unsigned char DATE10:2;\r
- unsigned char DATE1:4;\r
- } BIT;\r
- } RDAYAR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:8;\r
- } BIT;\r
- } BCNT0AER;\r
- };\r
- char wk11[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- unsigned char :2;\r
- unsigned char MON10:1;\r
- unsigned char MON1:4;\r
- } BIT;\r
- } RMONAR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:8;\r
- } BIT;\r
- } BCNT1AER;\r
- };\r
- char wk12[1];\r
- union {\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :8;\r
- unsigned short YR10:4;\r
- unsigned short YR1:4;\r
- } BIT;\r
- } RYRAR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :8;\r
- unsigned short ENB:8;\r
- } BIT;\r
- } BCNT2AER;\r
- };\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:1;\r
- } BIT;\r
- } RYRAREN;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char ENB:8;\r
- } BIT;\r
- } BCNT3AER;\r
- };\r
- char wk13[3];\r
- union {\r
- unsigned char BYTE;\r
- 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
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char SEC10:3;\r
- unsigned char SEC1:4;\r
- } BIT;\r
- } RSECCP0;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP0:8;\r
- } BIT;\r
- } BCNT0CP0;\r
- };\r
- char wk22[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char MIN10:3;\r
- unsigned char MIN1:4;\r
- } BIT;\r
- } RMINCP0;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP0:8;\r
- } BIT;\r
- } BCNT1CP0;\r
- };\r
- char wk23[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char PM:1;\r
- unsigned char HR10:2;\r
- unsigned char HR1:4;\r
- } BIT;\r
- } RHRCP0;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP0:8;\r
- } BIT;\r
- } BCNT2CP0;\r
- };\r
- char wk24[3];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char DATE10:2;\r
- unsigned char DATE1:4;\r
- } BIT;\r
- } RDAYCP0;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP0:8;\r
- } BIT;\r
- } BCNT3CP0;\r
- };\r
- char wk25[1];\r
- union {\r
- unsigned char BYTE;\r
- 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
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char SEC10:3;\r
- unsigned char SEC1:4;\r
- } BIT;\r
- } RSECCP1;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP1:8;\r
- } BIT;\r
- } BCNT0CP1;\r
- };\r
- char wk27[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char MIN10:3;\r
- unsigned char MIN1:4;\r
- } BIT;\r
- } RMINCP1;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP1:8;\r
- } BIT;\r
- } BCNT1CP1;\r
- };\r
- char wk28[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char PM:1;\r
- unsigned char HR10:2;\r
- unsigned char HR1:4;\r
- } BIT;\r
- } RHRCP1;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP1:8;\r
- } BIT;\r
- } BCNT2CP1;\r
- };\r
- char wk29[3];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char DATE10:2;\r
- unsigned char DATE1:4;\r
- } BIT;\r
- } RDAYCP1;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP1:8;\r
- } BIT;\r
- } BCNT3CP1;\r
- };\r
- char wk30[1];\r
- union {\r
- unsigned char BYTE;\r
- 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
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char SEC10:3;\r
- unsigned char SEC1:4;\r
- } BIT;\r
- } RSECCP2;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP2:8;\r
- } BIT;\r
- } BCNT0CP2;\r
- };\r
- char wk32[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char MIN10:3;\r
- unsigned char MIN1:4;\r
- } BIT;\r
- } RMINCP2;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP2:8;\r
- } BIT;\r
- } BCNT1CP2;\r
- };\r
- char wk33[1];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char PM:1;\r
- unsigned char HR10:2;\r
- unsigned char HR1:4;\r
- } BIT;\r
- } RHRCP2;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP2:8;\r
- } BIT;\r
- } BCNT2CP2;\r
- };\r
- char wk34[3];\r
- union {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :2;\r
- unsigned char DATE10:2;\r
- unsigned char DATE1:4;\r
- } BIT;\r
- } RDAYCP2;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char BCNCP2:8;\r
- } BIT;\r
- } BCNT3CP2;\r
- };\r
- char wk35[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :3;\r
- unsigned char MON10:1;\r
- unsigned char MON1:4;\r
- } BIT;\r
- } RMONCP2;\r
-};\r
-\r
-struct st_s12ad {\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short ADST:1;\r
- unsigned short ADCS:2;\r
- unsigned short ADIE:1;\r
- unsigned short :2;\r
- unsigned short TRGE:1;\r
- unsigned short EXTRG:1;\r
- unsigned short DBLE:1;\r
- unsigned short GBADIE:1;\r
- unsigned short :1;\r
- unsigned short DBLANS:5;\r
- } BIT;\r
- } ADCSR;\r
- char wk0[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short 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
- char wk4[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short ANSB0:16;\r
- } BIT;\r
- } ADANSB0;\r
- char wk5[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :2;\r
- unsigned short AD:12;\r
- } BIT;\r
- } ADDBLDR;\r
- char wk6[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 wk7[48];\r
- unsigned char ADSSTR0;\r
- unsigned char ADSSTRL;\r
- char wk8[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 wk9[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 wk10[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 wk11[2];\r
- unsigned short ADDBLDRA;\r
- unsigned short ADDBLDRB;\r
- char wk12[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 wk13[3];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short CMPS0:16;\r
- } BIT;\r
- } ADCMPANSR0;\r
- char wk14[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short CMPL0:16;\r
- } BIT;\r
- } ADCMPLR0;\r
- char wk15[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 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
- 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 wk1[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 :1;\r
- unsigned short OCSB:1;\r
- unsigned short TSSB:1;\r
- unsigned short OCSA:1;\r
- unsigned short TSSA:1;\r
- unsigned short :6;\r
- unsigned short OCSAD:1;\r
- unsigned short TSSAD:1;\r
- } 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 wk2[22];\r
- unsigned char ADSSTR0;\r
- unsigned char ADSSTRL;\r
- char wk3[14];\r
- unsigned char ADSSTRT;\r
- unsigned char ADSSTRO;\r
- char wk4[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 wk5[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 wk6[2];\r
- unsigned short ADDBLDRA;\r
- unsigned short ADDBLDRB;\r
- char wk7[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 wk8[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
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char TDRH;\r
- unsigned char TDRL;\r
- } BYTE;\r
- } TDRHL;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char RDRH;\r
- unsigned char RDRL;\r
- } BYTE;\r
- } RDRHL;\r
- unsigned char MDDR;\r
-};\r
-\r
-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
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char TDRH;\r
- unsigned char TDRL;\r
- } BYTE;\r
- } TDRHL;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char RDRH;\r
- unsigned char RDRL;\r
- } BYTE;\r
- } RDRHL;\r
- unsigned char MDDR;\r
- char wk0[13];\r
- union {\r
- 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_scifa {\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 :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_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
- } SRCFCTR[5552];\r
- char wk0[2352];\r
- union {\r
- unsigned long LONG;\r
- } SRCID;\r
- union {\r
- unsigned long LONG;\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:4;\r
- unsigned short :1;\r
- unsigned short CEF:1;\r
- unsigned short FLF:1;\r
- unsigned short UDF:1;\r
- unsigned short OVF:1;\r
- unsigned short IINT: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 TIE: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 :2;\r
- unsigned long MSTPA24:1;\r
- unsigned long :4;\r
- unsigned long MSTPA19:1;\r
- unsigned long :1;\r
- unsigned long MSTPA17:1;\r
- 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 MSTPC6:1;\r
- unsigned long :5;\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
- unsigned long :6;\r
- unsigned long MSTPD7:1;\r
- unsigned long MSTPD6:1;\r
- unsigned long MSTPD5:1;\r
- unsigned long MSTPD4:1;\r
- unsigned long MSTPD3:1;\r
- unsigned long MSTPD2:1;\r
- unsigned long MSTPD1:1;\r
- unsigned long MSTPD0:1;\r
- } BIT;\r
- } MSTPCRD;\r
- union {\r
- 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 wk5[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 wk6[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 wk7[94];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :3;\r
- unsigned char OPCMTSF:1;\r
- unsigned char :1;\r
- unsigned char OPCM:3;\r
- } BIT;\r
- } OPCCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char RSTCKEN:1;\r
- unsigned char :4;\r
- unsigned char RSTCKSEL:3;\r
- } BIT;\r
- } RSTCKCR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char 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 wk8[28];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :5;\r
- unsigned char SWRF:1;\r
- unsigned char WDTRF:1;\r
- unsigned char IWDTRF:1;\r
- } BIT;\r
- } RSTSR2;\r
- char wk9[1];\r
- unsigned short SWRR;\r
- char wk10[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 wk11[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 wk12[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 wk13[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 wk14[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 wk15[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :1;\r
- unsigned char MOSEL:1;\r
- unsigned char MODRV2:2;\r
- unsigned char :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 wk16[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 wk17[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 wk18[4];\r
- unsigned char DPSBKR[32];\r
-};\r
-\r
-struct st_temps {\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TSEN:1;\r
- unsigned char :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
- char wk5[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char :7;\r
- unsigned char TCS:1;\r
- } BIT;\r
- } TCSTR;\r
-};\r
-\r
-struct st_tmr01 {\r
- 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 :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
-};\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 :2;\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 :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 :1;\r
- unsigned char ICSELB:1;\r
- unsigned char :2;\r
- unsigned char MD:4;\r
- } BIT;\r
- } TMDR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char IOB:4;\r
- unsigned char IOA:4;\r
- } BIT;\r
- } TIOR;\r
- char wk2[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TTGE:1;\r
- unsigned char :1;\r
- unsigned char TCIEU:1;\r
- unsigned char TCIEV:1;\r
- unsigned char :2;\r
- unsigned char TGIEB:1;\r
- unsigned char TGIEA:1;\r
- } BIT;\r
- } TIER;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TCFD:1;\r
- 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
-};\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 :2;\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 :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 :1;\r
- unsigned char ICSELB:1;\r
- unsigned char :2;\r
- unsigned char MD:4;\r
- } BIT;\r
- } TMDR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char IOB:4;\r
- unsigned char IOA:4;\r
- } BIT;\r
- } TIOR;\r
- char wk1[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TTGE:1;\r
- unsigned char :1;\r
- unsigned char TCIEU:1;\r
- unsigned char TCIEV:1;\r
- unsigned char :2;\r
- unsigned char TGIEB:1;\r
- unsigned char TGIEA:1;\r
- } BIT;\r
- } TIER;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TCFD:1;\r
- 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
-};\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 :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
-};\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 :2;\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 :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 :1;\r
- unsigned char ICSELB:1;\r
- unsigned char :2;\r
- unsigned char MD:4;\r
- } BIT;\r
- } TMDR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char IOB:4;\r
- unsigned char IOA:4;\r
- } BIT;\r
- } TIOR;\r
- char wk1[1];\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TTGE:1;\r
- unsigned char :1;\r
- unsigned char TCIEU:1;\r
- unsigned char TCIEV:1;\r
- unsigned char :2;\r
- unsigned char TGIEB:1;\r
- unsigned char TGIEA:1;\r
- } BIT;\r
- } TIER;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char TCFD:1;\r
- 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
-};\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 :2;\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 :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 :1;\r
- unsigned char ICSELB:1;\r
- unsigned char :2;\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 :2;\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
-};\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 SOFEA:1;\r
- unsigned short :2;\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
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char L;\r
- unsigned char H;\r
- } BYTE;\r
- } CFIFO;\r
- char wk3[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char L;\r
- unsigned char H;\r
- } BYTE;\r
- } D0FIFO;\r
- char wk4[2];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned char L;\r
- unsigned char H;\r
- } BYTE;\r
- } D1FIFO;\r
- char wk5[2];\r
- union {\r
- unsigned short WORD;\r
- 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 :28;\r
- unsigned long SLEWF01:1;\r
- unsigned long SLEWF00:1;\r
- unsigned long SLEWR01:1;\r
- unsigned long SLEWR00:1;\r
- } BIT;\r
- } PHYSLEW;\r
-};\r
-\r
-struct st_usba {\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :7;\r
-// unsigned short CNEN:1;\r
-// unsigned short HSE:1;\r
-// unsigned short DCFM:1;\r
-// unsigned short DRPD:1;\r
-// unsigned short DPRPU:1;\r
-// unsigned short :3;\r
-// unsigned short USBE:1;\r
-// } BIT;\r
- } 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 SOFEA:1;\r
- unsigned short :2;\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[6];\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned short L;\r
- unsigned short H;\r
- } WORD;\r
- struct {\r
- unsigned char LL;\r
- unsigned char LH;\r
- unsigned char HL;\r
- unsigned char HH;\r
- } BYTE;\r
- } CFIFO;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned short L;\r
- unsigned short H;\r
- } WORD;\r
- struct {\r
- unsigned char LL;\r
- unsigned char LH;\r
- unsigned char HL;\r
- unsigned char HH;\r
- } BYTE;\r
- } D0FIFO;\r
- union {\r
- unsigned long LONG;\r
- struct {\r
- unsigned short L;\r
- unsigned short H;\r
- } WORD;\r
- struct {\r
- unsigned char LL;\r
- unsigned char LH;\r
- unsigned char HL;\r
- unsigned char HH;\r
- } BYTE;\r
- } D1FIFO;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short RCNT:1;\r
-// unsigned short REW:1;\r
-// unsigned short :2;\r
-// unsigned short MBW:2;\r
-// unsigned short :1;\r
-// unsigned short BIGEND:1;\r
-// unsigned short :2;\r
-// unsigned short ISEL:1;\r
-// unsigned short :1;\r
-// unsigned short CURPIPE:4;\r
-// } BIT;\r
- } CFIFOSEL;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short BVAL:1;\r
-// unsigned short BCLR:1;\r
-// unsigned short FRDY:1;\r
-// unsigned short :1;\r
-// unsigned short DTLN:12;\r
-// } BIT;\r
- } 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
-// } 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 REPSEL:2;\r
-// unsigned short :2;\r
-// unsigned short CLKSEL:2;\r
-// unsigned short CDPEN:1;\r
-// unsigned short :1;\r
-// unsigned short PLLRESET:1;\r
-// unsigned short DIRPD:1;\r
-// } BIT;\r
- } PHYSET;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short VBINT:1;\r
-// unsigned short RESM:1;\r
-// unsigned short SOFR:1;\r
-// unsigned short DVST:1;\r
-// unsigned short CTRT:1;\r
-// unsigned short BEMP:1;\r
-// unsigned short NRDY:1;\r
-// unsigned short BRDY:1;\r
-// unsigned short VBSTS:1;\r
-// unsigned short DVSQ:3;\r
-// unsigned short VALID:1;\r
-// unsigned short CTSQ:3;\r
-// } BIT;\r
- } 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 PIPEBRDY:10;\r
-// } BIT;\r
- } BRDYSTS;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :6;\r
-// unsigned short PIPENRDY:10;\r
-// } BIT;\r
- } NRDYSTS;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :6;\r
-// unsigned short PIPEBEMP:10;\r
-// } BIT;\r
- } BEMPSTS;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short OVRN:1;\r
-// unsigned short CRCE:1;\r
-// unsigned short :3;\r
-// unsigned short FRNM:11;\r
-// } BIT;\r
- } 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 :7;\r
-// unsigned short CNTMD:1;\r
-// unsigned short SHTNAK:1;\r
-// unsigned short :2;\r
-// unsigned short DIR:1;\r
-// } BIT;\r
- } DCPCFG;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short DEVSEL:4;\r
-// unsigned short :5;\r
-// unsigned short MXPS:7;\r
-// } BIT;\r
- } 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 HWUPM:1;\r
-// } BIT;\r
- } LPCTRL;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :1;\r
-// unsigned short SUSPENDM:1;\r
-// } BIT;\r
- } LPSTS;\r
- char wk11[60];\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 wk12[2];\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :1;\r
-// unsigned short L1EXTMD:1;\r
-// unsigned short :2;\r
-// unsigned short HIRDTHR:4;\r
-// unsigned short DVSQ:4;\r
-// unsigned short L1NEGOMD:1;\r
-// unsigned short L1RESPMD:2;\r
-// unsigned short L1RESPEN:1;\r
-// } BIT;\r
- } PL1CTRL1;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :3;\r
-// unsigned short RWEMON:1;\r
-// unsigned short HIRDMON:4;\r
-// } BIT;\r
- } PL1CTRL2;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short :13;\r
-// unsigned short L1STATUS:2;\r
-// unsigned short L1REQ:1;\r
-// } BIT;\r
- } HL1CTRL1;\r
- union {\r
- unsigned short WORD;\r
-// struct {\r
-// unsigned short BESL:1;\r
-// unsigned short :2;\r
-// unsigned short L1RWE:1;\r
-// unsigned short HIRD:4;\r
-// unsigned short :4;\r
-// unsigned short L1ADDR:4;\r
-// } BIT;\r
- } HL1CTRL2;\r
- char wk13[20];\r
- union {\r
- unsigned long LONG;\r
-// struct {\r
-// unsigned long :8;\r
-// unsigned long DVBSTSHM:1;\r
-// unsigned long :1;\r
-// unsigned long DOVCBHM:1;\r
-// unsigned long DOVCAHM:1;\r
-// } BIT;\r
- } DPUSR0R;\r
- union {\r
- unsigned long LONG;\r
-// struct {\r
-// unsigned long :8;\r
-// unsigned long DVBSTSH:1;\r
-// unsigned long :1;\r
-// unsigned long DOVCBH:1;\r
-// unsigned long DOVCAH:1;\r
-// unsigned long :12;\r
-// unsigned long DVBSTSHE:1;\r
-// unsigned long :1;\r
-// unsigned long DOVCBHE:1;\r
-// unsigned long DOVCAHE:1;\r
-// } BIT;\r
- } DPUSR1R;\r
-};\r
-\r
-struct st_wdt {\r
- unsigned char WDTRR;\r
- char wk0[1];\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short :2;\r
- unsigned short RPSS:2;\r
- unsigned short :2;\r
- unsigned short RPES:2;\r
- unsigned short CKS:4;\r
- unsigned short :2;\r
- unsigned short TOPS:2;\r
- } BIT;\r
- } WDTCR;\r
- union {\r
- unsigned short WORD;\r
- struct {\r
- unsigned short REFEF:1;\r
- unsigned short UNDFF:1;\r
- unsigned short CNTVAL:14;\r
- } BIT;\r
- } WDTSR;\r
- union {\r
- unsigned char BYTE;\r
- struct {\r
- unsigned char RSTIRQS:1;\r
- } BIT;\r
- } WDTRCR;\r
-};\r
-\r
-enum enum_ir {\r
-IR_BSC_BUSERR=16,IR_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_CMTW1_CMWI1,\r
-IR_USBA_D0FIFO2,IR_USBA_D1FIFO2,\r
-IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,\r
-IR_RSPI0_SPRI0=38,IR_RSPI0_SPTI0,\r
-IR_QSPI_SPRI=42,IR_QSPI_SPTI,\r
-IR_SDHI_SBFAI,\r
-IR_MMCIF_MBFAI,\r
-IR_SSI0_SSITXI0,IR_SSI0_SSIRXI0,\r
-IR_SSI1_SSIRTI1,\r
-IR_SRC_IDEI=50,IR_SRC_ODFI,\r
-IR_RIIC0_RXI0,IR_RIIC0_TXI0,\r
-IR_RIIC2_RXI2,IR_RIIC2_TXI2,\r
-IR_SCI0_RXI0=58,IR_SCI0_TXI0,\r
-IR_SCI1_RXI1,IR_SCI1_TXI1,\r
-IR_SCI2_RXI2,IR_SCI2_TXI2,\r
-IR_ICU_IRQ0,IR_ICU_IRQ1,IR_ICU_IRQ2,IR_ICU_IRQ3,IR_ICU_IRQ4,IR_ICU_IRQ5,IR_ICU_IRQ6,IR_ICU_IRQ7,\r
-IR_ICU_IRQ8,IR_ICU_IRQ9,IR_ICU_IRQ10,IR_ICU_IRQ11,IR_ICU_IRQ12,IR_ICU_IRQ13,IR_ICU_IRQ14,IR_ICU_IRQ15,\r
-IR_SCI3_RXI3,IR_SCI3_TXI3,\r
-IR_SCI4_RXI4,IR_SCI4_TXI4,\r
-IR_SCI5_RXI5,IR_SCI5_TXI5,\r
-IR_SCI6_RXI6,IR_SCI6_TXI6,\r
-IR_LVD1_LVD1,\r
-IR_LVD2_LVD2,\r
-IR_USB0_USBR0,\r
-IR_RTC_ALM=92,IR_RTC_PRD,\r
-IR_USBA_USBAR,\r
-IR_IWDT_IWUNI,\r
-IR_WDT_WUNI,\r
-IR_PDC_PCDFI,\r
-IR_SCI7_RXI7,IR_SCI7_TXI7,\r
-IR_SCIFA8_RXIF8,IR_SCIFA8_TXIF8,\r
-IR_SCIFA9_RXIF9,IR_SCIFA9_TXIF9,\r
-IR_SCIFA10_RXIF10,IR_SCIFA10_TXIF10,\r
-IR_ICU_GROUPBE0,IR_ICU_GROUPBL0=110,IR_ICU_GROUPBL1,IR_ICU_GROUPAL0,IR_ICU_GROUPAL1,\r
-IR_SCIFA11_RXIF11,IR_SCIFA11_TXIF11,\r
-IR_SCI12_RXI12,IR_SCI12_TXI12,\r
-IR_DMAC_DMAC0I=120,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,IR_DMAC_DMAC74I,\r
-IR_OST_OST,\r
-IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
-IR_PERIB_INTB128,IR_PERIB_INTB129,IR_PERIB_INTB130,IR_PERIB_INTB131,IR_PERIB_INTB132,\r
-IR_PERIB_INTB133,IR_PERIB_INTB134,IR_PERIB_INTB135,IR_PERIB_INTB136,IR_PERIB_INTB137,\r
-IR_PERIB_INTB138,IR_PERIB_INTB139,IR_PERIB_INTB140,IR_PERIB_INTB141,IR_PERIB_INTB142,\r
-IR_PERIB_INTB143,IR_PERIB_INTB144,IR_PERIB_INTB145,IR_PERIB_INTB146,IR_PERIB_INTB147,\r
-IR_PERIB_INTB148,IR_PERIB_INTB149,IR_PERIB_INTB150,IR_PERIB_INTB151,IR_PERIB_INTB152,\r
-IR_PERIB_INTB153,IR_PERIB_INTB154,IR_PERIB_INTB155,IR_PERIB_INTB156,IR_PERIB_INTB157,\r
-IR_PERIB_INTB158,IR_PERIB_INTB159,IR_PERIB_INTB160,IR_PERIB_INTB161,IR_PERIB_INTB162,\r
-IR_PERIB_INTB163,IR_PERIB_INTB164,IR_PERIB_INTB165,IR_PERIB_INTB166,IR_PERIB_INTB167,\r
-IR_PERIB_INTB168,IR_PERIB_INTB169,IR_PERIB_INTB170,IR_PERIB_INTB171,IR_PERIB_INTB172,\r
-IR_PERIB_INTB173,IR_PERIB_INTB174,IR_PERIB_INTB175,IR_PERIB_INTB176,IR_PERIB_INTB177,\r
-IR_PERIB_INTB178,IR_PERIB_INTB179,IR_PERIB_INTB180,IR_PERIB_INTB181,IR_PERIB_INTB182,\r
-IR_PERIB_INTB183,IR_PERIB_INTB184,IR_PERIB_INTB185,IR_PERIB_INTB186,IR_PERIB_INTB187,\r
-IR_PERIB_INTB188,IR_PERIB_INTB189,IR_PERIB_INTB190,IR_PERIB_INTB191,IR_PERIB_INTB192,\r
-IR_PERIB_INTB193,IR_PERIB_INTB194,IR_PERIB_INTB195,IR_PERIB_INTB196,IR_PERIB_INTB197,\r
-IR_PERIB_INTB198,IR_PERIB_INTB199,IR_PERIB_INTB200,IR_PERIB_INTB201,IR_PERIB_INTB202,\r
-IR_PERIB_INTB203,IR_PERIB_INTB204,IR_PERIB_INTB205,IR_PERIB_INTB206,IR_PERIB_INTB207,\r
-IR_PERIA_INTA208,IR_PERIA_INTA209,IR_PERIA_INTA210,IR_PERIA_INTA211,IR_PERIA_INTA212,\r
-IR_PERIA_INTA213,IR_PERIA_INTA214,IR_PERIA_INTA215,IR_PERIA_INTA216,IR_PERIA_INTA217,\r
-IR_PERIA_INTA218,IR_PERIA_INTA219,IR_PERIA_INTA220,IR_PERIA_INTA221,IR_PERIA_INTA222,\r
-IR_PERIA_INTA223,IR_PERIA_INTA224,IR_PERIA_INTA225,IR_PERIA_INTA226,IR_PERIA_INTA227,\r
-IR_PERIA_INTA228,IR_PERIA_INTA229,IR_PERIA_INTA230,IR_PERIA_INTA231,IR_PERIA_INTA232,\r
-IR_PERIA_INTA233,IR_PERIA_INTA234,IR_PERIA_INTA235,IR_PERIA_INTA236,IR_PERIA_INTA237,\r
-IR_PERIA_INTA238,IR_PERIA_INTA239,IR_PERIA_INTA240,IR_PERIA_INTA241,IR_PERIA_INTA242,\r
-IR_PERIA_INTA243,IR_PERIA_INTA244,IR_PERIA_INTA245,IR_PERIA_INTA246,IR_PERIA_INTA247,\r
-IR_PERIA_INTA248,IR_PERIA_INTA249,IR_PERIA_INTA250,IR_PERIA_INTA251,IR_PERIA_INTA252,\r
-IR_PERIA_INTA253,IR_PERIA_INTA254,IR_PERIA_INTA255\r
-};\r
-\r
-enum enum_dtce {\r
-DTCE_ICU_SWINT2=26,DTCE_ICU_SWINT,\r
-DTCE_CMT0_CMI0,\r
-DTCE_CMT1_CMI1,\r
-DTCE_CMTW0_CMWI0,\r
-DTCE_CMTW1_CMWI1,\r
-DTCE_USBA_D0FIFO2,DTCE_USBA_D1FIFO2,\r
-DTCE_USB0_D0FIFO0,DTCE_USB0_D1FIFO0,\r
-DTCE_RSPI0_SPRI0=38,DTCE_RSPI0_SPTI0,\r
-DTCE_QSPI_SPRI=42,DTCE_QSPI_SPTI,\r
-DTCE_SDHI_SBFAI,\r
-DTCE_MMCIF_MBFAI,\r
-DTCE_SSI0_SSITXI0,DTCE_SSI0_SSIRXI0,\r
-DTCE_SSI1_SSIRTI1,\r
-DTCE_SRC_IDEI=50,DTCE_SRC_ODFI,\r
-DTCE_RIIC0_RXI0,DTCE_RIIC0_TXI0,\r
-DTCE_RIIC2_RXI2,DTCE_RIIC2_TXI2,\r
-DTCE_SCI0_RXI0=58,DTCE_SCI0_TXI0,\r
-DTCE_SCI1_RXI1,DTCE_SCI1_TXI1,\r
-DTCE_SCI2_RXI2,DTCE_SCI2_TXI2,\r
-DTCE_ICU_IRQ0,DTCE_ICU_IRQ1,DTCE_ICU_IRQ2,DTCE_ICU_IRQ3,DTCE_ICU_IRQ4,DTCE_ICU_IRQ5,DTCE_ICU_IRQ6,DTCE_ICU_IRQ7,\r
-DTCE_ICU_IRQ8,DTCE_ICU_IRQ9,DTCE_ICU_IRQ10,DTCE_ICU_IRQ11,DTCE_ICU_IRQ12,DTCE_ICU_IRQ13,DTCE_ICU_IRQ14,DTCE_ICU_IRQ15,\r
-DTCE_SCI3_RXI3,DTCE_SCI3_TXI3,\r
-DTCE_SCI4_RXI4,DTCE_SCI4_TXI4,\r
-DTCE_SCI5_RXI5,DTCE_SCI5_TXI5,\r
-DTCE_SCI6_RXI6,DTCE_SCI6_TXI6,\r
-DTCE_PDC_PCDFI=97,\r
-DTCE_SCI7_RXI7,DTCE_SCI7_TXI7,\r
-DTCE_SCIFA8_RXIF8,DTCE_SCIFA8_TXIF8,\r
-DTCE_SCIFA9_RXIF9,DTCE_SCIFA9_TXIF9,\r
-DTCE_SCIFA10_RXIF10,DTCE_SCIFA10_TXIF10,\r
-DTCE_SCIFA11_RXIF11=114,DTCE_SCIFA11_TXIF11,\r
-DTCE_SCI12_RXI12,DTCE_SCI12_TXI12,\r
-DTCE_DMAC_DMAC0I=120,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
-DTCE_EXDMAC_EXDMAC0I=126,DTCE_EXDMAC_EXDMAC1I,\r
-DTCE_PERIB_INTB128,DTCE_PERIB_INTB129,DTCE_PERIB_INTB130,DTCE_PERIB_INTB131,DTCE_PERIB_INTB132,\r
-DTCE_PERIB_INTB133,DTCE_PERIB_INTB134,DTCE_PERIB_INTB135,DTCE_PERIB_INTB136,DTCE_PERIB_INTB137,\r
-DTCE_PERIB_INTB138,DTCE_PERIB_INTB139,DTCE_PERIB_INTB140,DTCE_PERIB_INTB141,DTCE_PERIB_INTB142,\r
-DTCE_PERIB_INTB143,DTCE_PERIB_INTB144,DTCE_PERIB_INTB145,DTCE_PERIB_INTB146,DTCE_PERIB_INTB147,\r
-DTCE_PERIB_INTB148,DTCE_PERIB_INTB149,DTCE_PERIB_INTB150,DTCE_PERIB_INTB151,DTCE_PERIB_INTB152,\r
-DTCE_PERIB_INTB153,DTCE_PERIB_INTB154,DTCE_PERIB_INTB155,DTCE_PERIB_INTB156,DTCE_PERIB_INTB157,\r
-DTCE_PERIB_INTB158,DTCE_PERIB_INTB159,DTCE_PERIB_INTB160,DTCE_PERIB_INTB161,DTCE_PERIB_INTB162,\r
-DTCE_PERIB_INTB163,DTCE_PERIB_INTB164,DTCE_PERIB_INTB165,DTCE_PERIB_INTB166,DTCE_PERIB_INTB167,\r
-DTCE_PERIB_INTB168,DTCE_PERIB_INTB169,DTCE_PERIB_INTB170,DTCE_PERIB_INTB171,DTCE_PERIB_INTB172,\r
-DTCE_PERIB_INTB173,DTCE_PERIB_INTB174,DTCE_PERIB_INTB175,DTCE_PERIB_INTB176,DTCE_PERIB_INTB177,\r
-DTCE_PERIB_INTB178,DTCE_PERIB_INTB179,DTCE_PERIB_INTB180,DTCE_PERIB_INTB181,DTCE_PERIB_INTB182,\r
-DTCE_PERIB_INTB183,DTCE_PERIB_INTB184,DTCE_PERIB_INTB185,DTCE_PERIB_INTB186,DTCE_PERIB_INTB187,\r
-DTCE_PERIB_INTB188,DTCE_PERIB_INTB189,DTCE_PERIB_INTB190,DTCE_PERIB_INTB191,DTCE_PERIB_INTB192,\r
-DTCE_PERIB_INTB193,DTCE_PERIB_INTB194,DTCE_PERIB_INTB195,DTCE_PERIB_INTB196,DTCE_PERIB_INTB197,\r
-DTCE_PERIB_INTB198,DTCE_PERIB_INTB199,DTCE_PERIB_INTB200,DTCE_PERIB_INTB201,DTCE_PERIB_INTB202,\r
-DTCE_PERIB_INTB203,DTCE_PERIB_INTB204,DTCE_PERIB_INTB205,DTCE_PERIB_INTB206,DTCE_PERIB_INTB207,\r
-DTCE_PERIA_INTA208,DTCE_PERIA_INTA209,DTCE_PERIA_INTA210,DTCE_PERIA_INTA211,DTCE_PERIA_INTA212,\r
-DTCE_PERIA_INTA213,DTCE_PERIA_INTA214,DTCE_PERIA_INTA215,DTCE_PERIA_INTA216,DTCE_PERIA_INTA217,\r
-DTCE_PERIA_INTA218,DTCE_PERIA_INTA219,DTCE_PERIA_INTA220,DTCE_PERIA_INTA221,DTCE_PERIA_INTA222,\r
-DTCE_PERIA_INTA223,DTCE_PERIA_INTA224,DTCE_PERIA_INTA225,DTCE_PERIA_INTA226,DTCE_PERIA_INTA227,\r
-DTCE_PERIA_INTA228,DTCE_PERIA_INTA229,DTCE_PERIA_INTA230,DTCE_PERIA_INTA231,DTCE_PERIA_INTA232,\r
-DTCE_PERIA_INTA233,DTCE_PERIA_INTA234,DTCE_PERIA_INTA235,DTCE_PERIA_INTA236,DTCE_PERIA_INTA237,\r
-DTCE_PERIA_INTA238,DTCE_PERIA_INTA239,DTCE_PERIA_INTA240,DTCE_PERIA_INTA241,DTCE_PERIA_INTA242,\r
-DTCE_PERIA_INTA243,DTCE_PERIA_INTA244,DTCE_PERIA_INTA245,DTCE_PERIA_INTA246,DTCE_PERIA_INTA247,\r
-DTCE_PERIA_INTA248,DTCE_PERIA_INTA249,DTCE_PERIA_INTA250,DTCE_PERIA_INTA251,DTCE_PERIA_INTA252,\r
-DTCE_PERIA_INTA253,DTCE_PERIA_INTA254,DTCE_PERIA_INTA255\r
-};\r
-\r
-enum enum_ier {\r
-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_CMTW1_CMWI1=0x03,\r
-IER_USBA_D0FIFO2=0x04,IER_USBA_D1FIFO2=0x04,\r
-IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,\r
-IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x04,\r
-IER_QSPI_SPRI=0x05,IER_QSPI_SPTI=0x05,\r
-IER_SDHI_SBFAI=0x05,\r
-IER_MMCIF_MBFAI=0x05,\r
-IER_SSI0_SSITXI0=0x05,IER_SSI0_SSIRXI0=0x05,\r
-IER_SSI1_SSIRTI1=0x06,\r
-IER_SRC_IDEI=0x06,IER_SRC_ODFI=0x06,\r
-IER_RIIC0_RXI0=0x06,IER_RIIC0_TXI0=0x06,\r
-IER_RIIC2_RXI2=0x06,IER_RIIC2_TXI2=0x06,\r
-IER_SCI0_RXI0=0x07,IER_SCI0_TXI0=0x07,\r
-IER_SCI1_RXI1=0x07,IER_SCI1_TXI1=0x07,\r
-IER_SCI2_RXI2=0x07,IER_SCI2_TXI2=0x07,\r
-IER_ICU_IRQ0=0x08,IER_ICU_IRQ1=0x08,IER_ICU_IRQ2=0x08,IER_ICU_IRQ3=0x08,IER_ICU_IRQ4=0x08,IER_ICU_IRQ5=0x08,IER_ICU_IRQ6=0x08,IER_ICU_IRQ7=0x08,\r
-IER_ICU_IRQ8=0x09,IER_ICU_IRQ9=0x09,IER_ICU_IRQ10=0x09,IER_ICU_IRQ11=0x09,IER_ICU_IRQ12=0x09,IER_ICU_IRQ13=0x09,IER_ICU_IRQ14=0x09,IER_ICU_IRQ15=0x09,\r
-IER_SCI3_RXI3=0x0A,IER_SCI3_TXI3=0x0A,\r
-IER_SCI4_RXI4=0x0A,IER_SCI4_TXI4=0x0A,\r
-IER_SCI5_RXI5=0x0A,IER_SCI5_TXI5=0x0A,\r
-IER_SCI6_RXI6=0x0A,IER_SCI6_TXI6=0x0A,\r
-IER_LVD1_LVD1=0x0B,\r
-IER_LVD2_LVD2=0x0B,\r
-IER_USB0_USBR0=0x0B,\r
-IER_RTC_ALM=0x0B,IER_RTC_PRD=0x0B,\r
-IER_USBA_USBAR=0x0B,\r
-IER_IWDT_IWUNI=0x0B,\r
-IER_WDT_WUNI=0x0C,\r
-IER_PDC_PCDFI=0x0C,\r
-IER_SCI7_RXI7=0x0C,IER_SCI7_TXI7=0x0C,\r
-IER_SCIFA8_RXIF8=0x0C,IER_SCIFA8_TXIF8=0x0C,\r
-IER_SCIFA9_RXIF9=0x0C,IER_SCIFA9_TXIF9=0x0C,\r
-IER_SCIFA10_RXIF10=0x0D,IER_SCIFA10_TXIF10=0x0D,\r
-IER_ICU_GROUPBE0=0x0D,IER_ICU_GROUPBL0=0x0D,IER_ICU_GROUPBL1=0x0D,IER_ICU_GROUPAL0=0x0E,IER_ICU_GROUPAL1=0x0E,\r
-IER_SCIFA11_RXIF11=0x0E,IER_SCIFA11_TXIF11=0x0E,\r
-IER_SCI12_RXI12=0x0E,IER_SCI12_TXI12=0x0E,\r
-IER_DMAC_DMAC0I=0x0F,IER_DMAC_DMAC1I=0x0F,IER_DMAC_DMAC2I=0x0F,IER_DMAC_DMAC3I=0x0F,IER_DMAC_DMAC74I=0x0F,\r
-IER_OST_OST=0x0F,\r
-IER_EXDMAC_EXDMAC0I=0x0F,IER_EXDMAC_EXDMAC1I=0x0F,\r
-IER_PERIB_INTB128=0x10,IER_PERIB_INTB129=0x10,IER_PERIB_INTB130=0x10,IER_PERIB_INTB131=0x10,IER_PERIB_INTB132=0x10,\r
-IER_PERIB_INTB133=0x10,IER_PERIB_INTB134=0x10,IER_PERIB_INTB135=0x10,IER_PERIB_INTB136=0x11,IER_PERIB_INTB137=0x11,\r
-IER_PERIB_INTB138=0x11,IER_PERIB_INTB139=0x11,IER_PERIB_INTB140=0x11,IER_PERIB_INTB141=0x11,IER_PERIB_INTB142=0x11,\r
-IER_PERIB_INTB143=0x11,IER_PERIB_INTB144=0x12,IER_PERIB_INTB145=0x12,IER_PERIB_INTB146=0x12,IER_PERIB_INTB147=0x12,\r
-IER_PERIB_INTB148=0x12,IER_PERIB_INTB149=0x12,IER_PERIB_INTB150=0x12,IER_PERIB_INTB151=0x12,IER_PERIB_INTB152=0x13,\r
-IER_PERIB_INTB153=0x13,IER_PERIB_INTB154=0x13,IER_PERIB_INTB155=0x13,IER_PERIB_INTB156=0x13,IER_PERIB_INTB157=0x13,\r
-IER_PERIB_INTB158=0x13,IER_PERIB_INTB159=0x13,IER_PERIB_INTB160=0x14,IER_PERIB_INTB161=0x14,IER_PERIB_INTB162=0x14,\r
-IER_PERIB_INTB163=0x14,IER_PERIB_INTB164=0x14,IER_PERIB_INTB165=0x14,IER_PERIB_INTB166=0x14,IER_PERIB_INTB167=0x14,\r
-IER_PERIB_INTB168=0x15,IER_PERIB_INTB169=0x15,IER_PERIB_INTB170=0x15,IER_PERIB_INTB171=0x15,IER_PERIB_INTB172=0x15,\r
-IER_PERIB_INTB173=0x15,IER_PERIB_INTB174=0x15,IER_PERIB_INTB175=0x15,IER_PERIB_INTB176=0x16,IER_PERIB_INTB177=0x16,\r
-IER_PERIB_INTB178=0x16,IER_PERIB_INTB179=0x16,IER_PERIB_INTB180=0x16,IER_PERIB_INTB181=0x16,IER_PERIB_INTB182=0x16,\r
-IER_PERIB_INTB183=0x16,IER_PERIB_INTB184=0x17,IER_PERIB_INTB185=0x17,IER_PERIB_INTB186=0x17,IER_PERIB_INTB187=0x17,\r
-IER_PERIB_INTB188=0x17,IER_PERIB_INTB189=0x17,IER_PERIB_INTB190=0x17,IER_PERIB_INTB191=0x17,IER_PERIB_INTB192=0x18,\r
-IER_PERIB_INTB193=0x18,IER_PERIB_INTB194=0x18,IER_PERIB_INTB195=0x18,IER_PERIB_INTB196=0x18,IER_PERIB_INTB197=0x18,\r
-IER_PERIB_INTB198=0x18,IER_PERIB_INTB199=0x18,IER_PERIB_INTB200=0x19,IER_PERIB_INTB201=0x19,IER_PERIB_INTB202=0x19,\r
-IER_PERIB_INTB203=0x19,IER_PERIB_INTB204=0x19,IER_PERIB_INTB205=0x19,IER_PERIB_INTB206=0x19,IER_PERIB_INTB207=0x19,\r
-IER_PERIA_INTA208=0x1A,IER_PERIA_INTA209=0x1A,IER_PERIA_INTA210=0x1A,IER_PERIA_INTA211=0x1A,IER_PERIA_INTA212=0x1A,\r
-IER_PERIA_INTA213=0x1A,IER_PERIA_INTA214=0x1A,IER_PERIA_INTA215=0x1A,IER_PERIA_INTA216=0x1B,IER_PERIA_INTA217=0x1B,\r
-IER_PERIA_INTA218=0x1B,IER_PERIA_INTA219=0x1B,IER_PERIA_INTA220=0x1B,IER_PERIA_INTA221=0x1B,IER_PERIA_INTA222=0x1B,\r
-IER_PERIA_INTA223=0x1B,IER_PERIA_INTA224=0x1C,IER_PERIA_INTA225=0x1C,IER_PERIA_INTA226=0x1C,IER_PERIA_INTA227=0x1C,\r
-IER_PERIA_INTA228=0x1C,IER_PERIA_INTA229=0x1C,IER_PERIA_INTA230=0x1C,IER_PERIA_INTA231=0x1C,IER_PERIA_INTA232=0x1D,\r
-IER_PERIA_INTA233=0x1D,IER_PERIA_INTA234=0x1D,IER_PERIA_INTA235=0x1D,IER_PERIA_INTA236=0x1D,IER_PERIA_INTA237=0x1D,\r
-IER_PERIA_INTA238=0x1D,IER_PERIA_INTA239=0x1D,IER_PERIA_INTA240=0x1E,IER_PERIA_INTA241=0x1E,IER_PERIA_INTA242=0x1E,\r
-IER_PERIA_INTA243=0x1E,IER_PERIA_INTA244=0x1E,IER_PERIA_INTA245=0x1E,IER_PERIA_INTA246=0x1E,IER_PERIA_INTA247=0x1E,\r
-IER_PERIA_INTA248=0x1F,IER_PERIA_INTA249=0x1F,IER_PERIA_INTA250=0x1F,IER_PERIA_INTA251=0x1F,IER_PERIA_INTA252=0x1F,\r
-IER_PERIA_INTA253=0x1F,IER_PERIA_INTA254=0x1F,IER_PERIA_INTA255=0x1F\r
-};\r
-\r
-enum enum_ipr {\r
-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_CMTW1_CMWI1=7,\r
-IPR_USBA_D0FIFO2=32,IPR_USBA_D1FIFO2=33,\r
-IPR_USB0_D0FIFO0=34,IPR_USB0_D1FIFO0=35,\r
-IPR_RSPI0_SPRI0=38,IPR_RSPI0_SPTI0=39,\r
-IPR_QSPI_SPRI=42,IPR_QSPI_SPTI=43,\r
-IPR_SDHI_SBFAI=44,\r
-IPR_MMCIF_MBFAI=45,\r
-IPR_SSI0_SSITXI0=46,IPR_SSI0_SSIRXI0=47,\r
-IPR_SSI1_SSIRTI1=48,\r
-IPR_SRC_IDEI=50,IPR_SRC_ODFI=51,\r
-IPR_RIIC0_RXI0=52,IPR_RIIC0_TXI0=53,\r
-IPR_RIIC2_RXI2=54,IPR_RIIC2_TXI2=55,\r
-IPR_SCI0_RXI0=58,IPR_SCI0_TXI0=59,\r
-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_LVD1=88,\r
-IPR_LVD2_LVD2=89,\r
-IPR_USB0_USBR0=90,\r
-IPR_RTC_ALM=92,IPR_RTC_PRD=93,\r
-IPR_USBA_USBAR=94,\r
-IPR_IWDT_IWUNI=95,\r
-IPR_WDT_WUNI=96,\r
-IPR_PDC_PCDFI=97,\r
-IPR_SCI7_RXI7=98,IPR_SCI7_TXI7=99,\r
-IPR_SCIFA8_RXIF8=100,IPR_SCIFA8_TXIF8=101,\r
-IPR_SCIFA9_RXIF9=102,IPR_SCIFA9_TXIF9=103,\r
-IPR_SCIFA10_RXIF10=104,IPR_SCIFA10_TXIF10=105,\r
-IPR_ICU_GROUPBE0=106,IPR_ICU_GROUPBL0=110,IPR_ICU_GROUPBL1=111,IPR_ICU_GROUPAL0=112,IPR_ICU_GROUPAL1=113,\r
-IPR_SCIFA11_RXIF11=114,IPR_SCIFA11_TXIF11=115,\r
-IPR_SCI12_RXI12=116,IPR_SCI12_TXI12=117,\r
-IPR_DMAC_DMAC0I=120,IPR_DMAC_DMAC1I=121,IPR_DMAC_DMAC2I=122,IPR_DMAC_DMAC3I=123,IPR_DMAC_DMAC74I=124,\r
-IPR_OST_OST=125,\r
-IPR_EXDMAC_EXDMAC0I=126,IPR_EXDMAC_EXDMAC1I=127,\r
-IPR_PERIB_INTB128=128,IPR_PERIB_INTB129=129,IPR_PERIB_INTB130=130,IPR_PERIB_INTB131=131,IPR_PERIB_INTB132=132,\r
-IPR_PERIB_INTB133=133,IPR_PERIB_INTB134=134,IPR_PERIB_INTB135=135,IPR_PERIB_INTB136=136,IPR_PERIB_INTB137=137,\r
-IPR_PERIB_INTB138=138,IPR_PERIB_INTB139=139,IPR_PERIB_INTB140=140,IPR_PERIB_INTB141=141,IPR_PERIB_INTB142=142,\r
-IPR_PERIB_INTB143=143,IPR_PERIB_INTB144=144,IPR_PERIB_INTB145=145,IPR_PERIB_INTB146=146,IPR_PERIB_INTB147=147,\r
-IPR_PERIB_INTB148=148,IPR_PERIB_INTB149=149,IPR_PERIB_INTB150=150,IPR_PERIB_INTB151=151,IPR_PERIB_INTB152=152,\r
-IPR_PERIB_INTB153=153,IPR_PERIB_INTB154=154,IPR_PERIB_INTB155=155,IPR_PERIB_INTB156=156,IPR_PERIB_INTB157=157,\r
-IPR_PERIB_INTB158=158,IPR_PERIB_INTB159=159,IPR_PERIB_INTB160=160,IPR_PERIB_INTB161=161,IPR_PERIB_INTB162=162,\r
-IPR_PERIB_INTB163=163,IPR_PERIB_INTB164=164,IPR_PERIB_INTB165=165,IPR_PERIB_INTB166=166,IPR_PERIB_INTB167=167,\r
-IPR_PERIB_INTB168=168,IPR_PERIB_INTB169=169,IPR_PERIB_INTB170=170,IPR_PERIB_INTB171=171,IPR_PERIB_INTB172=172,\r
-IPR_PERIB_INTB173=173,IPR_PERIB_INTB174=174,IPR_PERIB_INTB175=175,IPR_PERIB_INTB176=176,IPR_PERIB_INTB177=177,\r
-IPR_PERIB_INTB178=178,IPR_PERIB_INTB179=179,IPR_PERIB_INTB180=180,IPR_PERIB_INTB181=181,IPR_PERIB_INTB182=182,\r
-IPR_PERIB_INTB183=183,IPR_PERIB_INTB184=184,IPR_PERIB_INTB185=185,IPR_PERIB_INTB186=186,IPR_PERIB_INTB187=187,\r
-IPR_PERIB_INTB188=188,IPR_PERIB_INTB189=189,IPR_PERIB_INTB190=190,IPR_PERIB_INTB191=191,IPR_PERIB_INTB192=192,\r
-IPR_PERIB_INTB193=193,IPR_PERIB_INTB194=194,IPR_PERIB_INTB195=195,IPR_PERIB_INTB196=196,IPR_PERIB_INTB197=197,\r
-IPR_PERIB_INTB198=198,IPR_PERIB_INTB199=199,IPR_PERIB_INTB200=200,IPR_PERIB_INTB201=201,IPR_PERIB_INTB202=202,\r
-IPR_PERIB_INTB203=203,IPR_PERIB_INTB204=204,IPR_PERIB_INTB205=205,IPR_PERIB_INTB206=206,IPR_PERIB_INTB207=207,\r
-IPR_PERIA_INTA208=208,IPR_PERIA_INTA209=209,IPR_PERIA_INTA210=210,IPR_PERIA_INTA211=211,IPR_PERIA_INTA212=212,\r
-IPR_PERIA_INTA213=213,IPR_PERIA_INTA214=214,IPR_PERIA_INTA215=215,IPR_PERIA_INTA216=216,IPR_PERIA_INTA217=217,\r
-IPR_PERIA_INTA218=218,IPR_PERIA_INTA219=219,IPR_PERIA_INTA220=220,IPR_PERIA_INTA221=221,IPR_PERIA_INTA222=222,\r
-IPR_PERIA_INTA223=223,IPR_PERIA_INTA224=224,IPR_PERIA_INTA225=225,IPR_PERIA_INTA226=226,IPR_PERIA_INTA227=227,\r
-IPR_PERIA_INTA228=228,IPR_PERIA_INTA229=229,IPR_PERIA_INTA230=230,IPR_PERIA_INTA231=231,IPR_PERIA_INTA232=232,\r
-IPR_PERIA_INTA233=233,IPR_PERIA_INTA234=234,IPR_PERIA_INTA235=235,IPR_PERIA_INTA236=236,IPR_PERIA_INTA237=237,\r
-IPR_PERIA_INTA238=238,IPR_PERIA_INTA239=239,IPR_PERIA_INTA240=240,IPR_PERIA_INTA241=241,IPR_PERIA_INTA242=242,\r
-IPR_PERIA_INTA243=243,IPR_PERIA_INTA244=244,IPR_PERIA_INTA245=245,IPR_PERIA_INTA246=246,IPR_PERIA_INTA247=247,\r
-IPR_PERIA_INTA248=248,IPR_PERIA_INTA249=249,IPR_PERIA_INTA250=250,IPR_PERIA_INTA251=251,IPR_PERIA_INTA252=252,\r
-IPR_PERIA_INTA253=253,IPR_PERIA_INTA254=254,IPR_PERIA_INTA255=255\r
-};\r
-\r
-#define IEN_BSC_BUSERR IEN0\r
-#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_CMTW1_CMWI1 IEN7\r
-#define IEN_USBA_D0FIFO2 IEN0\r
-#define IEN_USBA_D1FIFO2 IEN1\r
-#define IEN_USB0_D0FIFO0 IEN2\r
-#define IEN_USB0_D1FIFO0 IEN3\r
-#define IEN_RSPI0_SPRI0 IEN6\r
-#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_MMCIF_MBFAI IEN5\r
-#define IEN_SSI0_SSITXI0 IEN6\r
-#define IEN_SSI0_SSIRXI0 IEN7\r
-#define IEN_SSI1_SSIRTI1 IEN0\r
-#define IEN_SRC_IDEI IEN2\r
-#define IEN_SRC_ODFI IEN3\r
-#define IEN_RIIC0_RXI0 IEN4\r
-#define IEN_RIIC0_TXI0 IEN5\r
-#define IEN_RIIC2_RXI2 IEN6\r
-#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_LVD1 IEN0\r
-#define IEN_LVD2_LVD2 IEN1\r
-#define IEN_USB0_USBR0 IEN2\r
-#define IEN_RTC_ALM IEN4\r
-#define IEN_RTC_PRD IEN5\r
-#define IEN_USBA_USBAR IEN6\r
-#define IEN_IWDT_IWUNI IEN7\r
-#define IEN_WDT_WUNI IEN0\r
-#define IEN_PDC_PCDFI IEN1\r
-#define IEN_SCI7_RXI7 IEN2\r
-#define IEN_SCI7_TXI7 IEN3\r
-#define IEN_SCIFA8_RXIF8 IEN4\r
-#define IEN_SCIFA8_TXIF8 IEN5\r
-#define IEN_SCIFA9_RXIF9 IEN6\r
-#define IEN_SCIFA9_TXIF9 IEN7\r
-#define IEN_SCIFA10_RXIF10 IEN0\r
-#define IEN_SCIFA10_TXIF10 IEN1\r
-#define IEN_ICU_GROUPBE0 IEN2\r
-#define IEN_ICU_GROUPBL0 IEN6\r
-#define IEN_ICU_GROUPBL1 IEN7\r
-#define IEN_ICU_GROUPAL0 IEN0\r
-#define IEN_ICU_GROUPAL1 IEN1\r
-#define IEN_SCIFA11_RXIF11 IEN2\r
-#define IEN_SCIFA11_TXIF11 IEN3\r
-#define IEN_SCI12_RXI12 IEN4\r
-#define IEN_SCI12_TXI12 IEN5\r
-#define IEN_DMAC_DMAC0I IEN0\r
-#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_OST_OST IEN5\r
-#define IEN_EXDMAC_EXDMAC0I IEN6\r
-#define IEN_EXDMAC_EXDMAC1I IEN7\r
-#define IEN_PERIB_INTB128 IEN0\r
-#define IEN_PERIB_INTB129 IEN1\r
-#define IEN_PERIB_INTB130 IEN2\r
-#define IEN_PERIB_INTB131 IEN3\r
-#define IEN_PERIB_INTB132 IEN4\r
-#define IEN_PERIB_INTB133 IEN5\r
-#define IEN_PERIB_INTB134 IEN6\r
-#define IEN_PERIB_INTB135 IEN7\r
-#define IEN_PERIB_INTB136 IEN0\r
-#define IEN_PERIB_INTB137 IEN1\r
-#define IEN_PERIB_INTB138 IEN2\r
-#define IEN_PERIB_INTB139 IEN3\r
-#define IEN_PERIB_INTB140 IEN4\r
-#define IEN_PERIB_INTB141 IEN5\r
-#define IEN_PERIB_INTB142 IEN6\r
-#define IEN_PERIB_INTB143 IEN7\r
-#define IEN_PERIB_INTB144 IEN0\r
-#define IEN_PERIB_INTB145 IEN1\r
-#define IEN_PERIB_INTB146 IEN2\r
-#define IEN_PERIB_INTB147 IEN3\r
-#define IEN_PERIB_INTB148 IEN4\r
-#define IEN_PERIB_INTB149 IEN5\r
-#define IEN_PERIB_INTB150 IEN6\r
-#define IEN_PERIB_INTB151 IEN7\r
-#define IEN_PERIB_INTB152 IEN0\r
-#define IEN_PERIB_INTB153 IEN1\r
-#define IEN_PERIB_INTB154 IEN2\r
-#define IEN_PERIB_INTB155 IEN3\r
-#define IEN_PERIB_INTB156 IEN4\r
-#define IEN_PERIB_INTB157 IEN5\r
-#define IEN_PERIB_INTB158 IEN6\r
-#define IEN_PERIB_INTB159 IEN7\r
-#define IEN_PERIB_INTB160 IEN0\r
-#define IEN_PERIB_INTB161 IEN1\r
-#define IEN_PERIB_INTB162 IEN2\r
-#define IEN_PERIB_INTB163 IEN3\r
-#define IEN_PERIB_INTB164 IEN4\r
-#define IEN_PERIB_INTB165 IEN5\r
-#define IEN_PERIB_INTB166 IEN6\r
-#define IEN_PERIB_INTB167 IEN7\r
-#define IEN_PERIB_INTB168 IEN0\r
-#define IEN_PERIB_INTB169 IEN1\r
-#define IEN_PERIB_INTB170 IEN2\r
-#define IEN_PERIB_INTB171 IEN3\r
-#define IEN_PERIB_INTB172 IEN4\r
-#define IEN_PERIB_INTB173 IEN5\r
-#define IEN_PERIB_INTB174 IEN6\r
-#define IEN_PERIB_INTB175 IEN7\r
-#define IEN_PERIB_INTB176 IEN0\r
-#define IEN_PERIB_INTB177 IEN1\r
-#define IEN_PERIB_INTB178 IEN2\r
-#define IEN_PERIB_INTB179 IEN3\r
-#define IEN_PERIB_INTB180 IEN4\r
-#define IEN_PERIB_INTB181 IEN5\r
-#define IEN_PERIB_INTB182 IEN6\r
-#define IEN_PERIB_INTB183 IEN7\r
-#define IEN_PERIB_INTB184 IEN0\r
-#define IEN_PERIB_INTB185 IEN1\r
-#define IEN_PERIB_INTB186 IEN2\r
-#define IEN_PERIB_INTB187 IEN3\r
-#define IEN_PERIB_INTB188 IEN4\r
-#define IEN_PERIB_INTB189 IEN5\r
-#define IEN_PERIB_INTB190 IEN6\r
-#define IEN_PERIB_INTB191 IEN7\r
-#define IEN_PERIB_INTB192 IEN0\r
-#define IEN_PERIB_INTB193 IEN1\r
-#define IEN_PERIB_INTB194 IEN2\r
-#define IEN_PERIB_INTB195 IEN3\r
-#define IEN_PERIB_INTB196 IEN4\r
-#define IEN_PERIB_INTB197 IEN5\r
-#define IEN_PERIB_INTB198 IEN6\r
-#define IEN_PERIB_INTB199 IEN7\r
-#define IEN_PERIB_INTB200 IEN0\r
-#define IEN_PERIB_INTB201 IEN1\r
-#define IEN_PERIB_INTB202 IEN2\r
-#define IEN_PERIB_INTB203 IEN3\r
-#define IEN_PERIB_INTB204 IEN4\r
-#define IEN_PERIB_INTB205 IEN5\r
-#define IEN_PERIB_INTB206 IEN6\r
-#define IEN_PERIB_INTB207 IEN7\r
-#define IEN_PERIA_INTA208 IEN0\r
-#define IEN_PERIA_INTA209 IEN1\r
-#define IEN_PERIA_INTA210 IEN2\r
-#define IEN_PERIA_INTA211 IEN3\r
-#define IEN_PERIA_INTA212 IEN4\r
-#define IEN_PERIA_INTA213 IEN5\r
-#define IEN_PERIA_INTA214 IEN6\r
-#define IEN_PERIA_INTA215 IEN7\r
-#define IEN_PERIA_INTA216 IEN0\r
-#define IEN_PERIA_INTA217 IEN1\r
-#define IEN_PERIA_INTA218 IEN2\r
-#define IEN_PERIA_INTA219 IEN3\r
-#define IEN_PERIA_INTA220 IEN4\r
-#define IEN_PERIA_INTA221 IEN5\r
-#define IEN_PERIA_INTA222 IEN6\r
-#define IEN_PERIA_INTA223 IEN7\r
-#define IEN_PERIA_INTA224 IEN0\r
-#define IEN_PERIA_INTA225 IEN1\r
-#define IEN_PERIA_INTA226 IEN2\r
-#define IEN_PERIA_INTA227 IEN3\r
-#define IEN_PERIA_INTA228 IEN4\r
-#define IEN_PERIA_INTA229 IEN5\r
-#define IEN_PERIA_INTA230 IEN6\r
-#define IEN_PERIA_INTA231 IEN7\r
-#define IEN_PERIA_INTA232 IEN0\r
-#define IEN_PERIA_INTA233 IEN1\r
-#define IEN_PERIA_INTA234 IEN2\r
-#define IEN_PERIA_INTA235 IEN3\r
-#define IEN_PERIA_INTA236 IEN4\r
-#define IEN_PERIA_INTA237 IEN5\r
-#define IEN_PERIA_INTA238 IEN6\r
-#define IEN_PERIA_INTA239 IEN7\r
-#define IEN_PERIA_INTA240 IEN0\r
-#define IEN_PERIA_INTA241 IEN1\r
-#define IEN_PERIA_INTA242 IEN2\r
-#define IEN_PERIA_INTA243 IEN3\r
-#define IEN_PERIA_INTA244 IEN4\r
-#define IEN_PERIA_INTA245 IEN5\r
-#define IEN_PERIA_INTA246 IEN6\r
-#define IEN_PERIA_INTA247 IEN7\r
-#define IEN_PERIA_INTA248 IEN0\r
-#define IEN_PERIA_INTA249 IEN1\r
-#define IEN_PERIA_INTA250 IEN2\r
-#define IEN_PERIA_INTA251 IEN3\r
-#define IEN_PERIA_INTA252 IEN4\r
-#define IEN_PERIA_INTA253 IEN5\r
-#define IEN_PERIA_INTA254 IEN6\r
-#define IEN_PERIA_INTA255 IEN7\r
-\r
-#define VECT_BSC_BUSERR 16\r
-#define VECT_RAM_RAMERR 18\r
-#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_CMTW1_CMWI1 31\r
-#define VECT_USBA_D0FIFO2 32\r
-#define VECT_USBA_D1FIFO2 33\r
-#define VECT_USB0_D0FIFO0 34\r
-#define VECT_USB0_D1FIFO0 35\r
-#define VECT_RSPI0_SPRI0 38\r
-#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_MMCIF_MBFAI 45\r
-#define VECT_SSI0_SSITXI0 46\r
-#define VECT_SSI0_SSIRXI0 47\r
-#define VECT_SSI1_SSIRTI1 48\r
-#define VECT_SRC_IDEI 50\r
-#define VECT_SRC_ODFI 51\r
-#define VECT_RIIC0_RXI0 52\r
-#define VECT_RIIC0_TXI0 53\r
-#define VECT_RIIC2_RXI2 54\r
-#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_LVD1 88\r
-#define VECT_LVD2_LVD2 89\r
-#define VECT_USB0_USBR0 90\r
-#define VECT_RTC_ALM 92\r
-#define VECT_RTC_PRD 93\r
-#define VECT_USBA_USBAR 94\r
-#define VECT_IWDT_IWUNI 95\r
-#define VECT_WDT_WUNI 96\r
-#define VECT_PDC_PCDFI 97\r
-#define VECT_SCI7_RXI7 98\r
-#define VECT_SCI7_TXI7 99\r
-#define VECT_SCIFA8_RXIF8 100\r
-#define VECT_SCIFA8_TXIF8 101\r
-#define VECT_SCIFA9_RXIF9 102\r
-#define VECT_SCIFA9_TXIF9 103\r
-#define VECT_SCIFA10_RXIF10 104\r
-#define VECT_SCIFA10_TXIF10 105\r
-#define VECT_ICU_GROUPBE0 106\r
-#define VECT_ICU_GROUPBL0 110\r
-#define VECT_ICU_GROUPBL1 111\r
-#define VECT_ICU_GROUPAL0 112\r
-#define VECT_ICU_GROUPAL1 113\r
-#define VECT_SCIFA11_RXIF11 114\r
-#define VECT_SCIFA11_TXIF11 115\r
-#define VECT_SCI12_RXI12 116\r
-#define VECT_SCI12_TXI12 117\r
-#define VECT_DMAC_DMAC0I 120\r
-#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_OST_OST 125\r
-#define VECT_EXDMAC_EXDMAC0I 126\r
-#define VECT_EXDMAC_EXDMAC1I 127\r
-#define VECT_PERIB_INTB128 128\r
-#define VECT_PERIB_INTB129 129\r
-#define VECT_PERIB_INTB130 130\r
-#define VECT_PERIB_INTB131 131\r
-#define VECT_PERIB_INTB132 132\r
-#define VECT_PERIB_INTB133 133\r
-#define VECT_PERIB_INTB134 134\r
-#define VECT_PERIB_INTB135 135\r
-#define VECT_PERIB_INTB136 136\r
-#define VECT_PERIB_INTB137 137\r
-#define VECT_PERIB_INTB138 138\r
-#define VECT_PERIB_INTB139 139\r
-#define VECT_PERIB_INTB140 140\r
-#define VECT_PERIB_INTB141 141\r
-#define VECT_PERIB_INTB142 142\r
-#define VECT_PERIB_INTB143 143\r
-#define VECT_PERIB_INTB144 144\r
-#define VECT_PERIB_INTB145 145\r
-#define VECT_PERIB_INTB146 146\r
-#define VECT_PERIB_INTB147 147\r
-#define VECT_PERIB_INTB148 148\r
-#define VECT_PERIB_INTB149 149\r
-#define VECT_PERIB_INTB150 150\r
-#define VECT_PERIB_INTB151 151\r
-#define VECT_PERIB_INTB152 152\r
-#define VECT_PERIB_INTB153 153\r
-#define VECT_PERIB_INTB154 154\r
-#define VECT_PERIB_INTB155 155\r
-#define VECT_PERIB_INTB156 156\r
-#define VECT_PERIB_INTB157 157\r
-#define VECT_PERIB_INTB158 158\r
-#define VECT_PERIB_INTB159 159\r
-#define VECT_PERIB_INTB160 160\r
-#define VECT_PERIB_INTB161 161\r
-#define VECT_PERIB_INTB162 162\r
-#define VECT_PERIB_INTB163 163\r
-#define VECT_PERIB_INTB164 164\r
-#define VECT_PERIB_INTB165 165\r
-#define VECT_PERIB_INTB166 166\r
-#define VECT_PERIB_INTB167 167\r
-#define VECT_PERIB_INTB168 168\r
-#define VECT_PERIB_INTB169 169\r
-#define VECT_PERIB_INTB170 170\r
-#define VECT_PERIB_INTB171 171\r
-#define VECT_PERIB_INTB172 172\r
-#define VECT_PERIB_INTB173 173\r
-#define VECT_PERIB_INTB174 174\r
-#define VECT_PERIB_INTB175 175\r
-#define VECT_PERIB_INTB176 176\r
-#define VECT_PERIB_INTB177 177\r
-#define VECT_PERIB_INTB178 178\r
-#define VECT_PERIB_INTB179 179\r
-#define VECT_PERIB_INTB180 180\r
-#define VECT_PERIB_INTB181 181\r
-#define VECT_PERIB_INTB182 182\r
-#define VECT_PERIB_INTB183 183\r
-#define VECT_PERIB_INTB184 184\r
-#define VECT_PERIB_INTB185 185\r
-#define VECT_PERIB_INTB186 186\r
-#define VECT_PERIB_INTB187 187\r
-#define VECT_PERIB_INTB188 188\r
-#define VECT_PERIB_INTB189 189\r
-#define VECT_PERIB_INTB190 190\r
-#define VECT_PERIB_INTB191 191\r
-#define VECT_PERIB_INTB192 192\r
-#define VECT_PERIB_INTB193 193\r
-#define VECT_PERIB_INTB194 194\r
-#define VECT_PERIB_INTB195 195\r
-#define VECT_PERIB_INTB196 196\r
-#define VECT_PERIB_INTB197 197\r
-#define VECT_PERIB_INTB198 198\r
-#define VECT_PERIB_INTB199 199\r
-#define VECT_PERIB_INTB200 200\r
-#define VECT_PERIB_INTB201 201\r
-#define VECT_PERIB_INTB202 202\r
-#define VECT_PERIB_INTB203 203\r
-#define VECT_PERIB_INTB204 204\r
-#define VECT_PERIB_INTB205 205\r
-#define VECT_PERIB_INTB206 206\r
-#define VECT_PERIB_INTB207 207\r
-#define VECT_PERIA_INTA208 208\r
-#define VECT_PERIA_INTA209 209\r
-#define VECT_PERIA_INTA210 210\r
-#define VECT_PERIA_INTA211 211\r
-#define VECT_PERIA_INTA212 212\r
-#define VECT_PERIA_INTA213 213\r
-#define VECT_PERIA_INTA214 214\r
-#define VECT_PERIA_INTA215 215\r
-#define VECT_PERIA_INTA216 216\r
-#define VECT_PERIA_INTA217 217\r
-#define VECT_PERIA_INTA218 218\r
-#define VECT_PERIA_INTA219 219\r
-#define VECT_PERIA_INTA220 220\r
-#define VECT_PERIA_INTA221 221\r
-#define VECT_PERIA_INTA222 222\r
-#define VECT_PERIA_INTA223 223\r
-#define VECT_PERIA_INTA224 224\r
-#define VECT_PERIA_INTA225 225\r
-#define VECT_PERIA_INTA226 226\r
-#define VECT_PERIA_INTA227 227\r
-#define VECT_PERIA_INTA228 228\r
-#define VECT_PERIA_INTA229 229\r
-#define VECT_PERIA_INTA230 230\r
-#define VECT_PERIA_INTA231 231\r
-#define VECT_PERIA_INTA232 232\r
-#define VECT_PERIA_INTA233 233\r
-#define VECT_PERIA_INTA234 234\r
-#define VECT_PERIA_INTA235 235\r
-#define VECT_PERIA_INTA236 236\r
-#define VECT_PERIA_INTA237 237\r
-#define VECT_PERIA_INTA238 238\r
-#define VECT_PERIA_INTA239 239\r
-#define VECT_PERIA_INTA240 240\r
-#define VECT_PERIA_INTA241 241\r
-#define VECT_PERIA_INTA242 242\r
-#define VECT_PERIA_INTA243 243\r
-#define VECT_PERIA_INTA244 244\r
-#define VECT_PERIA_INTA245 245\r
-#define VECT_PERIA_INTA246 246\r
-#define VECT_PERIA_INTA247 247\r
-#define VECT_PERIA_INTA248 248\r
-#define VECT_PERIA_INTA249 249\r
-#define VECT_PERIA_INTA250 250\r
-#define VECT_PERIA_INTA251 251\r
-#define VECT_PERIA_INTA252 252\r
-#define VECT_PERIA_INTA253 253\r
-#define VECT_PERIA_INTA254 254\r
-#define VECT_PERIA_INTA255 255\r
-\r
-#define MSTP_EXDMAC SYSTEM.MSTPCRA.BIT.MSTPA29\r
-#define MSTP_EXDMAC0 SYSTEM.MSTPCRA.BIT.MSTPA29\r
-#define MSTP_EXDMAC1 SYSTEM.MSTPCRA.BIT.MSTPA29\r
-#define MSTP_DMAC SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC0 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC1 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC2 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC3 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC4 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC5 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC6 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DMAC7 SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DTC SYSTEM.MSTPCRA.BIT.MSTPA28\r
-#define MSTP_DA SYSTEM.MSTPCRA.BIT.MSTPA19\r
-#define MSTP_S12AD SYSTEM.MSTPCRA.BIT.MSTPA17\r
-#define MSTP_S12AD1 SYSTEM.MSTPCRA.BIT.MSTPA16\r
-#define MSTP_CMT0 SYSTEM.MSTPCRA.BIT.MSTPA15\r
-#define MSTP_CMT1 SYSTEM.MSTPCRA.BIT.MSTPA15\r
-#define MSTP_CMT2 SYSTEM.MSTPCRA.BIT.MSTPA14\r
-#define MSTP_CMT3 SYSTEM.MSTPCRA.BIT.MSTPA14\r
-#define MSTP_TPU0 SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define MSTP_TPU1 SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define MSTP_TPU2 SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define MSTP_TPU3 SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define MSTP_TPU4 SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define MSTP_TPU5 SYSTEM.MSTPCRA.BIT.MSTPA13\r
-#define MSTP_PPG0 SYSTEM.MSTPCRA.BIT.MSTPA11\r
-#define MSTP_PPG1 SYSTEM.MSTPCRA.BIT.MSTPA10\r
-#define MSTP_MTU SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU0 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU1 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU2 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU3 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU4 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU5 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU6 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU7 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_MTU8 SYSTEM.MSTPCRA.BIT.MSTPA9\r
-#define MSTP_GPT SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define MSTP_GPT0 SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define MSTP_GPT1 SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define MSTP_GPT2 SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define MSTP_GPT3 SYSTEM.MSTPCRA.BIT.MSTPA7\r
-#define MSTP_TMR0 SYSTEM.MSTPCRA.BIT.MSTPA5\r
-#define MSTP_TMR1 SYSTEM.MSTPCRA.BIT.MSTPA5\r
-#define MSTP_TMR01 SYSTEM.MSTPCRA.BIT.MSTPA5\r
-#define MSTP_TMR2 SYSTEM.MSTPCRA.BIT.MSTPA4\r
-#define MSTP_TMR3 SYSTEM.MSTPCRA.BIT.MSTPA4\r
-#define MSTP_TMR23 SYSTEM.MSTPCRA.BIT.MSTPA4\r
-#define MSTP_CMTW0 SYSTEM.MSTPCRA.BIT.MSTPA1\r
-#define MSTP_CMTW1 SYSTEM.MSTPCRA.BIT.MSTPA0\r
-#define MSTP_SCI0 SYSTEM.MSTPCRB.BIT.MSTPB31\r
-#define MSTP_SMCI0 SYSTEM.MSTPCRB.BIT.MSTPB31\r
-#define MSTP_SCI1 SYSTEM.MSTPCRB.BIT.MSTPB30\r
-#define MSTP_SMCI1 SYSTEM.MSTPCRB.BIT.MSTPB30\r
-#define MSTP_SCI2 SYSTEM.MSTPCRB.BIT.MSTPB29\r
-#define MSTP_SMCI2 SYSTEM.MSTPCRB.BIT.MSTPB29\r
-#define MSTP_SCI3 SYSTEM.MSTPCRB.BIT.MSTPB28\r
-#define MSTP_SMCI3 SYSTEM.MSTPCRB.BIT.MSTPB28\r
-#define MSTP_SCI4 SYSTEM.MSTPCRB.BIT.MSTPB27\r
-#define MSTP_SMCI4 SYSTEM.MSTPCRB.BIT.MSTPB27\r
-#define MSTP_SCI5 SYSTEM.MSTPCRB.BIT.MSTPB26\r
-#define MSTP_SMCI5 SYSTEM.MSTPCRB.BIT.MSTPB26\r
-#define MSTP_SCI6 SYSTEM.MSTPCRB.BIT.MSTPB25\r
-#define MSTP_SMCI6 SYSTEM.MSTPCRB.BIT.MSTPB25\r
-#define MSTP_SCI7 SYSTEM.MSTPCRB.BIT.MSTPB24\r
-#define MSTP_SMCI7 SYSTEM.MSTPCRB.BIT.MSTPB24\r
-#define MSTP_CRC SYSTEM.MSTPCRB.BIT.MSTPB23\r
-#define MSTP_PDC SYSTEM.MSTPCRB.BIT.MSTPB22\r
-#define MSTP_RIIC0 SYSTEM.MSTPCRB.BIT.MSTPB21\r
-#define MSTP_USB0 SYSTEM.MSTPCRB.BIT.MSTPB19\r
-#define MSTP_RSPI0 SYSTEM.MSTPCRB.BIT.MSTPB17\r
-#define MSTP_EDMAC0 SYSTEM.MSTPCRB.BIT.MSTPB15\r
-#define MSTP_EDMAC1 SYSTEM.MSTPCRB.BIT.MSTPB14\r
-#define MSTP_USBA SYSTEM.MSTPCRB.BIT.MSTPB12\r
-#define MSTP_ELC SYSTEM.MSTPCRB.BIT.MSTPB9\r
-#define MSTP_TEMPS SYSTEM.MSTPCRB.BIT.MSTPB8\r
-#define MSTP_DOC SYSTEM.MSTPCRB.BIT.MSTPB6\r
-#define MSTP_SCI12 SYSTEM.MSTPCRB.BIT.MSTPB4\r
-#define MSTP_SMCI12 SYSTEM.MSTPCRB.BIT.MSTPB4\r
-#define MSTP_CAN2 SYSTEM.MSTPCRB.BIT.MSTPB2\r
-#define MSTP_CAN1 SYSTEM.MSTPCRB.BIT.MSTPB1\r
-#define MSTP_CAN0 SYSTEM.MSTPCRB.BIT.MSTPB0\r
-#define MSTP_SCIFA8 SYSTEM.MSTPCRC.BIT.MSTPC27\r
-#define MSTP_SCIFA9 SYSTEM.MSTPCRC.BIT.MSTPC26\r
-#define MSTP_SCIFA10 SYSTEM.MSTPCRC.BIT.MSTPC25\r
-#define MSTP_SCIFA11 SYSTEM.MSTPCRC.BIT.MSTPC24\r
-#define MSTP_QSPI SYSTEM.MSTPCRC.BIT.MSTPC23\r
-#define MSTP_CAC SYSTEM.MSTPCRC.BIT.MSTPC19\r
-#define MSTP_RIIC2 SYSTEM.MSTPCRC.BIT.MSTPC17\r
-#define MSTP_STBYRAM SYSTEM.MSTPCRC.BIT.MSTPC7\r
-#define MSTP_ECCRAM SYSTEM.MSTPCRC.BIT.MSTPC6\r
-#define MSTP_RAM0 SYSTEM.MSTPCRC.BIT.MSTPC0\r
-#define MSTP_AES SYSTEM.MSTPCRD.BIT.MSTPD31\r
-#define MSTP_DES SYSTEM.MSTPCRD.BIT.MSTPD30\r
-#define MSTP_SHA SYSTEM.MSTPCRD.BIT.MSTPD29\r
-#define MSTP_RNG SYSTEM.MSTPCRD.BIT.MSTPD28\r
-#define MSTP_SRC SYSTEM.MSTPCRD.BIT.MSTPD23\r
-#define MSTP_MMCIF SYSTEM.MSTPCRD.BIT.MSTPD21\r
-#define MSTP_SDHI SYSTEM.MSTPCRD.BIT.MSTPD19\r
-#define MSTP_SSI0 SYSTEM.MSTPCRD.BIT.MSTPD15\r
-#define MSTP_SSI1 SYSTEM.MSTPCRD.BIT.MSTPD14\r
-\r
-#define IS_CAN0_ERS0 IS0\r
-#define IS_CAN1_ERS1 IS1\r
-#define IS_CAN2_ERS2 IS2\r
-#define IS_SCI0_TEI0 IS0\r
-#define IS_SCI0_ERI0 IS1\r
-#define IS_SCI1_TEI0 IS2\r
-#define IS_SCI1_ERI1 IS3\r
-#define IS_SCI2_TEI0 IS4\r
-#define IS_SCI2_ERI2 IS5\r
-#define IS_SCI3_TEI0 IS6\r
-#define IS_SCI3_ERI3 IS7\r
-#define IS_SCI4_TEI4 IS8\r
-#define IS_SCI4_ERI4 IS9\r
-#define IS_SCI5_TEI5 IS10\r
-#define IS_SCI5_ERI5 IS11\r
-#define IS_SCI6_TEI6 IS12\r
-#define IS_SCI6_ERI6 IS13\r
-#define IS_SCI7_TEI7 IS14\r
-#define IS_SCI7_ERI7 IS15\r
-#define IS_SCI12_TEI12 IS16\r
-#define IS_SCI12_ERI12 IS17\r
-#define IS_SCI12_SCIX0 IS18\r
-#define IS_SCI12_SCIX1 IS19\r
-#define IS_SCI12_SCIX2 IS20\r
-#define IS_SCI12_SCIX3 IS21\r
-#define IS_QSPI_QSPSSLI IS24\r
-#define IS_CAC_FERRF IS26\r
-#define IS_CAC_MENDF IS27\r
-#define IS_CAC_OVFF IS28\r
-#define IS_DOC_DOPCF IS29\r
-#define IS_PDC_PCFEI IS30\r
-#define IS_PDC_PCERI IS31\r
-#define IS_SRC_PCERI IS0\r
-#define IS_SRC_OVF IS1\r
-#define IS_SRC_CEF IS2\r
-#define IS_SDHI_CDETI IS3\r
-#define IS_SDHI_CACI IS4\r
-#define IS_SDHI_SDACI IS5\r
-#define IS_MMCIF_CDETIO IS6\r
-#define IS_MMCIF_ERRIO IS7\r
-#define IS_MMCIF_ACCIO IS8\r
-#define IS_POE3_OEI1 IS9\r
-#define IS_POE3_OEI2 IS10\r
-#define IS_POE3_OEI3 IS11\r
-#define IS_POE3_OEI4 IS12\r
-#define IS_RIIC0_TEI0 IS13\r
-#define IS_RIIC0_EEI0 IS14\r
-#define IS_RIIC2_TEI2 IS15\r
-#define IS_RIIC2_EEI2 IS16\r
-#define IS_SSI0_SSIF0 IS17\r
-#define IS_SSI1_SSIF1 IS18\r
-#define IS_S12AD0_S12CMPI0 IS20\r
-#define IS_S12AD1_S12CMPI1 IS22\r
-#define IS_SCIFA8_TEIF8 IS0\r
-#define IS_SCIFA8_ERIF8 IS1\r
-#define IS_SCIFA8_BRIF8 IS2\r
-#define IS_SCIFA8_DRIF8 IS3\r
-#define IS_SCIFA9_TEIF9 IS4\r
-#define IS_SCIFA9_ERIF9 IS5\r
-#define IS_SCIFA9_BRIF9 IS6\r
-#define IS_SCIFA9_DRIF9 IS7\r
-#define IS_SCIFA10_TEIF10 IS8\r
-#define IS_SCIFA10_ERIF10 IS9\r
-#define IS_SCIFA10_BRIF10 IS10\r
-#define IS_SCIFA10_DRIF10 IS11\r
-#define IS_SCIFA11_TEIF11 IS12\r
-#define IS_SCIFA11_ERIF11 IS13\r
-#define IS_SCIFA11_BRIF11 IS14\r
-#define IS_SCIFA11_DRIF11 IS15\r
-#define IS_RSPI0_SPII0 IS16\r
-#define IS_RSPI0_SPEI0 IS17\r
-#define IS_EPTPC_MINT IS0\r
-#define IS_PRPEDMAC_PINT IS1\r
-#define IS_EDMAC0_EINT0 IS4\r
-#define IS_EDMAC1_EINT1 IS5\r
-\r
-#define EN_CAN0_ERS0 EN0\r
-#define EN_CAN1_ERS1 EN1\r
-#define EN_CAN2_ERS2 EN2\r
-#define EN_SCI0_TEI0 EN0\r
-#define EN_SCI0_ERI0 EN1\r
-#define EN_SCI1_TEI0 EN2\r
-#define EN_SCI1_ERI1 EN3\r
-#define EN_SCI2_TEI0 EN4\r
-#define EN_SCI2_ERI2 EN5\r
-#define EN_SCI3_TEI0 EN6\r
-#define EN_SCI3_ERI3 EN7\r
-#define EN_SCI4_TEI4 EN8\r
-#define EN_SCI4_ERI4 EN9\r
-#define EN_SCI5_TEI5 EN10\r
-#define EN_SCI5_ERI5 EN11\r
-#define EN_SCI6_TEI6 EN12\r
-#define EN_SCI6_ERI6 EN13\r
-#define EN_SCI7_TEI7 EN14\r
-#define EN_SCI7_ERI7 EN15\r
-#define EN_SCI12_TEI12 EN16\r
-#define EN_SCI12_ERI12 EN17\r
-#define EN_SCI12_SCIX0 EN18\r
-#define EN_SCI12_SCIX1 EN19\r
-#define EN_SCI12_SCIX2 EN20\r
-#define EN_SCI12_SCIX3 EN21\r
-#define EN_QSPI_QSPSSLI EN24\r
-#define EN_CAC_FERRF EN26\r
-#define EN_CAC_MENDF EN27\r
-#define EN_CAC_OVFF EN28\r
-#define EN_DOC_DOPCF EN29\r
-#define EN_PDC_PCFEI EN30\r
-#define EN_PDC_PCERI EN31\r
-#define EN_SRC_PCERI EN0\r
-#define EN_SRC_OVF EN1\r
-#define EN_SRC_CEF EN2\r
-#define EN_SDHI_CDETI EN3\r
-#define EN_SDHI_CACI EN4\r
-#define EN_SDHI_SDACI EN5\r
-#define EN_MMCIF_CDETIO EN6\r
-#define EN_MMCIF_ERRIO EN7\r
-#define EN_MMCIF_ACCIO EN8\r
-#define EN_POE3_OEI1 EN9\r
-#define EN_POE3_OEI2 EN10\r
-#define EN_POE3_OEI3 EN11\r
-#define EN_POE3_OEI4 EN12\r
-#define EN_RIIC0_TEI0 EN13\r
-#define EN_RIIC0_EEI0 EN14\r
-#define EN_RIIC2_TEI2 EN15\r
-#define EN_RIIC2_EEI2 EN16\r
-#define EN_SSI0_SSIF0 EN17\r
-#define EN_SSI1_SSIF1 EN18\r
-#define EN_S12AD0_S12CMPI0 EN20\r
-#define EN_S12AD1_S12CMPI1 EN22\r
-#define EN_SCIFA8_TEIF8 EN0\r
-#define EN_SCIFA8_ERIF8 EN1\r
-#define EN_SCIFA8_BRIF8 EN2\r
-#define EN_SCIFA8_DRIF8 EN3\r
-#define EN_SCIFA9_TEIF9 EN4\r
-#define EN_SCIFA9_ERIF9 EN5\r
-#define EN_SCIFA9_BRIF9 EN6\r
-#define EN_SCIFA9_DRIF9 EN7\r
-#define EN_SCIFA10_TEIF10 EN8\r
-#define EN_SCIFA10_ERIF10 EN9\r
-#define EN_SCIFA10_BRIF10 EN10\r
-#define EN_SCIFA10_DRIF10 EN11\r
-#define EN_SCIFA11_TEIF11 EN12\r
-#define EN_SCIFA11_ERIF11 EN13\r
-#define EN_SCIFA11_BRIF11 EN14\r
-#define EN_SCIFA11_DRIF11 EN15\r
-#define EN_RSPI0_SPII0 EN16\r
-#define EN_RSPI0_SPEI0 EN17\r
-#define EN_EPTPC_MINT EN0\r
-#define EN_PRPEDMAC_PINT EN1\r
-#define EN_EDMAC0_EINT0 EN4\r
-#define EN_EDMAC1_EINT1 EN5\r
-\r
-#define CLR_CAN0_ERS0 CLR0\r
-#define CLR_CAN1_ERS1 CLR1\r
-#define CLR_CAN2_ERS2 CLR2\r
-\r
-#define GEN_CAN0_ERS0 GENBE0\r
-#define GEN_CAN1_ERS1 GENBE0\r
-#define GEN_CAN2_ERS2 GENBE0\r
-#define GEN_SCI0_TEI0 GENBL0\r
-#define GEN_SCI0_ERI0 GENBL0\r
-#define GEN_SCI1_TEI0 GENBL0\r
-#define GEN_SCI1_ERI1 GENBL0\r
-#define GEN_SCI2_TEI0 GENBL0\r
-#define GEN_SCI2_ERI2 GENBL0\r
-#define GEN_SCI3_TEI0 GENBL0\r
-#define GEN_SCI3_ERI3 GENBL0\r
-#define GEN_SCI4_TEI4 GENBL0\r
-#define GEN_SCI4_ERI4 GENBL0\r
-#define GEN_SCI5_TEI5 GENBL0\r
-#define GEN_SCI5_ERI5 GENBL0\r
-#define GEN_SCI6_TEI6 GENBL0\r
-#define GEN_SCI6_ERI6 GENBL0\r
-#define GEN_SCI7_TEI7 GENBL0\r
-#define GEN_SCI7_ERI7 GENBL0\r
-#define GEN_SCI12_TEI12 GENBL0\r
-#define GEN_SCI12_ERI12 GENBL0\r
-#define GEN_SCI12_SCIX0 GENBL0\r
-#define GEN_SCI12_SCIX1 GENBL0\r
-#define GEN_SCI12_SCIX2 GENBL0\r
-#define GEN_SCI12_SCIX3 GENBL0\r
-#define GEN_QSPI_QSPSSLI GENBL0\r
-#define GEN_CAC_FERRF GENBL0\r
-#define GEN_CAC_MENDF GENBL0\r
-#define GEN_CAC_OVFF GENBL0\r
-#define GEN_DOC_DOPCF GENBL0\r
-#define GEN_PDC_PCFEI GENBL0\r
-#define GEN_PDC_PCERI GENBL0\r
-#define GEN_SRC_PCERI GENBL1\r
-#define GEN_SRC_OVF GENBL1\r
-#define GEN_SRC_CEF GENBL1\r
-#define GEN_SDHI_CDETI GENBL1\r
-#define GEN_SDHI_CACI GENBL1\r
-#define GEN_SDHI_SDACI GENBL1\r
-#define GEN_MMCIF_CDETIO GENBL1\r
-#define GEN_MMCIF_ERRIO GENBL1\r
-#define GEN_MMCIF_ACCIO GENBL1\r
-#define GEN_POE3_OEI1 GENBL1\r
-#define GEN_POE3_OEI2 GENBL1\r
-#define GEN_POE3_OEI3 GENBL1\r
-#define GEN_POE3_OEI4 GENBL1\r
-#define GEN_RIIC0_TEI0 GENBL1\r
-#define GEN_RIIC0_EEI0 GENBL1\r
-#define GEN_RIIC2_TEI2 GENBL1\r
-#define GEN_RIIC2_EEI2 GENBL1\r
-#define GEN_SSI0_SSIF0 GENBL1\r
-#define GEN_SSI1_SSIF1 GENBL1\r
-#define GEN_S12AD0_S12CMPI0 GENBL1\r
-#define GEN_S12AD1_S12CMPI1 GENBL1\r
-#define GEN_SCIFA8_TEIF8 GENAL0\r
-#define GEN_SCIFA8_ERIF8 GENAL0\r
-#define GEN_SCIFA8_BRIF8 GENAL0\r
-#define GEN_SCIFA8_DRIF8 GENAL0\r
-#define GEN_SCIFA9_TEIF9 GENAL0\r
-#define GEN_SCIFA9_ERIF9 GENAL0\r
-#define GEN_SCIFA9_BRIF9 GENAL0\r
-#define GEN_SCIFA9_DRIF9 GENAL0\r
-#define GEN_SCIFA10_TEIF10 GENAL0\r
-#define GEN_SCIFA10_ERIF10 GENAL0\r
-#define GEN_SCIFA10_BRIF10 GENAL0\r
-#define GEN_SCIFA10_DRIF10 GENAL0\r
-#define GEN_SCIFA11_TEIF11 GENAL0\r
-#define GEN_SCIFA11_ERIF11 GENAL0\r
-#define GEN_SCIFA11_BRIF11 GENAL0\r
-#define GEN_SCIFA11_DRIF11 GENAL0\r
-#define GEN_RSPI0_SPII0 GENAL0\r
-#define GEN_RSPI0_SPEI0 GENAL0\r
-#define GEN_EPTPC_MINT GENAL1\r
-#define GEN_PRPEDMAC_PINT GENAL1\r
-#define GEN_EDMAC0_EINT0 GENAL1\r
-#define GEN_EDMAC1_EINT1 GENAL1\r
-\r
-#define GRP_CAN0_ERS0 GRPBE0\r
-#define GRP_CAN1_ERS1 GRPBE0\r
-#define GRP_CAN2_ERS2 GRPBE0\r
-#define GRP_SCI0_TEI0 GRPBL0\r
-#define GRP_SCI0_ERI0 GRPBL0\r
-#define GRP_SCI1_TEI0 GRPBL0\r
-#define GRP_SCI1_ERI1 GRPBL0\r
-#define GRP_SCI2_TEI0 GRPBL0\r
-#define GRP_SCI2_ERI2 GRPBL0\r
-#define GRP_SCI3_TEI0 GRPBL0\r
-#define GRP_SCI3_ERI3 GRPBL0\r
-#define GRP_SCI4_TEI4 GRPBL0\r
-#define GRP_SCI4_ERI4 GRPBL0\r
-#define GRP_SCI5_TEI5 GRPBL0\r
-#define GRP_SCI5_ERI5 GRPBL0\r
-#define GRP_SCI6_TEI6 GRPBL0\r
-#define GRP_SCI6_ERI6 GRPBL0\r
-#define GRP_SCI7_TEI7 GRPBL0\r
-#define GRP_SCI7_ERI7 GRPBL0\r
-#define GRP_SCI12_TEI12 GRPBL0\r
-#define GRP_SCI12_ERI12 GRPBL0\r
-#define GRP_SCI12_SCIX0 GRPBL0\r
-#define GRP_SCI12_SCIX1 GRPBL0\r
-#define GRP_SCI12_SCIX2 GRPBL0\r
-#define GRP_SCI12_SCIX3 GRPBL0\r
-#define GRP_QSPI_QSPSSLI GRPBL0\r
-#define GRP_CAC_FERRF GRPBL0\r
-#define GRP_CAC_MENDF GRPBL0\r
-#define GRP_CAC_OVFF GRPBL0\r
-#define GRP_DOC_DOPCF GRPBL0\r
-#define GRP_PDC_PCFEI GRPBL0\r
-#define GRP_PDC_PCERI GRPBL0\r
-#define GRP_SRC_PCERI GRPBL1\r
-#define GRP_SRC_OVF GRPBL1\r
-#define GRP_SRC_CEF GRPBL1\r
-#define GRP_SDHI_CDETI GRPBL1\r
-#define GRP_SDHI_CACI GRPBL1\r
-#define GRP_SDHI_SDACI GRPBL1\r
-#define GRP_MMCIF_CDETIO GRPBL1\r
-#define GRP_MMCIF_ERRIO GRPBL1\r
-#define GRP_MMCIF_ACCIO GRPBL1\r
-#define GRP_POE3_OEI1 GRPBL1\r
-#define GRP_POE3_OEI2 GRPBL1\r
-#define GRP_POE3_OEI3 GRPBL1\r
-#define GRP_POE3_OEI4 GRPBL1\r
-#define GRP_RIIC0_TEI0 GRPBL1\r
-#define GRP_RIIC0_EEI0 GRPBL1\r
-#define GRP_RIIC2_TEI2 GRPBL1\r
-#define GRP_RIIC2_EEI2 GRPBL1\r
-#define GRP_SSI0_SSIF0 GRPBL1\r
-#define GRP_SSI1_SSIF1 GRPBL1\r
-#define GRP_S12AD0_S12CMPI0 GRPBL1\r
-#define GRP_S12AD1_S12CMPI1 GRPBL1\r
-#define GRP_SCIFA8_TEIF8 GRPAL0\r
-#define GRP_SCIFA8_ERIF8 GRPAL0\r
-#define GRP_SCIFA8_BRIF8 GRPAL0\r
-#define GRP_SCIFA8_DRIF8 GRPAL0\r
-#define GRP_SCIFA9_TEIF9 GRPAL0\r
-#define GRP_SCIFA9_ERIF9 GRPAL0\r
-#define GRP_SCIFA9_BRIF9 GRPAL0\r
-#define GRP_SCIFA9_DRIF9 GRPAL0\r
-#define GRP_SCIFA10_TEIF10 GRPAL0\r
-#define GRP_SCIFA10_ERIF10 GRPAL0\r
-#define GRP_SCIFA10_BRIF10 GRPAL0\r
-#define GRP_SCIFA10_DRIF10 GRPAL0\r
-#define GRP_SCIFA11_TEIF11 GRPAL0\r
-#define GRP_SCIFA11_ERIF11 GRPAL0\r
-#define GRP_SCIFA11_BRIF11 GRPAL0\r
-#define GRP_SCIFA11_DRIF11 GRPAL0\r
-#define GRP_RSPI0_SPII0 GRPAL0\r
-#define GRP_RSPI0_SPEI0 GRPAL0\r
-#define GRP_EPTPC_MINT GRPAL1\r
-#define GRP_PRPEDMAC_PINT GRPAL1\r
-#define GRP_EDMAC0_EINT0 GRPAL1\r
-#define GRP_EDMAC1_EINT1 GRPAL1\r
-\r
-#define GCR_CAN0_ERS0 GCRBE0\r
-#define GCR_CAN1_ERS1 GCRBE0\r
-#define GCR_CAN2_ERS2 GCRBE0\r
-\r
-#define __IR( x ) ICU.IR[ IR ## x ].BIT.IR\r
-#define _IR( x ) __IR( x )\r
-#define IR( x , y ) _IR( _ ## x ## _ ## y )\r
-#define __DTCE( x ) ICU.DTCER[ DTCE ## x ].BIT.DTCE\r
-#define _DTCE( x ) __DTCE( x )\r
-#define DTCE( x , y ) _DTCE( _ ## x ## _ ## y )\r
-#define __IEN( x ) ICU.IER[ IER ## x ].BIT.IEN ## x\r
-#define _IEN( x ) __IEN( x )\r
-#define IEN( x , y ) _IEN( _ ## x ## _ ## y )\r
-#define __IPR( x ) ICU.IPR[ IPR ## x ].BIT.IPR\r
-#define _IPR( x ) __IPR( x )\r
-#define IPR( x , y ) _IPR( _ ## x ## _ ## y )\r
-#define __VECT( x ) VECT ## x\r
-#define _VECT( x ) __VECT( x )\r
-#define VECT( x , y ) _VECT( _ ## x ## _ ## y )\r
-#define __MSTP( x ) MSTP ## x\r
-#define _MSTP( x ) __MSTP( x )\r
-#define MSTP( x ) _MSTP( _ ## x )\r
-\r
-#define __IS( x ) ICU.GRP ## x.BIT.IS ## x\r
-#define _IS( x ) __IS( x )\r
-#define IS( x , y ) _IS( _ ## x ## _ ## y )\r
-#define __EN( x ) ICU.GEN ## x.BIT.EN ## x\r
-#define _EN( x ) __EN( x )\r
-#define EN( x , y ) _EN( _ ## x ## _ ## y )\r
-#define __CLR( x ) ICU.GCR ## x.BIT.CLR ## x\r
-#define _CLR( x ) __CLR( x )\r
-#define CLR( x , y ) _CLR( _ ## x ## _ ## y )\r
-\r
-#define BSC (*(volatile struct st_bsc __evenaccess *)0x81300)\r
-#define CAC (*(volatile struct st_cac __evenaccess *)0x8B000)\r
-#define CAN0 (*(volatile struct st_can __evenaccess *)0x90200)\r
-#define CAN1 (*(volatile struct st_can __evenaccess *)0x91200)\r
-#define CAN2 (*(volatile struct st_can __evenaccess *)0x92200)\r
-#define CMT (*(volatile struct st_cmt __evenaccess *)0x88000)\r
-#define CMT0 (*(volatile struct st_cmt0 __evenaccess *)0x88002)\r
-#define CMT1 (*(volatile struct st_cmt0 __evenaccess *)0x88008)\r
-#define CMT2 (*(volatile struct st_cmt0 __evenaccess *)0x88012)\r
-#define CMT3 (*(volatile struct st_cmt0 __evenaccess *)0x88018)\r
-#define CMTW0 (*(volatile struct st_cmtw __evenaccess *)0x94200)\r
-#define CMTW1 (*(volatile struct st_cmtw __evenaccess *)0x94280)\r
-#define CRC (*(volatile struct st_crc __evenaccess *)0x88280)\r
-#define DA (*(volatile struct st_da __evenaccess *)0x88040)\r
-#define DMAC (*(volatile struct st_dmac __evenaccess *)0x82200)\r
-#define DMAC0 (*(volatile struct st_dmac0 __evenaccess *)0x82000)\r
-#define DMAC1 (*(volatile struct st_dmac1 __evenaccess *)0x82040)\r
-#define DMAC2 (*(volatile struct st_dmac1 __evenaccess *)0x82080)\r
-#define DMAC3 (*(volatile struct st_dmac1 __evenaccess *)0x820C0)\r
-#define DMAC4 (*(volatile struct st_dmac1 __evenaccess *)0x82100)\r
-#define DMAC5 (*(volatile struct st_dmac1 __evenaccess *)0x82140)\r
-#define DMAC6 (*(volatile struct st_dmac1 __evenaccess *)0x82180)\r
-#define DMAC7 (*(volatile struct st_dmac1 __evenaccess *)0x821C0)\r
-#define DOC (*(volatile struct st_doc __evenaccess *)0x8B080)\r
-#define DTC (*(volatile struct st_dtc __evenaccess *)0x82400)\r
-#define ECCRAM (*(volatile struct st_eccram __evenaccess *)0x812C0)\r
-#define EDMAC0 (*(volatile struct st_edmac __evenaccess *)0xC0000)\r
-#define EDMAC1 (*(volatile struct st_edmac __evenaccess *)0xC0200)\r
-#define ELC (*(volatile struct st_elc __evenaccess *)0x8B100)\r
-#define EPTPC (*(volatile struct st_eptpc __evenaccess *)0xC0500)\r
-#define EPTPC0 (*(volatile struct st_eptpc0 __evenaccess *)0xC4800)\r
-#define EPTPC1 (*(volatile struct st_eptpc0 __evenaccess *)0xC4C00)\r
-#define ETHERC0 (*(volatile struct st_etherc __evenaccess *)0xC0100)\r
-#define ETHERC1 (*(volatile struct st_etherc __evenaccess *)0xC0300)\r
-#define EXDMAC (*(volatile struct st_exdmac __evenaccess *)0x82A00)\r
-#define EXDMAC0 (*(volatile struct st_exdmac0 __evenaccess *)0x82800)\r
-#define EXDMAC1 (*(volatile struct st_exdmac1 __evenaccess *)0x82840)\r
-#define FLASH (*(volatile struct st_flash __evenaccess *)0x8C294)\r
-#define GPT (*(volatile struct st_gpt __evenaccess *)0xC2000)\r
-#define GPT0 (*(volatile struct st_gpt0 __evenaccess *)0xC2100)\r
-#define GPT1 (*(volatile struct st_gpt0 __evenaccess *)0xC2180)\r
-#define GPT2 (*(volatile struct st_gpt0 __evenaccess *)0xC2200)\r
-#define GPT3 (*(volatile struct st_gpt0 __evenaccess *)0xC2280)\r
-#define ICU (*(volatile struct st_icu __evenaccess *)0x87000)\r
-#define IWDT (*(volatile struct st_iwdt __evenaccess *)0x88030)\r
-#define MMCIF (*(volatile struct st_mmcif __evenaccess *)0x88500)\r
-#define MPC (*(volatile struct st_mpc __evenaccess *)0x8C100)\r
-#define MPU (*(volatile struct st_mpu __evenaccess *)0x86400)\r
-#define MTU (*(volatile struct st_mtu __evenaccess *)0xC120A)\r
-#define MTU0 (*(volatile struct st_mtu0 __evenaccess *)0xC1290)\r
-#define MTU1 (*(volatile struct st_mtu1 __evenaccess *)0xC1290)\r
-#define MTU2 (*(volatile struct st_mtu2 __evenaccess *)0xC1292)\r
-#define MTU3 (*(volatile struct st_mtu3 __evenaccess *)0xC1200)\r
-#define MTU4 (*(volatile struct st_mtu4 __evenaccess *)0xC1200)\r
-#define MTU5 (*(volatile struct st_mtu5 __evenaccess *)0xC1A94)\r
-#define MTU6 (*(volatile struct st_mtu6 __evenaccess *)0xC1A00)\r
-#define MTU7 (*(volatile struct st_mtu7 __evenaccess *)0xC1A00)\r
-#define MTU8 (*(volatile struct st_mtu8 __evenaccess *)0xC1298)\r
-#define PDC (*(volatile struct st_pdc __evenaccess *)0xA0500)\r
-#define POE3 (*(volatile struct st_poe __evenaccess *)0x8C4C0)\r
-#define PORT0 (*(volatile struct st_port0 __evenaccess *)0x8C000)\r
-#define PORT1 (*(volatile struct st_port1 __evenaccess *)0x8C001)\r
-#define PORT2 (*(volatile struct st_port2 __evenaccess *)0x8C002)\r
-#define PORT3 (*(volatile struct st_port3 __evenaccess *)0x8C003)\r
-#define PORT4 (*(volatile struct st_port4 __evenaccess *)0x8C004)\r
-#define PORT5 (*(volatile struct st_port5 __evenaccess *)0x8C005)\r
-#define PORT6 (*(volatile struct st_port6 __evenaccess *)0x8C006)\r
-#define PORT7 (*(volatile struct st_port7 __evenaccess *)0x8C007)\r
-#define PORT8 (*(volatile struct st_port8 __evenaccess *)0x8C008)\r
-#define PORT9 (*(volatile struct st_port9 __evenaccess *)0x8C009)\r
-#define PORTA (*(volatile struct st_porta __evenaccess *)0x8C00A)\r
-#define PORTB (*(volatile struct st_portb __evenaccess *)0x8C00B)\r
-#define PORTC (*(volatile struct st_portc __evenaccess *)0x8C00C)\r
-#define PORTD (*(volatile struct st_portd __evenaccess *)0x8C00D)\r
-#define PORTE (*(volatile struct st_porte __evenaccess *)0x8C00E)\r
-#define PORTF (*(volatile struct st_portf __evenaccess *)0x8C00F)\r
-#define PORTG (*(volatile struct st_portg __evenaccess *)0x8C010)\r
-#define PORTJ (*(volatile struct st_portj __evenaccess *)0x8C012)\r
-#define PPG0 (*(volatile struct st_ppg0 __evenaccess *)0x881E6)\r
-#define PPG1 (*(volatile struct st_ppg1 __evenaccess *)0x881F0)\r
-#define PTPEDMAC (*(volatile struct st_ptpedmac __evenaccess *)0xC0400)\r
-#define QSPI (*(volatile struct st_qspi __evenaccess *)0x89E00)\r
-#define RIIC0 (*(volatile struct st_riic __evenaccess *)0x88300)\r
-#define RIIC2 (*(volatile struct st_riic __evenaccess *)0x88340)\r
-#define RSPI0 (*(volatile struct st_rspi __evenaccess *)0xD0100)\r
-#define RTC (*(volatile struct st_rtc __evenaccess *)0x8C400)\r
-#define S12AD (*(volatile struct st_s12ad __evenaccess *)0x89000)\r
-#define S12AD1 (*(volatile struct st_s12ad1 __evenaccess *)0x89100)\r
-#define SCI0 (*(volatile struct st_sci0 __evenaccess *)0x8A000)\r
-#define SCI1 (*(volatile struct st_sci0 __evenaccess *)0x8A020)\r
-#define SCI2 (*(volatile struct st_sci0 __evenaccess *)0x8A040)\r
-#define SCI3 (*(volatile struct st_sci0 __evenaccess *)0x8A060)\r
-#define SCI4 (*(volatile struct st_sci0 __evenaccess *)0x8A080)\r
-#define SCI5 (*(volatile struct st_sci0 __evenaccess *)0x8A0A0)\r
-#define SCI6 (*(volatile struct st_sci0 __evenaccess *)0x8A0C0)\r
-#define SCI7 (*(volatile struct st_sci0 __evenaccess *)0x8A0E0)\r
-#define SCI12 (*(volatile struct st_sci12 __evenaccess *)0x8B300)\r
-#define SCIFA8 (*(volatile struct st_scifa __evenaccess *)0xD0000)\r
-#define SCIFA9 (*(volatile struct st_scifa __evenaccess *)0xD0020)\r
-#define SCIFA10 (*(volatile struct st_scifa __evenaccess *)0xD0040)\r
-#define SCIFA11 (*(volatile struct st_scifa __evenaccess *)0xD0060)\r
-#define SMCI0 (*(volatile struct st_smci0 __evenaccess *)0x8A000)\r
-#define SMCI1 (*(volatile struct st_smci0 __evenaccess *)0x8A020)\r
-#define SMCI2 (*(volatile struct st_smci0 __evenaccess *)0x8A040)\r
-#define SMCI3 (*(volatile struct st_smci0 __evenaccess *)0x8A060)\r
-#define SMCI4 (*(volatile struct st_smci0 __evenaccess *)0x8A080)\r
-#define SMCI5 (*(volatile struct st_smci0 __evenaccess *)0x8A0A0)\r
-#define SMCI6 (*(volatile struct st_smci0 __evenaccess *)0x8A0C0)\r
-#define SMCI7 (*(volatile struct st_smci0 __evenaccess *)0x8A0E0)\r
-#define SMCI12 (*(volatile struct st_smci0 __evenaccess *)0x8B300)\r
-#define SRC (*(volatile struct st_src __evenaccess *)0x98000)\r
-#define SSI0 (*(volatile struct st_ssi __evenaccess *)0x8A500)\r
-#define SSI1 (*(volatile struct st_ssi __evenaccess *)0x8A540)\r
-#define SYSTEM (*(volatile struct st_system __evenaccess *)0x80000)\r
-#define TEMPS (*(volatile struct st_temps __evenaccess *)0x8C500)\r
-#define TMR0 (*(volatile struct st_tmr0 __evenaccess *)0x88200)\r
-#define TMR1 (*(volatile struct st_tmr1 __evenaccess *)0x88201)\r
-#define TMR2 (*(volatile struct st_tmr0 __evenaccess *)0x88210)\r
-#define TMR3 (*(volatile struct st_tmr1 __evenaccess *)0x88211)\r
-#define TMR01 (*(volatile struct st_tmr01 __evenaccess *)0x88204)\r
-#define TMR23 (*(volatile struct st_tmr01 __evenaccess *)0x88214)\r
-#define TPU0 (*(volatile struct st_tpu0 __evenaccess *)0x88108)\r
-#define TPU1 (*(volatile struct st_tpu1 __evenaccess *)0x88108)\r
-#define TPU2 (*(volatile struct st_tpu2 __evenaccess *)0x8810A)\r
-#define TPU3 (*(volatile struct st_tpu3 __evenaccess *)0x8810A)\r
-#define TPU4 (*(volatile struct st_tpu4 __evenaccess *)0x8810C)\r
-#define TPU5 (*(volatile struct st_tpu5 __evenaccess *)0x8810C)\r
-#define TPUA (*(volatile struct st_tpua __evenaccess *)0x88100)\r
-#define USB (*(volatile struct st_usb __evenaccess *)0xA0400)\r
-#define USB0 (*(volatile struct st_usb0 __evenaccess *)0xA0000)\r
-#define USBA (*(volatile struct st_usba __evenaccess *)0xD0400)\r
-#define WDT (*(volatile struct st_wdt __evenaccess *)0x88020)\r
-#pragma bit_order\r
-#pragma packoption\r
-#endif
\ No newline at end of file
/***********************************************************************************************************************\r
Includes\r
***********************************************************************************************************************/\r
-#include "r_cg_iodefine.h"\r
+#include "../iodefine.h"\r
#include <machine.h>\r
\r
/***********************************************************************************************************************\r
--- /dev/null
+/********************************************************************************/\r
+/* */\r
+/* Device : RX/RX600/RX64M */\r
+/* File Name : iodefine.h */\r
+/* Abstract : Definition of I/O Register. */\r
+/* History : V0.8C (2014-03-22) [Hardware Manual Revision : 0.80] */\r
+/* Note : This is a typical example. */\r
+/* */\r
+/* Copyright(c) 2014 Renesas Electronics Corp. */\r
+/* And Renesas Solutions Corp. ,All Rights Reserved. */\r
+/* */\r
+/********************************************************************************/\r
+/* */\r
+/* DESCRIPTION : Definition of ICU Register */\r
+/* CPU TYPE : RX64M */\r
+/* */\r
+/* Usage : IR,DTCER,IER,IPR of ICU Register */\r
+/* The following IR, DTCE, IEN, IPR macro functions simplify usage. */\r
+/* The bit access operation is "Bit_Name(interrupt source,name)". */\r
+/* A part of the name can be omitted. */\r
+/* for example : */\r
+/* IR(BSC,BUSERR) = 0; expands to : */\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
+/* for example : */\r
+/* #pragma interrupt INT_IRQ0(vect=VECT(ICU,IRQ0)) expands to : */\r
+/* #pragma interrupt INT_IRQ0(vect=64) */\r
+/* #pragma interrupt INT_CMT0_CMI0(vect=VECT(CMT0,CMI0)) expands to : */\r
+/* #pragma interrupt INT_CMT0_CMI0(vect=28) */\r
+/* */\r
+/* Usage : MSTPCRA,MSTPCRB,MSTPCRC of SYSTEM Register */\r
+/* The bit access operation is "MSTP(name)". */\r
+/* The name that can be used is a macro name defined with "iodefine.h". */\r
+/* for example : */\r
+/* MSTP(TMR2) = 0; // TMR2,TMR3,TMR23 expands to : */\r
+/* SYSTEM.MSTPCRA.BIT.MSTPA4 = 0; */\r
+/* MSTP(SCI0) = 0; // SCI0,SMCI0 expands to : */\r
+/* SYSTEM.MSTPCRB.BIT.MSTPB31 = 0; */\r
+/* MSTP(MTU4) = 0; // MTU,MTU0,MTU1,MTU2,MTU3,MTU4,... expands to : */\r
+/* SYSTEM.MSTPCRA.BIT.MSTPA9 = 0; */\r
+/* MSTP(TPU4) = 0; // TPU0,TPU1,TPU2,TPU3,TPU4,TPU5 expands to : */\r
+/* SYSTEM.MSTPCRA.BIT.MSTPA13 = 0; */\r
+/* MSTP(CMT3) = 0; // CMT2,CMT3 expands to : */\r
+/* SYSTEM.MSTPCRA.BIT.MSTPA14 = 0; */\r
+/* */\r
+/* */\r
+/********************************************************************************/\r
+#ifndef __RX64MIODEFINE_HEADER__\r
+#define __RX64MIODEFINE_HEADER__\r
+#pragma bit_order left\r
+#pragma unpack\r
+struct st_bsc {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char STSCLR:1;\r
+ } BIT;\r
+ } BERCLR;\r
+ char wk0[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :6;\r
+ unsigned char TOEN:1;\r
+ unsigned char IGAEN:1;\r
+ } BIT;\r
+ } BEREN;\r
+ char wk1[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char MST:3;\r
+ unsigned char :2;\r
+ unsigned char TO:1;\r
+ unsigned char IA:1;\r
+ } BIT;\r
+ } BERSR1;\r
+ char wk2[1];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short ADDR:13;\r
+ } BIT;\r
+ } BERSR2;\r
+ char wk3[4];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :2;\r
+ unsigned short BPEB:2;\r
+ unsigned short BPFB:2;\r
+ unsigned short BPHB:2;\r
+ unsigned short BPGB:2;\r
+ unsigned short BPIB:2;\r
+ unsigned short BPRO:2;\r
+ unsigned short BPRA:2;\r
+ } BIT;\r
+ } BUSPRI;\r
+ char wk4[7408];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short PRMOD:1;\r
+ unsigned short :5;\r
+ unsigned short PWENB:1;\r
+ unsigned short PRENB:1;\r
+ unsigned short :4;\r
+ unsigned short EWENB:1;\r
+ unsigned short :2;\r
+ unsigned short WRMOD:1;\r
+ } BIT;\r
+ } CS0MOD;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :3;\r
+ unsigned long CSRWAIT:5;\r
+ unsigned long :3;\r
+ unsigned long CSWWAIT:5;\r
+ unsigned long :5;\r
+ unsigned long CSPRWAIT:3;\r
+ unsigned long :5;\r
+ unsigned long CSPWWAIT:3;\r
+ } BIT;\r
+ } CS0WCR1;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :1;\r
+ unsigned long CSON:3;\r
+ unsigned long :1;\r
+ unsigned long WDON:3;\r
+ unsigned long :1;\r
+ unsigned long WRON:3;\r
+ unsigned long :1;\r
+ unsigned long RDON:3;\r
+ unsigned long :2;\r
+ unsigned long AWAIT:2;\r
+ unsigned long :1;\r
+ unsigned long WDOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSWOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSROFF:3;\r
+ } BIT;\r
+ } CS0WCR2;\r
+ char wk5[6];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short PRMOD:1;\r
+ unsigned short :5;\r
+ unsigned short PWENB:1;\r
+ unsigned short PRENB:1;\r
+ unsigned short :4;\r
+ unsigned short EWENB:1;\r
+ unsigned short :2;\r
+ unsigned short WRMOD:1;\r
+ } BIT;\r
+ } CS1MOD;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :3;\r
+ unsigned long CSRWAIT:5;\r
+ unsigned long :3;\r
+ unsigned long CSWWAIT:5;\r
+ unsigned long :5;\r
+ unsigned long CSPRWAIT:3;\r
+ unsigned long :5;\r
+ unsigned long CSPWWAIT:3;\r
+ } BIT;\r
+ } CS1WCR1;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :1;\r
+ unsigned long CSON:3;\r
+ unsigned long :1;\r
+ unsigned long WDON:3;\r
+ unsigned long :1;\r
+ unsigned long WRON:3;\r
+ unsigned long :1;\r
+ unsigned long RDON:3;\r
+ unsigned long :2;\r
+ unsigned long AWAIT:2;\r
+ unsigned long :1;\r
+ unsigned long WDOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSWOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSROFF:3;\r
+ } BIT;\r
+ } CS1WCR2;\r
+ char wk6[6];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short PRMOD:1;\r
+ unsigned short :5;\r
+ unsigned short PWENB:1;\r
+ unsigned short PRENB:1;\r
+ unsigned short :4;\r
+ unsigned short EWENB:1;\r
+ unsigned short :2;\r
+ unsigned short WRMOD:1;\r
+ } BIT;\r
+ } CS2MOD;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :3;\r
+ unsigned long CSRWAIT:5;\r
+ unsigned long :3;\r
+ unsigned long CSWWAIT:5;\r
+ unsigned long :5;\r
+ unsigned long CSPRWAIT:3;\r
+ unsigned long :5;\r
+ unsigned long CSPWWAIT:3;\r
+ } BIT;\r
+ } CS2WCR1;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :1;\r
+ unsigned long CSON:3;\r
+ unsigned long :1;\r
+ unsigned long WDON:3;\r
+ unsigned long :1;\r
+ unsigned long WRON:3;\r
+ unsigned long :1;\r
+ unsigned long RDON:3;\r
+ unsigned long :2;\r
+ unsigned long AWAIT:2;\r
+ unsigned long :1;\r
+ unsigned long WDOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSWOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSROFF:3;\r
+ } BIT;\r
+ } CS2WCR2;\r
+ char wk7[6];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short PRMOD:1;\r
+ unsigned short :5;\r
+ unsigned short PWENB:1;\r
+ unsigned short PRENB:1;\r
+ unsigned short :4;\r
+ unsigned short EWENB:1;\r
+ unsigned short :2;\r
+ unsigned short WRMOD:1;\r
+ } BIT;\r
+ } CS3MOD;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :3;\r
+ unsigned long CSRWAIT:5;\r
+ unsigned long :3;\r
+ unsigned long CSWWAIT:5;\r
+ unsigned long :5;\r
+ unsigned long CSPRWAIT:3;\r
+ unsigned long :5;\r
+ unsigned long CSPWWAIT:3;\r
+ } BIT;\r
+ } CS3WCR1;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :1;\r
+ unsigned long CSON:3;\r
+ unsigned long :1;\r
+ unsigned long WDON:3;\r
+ unsigned long :1;\r
+ unsigned long WRON:3;\r
+ unsigned long :1;\r
+ unsigned long RDON:3;\r
+ unsigned long :2;\r
+ unsigned long AWAIT:2;\r
+ unsigned long :1;\r
+ unsigned long WDOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSWOFF:3;\r
+ unsigned long :1;\r
+ unsigned long CSROFF:3;\r
+ } BIT;\r
+ } CS3WCR2;\r
+ char wk8[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 CCLR: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 CMWIE: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 CMWE: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
+ 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
+ char wk1[17783];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :6;\r
+ unsigned char AMADSEL1:1;\r
+ } BIT;\r
+ } DAADUSR;\r
+};\r
+\r
+struct st_dmac {\r
+ 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
+ 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
+ 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
+ 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 ECC2ERR:1;\r
+ } BIT;\r
+ } ECCRAM2STS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char ECC1STSEN:1;\r
+ } BIT;\r
+ } ECCRAM1STSEN;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char ECC1ERR:1;\r
+ } BIT;\r
+ } ECCRAM1STS;\r
+// union {\r
+// unsigned char BYTE;\r
+// struct {\r
+// unsigned char KW:7;\r
+// unsigned char PRCR:1;\r
+// } BIT;\r
+// } ECCRAMPRCR;\r
+ unsigned char ECCRAMPRCR;\r
+ char wk0[3];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :17;\r
+ unsigned long ECC2EAD:12;\r
+ } BIT;\r
+ } ECCRAM2ECAD;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :17;\r
+ unsigned long ECC1EAD:12;\r
+ } BIT;\r
+ } ECCRAM1ECAD;\r
+// union {\r
+// unsigned char BYTE;\r
+// struct {\r
+// unsigned char KW2:7;\r
+// unsigned char PRCR2:1;\r
+// } BIT;\r
+// } ECCRAMPRCR2;\r
+ unsigned char ECCRAMPRCR2;\r
+ char wk1[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ 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
+ void *TDLAR;\r
+ char wk3[4];\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 :24;\r
+ unsigned long RMAFCE:1;\r
+ unsigned long :2;\r
+ unsigned long RRFCE: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 :31;\r
+ unsigned long RNR:1;\r
+ } BIT;\r
+ } RMCR;\r
+ char wk11[8];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long UNDER:16;\r
+ } BIT;\r
+ } TFUCR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long OVER:16;\r
+ } BIT;\r
+ } RFOCR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :31;\r
+ unsigned long ELB:1;\r
+ } BIT;\r
+ } IOSR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :13;\r
+ unsigned long RFFO:3;\r
+ unsigned long :13;\r
+ unsigned long RFDO:3;\r
+ } BIT;\r
+ } FCFTR;\r
+ char wk12[4];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :14;\r
+ unsigned long PADS:2;\r
+ unsigned long :10;\r
+ unsigned long PADR:6;\r
+ } BIT;\r
+ } RPADIR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :27;\r
+ unsigned long TIM:1;\r
+ unsigned long :3;\r
+ unsigned long TIS:1;\r
+ } BIT;\r
+ } TRIMD;\r
+ char wk13[72];\r
+ void *RBWAR;\r
+ void *RDFAR;\r
+ char wk14[4];\r
+ void *TBRAR;\r
+ void *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
+ unsigned long 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[8];\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
+ unsigned long 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[8];\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 :19;\r
+// unsigned long MACE:1;\r
+// unsigned long :4;\r
+// unsigned long OVRE3:1;\r
+// unsigned long OVRE2:1;\r
+// unsigned long OVRE1:1;\r
+// unsigned long OVRE0:1;\r
+// } BIT;\r
+// } PRSR;\r
+ unsigned long PRSR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :2;\r
+ unsigned long URE1:1;\r
+ unsigned long URE0:1;\r
+ unsigned long :19;\r
+ unsigned long MACE:1;\r
+ unsigned long :4;\r
+ unsigned long OVRE3:1;\r
+ unsigned long OVRE2:1;\r
+ unsigned long OVRE1:1;\r
+ unsigned long OVRE0:1;\r
+ } BIT;\r
+ } PRIPR;\r
+ char wk15[8];\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 :22;\r
+ unsigned long FWD1:1;\r
+ unsigned long FWD0:1;\r
+ unsigned long :7;\r
+ unsigned long MOD:1;\r
+ } BIT;\r
+ } TRNMR;\r
+ 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_eptpc0 {\r
+// union {\r
+// unsigned long LONG;\r
+// struct {\r
+// unsigned long :14;\r
+// unsigned long GENDN:1;\r
+// unsigned long RESDN:1;\r
+// unsigned long :1;\r
+// unsigned long INFABT:1;\r
+// unsigned long SRTABT:1;\r
+// unsigned long RECLP:1;\r
+// unsigned long :2;\r
+// unsigned long PDRPMR:1;\r
+// unsigned long :2;\r
+// unsigned long DRQOVR:1;\r
+// unsigned long INTDEV:1;\r
+// unsigned long DRPTO:1;\r
+// unsigned long :1;\r
+// unsigned long MPDUD:1;\r
+// unsigned long INTCHG:1;\r
+// unsigned long OFMUD:1;\r
+// } BIT;\r
+// } SYSR;\r
+ unsigned long SYSR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :14;\r
+ unsigned long GENDN:1;\r
+ unsigned long RESDN:1;\r
+ unsigned long :1;\r
+ unsigned long INFABT:1;\r
+ unsigned long SRTABT:1;\r
+ unsigned long RECLP:1;\r
+ unsigned long :2;\r
+ unsigned long PDRPMR:1;\r
+ unsigned long :2;\r
+ unsigned long DRQOVR:1;\r
+ unsigned long INTDEV:1;\r
+ unsigned long DRPTO:1;\r
+ unsigned long :1;\r
+ unsigned long MPDUD:1;\r
+ unsigned long INTCHG:1;\r
+ unsigned long OFMUD:1;\r
+ } BIT;\r
+ } SYIPR;\r
+ char wk0[8];\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
+ char wk1[4];\r
+ unsigned long SYIPADDRR;\r
+ char wk2[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 wk3[8];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long FLAG15:1;\r
+ unsigned long FLAG14:1;\r
+ unsigned long FLAG13:1;\r
+ unsigned long FLAG12:1;\r
+ unsigned long FLAG11:1;\r
+ unsigned long FLAG10:1;\r
+ unsigned long FLAG9:1;\r
+ unsigned long FLAG8:1;\r
+ unsigned long FLAG7:1;\r
+ unsigned long FLAG6:1;\r
+ unsigned long FLAG5:1;\r
+ unsigned long FLAG4:1;\r
+ unsigned long FLAG3:1;\r
+ unsigned long FLAG2:1;\r
+ unsigned long FLAG1:1;\r
+ unsigned long FLAG0:1;\r
+ } BIT;\r
+ } ANFR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long FLAG15:1;\r
+ unsigned long FLAG14:1;\r
+ unsigned long FLAG13:1;\r
+ unsigned long FLAG12:1;\r
+ unsigned long FLAG11:1;\r
+ unsigned long FLAG10:1;\r
+ unsigned long FLAG9:1;\r
+ unsigned long FLAG8:1;\r
+ unsigned long FLAG7:1;\r
+ unsigned long FLAG6:1;\r
+ unsigned long FLAG5:1;\r
+ unsigned long FLAG4:1;\r
+ unsigned long FLAG3:1;\r
+ unsigned long FLAG2:1;\r
+ unsigned long FLAG1:1;\r
+ unsigned long FLAG0:1;\r
+ } BIT;\r
+ } SYNFR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long FLAG15:1;\r
+ unsigned long FLAG14:1;\r
+ unsigned long FLAG13:1;\r
+ unsigned long FLAG12:1;\r
+ unsigned long FLAG11:1;\r
+ unsigned long FLAG10:1;\r
+ unsigned long FLAG9:1;\r
+ unsigned long FLAG8:1;\r
+ unsigned long FLAG7:1;\r
+ unsigned long FLAG6:1;\r
+ unsigned long FLAG5:1;\r
+ unsigned long FLAG4:1;\r
+ unsigned long FLAG3:1;\r
+ unsigned long FLAG2:1;\r
+ unsigned long FLAG1:1;\r
+ unsigned long FLAG0:1;\r
+ } BIT;\r
+ } DYRQFR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long FLAG15:1;\r
+ unsigned long FLAG14:1;\r
+ unsigned long FLAG13:1;\r
+ unsigned long FLAG12:1;\r
+ unsigned long FLAG11:1;\r
+ unsigned long FLAG10:1;\r
+ unsigned long FLAG9:1;\r
+ unsigned long FLAG8:1;\r
+ unsigned long FLAG7:1;\r
+ unsigned long FLAG6:1;\r
+ unsigned long FLAG5:1;\r
+ unsigned long FLAG4:1;\r
+ unsigned long FLAG3:1;\r
+ unsigned long FLAG2:1;\r
+ unsigned long FLAG1:1;\r
+ unsigned long FLAG0:1;\r
+ } BIT;\r
+ } DYRPFR;\r
+ unsigned long SYCIDRU;\r
+ 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 wk4[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 wk5[12];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :1;\r
+ unsigned long PDFUP:3;\r
+ unsigned long :1;\r
+ unsigned long PDRP:3;\r
+ unsigned long :1;\r
+ unsigned long PDRQ:3;\r
+ unsigned long :1;\r
+ unsigned long DRP:3;\r
+ unsigned long :1;\r
+ unsigned long DRQ:3;\r
+ unsigned long :1;\r
+ unsigned long FUP:3;\r
+ unsigned long :1;\r
+ unsigned long SYNC:3;\r
+ unsigned long :2;\r
+ unsigned long ANCE:2;\r
+ } BIT;\r
+ } SYRFL1R;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :2;\r
+ unsigned long ILL:2;\r
+ unsigned long :22;\r
+ unsigned long SIG:2;\r
+ unsigned long :2;\r
+ unsigned long MAN:2;\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 wk6[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 wk7[20];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :8;\r
+ unsigned long DREQ: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 DRESP: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 wk8[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 wk9[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 wk10[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 :15;\r
+ unsigned long EXTPRM:1;\r
+ unsigned long :13;\r
+ unsigned long ENB:1;\r
+ unsigned long PRT:1;\r
+ unsigned long SEL:1;\r
+ } BIT;\r
+ } FFLTR;\r
+ char wk11[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 wk12[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 :11;\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
+ 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
+ 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_flash {\r
+ char wk0[2];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :6;\r
+ unsigned char FLWE:2;\r
+ } BIT;\r
+ } FWEPROR;\r
+ char wk1[7806329];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char CFAE:1;\r
+ unsigned char :2;\r
+ unsigned char CMDLK:1;\r
+ unsigned char DFAE:1;\r
+ unsigned char :2;\r
+ unsigned char ECRCT:1;\r
+ } BIT;\r
+ } FASTAT;\r
+ char wk2[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char CFAEIE:1;\r
+ unsigned char :2;\r
+ unsigned char CMDLKIE:1;\r
+ unsigned char DFAEIE:1;\r
+ unsigned char :2;\r
+ unsigned char ECRCTIE:1;\r
+ } BIT;\r
+ } FAEINT;\r
+ char wk3[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char FRDYIE:1;\r
+ } BIT;\r
+ } FRDYIE;\r
+ char wk4[23];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long FSADDR:32;\r
+ } BIT;\r
+ } FSADDR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long FEADDR:32;\r
+ } BIT;\r
+ } FEADDR;\r
+ char wk5[28];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short KEY:8;\r
+ unsigned short :6;\r
+ unsigned short FRAMTRAN:1;\r
+ unsigned short FCRME:1;\r
+ } BIT;\r
+ } FCURAME;\r
+ char wk6[42];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long FRDY:1;\r
+ unsigned long ILGLERR:1;\r
+ unsigned long ERSERR:1;\r
+ unsigned long PRGERR:1;\r
+ unsigned long SUSRDY:1;\r
+ unsigned long DBFULL:1;\r
+ unsigned long ERSSPD:1;\r
+ unsigned long PRGSPD:1;\r
+ unsigned long FCUERR:1;\r
+ unsigned long FLWEERR:1;\r
+ unsigned long :4;\r
+ unsigned long FRDTCT:1;\r
+ unsigned long FRCRCT:1;\r
+ } BIT;\r
+ } FSTATR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short KEY:8;\r
+ unsigned short FENTRYD:1;\r
+ unsigned short :6;\r
+ unsigned short FENTRYC:1;\r
+ } BIT;\r
+ } FENTRYR;\r
+ char wk7[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short KEY:8;\r
+ unsigned short :7;\r
+ unsigned short FPROTCN:1;\r
+ } BIT;\r
+ } FPROTR;\r
+ char wk8[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short KEY:8;\r
+ unsigned short :7;\r
+ unsigned short SUINIT:1;\r
+ } BIT;\r
+ } FSUINITR;\r
+ char wk9[2];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char FLOCKST:1;\r
+ } BIT;\r
+ } FLKSTAT;\r
+ char wk10[15];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short CMDR:8;\r
+ unsigned short PCMDR:8;\r
+ } BIT;\r
+ } FCMDR;\r
+ char wk11[30];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :8;\r
+ unsigned short PEERRST:8;\r
+ } BIT;\r
+ } FPESTAT;\r
+ char wk12[14];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char BCDIR:1;\r
+ } BIT;\r
+ } FBCCNT;\r
+ char wk13[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char BCST:1;\r
+ } BIT;\r
+ } FBCSTAT;\r
+ char wk14[3];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :13;\r
+ unsigned long PSADR:19;\r
+ } BIT;\r
+ } FPSADDR;\r
+ char wk15[4];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :15;\r
+ unsigned short ESUSPMD:1;\r
+ } BIT;\r
+ } FCPSR;\r
+ char wk16[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short KEY:8;\r
+ unsigned short PCKA:8;\r
+ } BIT;\r
+ } FPCKAR;\r
+};\r
+\r
+struct st_gpt {\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :12;\r
+ unsigned short CST3:1;\r
+ unsigned short CST2:1;\r
+ unsigned short CST1:1;\r
+ unsigned short CST0:1;\r
+ } BIT;\r
+ } GTSTR;\r
+ union {\r
+ 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 short CPHW3:2;\r
+ unsigned short CPHW2:2;\r
+ unsigned short CPHW1:2;\r
+ unsigned short CPHW0:2;\r
+ unsigned short CSHW3:2;\r
+ unsigned short CSHW2:2;\r
+ unsigned short CSHW1:2;\r
+ unsigned short CSHW0:2;\r
+ } BIT;\r
+ } GTHSCR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :4;\r
+ unsigned short CCSW3:1;\r
+ unsigned short CCSW2:1;\r
+ unsigned short CCSW1:1;\r
+ unsigned short CCSW0:1;\r
+ unsigned short CCHW3:2;\r
+ unsigned short CCHW2:2;\r
+ unsigned short CCHW1:2;\r
+ unsigned short CCHW0:2;\r
+ } BIT;\r
+ } GTHCCR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short CSHSL3:4;\r
+ unsigned short CSHSL2:4;\r
+ unsigned short CSHSL1:4;\r
+ unsigned short CSHSL0:4;\r
+ } BIT;\r
+ } GTHSSR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short CSHPL3:4;\r
+ unsigned short CSHPL2:4;\r
+ unsigned short CSHPL1:4;\r
+ unsigned short CSHPL0:4;\r
+ } BIT;\r
+ } GTHPSR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :12;\r
+ unsigned short WP3:1;\r
+ unsigned short WP2:1;\r
+ unsigned short WP1:1;\r
+ unsigned short WP0:1;\r
+ } BIT;\r
+ } GTWP;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :2;\r
+ unsigned short SYNC3:2;\r
+ unsigned short :2;\r
+ unsigned short SYNC2:2;\r
+ unsigned short :2;\r
+ unsigned short SYNC1:2;\r
+ unsigned short :2;\r
+ unsigned short SYNC0:2;\r
+ } BIT;\r
+ } GTSYNC;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short GTETRGEN:1;\r
+ unsigned short GTENFCS:2;\r
+ unsigned short :11;\r
+ unsigned short ETINEN:1;\r
+ unsigned short ETIPEN:1;\r
+ } BIT;\r
+ } GTETINT;\r
+ char wk0[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short BD33:1;\r
+ unsigned short BD32:1;\r
+ unsigned short BD31:1;\r
+ unsigned short BD30:1;\r
+ unsigned short BD23:1;\r
+ unsigned short BD22:1;\r
+ unsigned short BD21:1;\r
+ unsigned short BD20:1;\r
+ unsigned short BD13:1;\r
+ unsigned short BD12:1;\r
+ unsigned short BD11:1;\r
+ unsigned short BD10:1;\r
+ unsigned short BD03:1;\r
+ unsigned short BD02:1;\r
+ unsigned short BD01:1;\r
+ unsigned short BD00:1;\r
+ } BIT;\r
+ } GTBDR;\r
+ char wk1[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :12;\r
+ unsigned short SWP3:1;\r
+ unsigned short SWP2:1;\r
+ unsigned short SWP1:1;\r
+ unsigned short SWP0:1;\r
+ } BIT;\r
+ } GTSWP;\r
+};\r
+\r
+struct st_gpt0 {\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short OBHLD:1;\r
+ unsigned short OBDFLT:1;\r
+ unsigned short GTIOB:6;\r
+ unsigned short OAHLD:1;\r
+ unsigned short OADFLT:1;\r
+ unsigned short GTIOA:6;\r
+ } BIT;\r
+ } GTIOR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short ADTRBDEN:1;\r
+ unsigned short ADTRBUEN:1;\r
+ unsigned short ADTRADEN:1;\r
+ unsigned short ADTRAUEN:1;\r
+ unsigned short EINT:1;\r
+ unsigned short :3;\r
+ unsigned short GTINTPR:2;\r
+ unsigned short GTINTF:1;\r
+ unsigned short GTINTE:1;\r
+ unsigned short GTINTD:1;\r
+ unsigned short GTINTC:1;\r
+ unsigned short GTINTB:1;\r
+ unsigned short GTINTA:1;\r
+ } BIT;\r
+ } GTINTAD;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :2;\r
+ unsigned short CCLR:2;\r
+ unsigned short :2;\r
+ unsigned short TPCS:2;\r
+ unsigned short :5;\r
+ unsigned short MD:3;\r
+ } BIT;\r
+ } GTCR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :1;\r
+ unsigned short ADTDB:1;\r
+ unsigned short ADTTB:2;\r
+ unsigned short :1;\r
+ unsigned short ADTDA:1;\r
+ unsigned short ADTTA:2;\r
+ unsigned short :1;\r
+ unsigned short CCRSWT:1;\r
+ unsigned short PR:2;\r
+ unsigned short CCRB:2;\r
+ unsigned short CCRA:2;\r
+ } BIT;\r
+ } GTBER;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :14;\r
+ unsigned short UDF:1;\r
+ unsigned short UD:1;\r
+ } BIT;\r
+ } GTUDC;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :1;\r
+ unsigned short ADTBL:1;\r
+ unsigned short :1;\r
+ unsigned short ADTAL:1;\r
+ unsigned short :1;\r
+ unsigned short IVTT:3;\r
+ unsigned short IVTC:2;\r
+ unsigned short ITLF:1;\r
+ unsigned short ITLE:1;\r
+ unsigned short ITLD:1;\r
+ unsigned short ITLC:1;\r
+ unsigned short ITLB:1;\r
+ unsigned short ITLA:1;\r
+ } BIT;\r
+ } GTITC;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short TUCF:1;\r
+ unsigned short :3;\r
+ unsigned short DTEF:1;\r
+ unsigned short ITCNT:3;\r
+ } BIT;\r
+ } GTST;\r
+ unsigned short GTCNT;\r
+ 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 :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 :2;\r
+ unsigned char LVD2CLR:1;\r
+ unsigned char LVD1CLR:1;\r
+ unsigned char IWDTCLR:1;\r
+ unsigned char WDTCLR:1;\r
+ unsigned char OSTCLR:1;\r
+ unsigned char NMICLR:1;\r
+ } BIT;\r
+ } NMICLR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :4;\r
+ unsigned char NMIMD:1;\r
+ } BIT;\r
+ } NMICR;\r
+ char 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
+ char wk17[44];\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
+ char wk19[44];\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
+ } GCRBE0;\r
+ char wk21[124];\r
+ union {\r
+ unsigned char BYTE;\r
+// struct {\r
+// unsigned char PIR7:1;\r
+// unsigned char PIR6:1;\r
+// unsigned char PIR5:1;\r
+// unsigned char PIR4:1;\r
+// unsigned char PIR3:1;\r
+// unsigned char PIR2:1;\r
+// unsigned char PIR1:1;\r
+// unsigned char PIR0:1;\r
+// } BIT;\r
+ } 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[96];\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 wk24[56];\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 wk25[136];\r
+ union {\r
+ unsigned char BYTE;\r
+// struct {\r
+// unsigned char PIR7:1;\r
+// unsigned char PIR6:1;\r
+// unsigned char PIR5:1;\r
+// unsigned char PIR4:1;\r
+// unsigned char PIR3:1;\r
+// unsigned char PIR2:1;\r
+// unsigned char PIR1:1;\r
+// unsigned char PIR0:1;\r
+// } BIT;\r
+ } 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 wk26[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_mmcif {\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 BLKSIZ: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 SRSPTO: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 SFSTBTDATTO:4;\r
+ unsigned long SBTDATTO:4;\r
+ } BIT;\r
+ } CEBOOT;\r
+// union {\r
+// unsigned long LONG;\r
+// struct {\r
+// unsigned long :5;\r
+// unsigned long CMD12DRE:1;\r
+// unsigned long CMD12RBE:1;\r
+// unsigned long CMD12CRE:1;\r
+// unsigned long DTRANE:1;\r
+// unsigned long BUFRE:1;\r
+// unsigned long BUFWEN:1;\r
+// unsigned long BUFREN:1;\r
+// unsigned long :2;\r
+// unsigned long RBSYE:1;\r
+// unsigned long CRSPE:1;\r
+// unsigned long CMDVIO:1;\r
+// unsigned long BUFVIO:1;\r
+// unsigned long :2;\r
+// unsigned long WDATERR:1;\r
+// unsigned long RDATERR:1;\r
+// unsigned long RIDXERR:1;\r
+// unsigned long RSPERR:1;\r
+// unsigned long :3;\r
+// unsigned long CRCSTO:1;\r
+// unsigned long WDATTO:1;\r
+// unsigned long RDATTO:1;\r
+// unsigned long RBSYTO:1;\r
+// unsigned long RSPTO:1;\r
+// } BIT;\r
+// } CEINT;\r
+ unsigned long 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 FSTBTDATTO: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 ADRHMS2: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
+ } 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
+ } BIT;\r
+ } P05PFS;\r
+ char wk5[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
+ } 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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P22PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P23PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P24PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P25PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P26PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P50PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P51PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P52PFS;\r
+ char wk7[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P56PFS;\r
+ char wk8[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } P60PFS;\r
+ char wk9[5];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\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
+ char wk10[1];\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 wk11[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 :2;\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 :2;\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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PA5PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PA6PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PB2PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PB3PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PB4PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PB5PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PB6PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PC2PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PC3PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PC4PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\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 :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 :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 :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 :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 :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PF0PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PF1PFS;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PF2PFS;\r
+ char wk12[2];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PF5PFS;\r
+ char wk13[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 wk14[11];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char PSEL:6;\r
+ } BIT;\r
+ } PJ3PFS;\r
+ char wk15[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 DMPER:1;\r
+ unsigned long IMPER: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
+ char wk2[1];\r
+ unsigned short TCNT;\r
+ unsigned short TGRA;\r
+ unsigned short TGRB;\r
+ unsigned short TGRC;\r
+ unsigned short TGRD;\r
+ char wk3[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
+ char wk4[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :5;\r
+ unsigned char TTSE:1;\r
+ unsigned char TTSB:1;\r
+ unsigned char TTSA:1;\r
+ } BIT;\r
+ } TBTM;\r
+ char wk5[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
+ } 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
+ } 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
+ } 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
+ } 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[490];\r
+ unsigned short TCNTU;\r
+ unsigned short TGRU;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :6;\r
+ unsigned char TPSC:2;\r
+ } BIT;\r
+ } TCRU;\r
+ 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[11];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :5;\r
+ unsigned char TGIE5U:1;\r
+ unsigned char TGIE5V:1;\r
+ unsigned char TGIE5W:1;\r
+ } BIT;\r
+ } TIER;\r
+ char wk5[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 wk6[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
+ 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
+ } 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[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 wk10[33];\r
+ unsigned short TGRE;\r
+ char wk11[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
+ } NFCR6;\r
+};\r
+\r
+struct st_mtu7 {\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
+ } 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
+ 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
+ } NFCR7;\r
+};\r
+\r
+struct st_mtu8 {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char NFCS:2;\r
+ unsigned char NFDEN:1;\r
+ unsigned char NFCEN:1;\r
+ unsigned char NFBEN:1;\r
+ unsigned char NFAEN:1;\r
+ } BIT;\r
+ } NFCR8;\r
+ char wk0[871];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char CCLR:3;\r
+ unsigned char CKEG:2;\r
+ unsigned char TPSC:3;\r
+ } 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 :3;\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 wk1[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :5;\r
+ unsigned char TPSC2:3;\r
+ } BIT;\r
+ } TCR2;\r
+ char wk2[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
+ } 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 short :3;\r
+ unsigned short POE0F:1;\r
+ unsigned short :3;\r
+ unsigned short PIE1:1;\r
+ unsigned short :6;\r
+ unsigned short POE0M:2;\r
+ } BIT;\r
+ } ICSR1;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short OSF1:1;\r
+ unsigned short :5;\r
+ unsigned short OCE1:1;\r
+ unsigned short OIE1:1;\r
+ } BIT;\r
+ } OCSR1;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :3;\r
+ unsigned short POE4F:1;\r
+ unsigned short :3;\r
+ unsigned short PIE2:1;\r
+ unsigned short :6;\r
+ unsigned short POE4M:2;\r
+ } BIT;\r
+ } ICSR2;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short OSF2:1;\r
+ unsigned short :5;\r
+ unsigned short OCE2:1;\r
+ unsigned short OIE2:1;\r
+ } BIT;\r
+ } OCSR2;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :3;\r
+ unsigned short POE8F:1;\r
+ unsigned short :2;\r
+ unsigned short POE8E:1;\r
+ unsigned short PIE3:1;\r
+ unsigned short :6;\r
+ unsigned short POE8M:2;\r
+ } BIT;\r
+ } ICSR3;\r
+ union {\r
+ 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 IC2ADDGPT23ZE:1;\r
+ unsigned short IC1ADDGPT23ZE:1;\r
+ unsigned short :3;\r
+ unsigned short IC5ADDGPT01ZE:1;\r
+ unsigned short :1;\r
+ unsigned short IC3ADDGPT01ZE:1;\r
+ unsigned short IC2ADDGPT01ZE:1;\r
+ unsigned short IC1ADDGPT01ZE:1;\r
+ } BIT;\r
+ } POECR6;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :3;\r
+ unsigned short POE10F:1;\r
+ unsigned short :2;\r
+ unsigned short POE10E:1;\r
+ unsigned short PIE4:1;\r
+ unsigned short :6;\r
+ unsigned short POE10M:2;\r
+ } BIT;\r
+ } ICSR4;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :3;\r
+ unsigned short POE11F:1;\r
+ unsigned short :2;\r
+ unsigned short POE11E:1;\r
+ unsigned short PIE5:1;\r
+ unsigned short :6;\r
+ unsigned short POE11M:2;\r
+ } BIT;\r
+ } ICSR5;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :8;\r
+ unsigned short OLSEN:1;\r
+ unsigned short :1;\r
+ unsigned short OLSG2B:1;\r
+ unsigned short OLSG2A:1;\r
+ unsigned short OLSG1B:1;\r
+ unsigned short OLSG1A:1;\r
+ unsigned short OLSG0B:1;\r
+ unsigned short OLSG0A:1;\r
+ } BIT;\r
+ } ALR1;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :3;\r
+ unsigned short OSTSTF:1;\r
+ unsigned short :2;\r
+ unsigned short OSTSTE:1;\r
+ } BIT;\r
+ } ICSR6;\r
+ char wk0[2];\r
+ 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 M3G0SEL: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 :1;\r
+ unsigned char B4: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 :3;\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 :1;\r
+ unsigned char B4: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
+ } 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_ptpedmac {\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 :1;\r
+ unsigned long RFCOF:1;\r
+ unsigned long ADE:1;\r
+ unsigned long :1;\r
+ unsigned long TC:1;\r
+ unsigned long TDE:1;\r
+ unsigned long TFUF:1;\r
+ unsigned long FR:1;\r
+ unsigned long RDE:1;\r
+ unsigned long RFOF:1;\r
+ unsigned long :7;\r
+ unsigned long MACE:1;\r
+ unsigned long RPORT:1;\r
+ unsigned long :2;\r
+ unsigned long PVER:1;\r
+ unsigned long TYPE:4;\r
+ } BIT;\r
+ } 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 :1;\r
+ unsigned long RFCOFIP:1;\r
+ unsigned long ADEIP:1;\r
+ unsigned long :1;\r
+ unsigned long TCIP:1;\r
+ unsigned long TDEIP:1;\r
+ unsigned long TFUFIP:1;\r
+ unsigned long FRIP:1;\r
+ unsigned long RDEIP:1;\r
+ unsigned long RFOFIP:1;\r
+ unsigned long :7;\r
+ unsigned long MACEIP:1;\r
+ unsigned long RPORTIP:1;\r
+ unsigned long :2;\r
+ unsigned long PVERIP:1;\r
+ } BIT;\r
+ } EESIPR;\r
+ char wk6[4];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :24;\r
+ unsigned long RPORTCE:1;\r
+ unsigned long :2;\r
+ unsigned long PVERCE:1;\r
+ unsigned long TYPECE:4;\r
+ } BIT;\r
+ } 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 :31;\r
+ unsigned long RNR:1;\r
+ } BIT;\r
+ } RMCR;\r
+ char wk11[8];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long UNDER:16;\r
+ } BIT;\r
+ } TFUCR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :16;\r
+ unsigned long OVER:16;\r
+ } BIT;\r
+ } RFOCR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :31;\r
+ unsigned long ELB:1;\r
+ } BIT;\r
+ } IOSR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :13;\r
+ unsigned long RFFO:3;\r
+ unsigned long :13;\r
+ unsigned long RFDO:3;\r
+ } BIT;\r
+ } FCFTR;\r
+ char wk12[4];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :14;\r
+ unsigned long PADS:2;\r
+ unsigned long :10;\r
+ unsigned long PADR:6;\r
+ } BIT;\r
+ } RPADIR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned long :27;\r
+ unsigned long TIM:1;\r
+ unsigned long :3;\r
+ unsigned long TIS:1;\r
+ } BIT;\r
+ } TRIMD;\r
+ char wk13[72];\r
+ unsigned long RBWAR;\r
+ unsigned long RDFAR;\r
+ char wk14[4];\r
+ unsigned long TBRAR;\r
+ unsigned long TDFAR;\r
+};\r
+\r
+struct st_qspi {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char SPRIE:1;\r
+ unsigned char SPE:1;\r
+ unsigned char SPTIE:1;\r
+ unsigned char :1;\r
+ unsigned char SPMST:1;\r
+ unsigned char :1;\r
+ unsigned char SPSSLIE:1;\r
+ } BIT;\r
+ } SPCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char SSLP:1;\r
+ } BIT;\r
+ } SSLP;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char MOIFE:1;\r
+ unsigned char MOIFV:1;\r
+ unsigned char :1;\r
+ unsigned char IO3FV:1;\r
+ unsigned char IO2FV:1;\r
+ unsigned char SPLP:1;\r
+ } BIT;\r
+ } SPPCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char SPRFF:1;\r
+ unsigned char TREND:1;\r
+ unsigned char SPTEF:1;\r
+ unsigned char SPSSLF:1;\r
+ } BIT;\r
+ } SPSR;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned short H;\r
+ } WORD;\r
+ struct {\r
+ unsigned char HH;\r
+ } BYTE;\r
+ } SPDR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :6;\r
+ unsigned char SPSC:2;\r
+ } BIT;\r
+ } SPSCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :6;\r
+ unsigned char SPSS:2;\r
+ } BIT;\r
+ } SPSSR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char SPBR7:1;\r
+ unsigned char SPBR6:1;\r
+ unsigned char SPBR5:1;\r
+ unsigned char SPBR4:1;\r
+ unsigned char SPBR3:1;\r
+ unsigned char SPBR2:1;\r
+ unsigned char SPBR1:1;\r
+ unsigned char SPBR0:1;\r
+ } BIT;\r
+ } SPBR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TXDMY:1;\r
+ } BIT;\r
+ } SPDCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ 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
+ unsigned long SPBMUL0;\r
+ unsigned long SPBMUL1;\r
+ unsigned long SPBMUL2;\r
+ unsigned long SPBMUL3;\r
+};\r
+\r
+struct st_riic {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ICE:1;\r
+ unsigned char IICRST:1;\r
+ unsigned char CLO:1;\r
+ unsigned char SOWP:1;\r
+ unsigned char SCLO:1;\r
+ unsigned char SDAO:1;\r
+ unsigned char SCLI:1;\r
+ unsigned char SDAI:1;\r
+ } BIT;\r
+ } ICCR1;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BBSY:1;\r
+ unsigned char MST:1;\r
+ unsigned char TRS:1;\r
+ unsigned char :1;\r
+ unsigned char SP:1;\r
+ unsigned char RS:1;\r
+ unsigned char ST:1;\r
+ } BIT;\r
+ } ICCR2;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char MTWP:1;\r
+ unsigned char CKS:3;\r
+ unsigned char BCWP:1;\r
+ unsigned char BC:3;\r
+ } BIT;\r
+ } ICMR1;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char DLCS:1;\r
+ unsigned char SDDL:3;\r
+ unsigned char :1;\r
+ unsigned char TMOH:1;\r
+ unsigned char TMOL:1;\r
+ unsigned char TMOS:1;\r
+ } BIT;\r
+ } ICMR2;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char SMBS:1;\r
+ unsigned char WAIT:1;\r
+ unsigned char RDRFS:1;\r
+ unsigned char ACKWP:1;\r
+ unsigned char ACKBT:1;\r
+ unsigned char ACKBR:1;\r
+ unsigned char NF:2;\r
+ } BIT;\r
+ } ICMR3;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char 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_rspi {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char SPRIE:1;\r
+ unsigned char SPE:1;\r
+ unsigned char SPTIE:1;\r
+ unsigned char SPEIE:1;\r
+ unsigned char MSTR:1;\r
+ unsigned char MODFEN:1;\r
+ unsigned char TXMD:1;\r
+ unsigned char SPMS:1;\r
+ } BIT;\r
+ } SPCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :4;\r
+ unsigned char SSL3P:1;\r
+ unsigned char SSL2P:1;\r
+ unsigned char SSL1P:1;\r
+ unsigned char SSL0P:1;\r
+ } BIT;\r
+ } SSLP;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char MOIFE:1;\r
+ unsigned char MOIFV:1;\r
+ unsigned char :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 :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
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char SEC10:3;\r
+ unsigned char SEC1:4;\r
+ } BIT;\r
+ } RSECCNT;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNT:8;\r
+ } BIT;\r
+ } BCNT0;\r
+ };\r
+ char wk1[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char MIN10:3;\r
+ unsigned char MIN1:4;\r
+ } BIT;\r
+ } RMINCNT;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNT:8;\r
+ } BIT;\r
+ } BCNT1;\r
+ };\r
+ char wk2[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char PM:1;\r
+ unsigned char HR10:2;\r
+ unsigned char HR1:4;\r
+ } BIT;\r
+ } RHRCNT;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNT:8;\r
+ } BIT;\r
+ } BCNT2;\r
+ };\r
+ char wk3[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :5;\r
+ unsigned char DAYW:3;\r
+ } BIT;\r
+ } RWKCNT;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNT:8;\r
+ } BIT;\r
+ } BCNT3;\r
+ };\r
+ char wk4[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ 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
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ unsigned char SEC10:3;\r
+ unsigned char SEC1:4;\r
+ } BIT;\r
+ } RSECAR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNTAR:8;\r
+ } BIT;\r
+ } BCNT0AR;\r
+ };\r
+ char wk7[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ unsigned char MIN10:3;\r
+ unsigned char MIN1:4;\r
+ } BIT;\r
+ } RMINAR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNTAR:8;\r
+ } BIT;\r
+ } BCNT1AR;\r
+ };\r
+ char wk8[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ unsigned char PM:1;\r
+ unsigned char HR10:2;\r
+ unsigned char HR1:4;\r
+ } BIT;\r
+ } RHRAR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNTAR:8;\r
+ } BIT;\r
+ } BCNT2AR;\r
+ };\r
+ char wk9[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ unsigned char :4;\r
+ unsigned char DAYW:3;\r
+ } BIT;\r
+ } RWKAR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNTAR:8;\r
+ } BIT;\r
+ } BCNT3AR;\r
+ };\r
+ char wk10[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ unsigned char :1;\r
+ unsigned char DATE10:2;\r
+ unsigned char DATE1:4;\r
+ } BIT;\r
+ } RDAYAR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:8;\r
+ } BIT;\r
+ } BCNT0AER;\r
+ };\r
+ char wk11[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ unsigned char :2;\r
+ unsigned char MON10:1;\r
+ unsigned char MON1:4;\r
+ } BIT;\r
+ } RMONAR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:8;\r
+ } BIT;\r
+ } BCNT1AER;\r
+ };\r
+ char wk12[1];\r
+ union {\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :8;\r
+ unsigned short YR10:4;\r
+ unsigned short YR1:4;\r
+ } BIT;\r
+ } RYRAR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :8;\r
+ unsigned short ENB:8;\r
+ } BIT;\r
+ } BCNT2AER;\r
+ };\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:1;\r
+ } BIT;\r
+ } RYRAREN;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char ENB:8;\r
+ } BIT;\r
+ } BCNT3AER;\r
+ };\r
+ char wk13[3];\r
+ union {\r
+ unsigned char BYTE;\r
+ 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
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char SEC10:3;\r
+ unsigned char SEC1:4;\r
+ } BIT;\r
+ } RSECCP0;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP0:8;\r
+ } BIT;\r
+ } BCNT0CP0;\r
+ };\r
+ char wk22[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char MIN10:3;\r
+ unsigned char MIN1:4;\r
+ } BIT;\r
+ } RMINCP0;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP0:8;\r
+ } BIT;\r
+ } BCNT1CP0;\r
+ };\r
+ char wk23[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char PM:1;\r
+ unsigned char HR10:2;\r
+ unsigned char HR1:4;\r
+ } BIT;\r
+ } RHRCP0;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP0:8;\r
+ } BIT;\r
+ } BCNT2CP0;\r
+ };\r
+ char wk24[3];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char DATE10:2;\r
+ unsigned char DATE1:4;\r
+ } BIT;\r
+ } RDAYCP0;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP0:8;\r
+ } BIT;\r
+ } BCNT3CP0;\r
+ };\r
+ char wk25[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ 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
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char SEC10:3;\r
+ unsigned char SEC1:4;\r
+ } BIT;\r
+ } RSECCP1;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP1:8;\r
+ } BIT;\r
+ } BCNT0CP1;\r
+ };\r
+ char wk27[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char MIN10:3;\r
+ unsigned char MIN1:4;\r
+ } BIT;\r
+ } RMINCP1;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP1:8;\r
+ } BIT;\r
+ } BCNT1CP1;\r
+ };\r
+ char wk28[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char PM:1;\r
+ unsigned char HR10:2;\r
+ unsigned char HR1:4;\r
+ } BIT;\r
+ } RHRCP1;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP1:8;\r
+ } BIT;\r
+ } BCNT2CP1;\r
+ };\r
+ char wk29[3];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char DATE10:2;\r
+ unsigned char DATE1:4;\r
+ } BIT;\r
+ } RDAYCP1;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP1:8;\r
+ } BIT;\r
+ } BCNT3CP1;\r
+ };\r
+ char wk30[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ 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
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char SEC10:3;\r
+ unsigned char SEC1:4;\r
+ } BIT;\r
+ } RSECCP2;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP2:8;\r
+ } BIT;\r
+ } BCNT0CP2;\r
+ };\r
+ char wk32[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char MIN10:3;\r
+ unsigned char MIN1:4;\r
+ } BIT;\r
+ } RMINCP2;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP2:8;\r
+ } BIT;\r
+ } BCNT1CP2;\r
+ };\r
+ char wk33[1];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char PM:1;\r
+ unsigned char HR10:2;\r
+ unsigned char HR1:4;\r
+ } BIT;\r
+ } RHRCP2;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP2:8;\r
+ } BIT;\r
+ } BCNT2CP2;\r
+ };\r
+ char wk34[3];\r
+ union {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :2;\r
+ unsigned char DATE10:2;\r
+ unsigned char DATE1:4;\r
+ } BIT;\r
+ } RDAYCP2;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char BCNCP2:8;\r
+ } BIT;\r
+ } BCNT3CP2;\r
+ };\r
+ char wk35[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :3;\r
+ unsigned char MON10:1;\r
+ unsigned char MON1:4;\r
+ } BIT;\r
+ } RMONCP2;\r
+};\r
+\r
+struct st_s12ad {\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short ADST:1;\r
+ unsigned short ADCS:2;\r
+ unsigned short ADIE:1;\r
+ unsigned short :2;\r
+ unsigned short TRGE:1;\r
+ unsigned short EXTRG:1;\r
+ unsigned short DBLE:1;\r
+ unsigned short GBADIE:1;\r
+ unsigned short :1;\r
+ unsigned short DBLANS:5;\r
+ } BIT;\r
+ } ADCSR;\r
+ char wk0[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short 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
+ char wk4[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short ANSB0:16;\r
+ } BIT;\r
+ } ADANSB0;\r
+ char wk5[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :2;\r
+ unsigned short AD:12;\r
+ } BIT;\r
+ } ADDBLDR;\r
+ char wk6[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 wk7[48];\r
+ unsigned char ADSSTR0;\r
+ unsigned char ADSSTRL;\r
+ char wk8[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 wk9[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 wk10[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 wk11[2];\r
+ unsigned short ADDBLDRA;\r
+ unsigned short ADDBLDRB;\r
+ char wk12[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 wk13[3];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short CMPS0:16;\r
+ } BIT;\r
+ } ADCMPANSR0;\r
+ char wk14[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short CMPL0:16;\r
+ } BIT;\r
+ } ADCMPLR0;\r
+ char wk15[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 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
+ 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 wk1[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 :1;\r
+ unsigned short OCSB:1;\r
+ unsigned short TSSB:1;\r
+ unsigned short OCSA:1;\r
+ unsigned short TSSA:1;\r
+ unsigned short :6;\r
+ unsigned short OCSAD:1;\r
+ unsigned short TSSAD:1;\r
+ } 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 wk2[22];\r
+ unsigned char ADSSTR0;\r
+ unsigned char ADSSTRL;\r
+ char wk3[14];\r
+ unsigned char ADSSTRT;\r
+ unsigned char ADSSTRO;\r
+ char wk4[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 wk5[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 wk6[2];\r
+ unsigned short ADDBLDRA;\r
+ unsigned short ADDBLDRB;\r
+ char wk7[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 wk8[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
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char TDRH;\r
+ unsigned char TDRL;\r
+ } BYTE;\r
+ } TDRHL;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char RDRH;\r
+ unsigned char RDRL;\r
+ } BYTE;\r
+ } RDRHL;\r
+ unsigned char MDDR;\r
+};\r
+\r
+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
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char TDRH;\r
+ unsigned char TDRL;\r
+ } BYTE;\r
+ } TDRHL;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char RDRH;\r
+ unsigned char RDRL;\r
+ } BYTE;\r
+ } RDRHL;\r
+ unsigned char MDDR;\r
+ char wk0[13];\r
+ union {\r
+ 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_scifa {\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 :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_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
+ } SRCFCTR[5552];\r
+ char wk0[2352];\r
+ union {\r
+ unsigned long LONG;\r
+ } SRCID;\r
+ union {\r
+ unsigned long LONG;\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:4;\r
+ unsigned short :1;\r
+ unsigned short CEF:1;\r
+ unsigned short FLF:1;\r
+ unsigned short UDF:1;\r
+ unsigned short OVF:1;\r
+ unsigned short IINT: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 TIE: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 :2;\r
+ unsigned long MSTPA24:1;\r
+ unsigned long :4;\r
+ unsigned long MSTPA19:1;\r
+ unsigned long :1;\r
+ unsigned long MSTPA17:1;\r
+ 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 MSTPC6:1;\r
+ unsigned long :5;\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
+ unsigned long :6;\r
+ unsigned long MSTPD7:1;\r
+ unsigned long MSTPD6:1;\r
+ unsigned long MSTPD5:1;\r
+ unsigned long MSTPD4:1;\r
+ unsigned long MSTPD3:1;\r
+ unsigned long MSTPD2:1;\r
+ unsigned long MSTPD1:1;\r
+ unsigned long MSTPD0:1;\r
+ } BIT;\r
+ } MSTPCRD;\r
+ union {\r
+ 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 wk5[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 wk6[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 wk7[94];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :3;\r
+ unsigned char OPCMTSF:1;\r
+ unsigned char :1;\r
+ unsigned char OPCM:3;\r
+ } BIT;\r
+ } OPCCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char RSTCKEN:1;\r
+ unsigned char :4;\r
+ unsigned char RSTCKSEL:3;\r
+ } BIT;\r
+ } RSTCKCR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char 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 wk8[28];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :5;\r
+ unsigned char SWRF:1;\r
+ unsigned char WDTRF:1;\r
+ unsigned char IWDTRF:1;\r
+ } BIT;\r
+ } RSTSR2;\r
+ char wk9[1];\r
+ unsigned short SWRR;\r
+ char wk10[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 wk11[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 wk12[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 wk13[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 wk14[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 wk15[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :1;\r
+ unsigned char MOSEL:1;\r
+ unsigned char MODRV2:2;\r
+ unsigned char :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 wk16[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 wk17[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 wk18[4];\r
+ unsigned char DPSBKR[32];\r
+};\r
+\r
+struct st_temps {\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TSEN:1;\r
+ unsigned char :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
+ char wk5[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char :7;\r
+ unsigned char TCS:1;\r
+ } BIT;\r
+ } TCSTR;\r
+};\r
+\r
+struct st_tmr01 {\r
+ 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 :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
+};\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 :2;\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 :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 :1;\r
+ unsigned char ICSELB:1;\r
+ unsigned char :2;\r
+ unsigned char MD:4;\r
+ } BIT;\r
+ } TMDR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char IOB:4;\r
+ unsigned char IOA:4;\r
+ } BIT;\r
+ } TIOR;\r
+ char wk2[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TTGE:1;\r
+ unsigned char :1;\r
+ unsigned char TCIEU:1;\r
+ unsigned char TCIEV:1;\r
+ unsigned char :2;\r
+ unsigned char TGIEB:1;\r
+ unsigned char TGIEA:1;\r
+ } BIT;\r
+ } TIER;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TCFD:1;\r
+ 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
+};\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 :2;\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 :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 :1;\r
+ unsigned char ICSELB:1;\r
+ unsigned char :2;\r
+ unsigned char MD:4;\r
+ } BIT;\r
+ } TMDR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char IOB:4;\r
+ unsigned char IOA:4;\r
+ } BIT;\r
+ } TIOR;\r
+ char wk1[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TTGE:1;\r
+ unsigned char :1;\r
+ unsigned char TCIEU:1;\r
+ unsigned char TCIEV:1;\r
+ unsigned char :2;\r
+ unsigned char TGIEB:1;\r
+ unsigned char TGIEA:1;\r
+ } BIT;\r
+ } TIER;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TCFD:1;\r
+ 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
+};\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 :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
+};\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 :2;\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 :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 :1;\r
+ unsigned char ICSELB:1;\r
+ unsigned char :2;\r
+ unsigned char MD:4;\r
+ } BIT;\r
+ } TMDR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char IOB:4;\r
+ unsigned char IOA:4;\r
+ } BIT;\r
+ } TIOR;\r
+ char wk1[1];\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TTGE:1;\r
+ unsigned char :1;\r
+ unsigned char TCIEU:1;\r
+ unsigned char TCIEV:1;\r
+ unsigned char :2;\r
+ unsigned char TGIEB:1;\r
+ unsigned char TGIEA:1;\r
+ } BIT;\r
+ } TIER;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char TCFD:1;\r
+ 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
+};\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 :2;\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 :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 :1;\r
+ unsigned char ICSELB:1;\r
+ unsigned char :2;\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 :2;\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
+};\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 SOFEA:1;\r
+ unsigned short :2;\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
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char L;\r
+ unsigned char H;\r
+ } BYTE;\r
+ } CFIFO;\r
+ char wk3[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char L;\r
+ unsigned char H;\r
+ } BYTE;\r
+ } D0FIFO;\r
+ char wk4[2];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned char L;\r
+ unsigned char H;\r
+ } BYTE;\r
+ } D1FIFO;\r
+ char wk5[2];\r
+ union {\r
+ unsigned short WORD;\r
+ 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 :28;\r
+ unsigned long SLEWF01:1;\r
+ unsigned long SLEWF00:1;\r
+ unsigned long SLEWR01:1;\r
+ unsigned long SLEWR00:1;\r
+ } BIT;\r
+ } PHYSLEW;\r
+};\r
+\r
+struct st_usba {\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :7;\r
+// unsigned short CNEN:1;\r
+// unsigned short HSE:1;\r
+// unsigned short DCFM:1;\r
+// unsigned short DRPD:1;\r
+// unsigned short DPRPU:1;\r
+// unsigned short :3;\r
+// unsigned short USBE:1;\r
+// } BIT;\r
+ } 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 SOFEA:1;\r
+ unsigned short :2;\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[6];\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned short L;\r
+ unsigned short H;\r
+ } WORD;\r
+ struct {\r
+ unsigned char LL;\r
+ unsigned char LH;\r
+ unsigned char HL;\r
+ unsigned char HH;\r
+ } BYTE;\r
+ } CFIFO;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned short L;\r
+ unsigned short H;\r
+ } WORD;\r
+ struct {\r
+ unsigned char LL;\r
+ unsigned char LH;\r
+ unsigned char HL;\r
+ unsigned char HH;\r
+ } BYTE;\r
+ } D0FIFO;\r
+ union {\r
+ unsigned long LONG;\r
+ struct {\r
+ unsigned short L;\r
+ unsigned short H;\r
+ } WORD;\r
+ struct {\r
+ unsigned char LL;\r
+ unsigned char LH;\r
+ unsigned char HL;\r
+ unsigned char HH;\r
+ } BYTE;\r
+ } D1FIFO;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short RCNT:1;\r
+// unsigned short REW:1;\r
+// unsigned short :2;\r
+// unsigned short MBW:2;\r
+// unsigned short :1;\r
+// unsigned short BIGEND:1;\r
+// unsigned short :2;\r
+// unsigned short ISEL:1;\r
+// unsigned short :1;\r
+// unsigned short CURPIPE:4;\r
+// } BIT;\r
+ } CFIFOSEL;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short BVAL:1;\r
+// unsigned short BCLR:1;\r
+// unsigned short FRDY:1;\r
+// unsigned short :1;\r
+// unsigned short DTLN:12;\r
+// } BIT;\r
+ } 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
+// } 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 REPSEL:2;\r
+// unsigned short :2;\r
+// unsigned short CLKSEL:2;\r
+// unsigned short CDPEN:1;\r
+// unsigned short :1;\r
+// unsigned short PLLRESET:1;\r
+// unsigned short DIRPD:1;\r
+// } BIT;\r
+ } PHYSET;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short VBINT:1;\r
+// unsigned short RESM:1;\r
+// unsigned short SOFR:1;\r
+// unsigned short DVST:1;\r
+// unsigned short CTRT:1;\r
+// unsigned short BEMP:1;\r
+// unsigned short NRDY:1;\r
+// unsigned short BRDY:1;\r
+// unsigned short VBSTS:1;\r
+// unsigned short DVSQ:3;\r
+// unsigned short VALID:1;\r
+// unsigned short CTSQ:3;\r
+// } BIT;\r
+ } 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 PIPEBRDY:10;\r
+// } BIT;\r
+ } BRDYSTS;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :6;\r
+// unsigned short PIPENRDY:10;\r
+// } BIT;\r
+ } NRDYSTS;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :6;\r
+// unsigned short PIPEBEMP:10;\r
+// } BIT;\r
+ } BEMPSTS;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short OVRN:1;\r
+// unsigned short CRCE:1;\r
+// unsigned short :3;\r
+// unsigned short FRNM:11;\r
+// } BIT;\r
+ } 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 :7;\r
+// unsigned short CNTMD:1;\r
+// unsigned short SHTNAK:1;\r
+// unsigned short :2;\r
+// unsigned short DIR:1;\r
+// } BIT;\r
+ } DCPCFG;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short DEVSEL:4;\r
+// unsigned short :5;\r
+// unsigned short MXPS:7;\r
+// } BIT;\r
+ } 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 HWUPM:1;\r
+// } BIT;\r
+ } LPCTRL;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :1;\r
+// unsigned short SUSPENDM:1;\r
+// } BIT;\r
+ } LPSTS;\r
+ char wk11[60];\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 wk12[2];\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :1;\r
+// unsigned short L1EXTMD:1;\r
+// unsigned short :2;\r
+// unsigned short HIRDTHR:4;\r
+// unsigned short DVSQ:4;\r
+// unsigned short L1NEGOMD:1;\r
+// unsigned short L1RESPMD:2;\r
+// unsigned short L1RESPEN:1;\r
+// } BIT;\r
+ } PL1CTRL1;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :3;\r
+// unsigned short RWEMON:1;\r
+// unsigned short HIRDMON:4;\r
+// } BIT;\r
+ } PL1CTRL2;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short :13;\r
+// unsigned short L1STATUS:2;\r
+// unsigned short L1REQ:1;\r
+// } BIT;\r
+ } HL1CTRL1;\r
+ union {\r
+ unsigned short WORD;\r
+// struct {\r
+// unsigned short BESL:1;\r
+// unsigned short :2;\r
+// unsigned short L1RWE:1;\r
+// unsigned short HIRD:4;\r
+// unsigned short :4;\r
+// unsigned short L1ADDR:4;\r
+// } BIT;\r
+ } HL1CTRL2;\r
+ char wk13[20];\r
+ union {\r
+ unsigned long LONG;\r
+// struct {\r
+// unsigned long :8;\r
+// unsigned long DVBSTSHM:1;\r
+// unsigned long :1;\r
+// unsigned long DOVCBHM:1;\r
+// unsigned long DOVCAHM:1;\r
+// } BIT;\r
+ } DPUSR0R;\r
+ union {\r
+ unsigned long LONG;\r
+// struct {\r
+// unsigned long :8;\r
+// unsigned long DVBSTSH:1;\r
+// unsigned long :1;\r
+// unsigned long DOVCBH:1;\r
+// unsigned long DOVCAH:1;\r
+// unsigned long :12;\r
+// unsigned long DVBSTSHE:1;\r
+// unsigned long :1;\r
+// unsigned long DOVCBHE:1;\r
+// unsigned long DOVCAHE:1;\r
+// } BIT;\r
+ } DPUSR1R;\r
+};\r
+\r
+struct st_wdt {\r
+ unsigned char WDTRR;\r
+ char wk0[1];\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short :2;\r
+ unsigned short RPSS:2;\r
+ unsigned short :2;\r
+ unsigned short RPES:2;\r
+ unsigned short CKS:4;\r
+ unsigned short :2;\r
+ unsigned short TOPS:2;\r
+ } BIT;\r
+ } WDTCR;\r
+ union {\r
+ unsigned short WORD;\r
+ struct {\r
+ unsigned short REFEF:1;\r
+ unsigned short UNDFF:1;\r
+ unsigned short CNTVAL:14;\r
+ } BIT;\r
+ } WDTSR;\r
+ union {\r
+ unsigned char BYTE;\r
+ struct {\r
+ unsigned char RSTIRQS:1;\r
+ } BIT;\r
+ } WDTRCR;\r
+};\r
+\r
+enum enum_ir {\r
+IR_BSC_BUSERR=16,IR_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_CMTW1_CMWI1,\r
+IR_USBA_D0FIFO2,IR_USBA_D1FIFO2,\r
+IR_USB0_D0FIFO0,IR_USB0_D1FIFO0,\r
+IR_RSPI0_SPRI0=38,IR_RSPI0_SPTI0,\r
+IR_QSPI_SPRI=42,IR_QSPI_SPTI,\r
+IR_SDHI_SBFAI,\r
+IR_MMCIF_MBFAI,\r
+IR_SSI0_SSITXI0,IR_SSI0_SSIRXI0,\r
+IR_SSI1_SSIRTI1,\r
+IR_SRC_IDEI=50,IR_SRC_ODFI,\r
+IR_RIIC0_RXI0,IR_RIIC0_TXI0,\r
+IR_RIIC2_RXI2,IR_RIIC2_TXI2,\r
+IR_SCI0_RXI0=58,IR_SCI0_TXI0,\r
+IR_SCI1_RXI1,IR_SCI1_TXI1,\r
+IR_SCI2_RXI2,IR_SCI2_TXI2,\r
+IR_ICU_IRQ0,IR_ICU_IRQ1,IR_ICU_IRQ2,IR_ICU_IRQ3,IR_ICU_IRQ4,IR_ICU_IRQ5,IR_ICU_IRQ6,IR_ICU_IRQ7,\r
+IR_ICU_IRQ8,IR_ICU_IRQ9,IR_ICU_IRQ10,IR_ICU_IRQ11,IR_ICU_IRQ12,IR_ICU_IRQ13,IR_ICU_IRQ14,IR_ICU_IRQ15,\r
+IR_SCI3_RXI3,IR_SCI3_TXI3,\r
+IR_SCI4_RXI4,IR_SCI4_TXI4,\r
+IR_SCI5_RXI5,IR_SCI5_TXI5,\r
+IR_SCI6_RXI6,IR_SCI6_TXI6,\r
+IR_LVD1_LVD1,\r
+IR_LVD2_LVD2,\r
+IR_USB0_USBR0,\r
+IR_RTC_ALM=92,IR_RTC_PRD,\r
+IR_USBA_USBAR,\r
+IR_IWDT_IWUNI,\r
+IR_WDT_WUNI,\r
+IR_PDC_PCDFI,\r
+IR_SCI7_RXI7,IR_SCI7_TXI7,\r
+IR_SCIFA8_RXIF8,IR_SCIFA8_TXIF8,\r
+IR_SCIFA9_RXIF9,IR_SCIFA9_TXIF9,\r
+IR_SCIFA10_RXIF10,IR_SCIFA10_TXIF10,\r
+IR_ICU_GROUPBE0,IR_ICU_GROUPBL0=110,IR_ICU_GROUPBL1,IR_ICU_GROUPAL0,IR_ICU_GROUPAL1,\r
+IR_SCIFA11_RXIF11,IR_SCIFA11_TXIF11,\r
+IR_SCI12_RXI12,IR_SCI12_TXI12,\r
+IR_DMAC_DMAC0I=120,IR_DMAC_DMAC1I,IR_DMAC_DMAC2I,IR_DMAC_DMAC3I,IR_DMAC_DMAC74I,\r
+IR_OST_OST,\r
+IR_EXDMAC_EXDMAC0I,IR_EXDMAC_EXDMAC1I,\r
+IR_PERIB_INTB128,IR_PERIB_INTB129,IR_PERIB_INTB130,IR_PERIB_INTB131,IR_PERIB_INTB132,\r
+IR_PERIB_INTB133,IR_PERIB_INTB134,IR_PERIB_INTB135,IR_PERIB_INTB136,IR_PERIB_INTB137,\r
+IR_PERIB_INTB138,IR_PERIB_INTB139,IR_PERIB_INTB140,IR_PERIB_INTB141,IR_PERIB_INTB142,\r
+IR_PERIB_INTB143,IR_PERIB_INTB144,IR_PERIB_INTB145,IR_PERIB_INTB146,IR_PERIB_INTB147,\r
+IR_PERIB_INTB148,IR_PERIB_INTB149,IR_PERIB_INTB150,IR_PERIB_INTB151,IR_PERIB_INTB152,\r
+IR_PERIB_INTB153,IR_PERIB_INTB154,IR_PERIB_INTB155,IR_PERIB_INTB156,IR_PERIB_INTB157,\r
+IR_PERIB_INTB158,IR_PERIB_INTB159,IR_PERIB_INTB160,IR_PERIB_INTB161,IR_PERIB_INTB162,\r
+IR_PERIB_INTB163,IR_PERIB_INTB164,IR_PERIB_INTB165,IR_PERIB_INTB166,IR_PERIB_INTB167,\r
+IR_PERIB_INTB168,IR_PERIB_INTB169,IR_PERIB_INTB170,IR_PERIB_INTB171,IR_PERIB_INTB172,\r
+IR_PERIB_INTB173,IR_PERIB_INTB174,IR_PERIB_INTB175,IR_PERIB_INTB176,IR_PERIB_INTB177,\r
+IR_PERIB_INTB178,IR_PERIB_INTB179,IR_PERIB_INTB180,IR_PERIB_INTB181,IR_PERIB_INTB182,\r
+IR_PERIB_INTB183,IR_PERIB_INTB184,IR_PERIB_INTB185,IR_PERIB_INTB186,IR_PERIB_INTB187,\r
+IR_PERIB_INTB188,IR_PERIB_INTB189,IR_PERIB_INTB190,IR_PERIB_INTB191,IR_PERIB_INTB192,\r
+IR_PERIB_INTB193,IR_PERIB_INTB194,IR_PERIB_INTB195,IR_PERIB_INTB196,IR_PERIB_INTB197,\r
+IR_PERIB_INTB198,IR_PERIB_INTB199,IR_PERIB_INTB200,IR_PERIB_INTB201,IR_PERIB_INTB202,\r
+IR_PERIB_INTB203,IR_PERIB_INTB204,IR_PERIB_INTB205,IR_PERIB_INTB206,IR_PERIB_INTB207,\r
+IR_PERIA_INTA208,IR_PERIA_INTA209,IR_PERIA_INTA210,IR_PERIA_INTA211,IR_PERIA_INTA212,\r
+IR_PERIA_INTA213,IR_PERIA_INTA214,IR_PERIA_INTA215,IR_PERIA_INTA216,IR_PERIA_INTA217,\r
+IR_PERIA_INTA218,IR_PERIA_INTA219,IR_PERIA_INTA220,IR_PERIA_INTA221,IR_PERIA_INTA222,\r
+IR_PERIA_INTA223,IR_PERIA_INTA224,IR_PERIA_INTA225,IR_PERIA_INTA226,IR_PERIA_INTA227,\r
+IR_PERIA_INTA228,IR_PERIA_INTA229,IR_PERIA_INTA230,IR_PERIA_INTA231,IR_PERIA_INTA232,\r
+IR_PERIA_INTA233,IR_PERIA_INTA234,IR_PERIA_INTA235,IR_PERIA_INTA236,IR_PERIA_INTA237,\r
+IR_PERIA_INTA238,IR_PERIA_INTA239,IR_PERIA_INTA240,IR_PERIA_INTA241,IR_PERIA_INTA242,\r
+IR_PERIA_INTA243,IR_PERIA_INTA244,IR_PERIA_INTA245,IR_PERIA_INTA246,IR_PERIA_INTA247,\r
+IR_PERIA_INTA248,IR_PERIA_INTA249,IR_PERIA_INTA250,IR_PERIA_INTA251,IR_PERIA_INTA252,\r
+IR_PERIA_INTA253,IR_PERIA_INTA254,IR_PERIA_INTA255\r
+};\r
+\r
+enum enum_dtce {\r
+DTCE_ICU_SWINT2=26,DTCE_ICU_SWINT,\r
+DTCE_CMT0_CMI0,\r
+DTCE_CMT1_CMI1,\r
+DTCE_CMTW0_CMWI0,\r
+DTCE_CMTW1_CMWI1,\r
+DTCE_USBA_D0FIFO2,DTCE_USBA_D1FIFO2,\r
+DTCE_USB0_D0FIFO0,DTCE_USB0_D1FIFO0,\r
+DTCE_RSPI0_SPRI0=38,DTCE_RSPI0_SPTI0,\r
+DTCE_QSPI_SPRI=42,DTCE_QSPI_SPTI,\r
+DTCE_SDHI_SBFAI,\r
+DTCE_MMCIF_MBFAI,\r
+DTCE_SSI0_SSITXI0,DTCE_SSI0_SSIRXI0,\r
+DTCE_SSI1_SSIRTI1,\r
+DTCE_SRC_IDEI=50,DTCE_SRC_ODFI,\r
+DTCE_RIIC0_RXI0,DTCE_RIIC0_TXI0,\r
+DTCE_RIIC2_RXI2,DTCE_RIIC2_TXI2,\r
+DTCE_SCI0_RXI0=58,DTCE_SCI0_TXI0,\r
+DTCE_SCI1_RXI1,DTCE_SCI1_TXI1,\r
+DTCE_SCI2_RXI2,DTCE_SCI2_TXI2,\r
+DTCE_ICU_IRQ0,DTCE_ICU_IRQ1,DTCE_ICU_IRQ2,DTCE_ICU_IRQ3,DTCE_ICU_IRQ4,DTCE_ICU_IRQ5,DTCE_ICU_IRQ6,DTCE_ICU_IRQ7,\r
+DTCE_ICU_IRQ8,DTCE_ICU_IRQ9,DTCE_ICU_IRQ10,DTCE_ICU_IRQ11,DTCE_ICU_IRQ12,DTCE_ICU_IRQ13,DTCE_ICU_IRQ14,DTCE_ICU_IRQ15,\r
+DTCE_SCI3_RXI3,DTCE_SCI3_TXI3,\r
+DTCE_SCI4_RXI4,DTCE_SCI4_TXI4,\r
+DTCE_SCI5_RXI5,DTCE_SCI5_TXI5,\r
+DTCE_SCI6_RXI6,DTCE_SCI6_TXI6,\r
+DTCE_PDC_PCDFI=97,\r
+DTCE_SCI7_RXI7,DTCE_SCI7_TXI7,\r
+DTCE_SCIFA8_RXIF8,DTCE_SCIFA8_TXIF8,\r
+DTCE_SCIFA9_RXIF9,DTCE_SCIFA9_TXIF9,\r
+DTCE_SCIFA10_RXIF10,DTCE_SCIFA10_TXIF10,\r
+DTCE_SCIFA11_RXIF11=114,DTCE_SCIFA11_TXIF11,\r
+DTCE_SCI12_RXI12,DTCE_SCI12_TXI12,\r
+DTCE_DMAC_DMAC0I=120,DTCE_DMAC_DMAC1I,DTCE_DMAC_DMAC2I,DTCE_DMAC_DMAC3I,\r
+DTCE_EXDMAC_EXDMAC0I=126,DTCE_EXDMAC_EXDMAC1I,\r
+DTCE_PERIB_INTB128,DTCE_PERIB_INTB129,DTCE_PERIB_INTB130,DTCE_PERIB_INTB131,DTCE_PERIB_INTB132,\r
+DTCE_PERIB_INTB133,DTCE_PERIB_INTB134,DTCE_PERIB_INTB135,DTCE_PERIB_INTB136,DTCE_PERIB_INTB137,\r
+DTCE_PERIB_INTB138,DTCE_PERIB_INTB139,DTCE_PERIB_INTB140,DTCE_PERIB_INTB141,DTCE_PERIB_INTB142,\r
+DTCE_PERIB_INTB143,DTCE_PERIB_INTB144,DTCE_PERIB_INTB145,DTCE_PERIB_INTB146,DTCE_PERIB_INTB147,\r
+DTCE_PERIB_INTB148,DTCE_PERIB_INTB149,DTCE_PERIB_INTB150,DTCE_PERIB_INTB151,DTCE_PERIB_INTB152,\r
+DTCE_PERIB_INTB153,DTCE_PERIB_INTB154,DTCE_PERIB_INTB155,DTCE_PERIB_INTB156,DTCE_PERIB_INTB157,\r
+DTCE_PERIB_INTB158,DTCE_PERIB_INTB159,DTCE_PERIB_INTB160,DTCE_PERIB_INTB161,DTCE_PERIB_INTB162,\r
+DTCE_PERIB_INTB163,DTCE_PERIB_INTB164,DTCE_PERIB_INTB165,DTCE_PERIB_INTB166,DTCE_PERIB_INTB167,\r
+DTCE_PERIB_INTB168,DTCE_PERIB_INTB169,DTCE_PERIB_INTB170,DTCE_PERIB_INTB171,DTCE_PERIB_INTB172,\r
+DTCE_PERIB_INTB173,DTCE_PERIB_INTB174,DTCE_PERIB_INTB175,DTCE_PERIB_INTB176,DTCE_PERIB_INTB177,\r
+DTCE_PERIB_INTB178,DTCE_PERIB_INTB179,DTCE_PERIB_INTB180,DTCE_PERIB_INTB181,DTCE_PERIB_INTB182,\r
+DTCE_PERIB_INTB183,DTCE_PERIB_INTB184,DTCE_PERIB_INTB185,DTCE_PERIB_INTB186,DTCE_PERIB_INTB187,\r
+DTCE_PERIB_INTB188,DTCE_PERIB_INTB189,DTCE_PERIB_INTB190,DTCE_PERIB_INTB191,DTCE_PERIB_INTB192,\r
+DTCE_PERIB_INTB193,DTCE_PERIB_INTB194,DTCE_PERIB_INTB195,DTCE_PERIB_INTB196,DTCE_PERIB_INTB197,\r
+DTCE_PERIB_INTB198,DTCE_PERIB_INTB199,DTCE_PERIB_INTB200,DTCE_PERIB_INTB201,DTCE_PERIB_INTB202,\r
+DTCE_PERIB_INTB203,DTCE_PERIB_INTB204,DTCE_PERIB_INTB205,DTCE_PERIB_INTB206,DTCE_PERIB_INTB207,\r
+DTCE_PERIA_INTA208,DTCE_PERIA_INTA209,DTCE_PERIA_INTA210,DTCE_PERIA_INTA211,DTCE_PERIA_INTA212,\r
+DTCE_PERIA_INTA213,DTCE_PERIA_INTA214,DTCE_PERIA_INTA215,DTCE_PERIA_INTA216,DTCE_PERIA_INTA217,\r
+DTCE_PERIA_INTA218,DTCE_PERIA_INTA219,DTCE_PERIA_INTA220,DTCE_PERIA_INTA221,DTCE_PERIA_INTA222,\r
+DTCE_PERIA_INTA223,DTCE_PERIA_INTA224,DTCE_PERIA_INTA225,DTCE_PERIA_INTA226,DTCE_PERIA_INTA227,\r
+DTCE_PERIA_INTA228,DTCE_PERIA_INTA229,DTCE_PERIA_INTA230,DTCE_PERIA_INTA231,DTCE_PERIA_INTA232,\r
+DTCE_PERIA_INTA233,DTCE_PERIA_INTA234,DTCE_PERIA_INTA235,DTCE_PERIA_INTA236,DTCE_PERIA_INTA237,\r
+DTCE_PERIA_INTA238,DTCE_PERIA_INTA239,DTCE_PERIA_INTA240,DTCE_PERIA_INTA241,DTCE_PERIA_INTA242,\r
+DTCE_PERIA_INTA243,DTCE_PERIA_INTA244,DTCE_PERIA_INTA245,DTCE_PERIA_INTA246,DTCE_PERIA_INTA247,\r
+DTCE_PERIA_INTA248,DTCE_PERIA_INTA249,DTCE_PERIA_INTA250,DTCE_PERIA_INTA251,DTCE_PERIA_INTA252,\r
+DTCE_PERIA_INTA253,DTCE_PERIA_INTA254,DTCE_PERIA_INTA255\r
+};\r
+\r
+enum enum_ier {\r
+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_CMTW1_CMWI1=0x03,\r
+IER_USBA_D0FIFO2=0x04,IER_USBA_D1FIFO2=0x04,\r
+IER_USB0_D0FIFO0=0x04,IER_USB0_D1FIFO0=0x04,\r
+IER_RSPI0_SPRI0=0x04,IER_RSPI0_SPTI0=0x04,\r
+IER_QSPI_SPRI=0x05,IER_QSPI_SPTI=0x05,\r
+IER_SDHI_SBFAI=0x05,\r
+IER_MMCIF_MBFAI=0x05,\r
+IER_SSI0_SSITXI0=0x05,IER_SSI0_SSIRXI0=0x05,\r
+IER_SSI1_SSIRTI1=0x06,\r
+IER_SRC_IDEI=0x06,IER_SRC_ODFI=0x06,\r
+IER_RIIC0_RXI0=0x06,IER_RIIC0_TXI0=0x06,\r
+IER_RIIC2_RXI2=0x06,IER_RIIC2_TXI2=0x06,\r
+IER_SCI0_RXI0=0x07,IER_SCI0_TXI0=0x07,\r
+IER_SCI1_RXI1=0x07,IER_SCI1_TXI1=0x07,\r
+IER_SCI2_RXI2=0x07,IER_SCI2_TXI2=0x07,\r
+IER_ICU_IRQ0=0x08,IER_ICU_IRQ1=0x08,IER_ICU_IRQ2=0x08,IER_ICU_IRQ3=0x08,IER_ICU_IRQ4=0x08,IER_ICU_IRQ5=0x08,IER_ICU_IRQ6=0x08,IER_ICU_IRQ7=0x08,\r
+IER_ICU_IRQ8=0x09,IER_ICU_IRQ9=0x09,IER_ICU_IRQ10=0x09,IER_ICU_IRQ11=0x09,IER_ICU_IRQ12=0x09,IER_ICU_IRQ13=0x09,IER_ICU_IRQ14=0x09,IER_ICU_IRQ15=0x09,\r
+IER_SCI3_RXI3=0x0A,IER_SCI3_TXI3=0x0A,\r
+IER_SCI4_RXI4=0x0A,IER_SCI4_TXI4=0x0A,\r
+IER_SCI5_RXI5=0x0A,IER_SCI5_TXI5=0x0A,\r
+IER_SCI6_RXI6=0x0A,IER_SCI6_TXI6=0x0A,\r
+IER_LVD1_LVD1=0x0B,\r
+IER_LVD2_LVD2=0x0B,\r
+IER_USB0_USBR0=0x0B,\r
+IER_RTC_ALM=0x0B,IER_RTC_PRD=0x0B,\r
+IER_USBA_USBAR=0x0B,\r
+IER_IWDT_IWUNI=0x0B,\r
+IER_WDT_WUNI=0x0C,\r
+IER_PDC_PCDFI=0x0C,\r
+IER_SCI7_RXI7=0x0C,IER_SCI7_TXI7=0x0C,\r
+IER_SCIFA8_RXIF8=0x0C,IER_SCIFA8_TXIF8=0x0C,\r
+IER_SCIFA9_RXIF9=0x0C,IER_SCIFA9_TXIF9=0x0C,\r
+IER_SCIFA10_RXIF10=0x0D,IER_SCIFA10_TXIF10=0x0D,\r
+IER_ICU_GROUPBE0=0x0D,IER_ICU_GROUPBL0=0x0D,IER_ICU_GROUPBL1=0x0D,IER_ICU_GROUPAL0=0x0E,IER_ICU_GROUPAL1=0x0E,\r
+IER_SCIFA11_RXIF11=0x0E,IER_SCIFA11_TXIF11=0x0E,\r
+IER_SCI12_RXI12=0x0E,IER_SCI12_TXI12=0x0E,\r
+IER_DMAC_DMAC0I=0x0F,IER_DMAC_DMAC1I=0x0F,IER_DMAC_DMAC2I=0x0F,IER_DMAC_DMAC3I=0x0F,IER_DMAC_DMAC74I=0x0F,\r
+IER_OST_OST=0x0F,\r
+IER_EXDMAC_EXDMAC0I=0x0F,IER_EXDMAC_EXDMAC1I=0x0F,\r
+IER_PERIB_INTB128=0x10,IER_PERIB_INTB129=0x10,IER_PERIB_INTB130=0x10,IER_PERIB_INTB131=0x10,IER_PERIB_INTB132=0x10,\r
+IER_PERIB_INTB133=0x10,IER_PERIB_INTB134=0x10,IER_PERIB_INTB135=0x10,IER_PERIB_INTB136=0x11,IER_PERIB_INTB137=0x11,\r
+IER_PERIB_INTB138=0x11,IER_PERIB_INTB139=0x11,IER_PERIB_INTB140=0x11,IER_PERIB_INTB141=0x11,IER_PERIB_INTB142=0x11,\r
+IER_PERIB_INTB143=0x11,IER_PERIB_INTB144=0x12,IER_PERIB_INTB145=0x12,IER_PERIB_INTB146=0x12,IER_PERIB_INTB147=0x12,\r
+IER_PERIB_INTB148=0x12,IER_PERIB_INTB149=0x12,IER_PERIB_INTB150=0x12,IER_PERIB_INTB151=0x12,IER_PERIB_INTB152=0x13,\r
+IER_PERIB_INTB153=0x13,IER_PERIB_INTB154=0x13,IER_PERIB_INTB155=0x13,IER_PERIB_INTB156=0x13,IER_PERIB_INTB157=0x13,\r
+IER_PERIB_INTB158=0x13,IER_PERIB_INTB159=0x13,IER_PERIB_INTB160=0x14,IER_PERIB_INTB161=0x14,IER_PERIB_INTB162=0x14,\r
+IER_PERIB_INTB163=0x14,IER_PERIB_INTB164=0x14,IER_PERIB_INTB165=0x14,IER_PERIB_INTB166=0x14,IER_PERIB_INTB167=0x14,\r
+IER_PERIB_INTB168=0x15,IER_PERIB_INTB169=0x15,IER_PERIB_INTB170=0x15,IER_PERIB_INTB171=0x15,IER_PERIB_INTB172=0x15,\r
+IER_PERIB_INTB173=0x15,IER_PERIB_INTB174=0x15,IER_PERIB_INTB175=0x15,IER_PERIB_INTB176=0x16,IER_PERIB_INTB177=0x16,\r
+IER_PERIB_INTB178=0x16,IER_PERIB_INTB179=0x16,IER_PERIB_INTB180=0x16,IER_PERIB_INTB181=0x16,IER_PERIB_INTB182=0x16,\r
+IER_PERIB_INTB183=0x16,IER_PERIB_INTB184=0x17,IER_PERIB_INTB185=0x17,IER_PERIB_INTB186=0x17,IER_PERIB_INTB187=0x17,\r
+IER_PERIB_INTB188=0x17,IER_PERIB_INTB189=0x17,IER_PERIB_INTB190=0x17,IER_PERIB_INTB191=0x17,IER_PERIB_INTB192=0x18,\r
+IER_PERIB_INTB193=0x18,IER_PERIB_INTB194=0x18,IER_PERIB_INTB195=0x18,IER_PERIB_INTB196=0x18,IER_PERIB_INTB197=0x18,\r
+IER_PERIB_INTB198=0x18,IER_PERIB_INTB199=0x18,IER_PERIB_INTB200=0x19,IER_PERIB_INTB201=0x19,IER_PERIB_INTB202=0x19,\r
+IER_PERIB_INTB203=0x19,IER_PERIB_INTB204=0x19,IER_PERIB_INTB205=0x19,IER_PERIB_INTB206=0x19,IER_PERIB_INTB207=0x19,\r
+IER_PERIA_INTA208=0x1A,IER_PERIA_INTA209=0x1A,IER_PERIA_INTA210=0x1A,IER_PERIA_INTA211=0x1A,IER_PERIA_INTA212=0x1A,\r
+IER_PERIA_INTA213=0x1A,IER_PERIA_INTA214=0x1A,IER_PERIA_INTA215=0x1A,IER_PERIA_INTA216=0x1B,IER_PERIA_INTA217=0x1B,\r
+IER_PERIA_INTA218=0x1B,IER_PERIA_INTA219=0x1B,IER_PERIA_INTA220=0x1B,IER_PERIA_INTA221=0x1B,IER_PERIA_INTA222=0x1B,\r
+IER_PERIA_INTA223=0x1B,IER_PERIA_INTA224=0x1C,IER_PERIA_INTA225=0x1C,IER_PERIA_INTA226=0x1C,IER_PERIA_INTA227=0x1C,\r
+IER_PERIA_INTA228=0x1C,IER_PERIA_INTA229=0x1C,IER_PERIA_INTA230=0x1C,IER_PERIA_INTA231=0x1C,IER_PERIA_INTA232=0x1D,\r
+IER_PERIA_INTA233=0x1D,IER_PERIA_INTA234=0x1D,IER_PERIA_INTA235=0x1D,IER_PERIA_INTA236=0x1D,IER_PERIA_INTA237=0x1D,\r
+IER_PERIA_INTA238=0x1D,IER_PERIA_INTA239=0x1D,IER_PERIA_INTA240=0x1E,IER_PERIA_INTA241=0x1E,IER_PERIA_INTA242=0x1E,\r
+IER_PERIA_INTA243=0x1E,IER_PERIA_INTA244=0x1E,IER_PERIA_INTA245=0x1E,IER_PERIA_INTA246=0x1E,IER_PERIA_INTA247=0x1E,\r
+IER_PERIA_INTA248=0x1F,IER_PERIA_INTA249=0x1F,IER_PERIA_INTA250=0x1F,IER_PERIA_INTA251=0x1F,IER_PERIA_INTA252=0x1F,\r
+IER_PERIA_INTA253=0x1F,IER_PERIA_INTA254=0x1F,IER_PERIA_INTA255=0x1F\r
+};\r
+\r
+enum enum_ipr {\r
+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_CMTW1_CMWI1=7,\r
+IPR_USBA_D0FIFO2=32,IPR_USBA_D1FIFO2=33,\r
+IPR_USB0_D0FIFO0=34,IPR_USB0_D1FIFO0=35,\r
+IPR_RSPI0_SPRI0=38,IPR_RSPI0_SPTI0=39,\r
+IPR_QSPI_SPRI=42,IPR_QSPI_SPTI=43,\r
+IPR_SDHI_SBFAI=44,\r
+IPR_MMCIF_MBFAI=45,\r
+IPR_SSI0_SSITXI0=46,IPR_SSI0_SSIRXI0=47,\r
+IPR_SSI1_SSIRTI1=48,\r
+IPR_SRC_IDEI=50,IPR_SRC_ODFI=51,\r
+IPR_RIIC0_RXI0=52,IPR_RIIC0_TXI0=53,\r
+IPR_RIIC2_RXI2=54,IPR_RIIC2_TXI2=55,\r
+IPR_SCI0_RXI0=58,IPR_SCI0_TXI0=59,\r
+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_LVD1=88,\r
+IPR_LVD2_LVD2=89,\r
+IPR_USB0_USBR0=90,\r
+IPR_RTC_ALM=92,IPR_RTC_PRD=93,\r
+IPR_USBA_USBAR=94,\r
+IPR_IWDT_IWUNI=95,\r
+IPR_WDT_WUNI=96,\r
+IPR_PDC_PCDFI=97,\r
+IPR_SCI7_RXI7=98,IPR_SCI7_TXI7=99,\r
+IPR_SCIFA8_RXIF8=100,IPR_SCIFA8_TXIF8=101,\r
+IPR_SCIFA9_RXIF9=102,IPR_SCIFA9_TXIF9=103,\r
+IPR_SCIFA10_RXIF10=104,IPR_SCIFA10_TXIF10=105,\r
+IPR_ICU_GROUPBE0=106,IPR_ICU_GROUPBL0=110,IPR_ICU_GROUPBL1=111,IPR_ICU_GROUPAL0=112,IPR_ICU_GROUPAL1=113,\r
+IPR_SCIFA11_RXIF11=114,IPR_SCIFA11_TXIF11=115,\r
+IPR_SCI12_RXI12=116,IPR_SCI12_TXI12=117,\r
+IPR_DMAC_DMAC0I=120,IPR_DMAC_DMAC1I=121,IPR_DMAC_DMAC2I=122,IPR_DMAC_DMAC3I=123,IPR_DMAC_DMAC74I=124,\r
+IPR_OST_OST=125,\r
+IPR_EXDMAC_EXDMAC0I=126,IPR_EXDMAC_EXDMAC1I=127,\r
+IPR_PERIB_INTB128=128,IPR_PERIB_INTB129=129,IPR_PERIB_INTB130=130,IPR_PERIB_INTB131=131,IPR_PERIB_INTB132=132,\r
+IPR_PERIB_INTB133=133,IPR_PERIB_INTB134=134,IPR_PERIB_INTB135=135,IPR_PERIB_INTB136=136,IPR_PERIB_INTB137=137,\r
+IPR_PERIB_INTB138=138,IPR_PERIB_INTB139=139,IPR_PERIB_INTB140=140,IPR_PERIB_INTB141=141,IPR_PERIB_INTB142=142,\r
+IPR_PERIB_INTB143=143,IPR_PERIB_INTB144=144,IPR_PERIB_INTB145=145,IPR_PERIB_INTB146=146,IPR_PERIB_INTB147=147,\r
+IPR_PERIB_INTB148=148,IPR_PERIB_INTB149=149,IPR_PERIB_INTB150=150,IPR_PERIB_INTB151=151,IPR_PERIB_INTB152=152,\r
+IPR_PERIB_INTB153=153,IPR_PERIB_INTB154=154,IPR_PERIB_INTB155=155,IPR_PERIB_INTB156=156,IPR_PERIB_INTB157=157,\r
+IPR_PERIB_INTB158=158,IPR_PERIB_INTB159=159,IPR_PERIB_INTB160=160,IPR_PERIB_INTB161=161,IPR_PERIB_INTB162=162,\r
+IPR_PERIB_INTB163=163,IPR_PERIB_INTB164=164,IPR_PERIB_INTB165=165,IPR_PERIB_INTB166=166,IPR_PERIB_INTB167=167,\r
+IPR_PERIB_INTB168=168,IPR_PERIB_INTB169=169,IPR_PERIB_INTB170=170,IPR_PERIB_INTB171=171,IPR_PERIB_INTB172=172,\r
+IPR_PERIB_INTB173=173,IPR_PERIB_INTB174=174,IPR_PERIB_INTB175=175,IPR_PERIB_INTB176=176,IPR_PERIB_INTB177=177,\r
+IPR_PERIB_INTB178=178,IPR_PERIB_INTB179=179,IPR_PERIB_INTB180=180,IPR_PERIB_INTB181=181,IPR_PERIB_INTB182=182,\r
+IPR_PERIB_INTB183=183,IPR_PERIB_INTB184=184,IPR_PERIB_INTB185=185,IPR_PERIB_INTB186=186,IPR_PERIB_INTB187=187,\r
+IPR_PERIB_INTB188=188,IPR_PERIB_INTB189=189,IPR_PERIB_INTB190=190,IPR_PERIB_INTB191=191,IPR_PERIB_INTB192=192,\r
+IPR_PERIB_INTB193=193,IPR_PERIB_INTB194=194,IPR_PERIB_INTB195=195,IPR_PERIB_INTB196=196,IPR_PERIB_INTB197=197,\r
+IPR_PERIB_INTB198=198,IPR_PERIB_INTB199=199,IPR_PERIB_INTB200=200,IPR_PERIB_INTB201=201,IPR_PERIB_INTB202=202,\r
+IPR_PERIB_INTB203=203,IPR_PERIB_INTB204=204,IPR_PERIB_INTB205=205,IPR_PERIB_INTB206=206,IPR_PERIB_INTB207=207,\r
+IPR_PERIA_INTA208=208,IPR_PERIA_INTA209=209,IPR_PERIA_INTA210=210,IPR_PERIA_INTA211=211,IPR_PERIA_INTA212=212,\r
+IPR_PERIA_INTA213=213,IPR_PERIA_INTA214=214,IPR_PERIA_INTA215=215,IPR_PERIA_INTA216=216,IPR_PERIA_INTA217=217,\r
+IPR_PERIA_INTA218=218,IPR_PERIA_INTA219=219,IPR_PERIA_INTA220=220,IPR_PERIA_INTA221=221,IPR_PERIA_INTA222=222,\r
+IPR_PERIA_INTA223=223,IPR_PERIA_INTA224=224,IPR_PERIA_INTA225=225,IPR_PERIA_INTA226=226,IPR_PERIA_INTA227=227,\r
+IPR_PERIA_INTA228=228,IPR_PERIA_INTA229=229,IPR_PERIA_INTA230=230,IPR_PERIA_INTA231=231,IPR_PERIA_INTA232=232,\r
+IPR_PERIA_INTA233=233,IPR_PERIA_INTA234=234,IPR_PERIA_INTA235=235,IPR_PERIA_INTA236=236,IPR_PERIA_INTA237=237,\r
+IPR_PERIA_INTA238=238,IPR_PERIA_INTA239=239,IPR_PERIA_INTA240=240,IPR_PERIA_INTA241=241,IPR_PERIA_INTA242=242,\r
+IPR_PERIA_INTA243=243,IPR_PERIA_INTA244=244,IPR_PERIA_INTA245=245,IPR_PERIA_INTA246=246,IPR_PERIA_INTA247=247,\r
+IPR_PERIA_INTA248=248,IPR_PERIA_INTA249=249,IPR_PERIA_INTA250=250,IPR_PERIA_INTA251=251,IPR_PERIA_INTA252=252,\r
+IPR_PERIA_INTA253=253,IPR_PERIA_INTA254=254,IPR_PERIA_INTA255=255\r
+};\r
+\r
+#define IEN_BSC_BUSERR IEN0\r
+#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_CMTW1_CMWI1 IEN7\r
+#define IEN_USBA_D0FIFO2 IEN0\r
+#define IEN_USBA_D1FIFO2 IEN1\r
+#define IEN_USB0_D0FIFO0 IEN2\r
+#define IEN_USB0_D1FIFO0 IEN3\r
+#define IEN_RSPI0_SPRI0 IEN6\r
+#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_MMCIF_MBFAI IEN5\r
+#define IEN_SSI0_SSITXI0 IEN6\r
+#define IEN_SSI0_SSIRXI0 IEN7\r
+#define IEN_SSI1_SSIRTI1 IEN0\r
+#define IEN_SRC_IDEI IEN2\r
+#define IEN_SRC_ODFI IEN3\r
+#define IEN_RIIC0_RXI0 IEN4\r
+#define IEN_RIIC0_TXI0 IEN5\r
+#define IEN_RIIC2_RXI2 IEN6\r
+#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_LVD1 IEN0\r
+#define IEN_LVD2_LVD2 IEN1\r
+#define IEN_USB0_USBR0 IEN2\r
+#define IEN_RTC_ALM IEN4\r
+#define IEN_RTC_PRD IEN5\r
+#define IEN_USBA_USBAR IEN6\r
+#define IEN_IWDT_IWUNI IEN7\r
+#define IEN_WDT_WUNI IEN0\r
+#define IEN_PDC_PCDFI IEN1\r
+#define IEN_SCI7_RXI7 IEN2\r
+#define IEN_SCI7_TXI7 IEN3\r
+#define IEN_SCIFA8_RXIF8 IEN4\r
+#define IEN_SCIFA8_TXIF8 IEN5\r
+#define IEN_SCIFA9_RXIF9 IEN6\r
+#define IEN_SCIFA9_TXIF9 IEN7\r
+#define IEN_SCIFA10_RXIF10 IEN0\r
+#define IEN_SCIFA10_TXIF10 IEN1\r
+#define IEN_ICU_GROUPBE0 IEN2\r
+#define IEN_ICU_GROUPBL0 IEN6\r
+#define IEN_ICU_GROUPBL1 IEN7\r
+#define IEN_ICU_GROUPAL0 IEN0\r
+#define IEN_ICU_GROUPAL1 IEN1\r
+#define IEN_SCIFA11_RXIF11 IEN2\r
+#define IEN_SCIFA11_TXIF11 IEN3\r
+#define IEN_SCI12_RXI12 IEN4\r
+#define IEN_SCI12_TXI12 IEN5\r
+#define IEN_DMAC_DMAC0I IEN0\r
+#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_OST_OST IEN5\r
+#define IEN_EXDMAC_EXDMAC0I IEN6\r
+#define IEN_EXDMAC_EXDMAC1I IEN7\r
+#define IEN_PERIB_INTB128 IEN0\r
+#define IEN_PERIB_INTB129 IEN1\r
+#define IEN_PERIB_INTB130 IEN2\r
+#define IEN_PERIB_INTB131 IEN3\r
+#define IEN_PERIB_INTB132 IEN4\r
+#define IEN_PERIB_INTB133 IEN5\r
+#define IEN_PERIB_INTB134 IEN6\r
+#define IEN_PERIB_INTB135 IEN7\r
+#define IEN_PERIB_INTB136 IEN0\r
+#define IEN_PERIB_INTB137 IEN1\r
+#define IEN_PERIB_INTB138 IEN2\r
+#define IEN_PERIB_INTB139 IEN3\r
+#define IEN_PERIB_INTB140 IEN4\r
+#define IEN_PERIB_INTB141 IEN5\r
+#define IEN_PERIB_INTB142 IEN6\r
+#define IEN_PERIB_INTB143 IEN7\r
+#define IEN_PERIB_INTB144 IEN0\r
+#define IEN_PERIB_INTB145 IEN1\r
+#define IEN_PERIB_INTB146 IEN2\r
+#define IEN_PERIB_INTB147 IEN3\r
+#define IEN_PERIB_INTB148 IEN4\r
+#define IEN_PERIB_INTB149 IEN5\r
+#define IEN_PERIB_INTB150 IEN6\r
+#define IEN_PERIB_INTB151 IEN7\r
+#define IEN_PERIB_INTB152 IEN0\r
+#define IEN_PERIB_INTB153 IEN1\r
+#define IEN_PERIB_INTB154 IEN2\r
+#define IEN_PERIB_INTB155 IEN3\r
+#define IEN_PERIB_INTB156 IEN4\r
+#define IEN_PERIB_INTB157 IEN5\r
+#define IEN_PERIB_INTB158 IEN6\r
+#define IEN_PERIB_INTB159 IEN7\r
+#define IEN_PERIB_INTB160 IEN0\r
+#define IEN_PERIB_INTB161 IEN1\r
+#define IEN_PERIB_INTB162 IEN2\r
+#define IEN_PERIB_INTB163 IEN3\r
+#define IEN_PERIB_INTB164 IEN4\r
+#define IEN_PERIB_INTB165 IEN5\r
+#define IEN_PERIB_INTB166 IEN6\r
+#define IEN_PERIB_INTB167 IEN7\r
+#define IEN_PERIB_INTB168 IEN0\r
+#define IEN_PERIB_INTB169 IEN1\r
+#define IEN_PERIB_INTB170 IEN2\r
+#define IEN_PERIB_INTB171 IEN3\r
+#define IEN_PERIB_INTB172 IEN4\r
+#define IEN_PERIB_INTB173 IEN5\r
+#define IEN_PERIB_INTB174 IEN6\r
+#define IEN_PERIB_INTB175 IEN7\r
+#define IEN_PERIB_INTB176 IEN0\r
+#define IEN_PERIB_INTB177 IEN1\r
+#define IEN_PERIB_INTB178 IEN2\r
+#define IEN_PERIB_INTB179 IEN3\r
+#define IEN_PERIB_INTB180 IEN4\r
+#define IEN_PERIB_INTB181 IEN5\r
+#define IEN_PERIB_INTB182 IEN6\r
+#define IEN_PERIB_INTB183 IEN7\r
+#define IEN_PERIB_INTB184 IEN0\r
+#define IEN_PERIB_INTB185 IEN1\r
+#define IEN_PERIB_INTB186 IEN2\r
+#define IEN_PERIB_INTB187 IEN3\r
+#define IEN_PERIB_INTB188 IEN4\r
+#define IEN_PERIB_INTB189 IEN5\r
+#define IEN_PERIB_INTB190 IEN6\r
+#define IEN_PERIB_INTB191 IEN7\r
+#define IEN_PERIB_INTB192 IEN0\r
+#define IEN_PERIB_INTB193 IEN1\r
+#define IEN_PERIB_INTB194 IEN2\r
+#define IEN_PERIB_INTB195 IEN3\r
+#define IEN_PERIB_INTB196 IEN4\r
+#define IEN_PERIB_INTB197 IEN5\r
+#define IEN_PERIB_INTB198 IEN6\r
+#define IEN_PERIB_INTB199 IEN7\r
+#define IEN_PERIB_INTB200 IEN0\r
+#define IEN_PERIB_INTB201 IEN1\r
+#define IEN_PERIB_INTB202 IEN2\r
+#define IEN_PERIB_INTB203 IEN3\r
+#define IEN_PERIB_INTB204 IEN4\r
+#define IEN_PERIB_INTB205 IEN5\r
+#define IEN_PERIB_INTB206 IEN6\r
+#define IEN_PERIB_INTB207 IEN7\r
+#define IEN_PERIA_INTA208 IEN0\r
+#define IEN_PERIA_INTA209 IEN1\r
+#define IEN_PERIA_INTA210 IEN2\r
+#define IEN_PERIA_INTA211 IEN3\r
+#define IEN_PERIA_INTA212 IEN4\r
+#define IEN_PERIA_INTA213 IEN5\r
+#define IEN_PERIA_INTA214 IEN6\r
+#define IEN_PERIA_INTA215 IEN7\r
+#define IEN_PERIA_INTA216 IEN0\r
+#define IEN_PERIA_INTA217 IEN1\r
+#define IEN_PERIA_INTA218 IEN2\r
+#define IEN_PERIA_INTA219 IEN3\r
+#define IEN_PERIA_INTA220 IEN4\r
+#define IEN_PERIA_INTA221 IEN5\r
+#define IEN_PERIA_INTA222 IEN6\r
+#define IEN_PERIA_INTA223 IEN7\r
+#define IEN_PERIA_INTA224 IEN0\r
+#define IEN_PERIA_INTA225 IEN1\r
+#define IEN_PERIA_INTA226 IEN2\r
+#define IEN_PERIA_INTA227 IEN3\r
+#define IEN_PERIA_INTA228 IEN4\r
+#define IEN_PERIA_INTA229 IEN5\r
+#define IEN_PERIA_INTA230 IEN6\r
+#define IEN_PERIA_INTA231 IEN7\r
+#define IEN_PERIA_INTA232 IEN0\r
+#define IEN_PERIA_INTA233 IEN1\r
+#define IEN_PERIA_INTA234 IEN2\r
+#define IEN_PERIA_INTA235 IEN3\r
+#define IEN_PERIA_INTA236 IEN4\r
+#define IEN_PERIA_INTA237 IEN5\r
+#define IEN_PERIA_INTA238 IEN6\r
+#define IEN_PERIA_INTA239 IEN7\r
+#define IEN_PERIA_INTA240 IEN0\r
+#define IEN_PERIA_INTA241 IEN1\r
+#define IEN_PERIA_INTA242 IEN2\r
+#define IEN_PERIA_INTA243 IEN3\r
+#define IEN_PERIA_INTA244 IEN4\r
+#define IEN_PERIA_INTA245 IEN5\r
+#define IEN_PERIA_INTA246 IEN6\r
+#define IEN_PERIA_INTA247 IEN7\r
+#define IEN_PERIA_INTA248 IEN0\r
+#define IEN_PERIA_INTA249 IEN1\r
+#define IEN_PERIA_INTA250 IEN2\r
+#define IEN_PERIA_INTA251 IEN3\r
+#define IEN_PERIA_INTA252 IEN4\r
+#define IEN_PERIA_INTA253 IEN5\r
+#define IEN_PERIA_INTA254 IEN6\r
+#define IEN_PERIA_INTA255 IEN7\r
+\r
+#define VECT_BSC_BUSERR 16\r
+#define VECT_RAM_RAMERR 18\r
+#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_CMTW1_CMWI1 31\r
+#define VECT_USBA_D0FIFO2 32\r
+#define VECT_USBA_D1FIFO2 33\r
+#define VECT_USB0_D0FIFO0 34\r
+#define VECT_USB0_D1FIFO0 35\r
+#define VECT_RSPI0_SPRI0 38\r
+#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_MMCIF_MBFAI 45\r
+#define VECT_SSI0_SSITXI0 46\r
+#define VECT_SSI0_SSIRXI0 47\r
+#define VECT_SSI1_SSIRTI1 48\r
+#define VECT_SRC_IDEI 50\r
+#define VECT_SRC_ODFI 51\r
+#define VECT_RIIC0_RXI0 52\r
+#define VECT_RIIC0_TXI0 53\r
+#define VECT_RIIC2_RXI2 54\r
+#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_LVD1 88\r
+#define VECT_LVD2_LVD2 89\r
+#define VECT_USB0_USBR0 90\r
+#define VECT_RTC_ALM 92\r
+#define VECT_RTC_PRD 93\r
+#define VECT_USBA_USBAR 94\r
+#define VECT_IWDT_IWUNI 95\r
+#define VECT_WDT_WUNI 96\r
+#define VECT_PDC_PCDFI 97\r
+#define VECT_SCI7_RXI7 98\r
+#define VECT_SCI7_TXI7 99\r
+#define VECT_SCIFA8_RXIF8 100\r
+#define VECT_SCIFA8_TXIF8 101\r
+#define VECT_SCIFA9_RXIF9 102\r
+#define VECT_SCIFA9_TXIF9 103\r
+#define VECT_SCIFA10_RXIF10 104\r
+#define VECT_SCIFA10_TXIF10 105\r
+#define VECT_ICU_GROUPBE0 106\r
+#define VECT_ICU_GROUPBL0 110\r
+#define VECT_ICU_GROUPBL1 111\r
+#define VECT_ICU_GROUPAL0 112\r
+#define VECT_ICU_GROUPAL1 113\r
+#define VECT_SCIFA11_RXIF11 114\r
+#define VECT_SCIFA11_TXIF11 115\r
+#define VECT_SCI12_RXI12 116\r
+#define VECT_SCI12_TXI12 117\r
+#define VECT_DMAC_DMAC0I 120\r
+#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_OST_OST 125\r
+#define VECT_EXDMAC_EXDMAC0I 126\r
+#define VECT_EXDMAC_EXDMAC1I 127\r
+#define VECT_PERIB_INTB128 128\r
+#define VECT_PERIB_INTB129 129\r
+#define VECT_PERIB_INTB130 130\r
+#define VECT_PERIB_INTB131 131\r
+#define VECT_PERIB_INTB132 132\r
+#define VECT_PERIB_INTB133 133\r
+#define VECT_PERIB_INTB134 134\r
+#define VECT_PERIB_INTB135 135\r
+#define VECT_PERIB_INTB136 136\r
+#define VECT_PERIB_INTB137 137\r
+#define VECT_PERIB_INTB138 138\r
+#define VECT_PERIB_INTB139 139\r
+#define VECT_PERIB_INTB140 140\r
+#define VECT_PERIB_INTB141 141\r
+#define VECT_PERIB_INTB142 142\r
+#define VECT_PERIB_INTB143 143\r
+#define VECT_PERIB_INTB144 144\r
+#define VECT_PERIB_INTB145 145\r
+#define VECT_PERIB_INTB146 146\r
+#define VECT_PERIB_INTB147 147\r
+#define VECT_PERIB_INTB148 148\r
+#define VECT_PERIB_INTB149 149\r
+#define VECT_PERIB_INTB150 150\r
+#define VECT_PERIB_INTB151 151\r
+#define VECT_PERIB_INTB152 152\r
+#define VECT_PERIB_INTB153 153\r
+#define VECT_PERIB_INTB154 154\r
+#define VECT_PERIB_INTB155 155\r
+#define VECT_PERIB_INTB156 156\r
+#define VECT_PERIB_INTB157 157\r
+#define VECT_PERIB_INTB158 158\r
+#define VECT_PERIB_INTB159 159\r
+#define VECT_PERIB_INTB160 160\r
+#define VECT_PERIB_INTB161 161\r
+#define VECT_PERIB_INTB162 162\r
+#define VECT_PERIB_INTB163 163\r
+#define VECT_PERIB_INTB164 164\r
+#define VECT_PERIB_INTB165 165\r
+#define VECT_PERIB_INTB166 166\r
+#define VECT_PERIB_INTB167 167\r
+#define VECT_PERIB_INTB168 168\r
+#define VECT_PERIB_INTB169 169\r
+#define VECT_PERIB_INTB170 170\r
+#define VECT_PERIB_INTB171 171\r
+#define VECT_PERIB_INTB172 172\r
+#define VECT_PERIB_INTB173 173\r
+#define VECT_PERIB_INTB174 174\r
+#define VECT_PERIB_INTB175 175\r
+#define VECT_PERIB_INTB176 176\r
+#define VECT_PERIB_INTB177 177\r
+#define VECT_PERIB_INTB178 178\r
+#define VECT_PERIB_INTB179 179\r
+#define VECT_PERIB_INTB180 180\r
+#define VECT_PERIB_INTB181 181\r
+#define VECT_PERIB_INTB182 182\r
+#define VECT_PERIB_INTB183 183\r
+#define VECT_PERIB_INTB184 184\r
+#define VECT_PERIB_INTB185 185\r
+#define VECT_PERIB_INTB186 186\r
+#define VECT_PERIB_INTB187 187\r
+#define VECT_PERIB_INTB188 188\r
+#define VECT_PERIB_INTB189 189\r
+#define VECT_PERIB_INTB190 190\r
+#define VECT_PERIB_INTB191 191\r
+#define VECT_PERIB_INTB192 192\r
+#define VECT_PERIB_INTB193 193\r
+#define VECT_PERIB_INTB194 194\r
+#define VECT_PERIB_INTB195 195\r
+#define VECT_PERIB_INTB196 196\r
+#define VECT_PERIB_INTB197 197\r
+#define VECT_PERIB_INTB198 198\r
+#define VECT_PERIB_INTB199 199\r
+#define VECT_PERIB_INTB200 200\r
+#define VECT_PERIB_INTB201 201\r
+#define VECT_PERIB_INTB202 202\r
+#define VECT_PERIB_INTB203 203\r
+#define VECT_PERIB_INTB204 204\r
+#define VECT_PERIB_INTB205 205\r
+#define VECT_PERIB_INTB206 206\r
+#define VECT_PERIB_INTB207 207\r
+#define VECT_PERIA_INTA208 208\r
+#define VECT_PERIA_INTA209 209\r
+#define VECT_PERIA_INTA210 210\r
+#define VECT_PERIA_INTA211 211\r
+#define VECT_PERIA_INTA212 212\r
+#define VECT_PERIA_INTA213 213\r
+#define VECT_PERIA_INTA214 214\r
+#define VECT_PERIA_INTA215 215\r
+#define VECT_PERIA_INTA216 216\r
+#define VECT_PERIA_INTA217 217\r
+#define VECT_PERIA_INTA218 218\r
+#define VECT_PERIA_INTA219 219\r
+#define VECT_PERIA_INTA220 220\r
+#define VECT_PERIA_INTA221 221\r
+#define VECT_PERIA_INTA222 222\r
+#define VECT_PERIA_INTA223 223\r
+#define VECT_PERIA_INTA224 224\r
+#define VECT_PERIA_INTA225 225\r
+#define VECT_PERIA_INTA226 226\r
+#define VECT_PERIA_INTA227 227\r
+#define VECT_PERIA_INTA228 228\r
+#define VECT_PERIA_INTA229 229\r
+#define VECT_PERIA_INTA230 230\r
+#define VECT_PERIA_INTA231 231\r
+#define VECT_PERIA_INTA232 232\r
+#define VECT_PERIA_INTA233 233\r
+#define VECT_PERIA_INTA234 234\r
+#define VECT_PERIA_INTA235 235\r
+#define VECT_PERIA_INTA236 236\r
+#define VECT_PERIA_INTA237 237\r
+#define VECT_PERIA_INTA238 238\r
+#define VECT_PERIA_INTA239 239\r
+#define VECT_PERIA_INTA240 240\r
+#define VECT_PERIA_INTA241 241\r
+#define VECT_PERIA_INTA242 242\r
+#define VECT_PERIA_INTA243 243\r
+#define VECT_PERIA_INTA244 244\r
+#define VECT_PERIA_INTA245 245\r
+#define VECT_PERIA_INTA246 246\r
+#define VECT_PERIA_INTA247 247\r
+#define VECT_PERIA_INTA248 248\r
+#define VECT_PERIA_INTA249 249\r
+#define VECT_PERIA_INTA250 250\r
+#define VECT_PERIA_INTA251 251\r
+#define VECT_PERIA_INTA252 252\r
+#define VECT_PERIA_INTA253 253\r
+#define VECT_PERIA_INTA254 254\r
+#define VECT_PERIA_INTA255 255\r
+\r
+#define MSTP_EXDMAC SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define MSTP_EXDMAC0 SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define MSTP_EXDMAC1 SYSTEM.MSTPCRA.BIT.MSTPA29\r
+#define MSTP_DMAC SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC0 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC1 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC2 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC3 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC4 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC5 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC6 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DMAC7 SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DTC SYSTEM.MSTPCRA.BIT.MSTPA28\r
+#define MSTP_DA SYSTEM.MSTPCRA.BIT.MSTPA19\r
+#define MSTP_S12AD SYSTEM.MSTPCRA.BIT.MSTPA17\r
+#define MSTP_S12AD1 SYSTEM.MSTPCRA.BIT.MSTPA16\r
+#define MSTP_CMT0 SYSTEM.MSTPCRA.BIT.MSTPA15\r
+#define MSTP_CMT1 SYSTEM.MSTPCRA.BIT.MSTPA15\r
+#define MSTP_CMT2 SYSTEM.MSTPCRA.BIT.MSTPA14\r
+#define MSTP_CMT3 SYSTEM.MSTPCRA.BIT.MSTPA14\r
+#define MSTP_TPU0 SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define MSTP_TPU1 SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define MSTP_TPU2 SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define MSTP_TPU3 SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define MSTP_TPU4 SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define MSTP_TPU5 SYSTEM.MSTPCRA.BIT.MSTPA13\r
+#define MSTP_PPG0 SYSTEM.MSTPCRA.BIT.MSTPA11\r
+#define MSTP_PPG1 SYSTEM.MSTPCRA.BIT.MSTPA10\r
+#define MSTP_MTU SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU0 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU1 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU2 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU3 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU4 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU5 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU6 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU7 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_MTU8 SYSTEM.MSTPCRA.BIT.MSTPA9\r
+#define MSTP_GPT SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define MSTP_GPT0 SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define MSTP_GPT1 SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define MSTP_GPT2 SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define MSTP_GPT3 SYSTEM.MSTPCRA.BIT.MSTPA7\r
+#define MSTP_TMR0 SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define MSTP_TMR1 SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define MSTP_TMR01 SYSTEM.MSTPCRA.BIT.MSTPA5\r
+#define MSTP_TMR2 SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define MSTP_TMR3 SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define MSTP_TMR23 SYSTEM.MSTPCRA.BIT.MSTPA4\r
+#define MSTP_CMTW0 SYSTEM.MSTPCRA.BIT.MSTPA1\r
+#define MSTP_CMTW1 SYSTEM.MSTPCRA.BIT.MSTPA0\r
+#define MSTP_SCI0 SYSTEM.MSTPCRB.BIT.MSTPB31\r
+#define MSTP_SMCI0 SYSTEM.MSTPCRB.BIT.MSTPB31\r
+#define MSTP_SCI1 SYSTEM.MSTPCRB.BIT.MSTPB30\r
+#define MSTP_SMCI1 SYSTEM.MSTPCRB.BIT.MSTPB30\r
+#define MSTP_SCI2 SYSTEM.MSTPCRB.BIT.MSTPB29\r
+#define MSTP_SMCI2 SYSTEM.MSTPCRB.BIT.MSTPB29\r
+#define MSTP_SCI3 SYSTEM.MSTPCRB.BIT.MSTPB28\r
+#define MSTP_SMCI3 SYSTEM.MSTPCRB.BIT.MSTPB28\r
+#define MSTP_SCI4 SYSTEM.MSTPCRB.BIT.MSTPB27\r
+#define MSTP_SMCI4 SYSTEM.MSTPCRB.BIT.MSTPB27\r
+#define MSTP_SCI5 SYSTEM.MSTPCRB.BIT.MSTPB26\r
+#define MSTP_SMCI5 SYSTEM.MSTPCRB.BIT.MSTPB26\r
+#define MSTP_SCI6 SYSTEM.MSTPCRB.BIT.MSTPB25\r
+#define MSTP_SMCI6 SYSTEM.MSTPCRB.BIT.MSTPB25\r
+#define MSTP_SCI7 SYSTEM.MSTPCRB.BIT.MSTPB24\r
+#define MSTP_SMCI7 SYSTEM.MSTPCRB.BIT.MSTPB24\r
+#define MSTP_CRC SYSTEM.MSTPCRB.BIT.MSTPB23\r
+#define MSTP_PDC SYSTEM.MSTPCRB.BIT.MSTPB22\r
+#define MSTP_RIIC0 SYSTEM.MSTPCRB.BIT.MSTPB21\r
+#define MSTP_USB0 SYSTEM.MSTPCRB.BIT.MSTPB19\r
+#define MSTP_RSPI0 SYSTEM.MSTPCRB.BIT.MSTPB17\r
+#define MSTP_EDMAC0 SYSTEM.MSTPCRB.BIT.MSTPB15\r
+#define MSTP_EDMAC1 SYSTEM.MSTPCRB.BIT.MSTPB14\r
+#define MSTP_USBA SYSTEM.MSTPCRB.BIT.MSTPB12\r
+#define MSTP_ELC SYSTEM.MSTPCRB.BIT.MSTPB9\r
+#define MSTP_TEMPS SYSTEM.MSTPCRB.BIT.MSTPB8\r
+#define MSTP_DOC SYSTEM.MSTPCRB.BIT.MSTPB6\r
+#define MSTP_SCI12 SYSTEM.MSTPCRB.BIT.MSTPB4\r
+#define MSTP_SMCI12 SYSTEM.MSTPCRB.BIT.MSTPB4\r
+#define MSTP_CAN2 SYSTEM.MSTPCRB.BIT.MSTPB2\r
+#define MSTP_CAN1 SYSTEM.MSTPCRB.BIT.MSTPB1\r
+#define MSTP_CAN0 SYSTEM.MSTPCRB.BIT.MSTPB0\r
+#define MSTP_SCIFA8 SYSTEM.MSTPCRC.BIT.MSTPC27\r
+#define MSTP_SCIFA9 SYSTEM.MSTPCRC.BIT.MSTPC26\r
+#define MSTP_SCIFA10 SYSTEM.MSTPCRC.BIT.MSTPC25\r
+#define MSTP_SCIFA11 SYSTEM.MSTPCRC.BIT.MSTPC24\r
+#define MSTP_QSPI SYSTEM.MSTPCRC.BIT.MSTPC23\r
+#define MSTP_CAC SYSTEM.MSTPCRC.BIT.MSTPC19\r
+#define MSTP_RIIC2 SYSTEM.MSTPCRC.BIT.MSTPC17\r
+#define MSTP_STBYRAM SYSTEM.MSTPCRC.BIT.MSTPC7\r
+#define MSTP_ECCRAM SYSTEM.MSTPCRC.BIT.MSTPC6\r
+#define MSTP_RAM0 SYSTEM.MSTPCRC.BIT.MSTPC0\r
+#define MSTP_AES SYSTEM.MSTPCRD.BIT.MSTPD31\r
+#define MSTP_DES SYSTEM.MSTPCRD.BIT.MSTPD30\r
+#define MSTP_SHA SYSTEM.MSTPCRD.BIT.MSTPD29\r
+#define MSTP_RNG SYSTEM.MSTPCRD.BIT.MSTPD28\r
+#define MSTP_SRC SYSTEM.MSTPCRD.BIT.MSTPD23\r
+#define MSTP_MMCIF SYSTEM.MSTPCRD.BIT.MSTPD21\r
+#define MSTP_SDHI SYSTEM.MSTPCRD.BIT.MSTPD19\r
+#define MSTP_SSI0 SYSTEM.MSTPCRD.BIT.MSTPD15\r
+#define MSTP_SSI1 SYSTEM.MSTPCRD.BIT.MSTPD14\r
+\r
+#define IS_CAN0_ERS0 IS0\r
+#define IS_CAN1_ERS1 IS1\r
+#define IS_CAN2_ERS2 IS2\r
+#define IS_SCI0_TEI0 IS0\r
+#define IS_SCI0_ERI0 IS1\r
+#define IS_SCI1_TEI0 IS2\r
+#define IS_SCI1_ERI1 IS3\r
+#define IS_SCI2_TEI0 IS4\r
+#define IS_SCI2_ERI2 IS5\r
+#define IS_SCI3_TEI0 IS6\r
+#define IS_SCI3_ERI3 IS7\r
+#define IS_SCI4_TEI4 IS8\r
+#define IS_SCI4_ERI4 IS9\r
+#define IS_SCI5_TEI5 IS10\r
+#define IS_SCI5_ERI5 IS11\r
+#define IS_SCI6_TEI6 IS12\r
+#define IS_SCI6_ERI6 IS13\r
+#define IS_SCI7_TEI7 IS14\r
+#define IS_SCI7_ERI7 IS15\r
+#define IS_SCI12_TEI12 IS16\r
+#define IS_SCI12_ERI12 IS17\r
+#define IS_SCI12_SCIX0 IS18\r
+#define IS_SCI12_SCIX1 IS19\r
+#define IS_SCI12_SCIX2 IS20\r
+#define IS_SCI12_SCIX3 IS21\r
+#define IS_QSPI_QSPSSLI IS24\r
+#define IS_CAC_FERRF IS26\r
+#define IS_CAC_MENDF IS27\r
+#define IS_CAC_OVFF IS28\r
+#define IS_DOC_DOPCF IS29\r
+#define IS_PDC_PCFEI IS30\r
+#define IS_PDC_PCERI IS31\r
+#define IS_SRC_PCERI IS0\r
+#define IS_SRC_OVF IS1\r
+#define IS_SRC_CEF IS2\r
+#define IS_SDHI_CDETI IS3\r
+#define IS_SDHI_CACI IS4\r
+#define IS_SDHI_SDACI IS5\r
+#define IS_MMCIF_CDETIO IS6\r
+#define IS_MMCIF_ERRIO IS7\r
+#define IS_MMCIF_ACCIO IS8\r
+#define IS_POE3_OEI1 IS9\r
+#define IS_POE3_OEI2 IS10\r
+#define IS_POE3_OEI3 IS11\r
+#define IS_POE3_OEI4 IS12\r
+#define IS_RIIC0_TEI0 IS13\r
+#define IS_RIIC0_EEI0 IS14\r
+#define IS_RIIC2_TEI2 IS15\r
+#define IS_RIIC2_EEI2 IS16\r
+#define IS_SSI0_SSIF0 IS17\r
+#define IS_SSI1_SSIF1 IS18\r
+#define IS_S12AD0_S12CMPI0 IS20\r
+#define IS_S12AD1_S12CMPI1 IS22\r
+#define IS_SCIFA8_TEIF8 IS0\r
+#define IS_SCIFA8_ERIF8 IS1\r
+#define IS_SCIFA8_BRIF8 IS2\r
+#define IS_SCIFA8_DRIF8 IS3\r
+#define IS_SCIFA9_TEIF9 IS4\r
+#define IS_SCIFA9_ERIF9 IS5\r
+#define IS_SCIFA9_BRIF9 IS6\r
+#define IS_SCIFA9_DRIF9 IS7\r
+#define IS_SCIFA10_TEIF10 IS8\r
+#define IS_SCIFA10_ERIF10 IS9\r
+#define IS_SCIFA10_BRIF10 IS10\r
+#define IS_SCIFA10_DRIF10 IS11\r
+#define IS_SCIFA11_TEIF11 IS12\r
+#define IS_SCIFA11_ERIF11 IS13\r
+#define IS_SCIFA11_BRIF11 IS14\r
+#define IS_SCIFA11_DRIF11 IS15\r
+#define IS_RSPI0_SPII0 IS16\r
+#define IS_RSPI0_SPEI0 IS17\r
+#define IS_EPTPC_MINT IS0\r
+#define IS_PRPEDMAC_PINT IS1\r
+#define IS_EDMAC0_EINT0 IS4\r
+#define IS_EDMAC1_EINT1 IS5\r
+\r
+#define EN_CAN0_ERS0 EN0\r
+#define EN_CAN1_ERS1 EN1\r
+#define EN_CAN2_ERS2 EN2\r
+#define EN_SCI0_TEI0 EN0\r
+#define EN_SCI0_ERI0 EN1\r
+#define EN_SCI1_TEI0 EN2\r
+#define EN_SCI1_ERI1 EN3\r
+#define EN_SCI2_TEI0 EN4\r
+#define EN_SCI2_ERI2 EN5\r
+#define EN_SCI3_TEI0 EN6\r
+#define EN_SCI3_ERI3 EN7\r
+#define EN_SCI4_TEI4 EN8\r
+#define EN_SCI4_ERI4 EN9\r
+#define EN_SCI5_TEI5 EN10\r
+#define EN_SCI5_ERI5 EN11\r
+#define EN_SCI6_TEI6 EN12\r
+#define EN_SCI6_ERI6 EN13\r
+#define EN_SCI7_TEI7 EN14\r
+#define EN_SCI7_ERI7 EN15\r
+#define EN_SCI12_TEI12 EN16\r
+#define EN_SCI12_ERI12 EN17\r
+#define EN_SCI12_SCIX0 EN18\r
+#define EN_SCI12_SCIX1 EN19\r
+#define EN_SCI12_SCIX2 EN20\r
+#define EN_SCI12_SCIX3 EN21\r
+#define EN_QSPI_QSPSSLI EN24\r
+#define EN_CAC_FERRF EN26\r
+#define EN_CAC_MENDF EN27\r
+#define EN_CAC_OVFF EN28\r
+#define EN_DOC_DOPCF EN29\r
+#define EN_PDC_PCFEI EN30\r
+#define EN_PDC_PCERI EN31\r
+#define EN_SRC_PCERI EN0\r
+#define EN_SRC_OVF EN1\r
+#define EN_SRC_CEF EN2\r
+#define EN_SDHI_CDETI EN3\r
+#define EN_SDHI_CACI EN4\r
+#define EN_SDHI_SDACI EN5\r
+#define EN_MMCIF_CDETIO EN6\r
+#define EN_MMCIF_ERRIO EN7\r
+#define EN_MMCIF_ACCIO EN8\r
+#define EN_POE3_OEI1 EN9\r
+#define EN_POE3_OEI2 EN10\r
+#define EN_POE3_OEI3 EN11\r
+#define EN_POE3_OEI4 EN12\r
+#define EN_RIIC0_TEI0 EN13\r
+#define EN_RIIC0_EEI0 EN14\r
+#define EN_RIIC2_TEI2 EN15\r
+#define EN_RIIC2_EEI2 EN16\r
+#define EN_SSI0_SSIF0 EN17\r
+#define EN_SSI1_SSIF1 EN18\r
+#define EN_S12AD0_S12CMPI0 EN20\r
+#define EN_S12AD1_S12CMPI1 EN22\r
+#define EN_SCIFA8_TEIF8 EN0\r
+#define EN_SCIFA8_ERIF8 EN1\r
+#define EN_SCIFA8_BRIF8 EN2\r
+#define EN_SCIFA8_DRIF8 EN3\r
+#define EN_SCIFA9_TEIF9 EN4\r
+#define EN_SCIFA9_ERIF9 EN5\r
+#define EN_SCIFA9_BRIF9 EN6\r
+#define EN_SCIFA9_DRIF9 EN7\r
+#define EN_SCIFA10_TEIF10 EN8\r
+#define EN_SCIFA10_ERIF10 EN9\r
+#define EN_SCIFA10_BRIF10 EN10\r
+#define EN_SCIFA10_DRIF10 EN11\r
+#define EN_SCIFA11_TEIF11 EN12\r
+#define EN_SCIFA11_ERIF11 EN13\r
+#define EN_SCIFA11_BRIF11 EN14\r
+#define EN_SCIFA11_DRIF11 EN15\r
+#define EN_RSPI0_SPII0 EN16\r
+#define EN_RSPI0_SPEI0 EN17\r
+#define EN_EPTPC_MINT EN0\r
+#define EN_PRPEDMAC_PINT EN1\r
+#define EN_EDMAC0_EINT0 EN4\r
+#define EN_EDMAC1_EINT1 EN5\r
+\r
+#define CLR_CAN0_ERS0 CLR0\r
+#define CLR_CAN1_ERS1 CLR1\r
+#define CLR_CAN2_ERS2 CLR2\r
+\r
+#define GEN_CAN0_ERS0 GENBE0\r
+#define GEN_CAN1_ERS1 GENBE0\r
+#define GEN_CAN2_ERS2 GENBE0\r
+#define GEN_SCI0_TEI0 GENBL0\r
+#define GEN_SCI0_ERI0 GENBL0\r
+#define GEN_SCI1_TEI0 GENBL0\r
+#define GEN_SCI1_ERI1 GENBL0\r
+#define GEN_SCI2_TEI0 GENBL0\r
+#define GEN_SCI2_ERI2 GENBL0\r
+#define GEN_SCI3_TEI0 GENBL0\r
+#define GEN_SCI3_ERI3 GENBL0\r
+#define GEN_SCI4_TEI4 GENBL0\r
+#define GEN_SCI4_ERI4 GENBL0\r
+#define GEN_SCI5_TEI5 GENBL0\r
+#define GEN_SCI5_ERI5 GENBL0\r
+#define GEN_SCI6_TEI6 GENBL0\r
+#define GEN_SCI6_ERI6 GENBL0\r
+#define GEN_SCI7_TEI7 GENBL0\r
+#define GEN_SCI7_ERI7 GENBL0\r
+#define GEN_SCI12_TEI12 GENBL0\r
+#define GEN_SCI12_ERI12 GENBL0\r
+#define GEN_SCI12_SCIX0 GENBL0\r
+#define GEN_SCI12_SCIX1 GENBL0\r
+#define GEN_SCI12_SCIX2 GENBL0\r
+#define GEN_SCI12_SCIX3 GENBL0\r
+#define GEN_QSPI_QSPSSLI GENBL0\r
+#define GEN_CAC_FERRF GENBL0\r
+#define GEN_CAC_MENDF GENBL0\r
+#define GEN_CAC_OVFF GENBL0\r
+#define GEN_DOC_DOPCF GENBL0\r
+#define GEN_PDC_PCFEI GENBL0\r
+#define GEN_PDC_PCERI GENBL0\r
+#define GEN_SRC_PCERI GENBL1\r
+#define GEN_SRC_OVF GENBL1\r
+#define GEN_SRC_CEF GENBL1\r
+#define GEN_SDHI_CDETI GENBL1\r
+#define GEN_SDHI_CACI GENBL1\r
+#define GEN_SDHI_SDACI GENBL1\r
+#define GEN_MMCIF_CDETIO GENBL1\r
+#define GEN_MMCIF_ERRIO GENBL1\r
+#define GEN_MMCIF_ACCIO GENBL1\r
+#define GEN_POE3_OEI1 GENBL1\r
+#define GEN_POE3_OEI2 GENBL1\r
+#define GEN_POE3_OEI3 GENBL1\r
+#define GEN_POE3_OEI4 GENBL1\r
+#define GEN_RIIC0_TEI0 GENBL1\r
+#define GEN_RIIC0_EEI0 GENBL1\r
+#define GEN_RIIC2_TEI2 GENBL1\r
+#define GEN_RIIC2_EEI2 GENBL1\r
+#define GEN_SSI0_SSIF0 GENBL1\r
+#define GEN_SSI1_SSIF1 GENBL1\r
+#define GEN_S12AD0_S12CMPI0 GENBL1\r
+#define GEN_S12AD1_S12CMPI1 GENBL1\r
+#define GEN_SCIFA8_TEIF8 GENAL0\r
+#define GEN_SCIFA8_ERIF8 GENAL0\r
+#define GEN_SCIFA8_BRIF8 GENAL0\r
+#define GEN_SCIFA8_DRIF8 GENAL0\r
+#define GEN_SCIFA9_TEIF9 GENAL0\r
+#define GEN_SCIFA9_ERIF9 GENAL0\r
+#define GEN_SCIFA9_BRIF9 GENAL0\r
+#define GEN_SCIFA9_DRIF9 GENAL0\r
+#define GEN_SCIFA10_TEIF10 GENAL0\r
+#define GEN_SCIFA10_ERIF10 GENAL0\r
+#define GEN_SCIFA10_BRIF10 GENAL0\r
+#define GEN_SCIFA10_DRIF10 GENAL0\r
+#define GEN_SCIFA11_TEIF11 GENAL0\r
+#define GEN_SCIFA11_ERIF11 GENAL0\r
+#define GEN_SCIFA11_BRIF11 GENAL0\r
+#define GEN_SCIFA11_DRIF11 GENAL0\r
+#define GEN_RSPI0_SPII0 GENAL0\r
+#define GEN_RSPI0_SPEI0 GENAL0\r
+#define GEN_EPTPC_MINT GENAL1\r
+#define GEN_PRPEDMAC_PINT GENAL1\r
+#define GEN_EDMAC0_EINT0 GENAL1\r
+#define GEN_EDMAC1_EINT1 GENAL1\r
+\r
+#define GRP_CAN0_ERS0 GRPBE0\r
+#define GRP_CAN1_ERS1 GRPBE0\r
+#define GRP_CAN2_ERS2 GRPBE0\r
+#define GRP_SCI0_TEI0 GRPBL0\r
+#define GRP_SCI0_ERI0 GRPBL0\r
+#define GRP_SCI1_TEI0 GRPBL0\r
+#define GRP_SCI1_ERI1 GRPBL0\r
+#define GRP_SCI2_TEI0 GRPBL0\r
+#define GRP_SCI2_ERI2 GRPBL0\r
+#define GRP_SCI3_TEI0 GRPBL0\r
+#define GRP_SCI3_ERI3 GRPBL0\r
+#define GRP_SCI4_TEI4 GRPBL0\r
+#define GRP_SCI4_ERI4 GRPBL0\r
+#define GRP_SCI5_TEI5 GRPBL0\r
+#define GRP_SCI5_ERI5 GRPBL0\r
+#define GRP_SCI6_TEI6 GRPBL0\r
+#define GRP_SCI6_ERI6 GRPBL0\r
+#define GRP_SCI7_TEI7 GRPBL0\r
+#define GRP_SCI7_ERI7 GRPBL0\r
+#define GRP_SCI12_TEI12 GRPBL0\r
+#define GRP_SCI12_ERI12 GRPBL0\r
+#define GRP_SCI12_SCIX0 GRPBL0\r
+#define GRP_SCI12_SCIX1 GRPBL0\r
+#define GRP_SCI12_SCIX2 GRPBL0\r
+#define GRP_SCI12_SCIX3 GRPBL0\r
+#define GRP_QSPI_QSPSSLI GRPBL0\r
+#define GRP_CAC_FERRF GRPBL0\r
+#define GRP_CAC_MENDF GRPBL0\r
+#define GRP_CAC_OVFF GRPBL0\r
+#define GRP_DOC_DOPCF GRPBL0\r
+#define GRP_PDC_PCFEI GRPBL0\r
+#define GRP_PDC_PCERI GRPBL0\r
+#define GRP_SRC_PCERI GRPBL1\r
+#define GRP_SRC_OVF GRPBL1\r
+#define GRP_SRC_CEF GRPBL1\r
+#define GRP_SDHI_CDETI GRPBL1\r
+#define GRP_SDHI_CACI GRPBL1\r
+#define GRP_SDHI_SDACI GRPBL1\r
+#define GRP_MMCIF_CDETIO GRPBL1\r
+#define GRP_MMCIF_ERRIO GRPBL1\r
+#define GRP_MMCIF_ACCIO GRPBL1\r
+#define GRP_POE3_OEI1 GRPBL1\r
+#define GRP_POE3_OEI2 GRPBL1\r
+#define GRP_POE3_OEI3 GRPBL1\r
+#define GRP_POE3_OEI4 GRPBL1\r
+#define GRP_RIIC0_TEI0 GRPBL1\r
+#define GRP_RIIC0_EEI0 GRPBL1\r
+#define GRP_RIIC2_TEI2 GRPBL1\r
+#define GRP_RIIC2_EEI2 GRPBL1\r
+#define GRP_SSI0_SSIF0 GRPBL1\r
+#define GRP_SSI1_SSIF1 GRPBL1\r
+#define GRP_S12AD0_S12CMPI0 GRPBL1\r
+#define GRP_S12AD1_S12CMPI1 GRPBL1\r
+#define GRP_SCIFA8_TEIF8 GRPAL0\r
+#define GRP_SCIFA8_ERIF8 GRPAL0\r
+#define GRP_SCIFA8_BRIF8 GRPAL0\r
+#define GRP_SCIFA8_DRIF8 GRPAL0\r
+#define GRP_SCIFA9_TEIF9 GRPAL0\r
+#define GRP_SCIFA9_ERIF9 GRPAL0\r
+#define GRP_SCIFA9_BRIF9 GRPAL0\r
+#define GRP_SCIFA9_DRIF9 GRPAL0\r
+#define GRP_SCIFA10_TEIF10 GRPAL0\r
+#define GRP_SCIFA10_ERIF10 GRPAL0\r
+#define GRP_SCIFA10_BRIF10 GRPAL0\r
+#define GRP_SCIFA10_DRIF10 GRPAL0\r
+#define GRP_SCIFA11_TEIF11 GRPAL0\r
+#define GRP_SCIFA11_ERIF11 GRPAL0\r
+#define GRP_SCIFA11_BRIF11 GRPAL0\r
+#define GRP_SCIFA11_DRIF11 GRPAL0\r
+#define GRP_RSPI0_SPII0 GRPAL0\r
+#define GRP_RSPI0_SPEI0 GRPAL0\r
+#define GRP_EPTPC_MINT GRPAL1\r
+#define GRP_PRPEDMAC_PINT GRPAL1\r
+#define GRP_EDMAC0_EINT0 GRPAL1\r
+#define GRP_EDMAC1_EINT1 GRPAL1\r
+\r
+#define GCR_CAN0_ERS0 GCRBE0\r
+#define GCR_CAN1_ERS1 GCRBE0\r
+#define GCR_CAN2_ERS2 GCRBE0\r
+\r
+#define __IR( x ) ICU.IR[ IR ## x ].BIT.IR\r
+#define _IR( x ) __IR( x )\r
+#define IR( x , y ) _IR( _ ## x ## _ ## y )\r
+#define __DTCE( x ) ICU.DTCER[ DTCE ## x ].BIT.DTCE\r
+#define _DTCE( x ) __DTCE( x )\r
+#define DTCE( x , y ) _DTCE( _ ## x ## _ ## y )\r
+#define __IEN( x ) ICU.IER[ IER ## x ].BIT.IEN ## x\r
+#define _IEN( x ) __IEN( x )\r
+#define IEN( x , y ) _IEN( _ ## x ## _ ## y )\r
+#define __IPR( x ) ICU.IPR[ IPR ## x ].BIT.IPR\r
+#define _IPR( x ) __IPR( x )\r
+#define IPR( x , y ) _IPR( _ ## x ## _ ## y )\r
+#define __VECT( x ) VECT ## x\r
+#define _VECT( x ) __VECT( x )\r
+#define VECT( x , y ) _VECT( _ ## x ## _ ## y )\r
+#define __MSTP( x ) MSTP ## x\r
+#define _MSTP( x ) __MSTP( x )\r
+#define MSTP( x ) _MSTP( _ ## x )\r
+\r
+#define __IS( x ) ICU.GRP ## x.BIT.IS ## x\r
+#define _IS( x ) __IS( x )\r
+#define IS( x , y ) _IS( _ ## x ## _ ## y )\r
+#define __EN( x ) ICU.GEN ## x.BIT.EN ## x\r
+#define _EN( x ) __EN( x )\r
+#define EN( x , y ) _EN( _ ## x ## _ ## y )\r
+#define __CLR( x ) ICU.GCR ## x.BIT.CLR ## x\r
+#define _CLR( x ) __CLR( x )\r
+#define CLR( x , y ) _CLR( _ ## x ## _ ## y )\r
+\r
+#define BSC (*(volatile struct st_bsc __evenaccess *)0x81300)\r
+#define CAC (*(volatile struct st_cac __evenaccess *)0x8B000)\r
+#define CAN0 (*(volatile struct st_can __evenaccess *)0x90200)\r
+#define CAN1 (*(volatile struct st_can __evenaccess *)0x91200)\r
+#define CAN2 (*(volatile struct st_can __evenaccess *)0x92200)\r
+#define CMT (*(volatile struct st_cmt __evenaccess *)0x88000)\r
+#define CMT0 (*(volatile struct st_cmt0 __evenaccess *)0x88002)\r
+#define CMT1 (*(volatile struct st_cmt0 __evenaccess *)0x88008)\r
+#define CMT2 (*(volatile struct st_cmt0 __evenaccess *)0x88012)\r
+#define CMT3 (*(volatile struct st_cmt0 __evenaccess *)0x88018)\r
+#define CMTW0 (*(volatile struct st_cmtw __evenaccess *)0x94200)\r
+#define CMTW1 (*(volatile struct st_cmtw __evenaccess *)0x94280)\r
+#define CRC (*(volatile struct st_crc __evenaccess *)0x88280)\r
+#define DA (*(volatile struct st_da __evenaccess *)0x88040)\r
+#define DMAC (*(volatile struct st_dmac __evenaccess *)0x82200)\r
+#define DMAC0 (*(volatile struct st_dmac0 __evenaccess *)0x82000)\r
+#define DMAC1 (*(volatile struct st_dmac1 __evenaccess *)0x82040)\r
+#define DMAC2 (*(volatile struct st_dmac1 __evenaccess *)0x82080)\r
+#define DMAC3 (*(volatile struct st_dmac1 __evenaccess *)0x820C0)\r
+#define DMAC4 (*(volatile struct st_dmac1 __evenaccess *)0x82100)\r
+#define DMAC5 (*(volatile struct st_dmac1 __evenaccess *)0x82140)\r
+#define DMAC6 (*(volatile struct st_dmac1 __evenaccess *)0x82180)\r
+#define DMAC7 (*(volatile struct st_dmac1 __evenaccess *)0x821C0)\r
+#define DOC (*(volatile struct st_doc __evenaccess *)0x8B080)\r
+#define DTC (*(volatile struct st_dtc __evenaccess *)0x82400)\r
+#define ECCRAM (*(volatile struct st_eccram __evenaccess *)0x812C0)\r
+#define EDMAC0 (*(volatile struct st_edmac __evenaccess *)0xC0000)\r
+#define EDMAC1 (*(volatile struct st_edmac __evenaccess *)0xC0200)\r
+#define ELC (*(volatile struct st_elc __evenaccess *)0x8B100)\r
+#define EPTPC (*(volatile struct st_eptpc __evenaccess *)0xC0500)\r
+#define EPTPC0 (*(volatile struct st_eptpc0 __evenaccess *)0xC4800)\r
+#define EPTPC1 (*(volatile struct st_eptpc0 __evenaccess *)0xC4C00)\r
+#define ETHERC0 (*(volatile struct st_etherc __evenaccess *)0xC0100)\r
+#define ETHERC1 (*(volatile struct st_etherc __evenaccess *)0xC0300)\r
+#define EXDMAC (*(volatile struct st_exdmac __evenaccess *)0x82A00)\r
+#define EXDMAC0 (*(volatile struct st_exdmac0 __evenaccess *)0x82800)\r
+#define EXDMAC1 (*(volatile struct st_exdmac1 __evenaccess *)0x82840)\r
+#define FLASH (*(volatile struct st_flash __evenaccess *)0x8C294)\r
+#define GPT (*(volatile struct st_gpt __evenaccess *)0xC2000)\r
+#define GPT0 (*(volatile struct st_gpt0 __evenaccess *)0xC2100)\r
+#define GPT1 (*(volatile struct st_gpt0 __evenaccess *)0xC2180)\r
+#define GPT2 (*(volatile struct st_gpt0 __evenaccess *)0xC2200)\r
+#define GPT3 (*(volatile struct st_gpt0 __evenaccess *)0xC2280)\r
+#define ICU (*(volatile struct st_icu __evenaccess *)0x87000)\r
+#define IWDT (*(volatile struct st_iwdt __evenaccess *)0x88030)\r
+#define MMCIF (*(volatile struct st_mmcif __evenaccess *)0x88500)\r
+#define MPC (*(volatile struct st_mpc __evenaccess *)0x8C100)\r
+#define MPU (*(volatile struct st_mpu __evenaccess *)0x86400)\r
+#define MTU (*(volatile struct st_mtu __evenaccess *)0xC120A)\r
+#define MTU0 (*(volatile struct st_mtu0 __evenaccess *)0xC1290)\r
+#define MTU1 (*(volatile struct st_mtu1 __evenaccess *)0xC1290)\r
+#define MTU2 (*(volatile struct st_mtu2 __evenaccess *)0xC1292)\r
+#define MTU3 (*(volatile struct st_mtu3 __evenaccess *)0xC1200)\r
+#define MTU4 (*(volatile struct st_mtu4 __evenaccess *)0xC1200)\r
+#define MTU5 (*(volatile struct st_mtu5 __evenaccess *)0xC1A94)\r
+#define MTU6 (*(volatile struct st_mtu6 __evenaccess *)0xC1A00)\r
+#define MTU7 (*(volatile struct st_mtu7 __evenaccess *)0xC1A00)\r
+#define MTU8 (*(volatile struct st_mtu8 __evenaccess *)0xC1298)\r
+#define PDC (*(volatile struct st_pdc __evenaccess *)0xA0500)\r
+#define POE3 (*(volatile struct st_poe __evenaccess *)0x8C4C0)\r
+#define PORT0 (*(volatile struct st_port0 __evenaccess *)0x8C000)\r
+#define PORT1 (*(volatile struct st_port1 __evenaccess *)0x8C001)\r
+#define PORT2 (*(volatile struct st_port2 __evenaccess *)0x8C002)\r
+#define PORT3 (*(volatile struct st_port3 __evenaccess *)0x8C003)\r
+#define PORT4 (*(volatile struct st_port4 __evenaccess *)0x8C004)\r
+#define PORT5 (*(volatile struct st_port5 __evenaccess *)0x8C005)\r
+#define PORT6 (*(volatile struct st_port6 __evenaccess *)0x8C006)\r
+#define PORT7 (*(volatile struct st_port7 __evenaccess *)0x8C007)\r
+#define PORT8 (*(volatile struct st_port8 __evenaccess *)0x8C008)\r
+#define PORT9 (*(volatile struct st_port9 __evenaccess *)0x8C009)\r
+#define PORTA (*(volatile struct st_porta __evenaccess *)0x8C00A)\r
+#define PORTB (*(volatile struct st_portb __evenaccess *)0x8C00B)\r
+#define PORTC (*(volatile struct st_portc __evenaccess *)0x8C00C)\r
+#define PORTD (*(volatile struct st_portd __evenaccess *)0x8C00D)\r
+#define PORTE (*(volatile struct st_porte __evenaccess *)0x8C00E)\r
+#define PORTF (*(volatile struct st_portf __evenaccess *)0x8C00F)\r
+#define PORTG (*(volatile struct st_portg __evenaccess *)0x8C010)\r
+#define PORTJ (*(volatile struct st_portj __evenaccess *)0x8C012)\r
+#define PPG0 (*(volatile struct st_ppg0 __evenaccess *)0x881E6)\r
+#define PPG1 (*(volatile struct st_ppg1 __evenaccess *)0x881F0)\r
+#define PTPEDMAC (*(volatile struct st_ptpedmac __evenaccess *)0xC0400)\r
+#define QSPI (*(volatile struct st_qspi __evenaccess *)0x89E00)\r
+#define RIIC0 (*(volatile struct st_riic __evenaccess *)0x88300)\r
+#define RIIC2 (*(volatile struct st_riic __evenaccess *)0x88340)\r
+#define RSPI0 (*(volatile struct st_rspi __evenaccess *)0xD0100)\r
+#define RTC (*(volatile struct st_rtc __evenaccess *)0x8C400)\r
+#define S12AD (*(volatile struct st_s12ad __evenaccess *)0x89000)\r
+#define S12AD1 (*(volatile struct st_s12ad1 __evenaccess *)0x89100)\r
+#define SCI0 (*(volatile struct st_sci0 __evenaccess *)0x8A000)\r
+#define SCI1 (*(volatile struct st_sci0 __evenaccess *)0x8A020)\r
+#define SCI2 (*(volatile struct st_sci0 __evenaccess *)0x8A040)\r
+#define SCI3 (*(volatile struct st_sci0 __evenaccess *)0x8A060)\r
+#define SCI4 (*(volatile struct st_sci0 __evenaccess *)0x8A080)\r
+#define SCI5 (*(volatile struct st_sci0 __evenaccess *)0x8A0A0)\r
+#define SCI6 (*(volatile struct st_sci0 __evenaccess *)0x8A0C0)\r
+#define SCI7 (*(volatile struct st_sci0 __evenaccess *)0x8A0E0)\r
+#define SCI12 (*(volatile struct st_sci12 __evenaccess *)0x8B300)\r
+#define SCIFA8 (*(volatile struct st_scifa __evenaccess *)0xD0000)\r
+#define SCIFA9 (*(volatile struct st_scifa __evenaccess *)0xD0020)\r
+#define SCIFA10 (*(volatile struct st_scifa __evenaccess *)0xD0040)\r
+#define SCIFA11 (*(volatile struct st_scifa __evenaccess *)0xD0060)\r
+#define SMCI0 (*(volatile struct st_smci0 __evenaccess *)0x8A000)\r
+#define SMCI1 (*(volatile struct st_smci0 __evenaccess *)0x8A020)\r
+#define SMCI2 (*(volatile struct st_smci0 __evenaccess *)0x8A040)\r
+#define SMCI3 (*(volatile struct st_smci0 __evenaccess *)0x8A060)\r
+#define SMCI4 (*(volatile struct st_smci0 __evenaccess *)0x8A080)\r
+#define SMCI5 (*(volatile struct st_smci0 __evenaccess *)0x8A0A0)\r
+#define SMCI6 (*(volatile struct st_smci0 __evenaccess *)0x8A0C0)\r
+#define SMCI7 (*(volatile struct st_smci0 __evenaccess *)0x8A0E0)\r
+#define SMCI12 (*(volatile struct st_smci0 __evenaccess *)0x8B300)\r
+#define SRC (*(volatile struct st_src __evenaccess *)0x98000)\r
+#define SSI0 (*(volatile struct st_ssi __evenaccess *)0x8A500)\r
+#define SSI1 (*(volatile struct st_ssi __evenaccess *)0x8A540)\r
+#define SYSTEM (*(volatile struct st_system __evenaccess *)0x80000)\r
+#define TEMPS (*(volatile struct st_temps __evenaccess *)0x8C500)\r
+#define TMR0 (*(volatile struct st_tmr0 __evenaccess *)0x88200)\r
+#define TMR1 (*(volatile struct st_tmr1 __evenaccess *)0x88201)\r
+#define TMR2 (*(volatile struct st_tmr0 __evenaccess *)0x88210)\r
+#define TMR3 (*(volatile struct st_tmr1 __evenaccess *)0x88211)\r
+#define TMR01 (*(volatile struct st_tmr01 __evenaccess *)0x88204)\r
+#define TMR23 (*(volatile struct st_tmr01 __evenaccess *)0x88214)\r
+#define TPU0 (*(volatile struct st_tpu0 __evenaccess *)0x88108)\r
+#define TPU1 (*(volatile struct st_tpu1 __evenaccess *)0x88108)\r
+#define TPU2 (*(volatile struct st_tpu2 __evenaccess *)0x8810A)\r
+#define TPU3 (*(volatile struct st_tpu3 __evenaccess *)0x8810A)\r
+#define TPU4 (*(volatile struct st_tpu4 __evenaccess *)0x8810C)\r
+#define TPU5 (*(volatile struct st_tpu5 __evenaccess *)0x8810C)\r
+#define TPUA (*(volatile struct st_tpua __evenaccess *)0x88100)\r
+#define USB (*(volatile struct st_usb __evenaccess *)0xA0400)\r
+#define USB0 (*(volatile struct st_usb0 __evenaccess *)0xA0000)\r
+#define USBA (*(volatile struct st_usba __evenaccess *)0xD0400)\r
+#define WDT (*(volatile struct st_wdt __evenaccess *)0x88020)\r
+#pragma bit_order\r
+#pragma packoption\r
+#endif
\ No newline at end of file
void vApplicationTickHook( void );\r
\r
/*-----------------------------------------------------------*/\r
-uint32_t ul1, ul2;\r
+\r
int main( void )\r
{\r
/* Configure the hardware ready to run the demo. */\r
#define portMAX_8_BIT_VALUE ( ( uint8_t ) 0xff )\r
#define portBIT_0_SET ( ( uint8_t ) 0x01 )\r
\r
+/* Let the user override the pre-loading of the initial LR with the address of\r
+prvTaskExitError() in case is messes up unwinding of the stack in the\r
+debugger. */\r
+#ifdef configTASK_RETURN_ADDRESS\r
+ #define portTASK_RETURN_ADDRESS configTASK_RETURN_ADDRESS\r
+#else\r
+ #define portTASK_RETURN_ADDRESS prvTaskExitError\r
+#endif\r
+\r
/*-----------------------------------------------------------*/\r
\r
/*\r
*/\r
extern void vPortRestoreTaskContext( void );\r
\r
+/*\r
+ * Used to catch tasks that attempt to return from their implementing function.\r
+ */\r
+static void prvTaskExitError( void );\r
+\r
/*-----------------------------------------------------------*/\r
\r
/* A variable is used to keep track of the critical section nesting. This\r
pxTopOfStack--;\r
\r
/* Next all the registers other than the stack pointer. */\r
- *pxTopOfStack = ( StackType_t ) 0x00000000; /* R14 */\r
+ *pxTopOfStack = ( StackType_t ) portTASK_RETURN_ADDRESS; /* R14 */\r
pxTopOfStack--;\r
*pxTopOfStack = ( StackType_t ) 0x12121212; /* R12 */\r
pxTopOfStack--;\r
}\r
/*-----------------------------------------------------------*/\r
\r
+static void prvTaskExitError( void )\r
+{\r
+ /* A function that implements a task must not exit or attempt to return to\r
+ its caller as there is nothing to return to. If a task wants to exit it\r
+ should instead call vTaskDelete( NULL ).\r
+\r
+ Artificially force an assert() to be triggered if configASSERT() is\r
+ defined, then stop here so application writers can catch the error. */\r
+ configASSERT( ulPortInterruptNesting == ~0UL );\r
+ portDISABLE_INTERRUPTS();\r
+ for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
BaseType_t xPortStartScheduler( void )\r
{\r
uint32_t ulAPSR;\r
ulCriticalNesting++;\r
\r
/* This is not the interrupt safe version of the enter critical function so\r
- assert() if it is being called from an interrupt context. Only API \r
+ assert() if it is being called from an interrupt context. Only API\r
functions that end in "FromISR" can be used in an interrupt. Only assert if\r
the critical nesting count is 1 to protect against recursive calls if the\r
assert function also uses a critical section. */\r
\r
.macro portRESTORE_CONTEXT\r
\r
- /* Switch to system mode. */\r
- CPS #SYS_MODE\r
-\r
/* Set the SP to point to the stack of the task being restored. */\r
LDR R0, pxCurrentTCBConst\r
LDR R1, [R0]\r
\r
\r
/******************************************************************************\r
- * SVC handler is used to start the scheduler and yield a task.\r
+ * SVC handler is used to start the scheduler.\r
*****************************************************************************/\r
.align 4\r
.type FreeRTOS_SWI_Handler, %function\r
portSAVE_CONTEXT\r
LDR R0, vTaskSwitchContextConst\r
BLX R0\r
+ portRESTORE_CONTEXT\r
+\r
\r
+/******************************************************************************\r
+ * vPortRestoreTaskContext is used to start the scheduler.\r
+ *****************************************************************************/\r
.type vPortRestoreTaskContext, %function\r
vPortRestoreTaskContext:\r
+ /* Switch to system mode. */\r
+ CPS #SYS_MODE\r
portRESTORE_CONTEXT\r
\r
.align 4\r
/* Library includes. */\r
#include "string.h"\r
\r
+/* Hardware specifics. */\r
+#include "iodefine.h"\r
+\r
/*-----------------------------------------------------------*/\r
\r
/* Tasks should start with interrupts enabled and in Supervisor mode, therefore\r
*/\r
extern void vPortRestoreTaskContext( void );\r
\r
+/*\r
+ * Used to catch tasks that attempt to return from their implementing function.\r
+ */\r
+static void prvTaskExitError( void );\r
+\r
/*-----------------------------------------------------------*/\r
\r
/* A variable is used to keep track of the critical section nesting. This\r
automatically be set to 0 when the first task is started. */\r
volatile uint32_t ulCriticalNesting = 9999UL;\r
\r
-/* Saved as part of the task context. If ulPortTaskHasFPUContext is non-zero then\r
-a floating point context must be saved and restored for the task. */\r
+/* Saved as part of the task context. If ulPortTaskHasFPUContext is non-zero\r
+then a floating point context must be saved and restored for the task. */\r
uint32_t ulPortTaskHasFPUContext = pdFALSE;\r
\r
/* Set to 1 to pend a context switch from an ISR. */\r
pxTopOfStack--;\r
\r
/* Next all the registers other than the stack pointer. */\r
- *pxTopOfStack = ( StackType_t ) 0x00000000; /* R14 */\r
+ *pxTopOfStack = ( StackType_t ) prvTaskExitError; /* R14 */\r
pxTopOfStack--;\r
*pxTopOfStack = ( StackType_t ) 0x12121212; /* R12 */\r
pxTopOfStack--;\r
}\r
/*-----------------------------------------------------------*/\r
\r
+static void prvTaskExitError( void )\r
+{\r
+ /* A function that implements a task must not exit or attempt to return to\r
+ its caller as there is nothing to return to. If a task wants to exit it\r
+ should instead call vTaskDelete( NULL ).\r
+\r
+ Artificially force an assert() to be triggered if configASSERT() is\r
+ defined, then stop here so application writers can catch the error. */\r
+ configASSERT( ulPortInterruptNesting == ~0UL );\r
+ portDISABLE_INTERRUPTS();\r
+ for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
BaseType_t xPortStartScheduler( void )\r
{\r
uint32_t ulAPSR;\r
\r
portRESTORE_CONTEXT macro\r
\r
- ; Switch to system mode\r
- CPS #SYS_MODE\r
-\r
; Set the SP to point to the stack of the task being restored.\r
LDR R0, =pxCurrentTCB\r
LDR R1, [R0]\r
INCLUDE portASM.h\r
\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
-; SVC handler is used to start the scheduler and yield a task.\r
+; SVC handler is used to yield a task.\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
FreeRTOS_SWI_Handler\r
\r
portSAVE_CONTEXT\r
LDR R0, =vTaskSwitchContext\r
BLX R0\r
+ portRESTORE_CONTEXT\r
\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+; vPortRestoreTaskContext is used to start the scheduler.\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
vPortRestoreTaskContext\r
+ ; Switch to system mode\r
+ CPS #SYS_MODE\r
portRESTORE_CONTEXT\r
\r
-\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
; PL390 GIC interrupt handler\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
MOVS PC, LR\r
\r
switch_before_exit\r
- ; A context swtich is to be performed. Clear the context switch pending\r
+ ; A context switch is to be performed. Clear the context switch pending\r
; flag.\r
MOV r0, #0\r
STR r0, [r1]\r
*/\r
extern void vPortRestoreTaskContext( void );\r
\r
+/*\r
+ * Used to catch tasks that attempt to return from their implementing function.\r
+ */\r
+static void prvTaskExitError( void );\r
+\r
/*-----------------------------------------------------------*/\r
\r
/* A variable is used to keep track of the critical section nesting. This\r
pxTopOfStack--;\r
\r
/* Next all the registers other than the stack pointer. */\r
- *pxTopOfStack = ( StackType_t ) 0x00000000; /* R14 */\r
+ *pxTopOfStack = ( StackType_t ) prvTaskExitError; /* R14 */\r
pxTopOfStack--;\r
*pxTopOfStack = ( StackType_t ) 0x12121212; /* R12 */\r
pxTopOfStack--;\r
}\r
/*-----------------------------------------------------------*/\r
\r
+static void prvTaskExitError( void )\r
+{\r
+ /* A function that implements a task must not exit or attempt to return to\r
+ its caller as there is nothing to return to. If a task wants to exit it\r
+ should instead call vTaskDelete( NULL ).\r
+\r
+ Artificially force an assert() to be triggered if configASSERT() is\r
+ defined, then stop here so application writers can catch the error. */\r
+ configASSERT( ulPortInterruptNesting == ~0UL );\r
+ portDISABLE_INTERRUPTS();\r
+ for( ;; );\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r
BaseType_t xPortStartScheduler( void )\r
{\r
uint32_t ulAPSR;\r
directly. Increment ulCriticalNesting to keep a count of how many times\r
portENTER_CRITICAL() has been called. */\r
ulCriticalNesting++;\r
+\r
+ /* This is not the interrupt safe version of the enter critical function so\r
+ assert() if it is being called from an interrupt context. Only API\r
+ functions that end in "FromISR" can be used in an interrupt. Only assert if\r
+ the critical nesting count is 1 to protect against recursive calls if the\r
+ assert function also uses a critical section. */\r
+ if( ulCriticalNesting == 1 )\r
+ {\r
+ configASSERT( ulPortInterruptNesting == 0 );\r
+ }\r
}\r
/*-----------------------------------------------------------*/\r
\r
\r
\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
-; SVC handler is used to start the scheduler and yield a task.\r
+; SVC handler is used to yield a task.\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
FreeRTOS_SWI_Handler\r
\r
portSAVE_CONTEXT\r
LDR R0, =vTaskSwitchContext\r
BLX R0\r
+ portRESTORE_CONTEXT\r
\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+; vPortRestoreTaskContext is used to start the scheduler.\r
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
vPortRestoreTaskContext\r
+ ; Switch to system mode\r
+ CPS #SYS_MODE\r
portRESTORE_CONTEXT\r
\r
-\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
; PL390 GIC interrupt handler\r
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
ADD sp, sp, r2\r
\r
CPSID i\r
- \r
+\r
; Write the value read from ICCIAR to ICCEOIR\r
LDR r4, =ulICCEOIR\r
STR r0, [r4]\r
MACRO\r
portRESTORE_CONTEXT\r
\r
- ; Switch to system mode\r
- CPS #SYS_MODE\r
-\r
; Set the SP to point to the stack of the task being restored.\r
LDR R0, =pxCurrentTCB\r
LDR R1, [R0]\r
/* Library includes. */\r
#include "string.h"\r
\r
+/* Hardware specifics. */\r
+#include "iodefine.h"\r
+\r
/*-----------------------------------------------------------*/\r
\r
/* Tasks should start with interrupts enabled and in Supervisor mode, therefore\r
\r
void vTaskIncrementMutexHeldCount( void )\r
{\r
- /* If xSemaphoreCreateMutex() is called before any tasks have been created\r
- then pxCurrentTCB will be NULL. */\r
- if( pxCurrentTCB != NULL )\r
+ #if ( configUSE_MUTEXES == 1 )\r
{\r
- ( pxCurrentTCB->uxMutexesHeld )++;\r
+ /* If xSemaphoreCreateMutex() is called before any tasks have been created\r
+ then pxCurrentTCB will be NULL. */\r
+ if( pxCurrentTCB != NULL )\r
+ {\r
+ ( pxCurrentTCB->uxMutexesHeld )++;\r
+ }\r
}\r
+ #endif\r
}\r
/*-----------------------------------------------------------*/\r
\r
void vTaskDecrementMutexHeldCount( void )\r
{\r
- /* If xSemaphoreCreateMutex() is called before any tasks have been created\r
- then pxCurrentTCB will be NULL. */\r
- if( pxCurrentTCB != NULL )\r
+ #if ( configUSE_MUTEXES == 1 )\r
{\r
- configASSERT( pxCurrentTCB->uxMutexesHeld );\r
- ( pxCurrentTCB->uxMutexesHeld )--;\r
+ /* If xSemaphoreCreateMutex() is called before any tasks have been created\r
+ then pxCurrentTCB will be NULL. */\r
+ if( pxCurrentTCB != NULL )\r
+ {\r
+ configASSERT( pxCurrentTCB->uxMutexesHeld );\r
+ ( pxCurrentTCB->uxMutexesHeld )--;\r
+ }\r
}\r
+ #endif\r
}\r
\r
#ifdef FREERTOS_MODULE_TEST\r