--- /dev/null
+<?xml version="1.0" encoding="ASCII"?>\r
+<com.renesas.linkersection.model:SectionContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:com.renesas.linkersection.model="http:///LinkerSection.ecore" targets="GNU_RL78">\r
+ <sections name=".vec" isKeep="true">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".vec"/>\r
+ </sections>\r
+ <sections name=".vects" isKeep="true">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="4"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".vects"/>\r
+ </sections>\r
+ <sections name=".option_bytes" isKeep="true">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="192"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".option_bytes"/>\r
+ </sections>\r
+ <sections name=".security_id" isKeep="true">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="196"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".security_id"/>\r
+ </sections>\r
+ <sections name=".text">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="216"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".text"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".text.*"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="etext"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ </sections>\r
+ <sections name=".init">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.4"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".init"/>\r
+ </sections>\r
+ <sections name=".fini">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.5"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".fini"/>\r
+ </sections>\r
+ <sections name=".got">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.6"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".got"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".got.plt"/>\r
+ </sections>\r
+ <sections name=".rodata MAX(., 0x3000)">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.7"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rodata"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".rodata.*"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_erodata"/>\r
+ </sections>\r
+ <sections name=".eh_frame_hdr">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.8"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".eh_frame_hdr"/>\r
+ </sections>\r
+ <sections name=".eh_frame">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.9"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".eh_frame"/>\r
+ </sections>\r
+ <sections name=".jcr">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.10"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".jcr"/>\r
+ </sections>\r
+ <sections name=".tors">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.11"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__CTOR_LIST__"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___ctors"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".ctors"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___ctors_end"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__CTOR_END__"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__DTOR_LIST__"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___dtors"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".dtors"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="___dtors_end"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="__DTOR_END__"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_mdata"/>\r
+ </sections>\r
+ <sections name=".data">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="1031936"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_data"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".data.*"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_edata"/>\r
+ <reservedMemAddress xsi:type="com.renesas.linkersection.model:ReferencedLabelAddress" label="//@sections.12/@contents.12"/>\r
+ </sections>\r
+ <sections name=".bss">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:ReferencedSectionAddress" referencedSection="//@sections.13"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_bss"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".bss"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name=".bss.**"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:WildCardExpression" specificSection="true" name="COMMON"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Keyword" text=". = ALIGN(2)"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_ebss"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_end"/>\r
+ </sections>\r
+ <sections name=".stack" isNoLoad="true">\r
+ <sectionAddress xsi:type="com.renesas.linkersection.model:FixedAddress" fixedAddress="1048064"/>\r
+ <contents xsi:type="com.renesas.linkersection.model:Label" rhs="= .;" lhs="_stack"/>\r
+ </sections>\r
+</com.renesas.linkersection.model:SectionContainer>\r
</option>\r
<option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.1827952485" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
<option id="com.renesas.cdt.core.Compiler.option.misc2.1309529749" name="Don't search standard system directories for header files(-nostdinc)" superClass="com.renesas.cdt.core.Compiler.option.misc2" value="false" valueType="boolean"/>\r
- <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.1713741321" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions" valueType="stringList"/>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.1713741321" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions"/>\r
<inputType id="%Base.Compiler.C.InputType.Id.1471081059" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
<inputType id="Base.Compiler.CPP.InputType.Id.1237074300" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>\r
</tool>\r
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>\r
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>\r
</cconfiguration>\r
+ <cconfiguration id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105">\r
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105" moduleId="org.eclipse.cdt.core.settings" name="RSKRL78L1C">\r
+ <externalSettings/>\r
+ <extensions>\r
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
+ <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>\r
+ <extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+ <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+ </extensions>\r
+ </storageModule>\r
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+ <configuration artifactExtension="mot" artifactName="RTOSDemo" buildArtefactType="com.renesas.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=com.renesas.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf *.lst *.lis *.lpp *.map" description="" id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105" name="RSKRL78L1C" parent="com.renesas.cdt.RL78.configuration.hardwaredebug">\r
+ <folderInfo id="com.renesas.cdt.RL78.configuration.hardwaredebug.1462655394.864201896.661607105." name="/" resourcePath="">\r
+ <toolChain id="com.renesas.cdt.RL78.toolChain.hardwaredebugConf.1925187785" name="KPIT GNURL78-ELF Toolchain" superClass="com.renesas.cdt.RL78.toolChain.hardwaredebugConf">\r
+ <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.PE" id="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform.464468283" osList="win32" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.targetPlatform"/>\r
+ <builder buildPath="${workspace_loc:/RTOSDemo/HardwareDebug}" id="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id.991079889" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="GNU Make Builder" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.builder.Id"/>\r
+ <tool command="rl78-elf-libgen" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id.150253841" name="Library Generator" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.libgen.Id">\r
+ <option id="com.renesas.cdt.core.LibraryGenerator.option.stdio.1939771009" name="stdio.h : Performs input/output handling" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdio" value="false" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.LibraryGenerator.option.stdlib.200300486" name="stdlib.h : Performs C program standard processing such as storage area management" superClass="com.renesas.cdt.core.LibraryGenerator.option.stdlib" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.LibraryGenerator.option.string.1968503186" name="string.h : Performs string comparison, copying " superClass="com.renesas.cdt.core.LibraryGenerator.option.string" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary.689655144" name="Select library" superClass="com.renesas.cdt.core.LibraryGenerator.option.selectLibrary" value="Optimized" valueType="enumerated"/>\r
+ <option id="com.renesas.cdt.core.LibraryGenerator.option.libraryType.2132503809" name="Library type" superClass="com.renesas.cdt.core.LibraryGenerator.option.libraryType" value="Project-Built" valueType="enumerated"/>\r
+ </tool>\r
+ <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id.437851717" name="Compiler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.compiler.Id">\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.2100632987" name="CPU Type" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.l1c" valueType="enumerated"/>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul.1101181582" name="Multiplication code Generation Option" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul" value="None" valueType="enumerated"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.includeFileDir.820363941" name="Include file directories" superClass="com.renesas.cdt.core.Compiler.option.includeFileDir" valueType="includePath">\r
+ <listOptionValue builtIn="false" value=""${TCINSTALL}/rl78-elf/optlibinc""/>\r
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src/Common-Demo-Tasks/include}""/>\r
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src}""/>\r
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src/FreeRTOS_Source/include}""/>\r
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/src/FreeRTOS_Source/portable/GCC/RL78}""/>\r
+ </option>\r
+ <option id="com.renesas.cdt.core.Compiler.option.CPUSeries.823867201" name="Cpu Series" superClass="com.renesas.cdt.core.Compiler.option.CPUSeries" value="R5F10JBC" valueType="string"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning14.1288237182" name="Print extra warning messages(-Wextra)" superClass="com.renesas.cdt.core.Compiler.option.warning14" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.stdWarnings.1684617262" name="Standard Warnings" superClass="com.renesas.cdt.core.Compiler.option.stdWarnings" value="com.renesas.cdt.core.Compiler.option.stdWarnings.enableAll" valueType="enumerated"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning1.806299273" name="Issue Warning if an array subscript has type char(-Wchar-subscripts)" superClass="com.renesas.cdt.core.Compiler.option.warning1" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning2.1901581096" name="Issue Warning if comment appears within comment(-Wcomment)" superClass="com.renesas.cdt.core.Compiler.option.warning2" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning3.1541543076" name="Issue Warning if string functions format is incorrect(-Wformat)" superClass="com.renesas.cdt.core.Compiler.option.warning3" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning4.1161378198" name="Issue Warning if a function or parameter is implicitly declared(-Wimplicit)" superClass="com.renesas.cdt.core.Compiler.option.warning4" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning5.1789292050" name="Disable Warning about the use of #import(-Wno-import)" superClass="com.renesas.cdt.core.Compiler.option.warning5" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning6.84501834" name="Issue Warning if parentheses are omitted in certain contexts(-Wparentheses)" superClass="com.renesas.cdt.core.Compiler.option.warning6" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning7.1338708112" name="Issue Warning of possible return type problems(-Wreturn-type)" superClass="com.renesas.cdt.core.Compiler.option.warning7" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning8.374855392" name="Issue Warning of possible switch statement problems(-Wswitch)" superClass="com.renesas.cdt.core.Compiler.option.warning8" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning9.1983388469" name="Issue Warning if any trigraphs are encountered(-Wtrigraphs)" superClass="com.renesas.cdt.core.Compiler.option.warning9" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning10.983060895" name="Issue Warning if a variable is unused aside from its declaration(-Wunused)" superClass="com.renesas.cdt.core.Compiler.option.warning10" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning11.923794925" name="Issue Warning if an uninitialised automatic variable is used(-Wuninitialized)" superClass="com.renesas.cdt.core.Compiler.option.warning11" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning12.1620427209" name="Issue Warning of member initialisation mismatch(-Wreorder)" superClass="com.renesas.cdt.core.Compiler.option.warning12" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.warning13.1082135198" name="Issue Warning of bad sign comparisions(-Wsign-compare)" superClass="com.renesas.cdt.core.Compiler.option.warning13" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.549479064" name="Debug format" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.debugFormat.dwarf" valueType="enumerated"/>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.452759366" name="Optimization level" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel" value="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.optimizationLevel.none" valueType="enumerated"/>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines.1552305025" name="Macro Defines" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.macroDefines" valueType="definedSymbols">\r
+ <listOptionValue builtIn="false" value="RSKRL78L1C"/>\r
+ </option>\r
+ <option id="com.renesas.cdt.core.Compiler.option.includeSymbolTable.330377434" name="Include Symbol Table(s)" superClass="com.renesas.cdt.core.Compiler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.misc26.685469544" name="Ignore 'inline' keyword(-fno-inline)" superClass="com.renesas.cdt.core.Compiler.option.misc26" value="false" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.misc48.1598779240" name="List macro definitions but omit arguments and contents(-dN)" superClass="com.renesas.cdt.core.Compiler.option.misc48" value="false" valueType="boolean"/>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions.965893190" name="User defined options" superClass="com.renesas.cdt.rl78.HardwareDebug.Compiler.option.userDefinedOptions"/>\r
+ <option id="com.renesas.cdt.core.Compiler.option.misc2.1239011445" name="Don't search standard system directories for header files(-nostdinc)" superClass="com.renesas.cdt.core.Compiler.option.misc2" value="false" valueType="boolean"/>\r
+ <inputType id="%Base.Compiler.C.InputType.Id.1475424543" name="C Input" superClass="%Base.Compiler.C.InputType.Id"/>\r
+ <inputType id="Base.Compiler.CPP.InputType.Id.13063581" name="C++ Input" superClass="Base.Compiler.CPP.InputType.Id"/>\r
+ </tool>\r
+ <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id.1767021126" name="Assembler" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.assembler.Id">\r
+ <option id="com.renesas.cdt.core.Assembler.option.includeFileDirectories.584727211" name="Include file directories" superClass="com.renesas.cdt.core.Assembler.option.includeFileDirectories" valueType="includePath">\r
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/src""/>\r
+ </option>\r
+ <option id="com.renesas.cdt.core.Assembler.option.includeSymbolTable.1481239232" name="Include Symbol Table(-as)" superClass="com.renesas.cdt.core.Assembler.option.includeSymbolTable" value="true" valueType="boolean"/>\r
+ <inputType id="%Base.Assembler.inputType.Id.1995981014" name="Assembler InputType" superClass="%Base.Assembler.inputType.Id"/>\r
+ </tool>\r
+ <tool command="rl78-elf-ld" commandLinePattern="${COMMAND} ${OUTPUT_FLAG}${OUTPUT_PREFIX} ${OUTPUT}${INPUTS} ${FLAGS}" id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id.1983403774" name="Linker" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.linker.Id">\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1610499591" name="Archive search directories" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories" valueType="stringList">\r
+ <listOptionValue builtIn="false" value=""${CONFIGDIR}""/>\r
+ <listOptionValue builtIn="false" value=""${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}""/>\r
+ <listOptionValue builtIn="false" value=""${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}""/>\r
+ </option>\r
+ <option id="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles.26850450" name="Archive (library) files" superClass="com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles" valueType="stringList">\r
+ <listOptionValue builtIn="false" value="${ProjName}"/>\r
+ <listOptionValue builtIn="false" value="gcc"/>\r
+ </option>\r
+ <option id="com.renesas.cdt.core.Linker.option.userDefinedOptions.490918053" name="User defined options" superClass="com.renesas.cdt.core.Linker.option.userDefinedOptions" valueType="stringList">\r
+ <listOptionValue builtIn="false" value="-e_PowerON_Reset"/>\r
+ </option>\r
+ <option command="-stats" id="com.renesas.cdt.core.Linker.option.misc8.1365322726" name="Compute and display statistics about the operation of the linker(-stats)" superClass="com.renesas.cdt.core.Linker.option.misc8" value="true" valueType="boolean"/>\r
+ </tool>\r
+ <tool id="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id.529097714" name="Objcopy" superClass="com.renesas.cdt.rl78.hardwaredebug.win32.tool.objcopy.Id"/>\r
+ </toolChain>\r
+ </folderInfo>\r
+ <sourceEntries>\r
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>\r
+ </sourceEntries>\r
+ </configuration>\r
+ </storageModule>\r
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>\r
+ <storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>\r
+ <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>\r
+ </cconfiguration>\r
</storageModule>\r
<storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
<project id="RTOSDemo.com.renesas.cdt.RL78.projectType.1275970009" name="GNURL78" projectType="com.renesas.cdt.RL78.projectType"/>\r
GCC_STRING=4.8-GNURL78_v13.02
VERSION_IDE=3.06.02.004
E2STUDIO_VERSION=2.2.0.13
-ACTIVE_CONFIGURATION=RSKRL78G1C
+ACTIVE_CONFIGURATION=RSKRL78L1C
com.renesas.cdt.rl78.HardwareDebug.Compiler.option.cpuType.1364542281=RL78 - G1C\r
com.renesas.cdt.rl78.HardwareDebug.Compiler.option.mmul=None\r
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveLibraryFiles=${ProjName};gcc;\r
+com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1610499591="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.1960648199="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.8586332="${CONFIGDIR}";"${TCINSTALL}/lib/gcc/rl78-elf//${GCC_VERSION}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
com.renesas.cdt.rl78.HardwareDebug.Linker.option.archiveSearchDirectories.970009502="${CONFIGDIR}";"${TCINSTALL}\\lib\\gcc\\rl78-elf\\\\${GCC_VERSION}";\r
***************************************************************************\r
\r
\r
- http://www.FreeRTOS.org - Documentation, books, training, latest versions, \r
+ http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
license and Real Time Engineers Ltd. contact details.\r
\r
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
including FreeRTOS+Trace - an indispensable productivity tool, and our new\r
fully thread aware and reentrant UDP/IP stack.\r
\r
- http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High \r
- Integrity Systems, who sell the code with commercial support, \r
+ http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
+ Integrity Systems, who sell the code with commercial support,\r
indemnification and middleware, under the OpenRTOS brand.\r
- \r
- http://www.SafeRTOS.com - High Integrity Systems also provide a safety \r
- engineered and independently SIL3 certified version for use in safety and \r
+\r
+ http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
+ engineered and independently SIL3 certified version for use in safety and\r
mission critical applications that require provable dependability.\r
*/\r
\r
xPolledQueue = xQueueCreate( pollqQUEUE_SIZE, ( unsigned portBASE_TYPE ) sizeof( unsigned short ) );\r
\r
/* vQueueAddToRegistry() adds the queue to the queue registry, if one is\r
- in use. The queue registry is provided as a means for kernel aware \r
+ in use. The queue registry is provided as a means for kernel aware\r
debuggers to locate queues and has no purpose if a kernel aware debugger\r
is not being used. The call to vQueueAddToRegistry() will be removed\r
- by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is \r
+ by the pre-processor if configQUEUE_REGISTRY_SIZE is not defined or is\r
defined to be less than 1. */\r
vQueueAddToRegistry( xPolledQueue, ( signed char * ) "Poll_Test_Queue" );\r
\r
/* Spawn the producer and consumer. */\r
- xTaskCreate( vPolledQueueConsumer, ( signed char * ) "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );\r
- xTaskCreate( vPolledQueueProducer, ( signed char * ) "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );\r
+ xTaskCreate( vPolledQueueConsumer, "QConsNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );\r
+ xTaskCreate( vPolledQueueProducer, "QProdNB", pollqSTACK_SIZE, ( void * ) &xPolledQueue, uxPriority, ( TaskHandle_t * ) NULL );\r
}\r
/*-----------------------------------------------------------*/\r
\r
signed portBASE_TYPE xError = pdFALSE, xLoop;\r
\r
for( ;; )\r
- { \r
+ {\r
for( xLoop = 0; xLoop < pollqVALUES_TO_PRODUCE; xLoop++ )\r
{\r
/* Send an incrementing number on the queue without blocking. */\r
signed portBASE_TYPE xError = pdFALSE;\r
\r
for( ;; )\r
- { \r
+ {\r
/* Loop until the queue is empty. */\r
while( uxQueueMessagesWaiting( *( ( QueueHandle_t * ) pvParameters ) ) )\r
{\r
defined to be less than 1. */\r
vQueueAddToRegistry( xSuspendedTestQueue, ( signed char * ) "Suspended_Test_Queue" );\r
\r
- xTaskCreate( vContinuousIncrementTask, ( signed char * ) "CNT_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY, &xContinousIncrementHandle );\r
- xTaskCreate( vLimitedIncrementTask, ( signed char * ) "LIM_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY + 1, &xLimitedIncrementHandle );\r
- xTaskCreate( vCounterControlTask, ( signed char * ) "C_CTRL", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
- xTaskCreate( vQueueSendWhenSuspendedTask, ( signed char * ) "SUSP_TX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
- xTaskCreate( vQueueReceiveWhenSuspendedTask, ( signed char * ) "SUSP_RX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+ xTaskCreate( vContinuousIncrementTask, "CNT_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY, &xContinousIncrementHandle );\r
+ xTaskCreate( vLimitedIncrementTask, "LIM_INC", priSTACK_SIZE, ( void * ) &ulCounter, tskIDLE_PRIORITY + 1, &xLimitedIncrementHandle );\r
+ xTaskCreate( vCounterControlTask, "C_CTRL", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+ xTaskCreate( vQueueSendWhenSuspendedTask, "SUSP_TX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
+ xTaskCreate( vQueueReceiveWhenSuspendedTask, "SUSP_RX", priSTACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );\r
}\r
/*-----------------------------------------------------------*/\r
\r
/*\r
- FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+ FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
+ All rights reserved\r
\r
- FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT\r
- http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
+ VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
\r
***************************************************************************\r
* *\r
- * FreeRTOS tutorial books are available in pdf and paperback. *\r
- * Complete, revised, and edited pdf reference manuals are also *\r
- * available. *\r
+ * FreeRTOS provides completely free yet professionally developed, *\r
+ * robust, strictly quality controlled, supported, and cross *\r
+ * platform software that has become a de facto standard. *\r
* *\r
- * Purchasing FreeRTOS documentation will not only help you, by *\r
- * ensuring you get running as quickly as possible and with an *\r
- * in-depth knowledge of how to use FreeRTOS, it will also help *\r
- * the FreeRTOS project to continue with its mission of providing *\r
- * professional grade, cross platform, de facto standard solutions *\r
- * for microcontrollers - completely free of charge! *\r
+ * Help yourself get started quickly and support the FreeRTOS *\r
+ * project by purchasing a FreeRTOS tutorial book, reference *\r
+ * manual, or both from: http://www.FreeRTOS.org/Documentation *\r
* *\r
- * >>> See http://www.FreeRTOS.org/Documentation for details. <<< *\r
- * *\r
- * Thank you for using FreeRTOS, and thank you for your support! *\r
+ * Thank you! *\r
* *\r
***************************************************************************\r
\r
-\r
This file is part of the FreeRTOS distribution.\r
\r
FreeRTOS is free software; you can redistribute it and/or modify it under\r
the terms of the GNU General Public License (version 2) as published by the\r
- Free Software Foundation AND MODIFIED BY the FreeRTOS exception.\r
+ Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
\r
- >>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to\r
- distribute a combined work that includes FreeRTOS without being obliged to\r
- provide the source code for proprietary components outside of the FreeRTOS\r
- kernel.\r
+ >>! NOTE: The modification to the GPL is included to allow you to distribute\r
+ >>! a combined work that includes FreeRTOS without being obliged to provide\r
+ >>! the source code for proprietary components outside of the FreeRTOS\r
+ >>! kernel.\r
\r
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\r
- details. You should have received a copy of the GNU General Public License\r
- and the FreeRTOS license exception along with FreeRTOS; if not itcan be\r
- viewed here: http://www.freertos.org/a00114.html and also obtained by\r
- writing to Real Time Engineers Ltd., contact details for whom are available\r
- on the FreeRTOS WEB site.\r
+ FOR A PARTICULAR PURPOSE. Full license text is available from the following\r
+ link: http://www.freertos.org/a00114.html\r
\r
1 tab == 4 spaces!\r
\r
* *\r
***************************************************************************\r
\r
-\r
http://www.FreeRTOS.org - Documentation, books, training, latest versions,\r
license and Real Time Engineers Ltd. contact details.\r
\r
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,\r
- including FreeRTOS+Trace - an indispensable productivity tool, and our new\r
- fully thread aware and reentrant UDP/IP stack.\r
+ including FreeRTOS+Trace - an indispensable productivity tool, a DOS\r
+ compatible FAT file system, and our tiny thread aware UDP/IP stack.\r
\r
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High\r
- Integrity Systems, who sell the code with commercial support,\r
- indemnification and middleware, under the OpenRTOS brand.\r
+ Integrity Systems to sell under the OpenRTOS brand. Low cost OpenRTOS\r
+ licenses offer ticketed support, indemnification and middleware.\r
\r
http://www.SafeRTOS.com - High Integrity Systems also provide a safety\r
engineered and independently SIL3 certified version for use in safety and\r
mission critical applications that require provable dependability.\r
+\r
+ 1 tab == 4 spaces!\r
*/\r
\r
#ifndef LED_IO_H\r
#define LED_INIT() P0 &= 0xFD; PM0 &= 0xFD\r
#endif /* RSKRL78G1C */\r
\r
+ #ifdef RSKRL78L1C\r
+ #include "iodefine_RL78L1C.h"\r
+ #include "iodefine_RL78L1C_ext.h"\r
+ #define LED_BIT ( P4_bit.no1 )\r
+ #define LED_INIT() P4 &= 0xFD; PM4 &= 0xFD\r
+ #endif /* RSKRL78L1C */\r
+\r
#ifdef RSKRL78L13\r
#include "iodefine_RL78L13.h"\r
#include "iodefine_RL78L13_ext.h"\r
--- /dev/null
+ \r
+/************************************************************************/\r
+/* Header file generated from device file: */\r
+/* DR5F110PJ.DVF */\r
+/* Copyright(C) 2013 Renesas */\r
+/* File Version E1.00h */\r
+/* Tool Version 2.5.211 */\r
+/* Date Generated 07/05/2013 */\r
+/************************************************************************/\r
+\r
+#ifndef __INTRINSIC_FUNCTIONS\r
+#define __INTRINSIC_FUNCTIONS\r
+\r
+#define DI() asm("di")\r
+#define EI() asm("ei")\r
+#define HALT() asm("halt")\r
+#define NOP() asm("nop")\r
+#define STOP() asm("stop")\r
+\r
+#endif\r
+\r
+#ifndef __IOREG_BIT_STRUCTURES\r
+#define __IOREG_BIT_STRUCTURES\r
+typedef struct {\r
+ unsigned char no0 :1;\r
+ unsigned char no1 :1;\r
+ unsigned char no2 :1;\r
+ unsigned char no3 :1;\r
+ unsigned char no4 :1;\r
+ unsigned char no5 :1;\r
+ unsigned char no6 :1;\r
+ unsigned char no7 :1;\r
+} __BITS8;\r
+\r
+typedef struct {\r
+ unsigned short no0 :1;\r
+ unsigned short no1 :1;\r
+ unsigned short no2 :1;\r
+ unsigned short no3 :1;\r
+ unsigned short no4 :1;\r
+ unsigned short no5 :1;\r
+ unsigned short no6 :1;\r
+ unsigned short no7 :1;\r
+ unsigned short no8 :1;\r
+ unsigned short no9 :1;\r
+ unsigned short no10 :1;\r
+ unsigned short no11 :1;\r
+ unsigned short no12 :1;\r
+ unsigned short no13 :1;\r
+ unsigned short no14 :1;\r
+ unsigned short no15 :1;\r
+} __BITS16;\r
+\r
+#endif\r
+\r
+#ifndef IODEFINE_H\r
+#define IODEFINE_H\r
+\r
+/*\r
+ IO Registers\r
+ */\r
+union un_p0 {\r
+ unsigned char p0;\r
+ __BITS8 BIT;\r
+};\r
+union un_p1 {\r
+ unsigned char p1;\r
+ __BITS8 BIT;\r
+};\r
+union un_p2 {\r
+ unsigned char p2;\r
+ __BITS8 BIT;\r
+};\r
+union un_p3 {\r
+ unsigned char p3;\r
+ __BITS8 BIT;\r
+};\r
+union un_p4 {\r
+ unsigned char p4;\r
+ __BITS8 BIT;\r
+};\r
+union un_p5 {\r
+ unsigned char p5;\r
+ __BITS8 BIT;\r
+};\r
+union un_p6 {\r
+ unsigned char p6;\r
+ __BITS8 BIT;\r
+};\r
+union un_p7 {\r
+ unsigned char p7;\r
+ __BITS8 BIT;\r
+};\r
+union un_p12 {\r
+ unsigned char p12;\r
+ __BITS8 BIT;\r
+};\r
+union un_p13 {\r
+ unsigned char p13;\r
+ __BITS8 BIT;\r
+};\r
+union un_p14 {\r
+ unsigned char p14;\r
+ __BITS8 BIT;\r
+};\r
+union un_p15 {\r
+ unsigned char p15;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm0 {\r
+ unsigned char pm0;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm1 {\r
+ unsigned char pm1;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm2 {\r
+ unsigned char pm2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm3 {\r
+ unsigned char pm3;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm4 {\r
+ unsigned char pm4;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm5 {\r
+ unsigned char pm5;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm6 {\r
+ unsigned char pm6;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm7 {\r
+ unsigned char pm7;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm12 {\r
+ unsigned char pm12;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm14 {\r
+ unsigned char pm14;\r
+ __BITS8 BIT;\r
+};\r
+union un_pm15 {\r
+ unsigned char pm15;\r
+ __BITS8 BIT;\r
+};\r
+union un_adm0 {\r
+ unsigned char adm0;\r
+ __BITS8 BIT;\r
+};\r
+union un_ads {\r
+ unsigned char ads;\r
+ __BITS8 BIT;\r
+};\r
+union un_adm1 {\r
+ unsigned char adm1;\r
+ __BITS8 BIT;\r
+};\r
+union un_krctl {\r
+ unsigned char krctl;\r
+ __BITS8 BIT;\r
+};\r
+union un_krm0 {\r
+ unsigned char krm0;\r
+ __BITS8 BIT;\r
+};\r
+union un_egp0 {\r
+ unsigned char egp0;\r
+ __BITS8 BIT;\r
+};\r
+union un_egn0 {\r
+ unsigned char egn0;\r
+ __BITS8 BIT;\r
+};\r
+union un_lcdm1 {\r
+ unsigned char lcdm1;\r
+ __BITS8 BIT;\r
+};\r
+union un_mlcd {\r
+ unsigned char mlcd;\r
+ __BITS8 BIT;\r
+};\r
+union un_iics0 {\r
+ unsigned char iics0;\r
+ __BITS8 BIT;\r
+};\r
+union un_iicf0 {\r
+ unsigned char iicf0;\r
+ __BITS8 BIT;\r
+};\r
+union un_dam {\r
+ unsigned char dam;\r
+ __BITS8 BIT;\r
+};\r
+union un_rtcc0 {\r
+ unsigned char rtcc0;\r
+ __BITS8 BIT;\r
+};\r
+union un_rtcc1 {\r
+ unsigned char rtcc1;\r
+ __BITS8 BIT;\r
+};\r
+union un_csc {\r
+ unsigned char csc;\r
+ __BITS8 BIT;\r
+};\r
+union un_ostc {\r
+ unsigned char ostc;\r
+ __BITS8 BIT;\r
+};\r
+union un_ckc {\r
+ unsigned char ckc;\r
+ __BITS8 BIT;\r
+};\r
+union un_cks0 {\r
+ unsigned char cks0;\r
+ __BITS8 BIT;\r
+};\r
+union un_cks1 {\r
+ unsigned char cks1;\r
+ __BITS8 BIT;\r
+};\r
+union un_lvim {\r
+ unsigned char lvim;\r
+ __BITS8 BIT;\r
+};\r
+union un_lvis {\r
+ unsigned char lvis;\r
+ __BITS8 BIT;\r
+};\r
+union un_if2 {\r
+ unsigned short if2;\r
+ __BITS16 BIT;\r
+};\r
+union un_if2l {\r
+ unsigned char if2l;\r
+ __BITS8 BIT;\r
+};\r
+union un_if2h {\r
+ unsigned char if2h;\r
+ __BITS8 BIT;\r
+};\r
+union un_if3 {\r
+ unsigned short if3;\r
+ __BITS16 BIT;\r
+};\r
+union un_if3l {\r
+ unsigned char if3l;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk2 {\r
+ unsigned short mk2;\r
+ __BITS16 BIT;\r
+};\r
+union un_mk2l {\r
+ unsigned char mk2l;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk2h {\r
+ unsigned char mk2h;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk3 {\r
+ unsigned short mk3;\r
+ __BITS16 BIT;\r
+};\r
+union un_mk3l {\r
+ unsigned char mk3l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr02 {\r
+ unsigned short pr02;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr02l {\r
+ unsigned char pr02l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr02h {\r
+ unsigned char pr02h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr03 {\r
+ unsigned short pr03;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr03l {\r
+ unsigned char pr03l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr12 {\r
+ unsigned short pr12;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr12l {\r
+ unsigned char pr12l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr12h {\r
+ unsigned char pr12h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr13 {\r
+ unsigned short pr13;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr13l {\r
+ unsigned char pr13l;\r
+ __BITS8 BIT;\r
+};\r
+union un_if0 {\r
+ unsigned short if0;\r
+ __BITS16 BIT;\r
+};\r
+union un_if0l {\r
+ unsigned char if0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_if0h {\r
+ unsigned char if0h;\r
+ __BITS8 BIT;\r
+};\r
+union un_if1 {\r
+ unsigned short if1;\r
+ __BITS16 BIT;\r
+};\r
+union un_if1l {\r
+ unsigned char if1l;\r
+ __BITS8 BIT;\r
+};\r
+union un_if1h {\r
+ unsigned char if1h;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk0 {\r
+ unsigned short mk0;\r
+ __BITS16 BIT;\r
+};\r
+union un_mk0l {\r
+ unsigned char mk0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk0h {\r
+ unsigned char mk0h;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk1 {\r
+ unsigned short mk1;\r
+ __BITS16 BIT;\r
+};\r
+union un_mk1l {\r
+ unsigned char mk1l;\r
+ __BITS8 BIT;\r
+};\r
+union un_mk1h {\r
+ unsigned char mk1h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr00 {\r
+ unsigned short pr00;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr00l {\r
+ unsigned char pr00l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr00h {\r
+ unsigned char pr00h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr01 {\r
+ unsigned short pr01;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr01l {\r
+ unsigned char pr01l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr01h {\r
+ unsigned char pr01h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr10 {\r
+ unsigned short pr10;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr10l {\r
+ unsigned char pr10l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr10h {\r
+ unsigned char pr10h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr11 {\r
+ unsigned short pr11;\r
+ __BITS16 BIT;\r
+};\r
+union un_pr11l {\r
+ unsigned char pr11l;\r
+ __BITS8 BIT;\r
+};\r
+union un_pr11h {\r
+ unsigned char pr11h;\r
+ __BITS8 BIT;\r
+};\r
+union un_pmc {\r
+ unsigned char pmc;\r
+ __BITS8 BIT;\r
+};\r
+\r
+#define P0 (*(volatile union un_p0 *)0xFFF00).p0\r
+#define P0_bit (*(volatile union un_p0 *)0xFFF00).BIT\r
+#define P1 (*(volatile union un_p1 *)0xFFF01).p1\r
+#define P1_bit (*(volatile union un_p1 *)0xFFF01).BIT\r
+#define P2 (*(volatile union un_p2 *)0xFFF02).p2\r
+#define P2_bit (*(volatile union un_p2 *)0xFFF02).BIT\r
+#define P3 (*(volatile union un_p3 *)0xFFF03).p3\r
+#define P3_bit (*(volatile union un_p3 *)0xFFF03).BIT\r
+#define P4 (*(volatile union un_p4 *)0xFFF04).p4\r
+#define P4_bit (*(volatile union un_p4 *)0xFFF04).BIT\r
+#define P5 (*(volatile union un_p5 *)0xFFF05).p5\r
+#define P5_bit (*(volatile union un_p5 *)0xFFF05).BIT\r
+#define P6 (*(volatile union un_p6 *)0xFFF06).p6\r
+#define P6_bit (*(volatile union un_p6 *)0xFFF06).BIT\r
+#define P7 (*(volatile union un_p7 *)0xFFF07).p7\r
+#define P7_bit (*(volatile union un_p7 *)0xFFF07).BIT\r
+#define P12 (*(volatile union un_p12 *)0xFFF0C).p12\r
+#define P12_bit (*(volatile union un_p12 *)0xFFF0C).BIT\r
+#define P13 (*(volatile union un_p13 *)0xFFF0D).p13\r
+#define P13_bit (*(volatile union un_p13 *)0xFFF0D).BIT\r
+#define P14 (*(volatile union un_p14 *)0xFFF0E).p14\r
+#define P14_bit (*(volatile union un_p14 *)0xFFF0E).BIT\r
+#define P15 (*(volatile union un_p15 *)0xFFF0F).p15\r
+#define P15_bit (*(volatile union un_p15 *)0xFFF0F).BIT\r
+#define SDR00 (*(volatile unsigned short *)0xFFF10)\r
+#define SIO00 (*(volatile unsigned char *)0xFFF10)\r
+#define TXD0 (*(volatile unsigned char *)0xFFF10)\r
+#define SDR01 (*(volatile unsigned short *)0xFFF12)\r
+#define RXD0 (*(volatile unsigned char *)0xFFF12)\r
+#define SDR12 (*(volatile unsigned short *)0xFFF14)\r
+#define SIO30 (*(volatile unsigned char *)0xFFF14)\r
+#define TXD3 (*(volatile unsigned char *)0xFFF14)\r
+#define SDR13 (*(volatile unsigned short *)0xFFF16)\r
+#define RXD3 (*(volatile unsigned char *)0xFFF16)\r
+#define TDR00 (*(volatile unsigned short *)0xFFF18)\r
+#define TDR01 (*(volatile unsigned short *)0xFFF1A)\r
+#define TDR01L (*(volatile unsigned char *)0xFFF1A)\r
+#define TDR01H (*(volatile unsigned char *)0xFFF1B)\r
+#define ADCR (*(volatile unsigned short *)0xFFF1E)\r
+#define ADCRH (*(volatile unsigned char *)0xFFF1F)\r
+#define PM0 (*(volatile union un_pm0 *)0xFFF20).pm0\r
+#define PM0_bit (*(volatile union un_pm0 *)0xFFF20).BIT\r
+#define PM1 (*(volatile union un_pm1 *)0xFFF21).pm1\r
+#define PM1_bit (*(volatile union un_pm1 *)0xFFF21).BIT\r
+#define PM2 (*(volatile union un_pm2 *)0xFFF22).pm2\r
+#define PM2_bit (*(volatile union un_pm2 *)0xFFF22).BIT\r
+#define PM3 (*(volatile union un_pm3 *)0xFFF23).pm3\r
+#define PM3_bit (*(volatile union un_pm3 *)0xFFF23).BIT\r
+#define PM4 (*(volatile union un_pm4 *)0xFFF24).pm4\r
+#define PM4_bit (*(volatile union un_pm4 *)0xFFF24).BIT\r
+#define PM5 (*(volatile union un_pm5 *)0xFFF25).pm5\r
+#define PM5_bit (*(volatile union un_pm5 *)0xFFF25).BIT\r
+#define PM6 (*(volatile union un_pm6 *)0xFFF26).pm6\r
+#define PM6_bit (*(volatile union un_pm6 *)0xFFF26).BIT\r
+#define PM7 (*(volatile union un_pm7 *)0xFFF27).pm7\r
+#define PM7_bit (*(volatile union un_pm7 *)0xFFF27).BIT\r
+#define PM12 (*(volatile union un_pm12 *)0xFFF2C).pm12\r
+#define PM12_bit (*(volatile union un_pm12 *)0xFFF2C).BIT\r
+#define PM14 (*(volatile union un_pm14 *)0xFFF2E).pm14\r
+#define PM14_bit (*(volatile union un_pm14 *)0xFFF2E).BIT\r
+#define PM15 (*(volatile union un_pm15 *)0xFFF2F).pm15\r
+#define PM15_bit (*(volatile union un_pm15 *)0xFFF2F).BIT\r
+#define ADM0 (*(volatile union un_adm0 *)0xFFF30).adm0\r
+#define ADM0_bit (*(volatile union un_adm0 *)0xFFF30).BIT\r
+#define ADS (*(volatile union un_ads *)0xFFF31).ads\r
+#define ADS_bit (*(volatile union un_ads *)0xFFF31).BIT\r
+#define ADM1 (*(volatile union un_adm1 *)0xFFF32).adm1\r
+#define ADM1_bit (*(volatile union un_adm1 *)0xFFF32).BIT\r
+#define KRCTL (*(volatile union un_krctl *)0xFFF34).krctl\r
+#define KRCTL_bit (*(volatile union un_krctl *)0xFFF34).BIT\r
+#define KRF (*(volatile unsigned char *)0xFFF35)\r
+#define KRM0 (*(volatile union un_krm0 *)0xFFF37).krm0\r
+#define KRM0_bit (*(volatile union un_krm0 *)0xFFF37).BIT\r
+#define EGP0 (*(volatile union un_egp0 *)0xFFF38).egp0\r
+#define EGP0_bit (*(volatile union un_egp0 *)0xFFF38).BIT\r
+#define EGN0 (*(volatile union un_egn0 *)0xFFF39).egn0\r
+#define EGN0_bit (*(volatile union un_egn0 *)0xFFF39).BIT\r
+#define LCDM0 (*(volatile unsigned char *)0xFFF40)\r
+#define LCDM1 (*(volatile union un_lcdm1 *)0xFFF41).lcdm1\r
+#define LCDM1_bit (*(volatile union un_lcdm1 *)0xFFF41).BIT\r
+#define LCDC0 (*(volatile unsigned char *)0xFFF42)\r
+#define VLCD (*(volatile unsigned char *)0xFFF43)\r
+#define SDR02 (*(volatile unsigned short *)0xFFF44)\r
+#define SIO10 (*(volatile unsigned char *)0xFFF44)\r
+#define TXD1 (*(volatile unsigned char *)0xFFF44)\r
+#define SDR03 (*(volatile unsigned short *)0xFFF46)\r
+#define RXD1 (*(volatile unsigned char *)0xFFF46)\r
+#define SDR10 (*(volatile unsigned short *)0xFFF48)\r
+#define SIO20 (*(volatile unsigned char *)0xFFF48)\r
+#define TXD2 (*(volatile unsigned char *)0xFFF48)\r
+#define SDR11 (*(volatile unsigned short *)0xFFF4A)\r
+#define RXD2 (*(volatile unsigned char *)0xFFF4A)\r
+#define MLCD (*(volatile union un_mlcd *)0xFFF4C).mlcd\r
+#define MLCD_bit (*(volatile union un_mlcd *)0xFFF4C).BIT\r
+#define IICA0 (*(volatile unsigned char *)0xFFF50)\r
+#define IICS0 (*(volatile union un_iics0 *)0xFFF51).iics0\r
+#define IICS0_bit (*(volatile union un_iics0 *)0xFFF51).BIT\r
+#define IICF0 (*(volatile union un_iicf0 *)0xFFF52).iicf0\r
+#define IICF0_bit (*(volatile union un_iicf0 *)0xFFF52).BIT\r
+#define TDR02 (*(volatile unsigned short *)0xFFF64)\r
+#define TDR03 (*(volatile unsigned short *)0xFFF66)\r
+#define TDR03L (*(volatile unsigned char *)0xFFF66)\r
+#define TDR03H (*(volatile unsigned char *)0xFFF67)\r
+#define TDR04 (*(volatile unsigned short *)0xFFF68)\r
+#define TDR05 (*(volatile unsigned short *)0xFFF6A)\r
+#define TDR06 (*(volatile unsigned short *)0xFFF6C)\r
+#define TDR07 (*(volatile unsigned short *)0xFFF6E)\r
+#define DACS0 (*(volatile unsigned char *)0xFFF74)\r
+#define DACS1 (*(volatile unsigned char *)0xFFF75)\r
+#define DAM (*(volatile union un_dam *)0xFFF76).dam\r
+#define DAM_bit (*(volatile union un_dam *)0xFFF76).BIT\r
+#define ITMC (*(volatile unsigned short *)0xFFF90)\r
+#define SEC (*(volatile unsigned char *)0xFFF92)\r
+#define MIN (*(volatile unsigned char *)0xFFF93)\r
+#define HOUR (*(volatile unsigned char *)0xFFF94)\r
+#define WEEK (*(volatile unsigned char *)0xFFF95)\r
+#define DAY (*(volatile unsigned char *)0xFFF96)\r
+#define MONTH (*(volatile unsigned char *)0xFFF97)\r
+#define YEAR (*(volatile unsigned char *)0xFFF98)\r
+#define ALARMWM (*(volatile unsigned char *)0xFFF9A)\r
+#define ALARMWH (*(volatile unsigned char *)0xFFF9B)\r
+#define ALARMWW (*(volatile unsigned char *)0xFFF9C)\r
+#define RTCC0 (*(volatile union un_rtcc0 *)0xFFF9D).rtcc0\r
+#define RTCC0_bit (*(volatile union un_rtcc0 *)0xFFF9D).BIT\r
+#define RTCC1 (*(volatile union un_rtcc1 *)0xFFF9E).rtcc1\r
+#define RTCC1_bit (*(volatile union un_rtcc1 *)0xFFF9E).BIT\r
+#define CMC (*(volatile unsigned char *)0xFFFA0)\r
+#define CSC (*(volatile union un_csc *)0xFFFA1).csc\r
+#define CSC_bit (*(volatile union un_csc *)0xFFFA1).BIT\r
+#define OSTC (*(volatile union un_ostc *)0xFFFA2).ostc\r
+#define OSTC_bit (*(volatile union un_ostc *)0xFFFA2).BIT\r
+#define OSTS (*(volatile unsigned char *)0xFFFA3)\r
+#define CKC (*(volatile union un_ckc *)0xFFFA4).ckc\r
+#define CKC_bit (*(volatile union un_ckc *)0xFFFA4).BIT\r
+#define CKS0 (*(volatile union un_cks0 *)0xFFFA5).cks0\r
+#define CKS0_bit (*(volatile union un_cks0 *)0xFFFA5).BIT\r
+#define CKS1 (*(volatile union un_cks1 *)0xFFFA6).cks1\r
+#define CKS1_bit (*(volatile union un_cks1 *)0xFFFA6).BIT\r
+#define RESF (*(volatile unsigned char *)0xFFFA8)\r
+#define LVIM (*(volatile union un_lvim *)0xFFFA9).lvim\r
+#define LVIM_bit (*(volatile union un_lvim *)0xFFFA9).BIT\r
+#define LVIS (*(volatile union un_lvis *)0xFFFAA).lvis\r
+#define LVIS_bit (*(volatile union un_lvis *)0xFFFAA).BIT\r
+#define WDTE (*(volatile unsigned char *)0xFFFAB)\r
+#define CRCIN (*(volatile unsigned char *)0xFFFAC)\r
+#define IF2 (*(volatile union un_if2 *)0xFFFD0).if2\r
+#define IF2_bit (*(volatile union un_if2 *)0xFFFD0).BIT\r
+#define IF2L (*(volatile union un_if2l *)0xFFFD0).if2l\r
+#define IF2L_bit (*(volatile union un_if2l *)0xFFFD0).BIT\r
+#define IF2H (*(volatile union un_if2h *)0xFFFD1).if2h\r
+#define IF2H_bit (*(volatile union un_if2h *)0xFFFD1).BIT\r
+#define IF3 (*(volatile union un_if3 *)0xFFFD2).if3\r
+#define IF3_bit (*(volatile union un_if3 *)0xFFFD2).BIT\r
+#define IF3L (*(volatile union un_if3l *)0xFFFD2).if3l\r
+#define IF3L_bit (*(volatile union un_if3l *)0xFFFD2).BIT\r
+#define MK2 (*(volatile union un_mk2 *)0xFFFD4).mk2\r
+#define MK2_bit (*(volatile union un_mk2 *)0xFFFD4).BIT\r
+#define MK2L (*(volatile union un_mk2l *)0xFFFD4).mk2l\r
+#define MK2L_bit (*(volatile union un_mk2l *)0xFFFD4).BIT\r
+#define MK2H (*(volatile union un_mk2h *)0xFFFD5).mk2h\r
+#define MK2H_bit (*(volatile union un_mk2h *)0xFFFD5).BIT\r
+#define MK3 (*(volatile union un_mk3 *)0xFFFD6).mk3\r
+#define MK3_bit (*(volatile union un_mk3 *)0xFFFD6).BIT\r
+#define MK3L (*(volatile union un_mk3l *)0xFFFD6).mk3l\r
+#define MK3L_bit (*(volatile union un_mk3l *)0xFFFD6).BIT\r
+#define PR02 (*(volatile union un_pr02 *)0xFFFD8).pr02\r
+#define PR02_bit (*(volatile union un_pr02 *)0xFFFD8).BIT\r
+#define PR02L (*(volatile union un_pr02l *)0xFFFD8).pr02l\r
+#define PR02L_bit (*(volatile union un_pr02l *)0xFFFD8).BIT\r
+#define PR02H (*(volatile union un_pr02h *)0xFFFD9).pr02h\r
+#define PR02H_bit (*(volatile union un_pr02h *)0xFFFD9).BIT\r
+#define PR03 (*(volatile union un_pr03 *)0xFFFDA).pr03\r
+#define PR03_bit (*(volatile union un_pr03 *)0xFFFDA).BIT\r
+#define PR03L (*(volatile union un_pr03l *)0xFFFDA).pr03l\r
+#define PR03L_bit (*(volatile union un_pr03l *)0xFFFDA).BIT\r
+#define PR12 (*(volatile union un_pr12 *)0xFFFDC).pr12\r
+#define PR12_bit (*(volatile union un_pr12 *)0xFFFDC).BIT\r
+#define PR12L (*(volatile union un_pr12l *)0xFFFDC).pr12l\r
+#define PR12L_bit (*(volatile union un_pr12l *)0xFFFDC).BIT\r
+#define PR12H (*(volatile union un_pr12h *)0xFFFDD).pr12h\r
+#define PR12H_bit (*(volatile union un_pr12h *)0xFFFDD).BIT\r
+#define PR13 (*(volatile union un_pr13 *)0xFFFDE).pr13\r
+#define PR13_bit (*(volatile union un_pr13 *)0xFFFDE).BIT\r
+#define PR13L (*(volatile union un_pr13l *)0xFFFDE).pr13l\r
+#define PR13L_bit (*(volatile union un_pr13l *)0xFFFDE).BIT\r
+#define IF0 (*(volatile union un_if0 *)0xFFFE0).if0\r
+#define IF0_bit (*(volatile union un_if0 *)0xFFFE0).BIT\r
+#define IF0L (*(volatile union un_if0l *)0xFFFE0).if0l\r
+#define IF0L_bit (*(volatile union un_if0l *)0xFFFE0).BIT\r
+#define IF0H (*(volatile union un_if0h *)0xFFFE1).if0h\r
+#define IF0H_bit (*(volatile union un_if0h *)0xFFFE1).BIT\r
+#define IF1 (*(volatile union un_if1 *)0xFFFE2).if1\r
+#define IF1_bit (*(volatile union un_if1 *)0xFFFE2).BIT\r
+#define IF1L (*(volatile union un_if1l *)0xFFFE2).if1l\r
+#define IF1L_bit (*(volatile union un_if1l *)0xFFFE2).BIT\r
+#define IF1H (*(volatile union un_if1h *)0xFFFE3).if1h\r
+#define IF1H_bit (*(volatile union un_if1h *)0xFFFE3).BIT\r
+#define MK0 (*(volatile union un_mk0 *)0xFFFE4).mk0\r
+#define MK0_bit (*(volatile union un_mk0 *)0xFFFE4).BIT\r
+#define MK0L (*(volatile union un_mk0l *)0xFFFE4).mk0l\r
+#define MK0L_bit (*(volatile union un_mk0l *)0xFFFE4).BIT\r
+#define MK0H (*(volatile union un_mk0h *)0xFFFE5).mk0h\r
+#define MK0H_bit (*(volatile union un_mk0h *)0xFFFE5).BIT\r
+#define MK1 (*(volatile union un_mk1 *)0xFFFE6).mk1\r
+#define MK1_bit (*(volatile union un_mk1 *)0xFFFE6).BIT\r
+#define MK1L (*(volatile union un_mk1l *)0xFFFE6).mk1l\r
+#define MK1L_bit (*(volatile union un_mk1l *)0xFFFE6).BIT\r
+#define MK1H (*(volatile union un_mk1h *)0xFFFE7).mk1h\r
+#define MK1H_bit (*(volatile union un_mk1h *)0xFFFE7).BIT\r
+#define PR00 (*(volatile union un_pr00 *)0xFFFE8).pr00\r
+#define PR00_bit (*(volatile union un_pr00 *)0xFFFE8).BIT\r
+#define PR00L (*(volatile union un_pr00l *)0xFFFE8).pr00l\r
+#define PR00L_bit (*(volatile union un_pr00l *)0xFFFE8).BIT\r
+#define PR00H (*(volatile union un_pr00h *)0xFFFE9).pr00h\r
+#define PR00H_bit (*(volatile union un_pr00h *)0xFFFE9).BIT\r
+#define PR01 (*(volatile union un_pr01 *)0xFFFEA).pr01\r
+#define PR01_bit (*(volatile union un_pr01 *)0xFFFEA).BIT\r
+#define PR01L (*(volatile union un_pr01l *)0xFFFEA).pr01l\r
+#define PR01L_bit (*(volatile union un_pr01l *)0xFFFEA).BIT\r
+#define PR01H (*(volatile union un_pr01h *)0xFFFEB).pr01h\r
+#define PR01H_bit (*(volatile union un_pr01h *)0xFFFEB).BIT\r
+#define PR10 (*(volatile union un_pr10 *)0xFFFEC).pr10\r
+#define PR10_bit (*(volatile union un_pr10 *)0xFFFEC).BIT\r
+#define PR10L (*(volatile union un_pr10l *)0xFFFEC).pr10l\r
+#define PR10L_bit (*(volatile union un_pr10l *)0xFFFEC).BIT\r
+#define PR10H (*(volatile union un_pr10h *)0xFFFED).pr10h\r
+#define PR10H_bit (*(volatile union un_pr10h *)0xFFFED).BIT\r
+#define PR11 (*(volatile union un_pr11 *)0xFFFEE).pr11\r
+#define PR11_bit (*(volatile union un_pr11 *)0xFFFEE).BIT\r
+#define PR11L (*(volatile union un_pr11l *)0xFFFEE).pr11l\r
+#define PR11L_bit (*(volatile union un_pr11l *)0xFFFEE).BIT\r
+#define PR11H (*(volatile union un_pr11h *)0xFFFEF).pr11h\r
+#define PR11H_bit (*(volatile union un_pr11h *)0xFFFEF).BIT\r
+#define MACRL (*(volatile unsigned short *)0xFFFF0)\r
+#define MACRH (*(volatile unsigned short *)0xFFFF2)\r
+#define PMC (*(volatile union un_pmc *)0xFFFFE).pmc\r
+#define PMC_bit (*(volatile union un_pmc *)0xFFFFE).BIT\r
+\r
+/*\r
+ Sfr bits\r
+ */\r
+#define ADCE ADM0_bit.no0\r
+#define ADCS ADM0_bit.no7\r
+#define LCDVLM LCDM1_bit.no0\r
+#define LCDSEL LCDM1_bit.no3\r
+#define BLON LCDM1_bit.no4\r
+#define VLCON LCDM1_bit.no5\r
+#define SCOC LCDM1_bit.no6\r
+#define LCDON LCDM1_bit.no7\r
+#define OPTCKE MLCD_bit.no4\r
+#define COMEXP MLCD_bit.no6\r
+#define LCTZS MLCD_bit.no7\r
+#define SPD0 IICS0_bit.no0\r
+#define STD0 IICS0_bit.no1\r
+#define ACKD0 IICS0_bit.no2\r
+#define TRC0 IICS0_bit.no3\r
+#define COI0 IICS0_bit.no4\r
+#define EXC0 IICS0_bit.no5\r
+#define ALD0 IICS0_bit.no6\r
+#define MSTS0 IICS0_bit.no7\r
+#define IICRSV0 IICF0_bit.no0\r
+#define STCEN0 IICF0_bit.no1\r
+#define IICBSY0 IICF0_bit.no6\r
+#define STCF0 IICF0_bit.no7\r
+#define DACE0 DAM_bit.no4\r
+#define DACE1 DAM_bit.no5\r
+#define CLOE1 RTCC0_bit.no5\r
+#define RTCE RTCC0_bit.no7\r
+#define RWAIT RTCC1_bit.no0\r
+#define RWST RTCC1_bit.no1\r
+#define RIFG RTCC1_bit.no3\r
+#define WAFG RTCC1_bit.no4\r
+#define RITE RTCC1_bit.no5\r
+#define WALIE RTCC1_bit.no6\r
+#define WALE RTCC1_bit.no7\r
+#define HIOSTOP CSC_bit.no0\r
+#define XTSTOP CSC_bit.no6\r
+#define MSTOP CSC_bit.no7\r
+#define SDIV CKC_bit.no3\r
+#define MCM0 CKC_bit.no4\r
+#define MCS CKC_bit.no5\r
+#define CSS CKC_bit.no6\r
+#define CLS CKC_bit.no7\r
+#define PCLOE0 CKS0_bit.no7\r
+#define PCLOE1 CKS1_bit.no7\r
+#define LVIF LVIM_bit.no0\r
+#define LVIOMSK LVIM_bit.no1\r
+#define LVISEN LVIM_bit.no7\r
+#define LVILV LVIS_bit.no0\r
+#define LVIMD LVIS_bit.no7\r
+#define TMIF04 IF2_bit.no1\r
+#define TMIF05 IF2_bit.no2\r
+#define PIF6 IF2_bit.no3\r
+#define PIF7 IF2_bit.no4\r
+#define LCDIF0 IF2_bit.no5\r
+#define CMPIF0 IF2_bit.no6\r
+#define CMPIF1 IF2_bit.no7\r
+#define TMIF06 IF2H_bit.no0\r
+#define TMIF07 IF2H_bit.no1\r
+#define USBIF IF2H_bit.no2\r
+#define RSUIF IF2H_bit.no3\r
+#define SREIF3 IF2H_bit.no4\r
+#define TKB2IF0 IF2H_bit.no5\r
+#define TKB2IF1 IF2H_bit.no6\r
+#define FLIF IF2H_bit.no7\r
+#define TKB2IF2 IF3_bit.no0\r
+#define FIFOIF0 IF3_bit.no1\r
+#define FIFOIF1 IF3_bit.no2\r
+#define TMMK04 MK2_bit.no1\r
+#define TMMK05 MK2_bit.no2\r
+#define PMK6 MK2_bit.no3\r
+#define PMK7 MK2_bit.no4\r
+#define LCDMK0 MK2_bit.no5\r
+#define CMPMK0 MK2_bit.no6\r
+#define CMPMK1 MK2_bit.no7\r
+#define TMMK06 MK2H_bit.no0\r
+#define TMMK07 MK2H_bit.no1\r
+#define USBMK MK2H_bit.no2\r
+#define RSUMK MK2H_bit.no3\r
+#define SREMK3 MK2H_bit.no4\r
+#define TKB2MK0 MK2H_bit.no5\r
+#define TKB2MK1 MK2H_bit.no6\r
+#define FLMK MK2H_bit.no7\r
+#define TKB2MK2 MK3_bit.no0\r
+#define FIFOMK0 MK3_bit.no1\r
+#define FIFOMK1 MK3_bit.no2\r
+#define TMPR004 PR02_bit.no1\r
+#define TMPR005 PR02_bit.no2\r
+#define PPR06 PR02_bit.no3\r
+#define PPR07 PR02_bit.no4\r
+#define LCDPR00 PR02_bit.no5\r
+#define CMPPR00 PR02_bit.no6\r
+#define CMPPR01 PR02_bit.no7\r
+#define TMPR006 PR02H_bit.no0\r
+#define TMPR007 PR02H_bit.no1\r
+#define USBPR0 PR02H_bit.no2\r
+#define RSUPR0 PR02H_bit.no3\r
+#define SREPR03 PR02H_bit.no4\r
+#define TKB2PR00 PR02H_bit.no5\r
+#define TKB2PR01 PR02H_bit.no6\r
+#define FLPR0 PR02H_bit.no7\r
+#define TKB2PR02 PR03_bit.no0\r
+#define FIFOPR00 PR03_bit.no1\r
+#define FIFOPR01 PR03_bit.no2\r
+#define TMPR104 PR12_bit.no1\r
+#define TMPR105 PR12_bit.no2\r
+#define PPR16 PR12_bit.no3\r
+#define PPR17 PR12_bit.no4\r
+#define LCDPR10 PR12_bit.no5\r
+#define CMPPR10 PR12_bit.no6\r
+#define CMPPR11 PR12_bit.no7\r
+#define TMPR106 PR12H_bit.no0\r
+#define TMPR107 PR12H_bit.no1\r
+#define USBPR1 PR12H_bit.no2\r
+#define RSUPR1 PR12H_bit.no3\r
+#define SREPR13 PR12H_bit.no4\r
+#define TKB2PR10 PR12H_bit.no5\r
+#define TKB2PR11 PR12H_bit.no6\r
+#define FLPR1 PR12H_bit.no7\r
+#define TKB2PR12 PR13_bit.no0\r
+#define FIFOPR10 PR13_bit.no1\r
+#define FIFOPR11 PR13_bit.no2\r
+#define WDTIIF IF0_bit.no0\r
+#define LVIIF IF0_bit.no1\r
+#define PIF0 IF0_bit.no2\r
+#define PIF1 IF0_bit.no3\r
+#define PIF2 IF0_bit.no4\r
+#define PIF3 IF0_bit.no5\r
+#define PIF4 IF0_bit.no6\r
+#define PIF5 IF0_bit.no7\r
+#define CSIIF20 IF0H_bit.no0\r
+#define IICIF20 IF0H_bit.no0\r
+#define STIF2 IF0H_bit.no0\r
+#define SRIF2 IF0H_bit.no1\r
+#define SREIF2 IF0H_bit.no2\r
+#define CSIIF00 IF0H_bit.no5\r
+#define IICIF00 IF0H_bit.no5\r
+#define STIF0 IF0H_bit.no5\r
+#define TMIF00 IF0H_bit.no6\r
+#define SRIF0 IF0H_bit.no7\r
+#define SREIF0 IF1_bit.no0\r
+#define TMIF01H IF1_bit.no0\r
+#define CSIIF10 IF1_bit.no1\r
+#define IICIF10 IF1_bit.no1\r
+#define STIF1 IF1_bit.no1\r
+#define SRIF1 IF1_bit.no2\r
+#define SREIF1 IF1_bit.no3\r
+#define TMIF03H IF1_bit.no3\r
+#define IICAIF0 IF1_bit.no4\r
+#define RTITIF IF1_bit.no5\r
+#define TMIF01 IF1_bit.no7\r
+#define TMIF02 IF1H_bit.no0\r
+#define TMIF03 IF1H_bit.no1\r
+#define ADIF IF1H_bit.no2\r
+#define RTCIF IF1H_bit.no3\r
+#define TMKAIF IF1H_bit.no4\r
+#define KRIF IF1H_bit.no5\r
+#define CSIIF30 IF1H_bit.no6\r
+#define IICIF30 IF1H_bit.no6\r
+#define STIF3 IF1H_bit.no6\r
+#define SRIF3 IF1H_bit.no7\r
+#define WDTIMK MK0_bit.no0\r
+#define LVIMK MK0_bit.no1\r
+#define PMK0 MK0_bit.no2\r
+#define PMK1 MK0_bit.no3\r
+#define PMK2 MK0_bit.no4\r
+#define PMK3 MK0_bit.no5\r
+#define PMK4 MK0_bit.no6\r
+#define PMK5 MK0_bit.no7\r
+#define CSIMK20 MK0H_bit.no0\r
+#define IICMK20 MK0H_bit.no0\r
+#define STMK2 MK0H_bit.no0\r
+#define SRMK2 MK0H_bit.no1\r
+#define SREMK2 MK0H_bit.no2\r
+#define CSIMK00 MK0H_bit.no5\r
+#define IICMK00 MK0H_bit.no5\r
+#define STMK0 MK0H_bit.no5\r
+#define TMMK00 MK0H_bit.no6\r
+#define SRMK0 MK0H_bit.no7\r
+#define SREMK0 MK1_bit.no0\r
+#define TMMK01H MK1_bit.no0\r
+#define CSIMK10 MK1_bit.no1\r
+#define IICMK10 MK1_bit.no1\r
+#define STMK1 MK1_bit.no1\r
+#define SRMK1 MK1_bit.no2\r
+#define SREMK1 MK1_bit.no3\r
+#define TMMK03H MK1_bit.no3\r
+#define IICAMK0 MK1_bit.no4\r
+#define RTITMK MK1_bit.no5\r
+#define TMMK01 MK1_bit.no7\r
+#define TMMK02 MK1H_bit.no0\r
+#define TMMK03 MK1H_bit.no1\r
+#define ADMK MK1H_bit.no2\r
+#define RTCMK MK1H_bit.no3\r
+#define TMKAMK MK1H_bit.no4\r
+#define KRMK MK1H_bit.no5\r
+#define CSIMK30 MK1H_bit.no6\r
+#define IICMK30 MK1H_bit.no6\r
+#define STMK3 MK1H_bit.no6\r
+#define SRMK3 MK1H_bit.no7\r
+#define WDTIPR0 PR00_bit.no0\r
+#define LVIPR0 PR00_bit.no1\r
+#define PPR00 PR00_bit.no2\r
+#define PPR01 PR00_bit.no3\r
+#define PPR02 PR00_bit.no4\r
+#define PPR03 PR00_bit.no5\r
+#define PPR04 PR00_bit.no6\r
+#define PPR05 PR00_bit.no7\r
+#define CSIPR020 PR00H_bit.no0\r
+#define IICPR020 PR00H_bit.no0\r
+#define STPR02 PR00H_bit.no0\r
+#define SRPR02 PR00H_bit.no1\r
+#define SREPR02 PR00H_bit.no2\r
+#define CSIPR000 PR00H_bit.no5\r
+#define IICPR000 PR00H_bit.no5\r
+#define STPR00 PR00H_bit.no5\r
+#define TMPR000 PR00H_bit.no6\r
+#define SRPR00 PR00H_bit.no7\r
+#define SREPR00 PR01_bit.no0\r
+#define TMPR001H PR01_bit.no0\r
+#define CSIPR010 PR01_bit.no1\r
+#define IICPR010 PR01_bit.no1\r
+#define STPR01 PR01_bit.no1\r
+#define SRPR01 PR01_bit.no2\r
+#define SREPR01 PR01_bit.no3\r
+#define TMPR003H PR01_bit.no3\r
+#define IICAPR00 PR01_bit.no4\r
+#define RTITPR0 PR01_bit.no5\r
+#define TMPR001 PR01_bit.no7\r
+#define TMPR002 PR01H_bit.no0\r
+#define TMPR003 PR01H_bit.no1\r
+#define ADPR0 PR01H_bit.no2\r
+#define RTCPR0 PR01H_bit.no3\r
+#define TMKAPR0 PR01H_bit.no4\r
+#define KRPR0 PR01H_bit.no5\r
+#define CSIPR030 PR01H_bit.no6\r
+#define IICPR030 PR01H_bit.no6\r
+#define STPR03 PR01H_bit.no6\r
+#define SRPR03 PR01H_bit.no7\r
+#define WDTIPR1 PR10_bit.no0\r
+#define LVIPR1 PR10_bit.no1\r
+#define PPR10 PR10_bit.no2\r
+#define PPR11 PR10_bit.no3\r
+#define PPR12 PR10_bit.no4\r
+#define PPR13 PR10_bit.no5\r
+#define PPR14 PR10_bit.no6\r
+#define PPR15 PR10_bit.no7\r
+#define CSIPR120 PR10H_bit.no0\r
+#define IICPR120 PR10H_bit.no0\r
+#define STPR12 PR10H_bit.no0\r
+#define SRPR12 PR10H_bit.no1\r
+#define SREPR12 PR10H_bit.no2\r
+#define CSIPR100 PR10H_bit.no5\r
+#define IICPR100 PR10H_bit.no5\r
+#define STPR10 PR10H_bit.no5\r
+#define TMPR100 PR10H_bit.no6\r
+#define SRPR10 PR10H_bit.no7\r
+#define SREPR10 PR11_bit.no0\r
+#define TMPR101H PR11_bit.no0\r
+#define CSIPR110 PR11_bit.no1\r
+#define IICPR110 PR11_bit.no1\r
+#define STPR11 PR11_bit.no1\r
+#define SRPR11 PR11_bit.no2\r
+#define SREPR11 PR11_bit.no3\r
+#define TMPR103H PR11_bit.no3\r
+#define IICAPR10 PR11_bit.no4\r
+#define RTITPR1 PR11_bit.no5\r
+#define TMPR101 PR11_bit.no7\r
+#define TMPR102 PR11H_bit.no0\r
+#define TMPR103 PR11H_bit.no1\r
+#define ADPR1 PR11H_bit.no2\r
+#define RTCPR1 PR11H_bit.no3\r
+#define TMKAPR1 PR11H_bit.no4\r
+#define KRPR1 PR11H_bit.no5\r
+#define CSIPR130 PR11H_bit.no6\r
+#define IICPR130 PR11H_bit.no6\r
+#define STPR13 PR11H_bit.no6\r
+#define SRPR13 PR11H_bit.no7\r
+#define MAA PMC_bit.no0\r
+\r
+/*\r
+ Interrupt vector addresses\r
+ */\r
+#define RST_vect (0x0)\r
+#define INTDBG_vect (0x2)\r
+#define INTWDTI_vect (0x4)\r
+#define INTLVI_vect (0x6)\r
+#define INTP0_vect (0x8)\r
+#define INTP1_vect (0xA)\r
+#define INTP2_vect (0xC)\r
+#define INTP3_vect (0xE)\r
+#define INTP4_vect (0x10)\r
+#define INTP5_vect (0x12)\r
+#define INTCSI20_vect (0x14)\r
+#define INTIIC20_vect (0x14)\r
+#define INTST2_vect (0x14)\r
+#define INTSR2_vect (0x16)\r
+#define INTSRE2_vect (0x18)\r
+#define INTCSI00_vect (0x1E)\r
+#define INTIIC00_vect (0x1E)\r
+#define INTST0_vect (0x1E)\r
+#define INTTM00_vect (0x20)\r
+#define INTSR0_vect (0x22)\r
+#define INTSRE0_vect (0x24)\r
+#define INTTM01H_vect (0x24)\r
+#define INTCSI10_vect (0x26)\r
+#define INTIIC10_vect (0x26)\r
+#define INTST1_vect (0x26)\r
+#define INTSR1_vect (0x28)\r
+#define INTSRE1_vect (0x2A)\r
+#define INTTM03H_vect (0x2A)\r
+#define INTIICA0_vect (0x2C)\r
+#define INTRTIT_vect (0x2E)\r
+#define INTTM01_vect (0x32)\r
+#define INTTM02_vect (0x34)\r
+#define INTTM03_vect (0x36)\r
+#define INTAD_vect (0x38)\r
+#define INTRTC_vect (0x3A)\r
+#define INTIT_vect (0x3C)\r
+#define INTKR_vect (0x3E)\r
+#define INTCSI30_vect (0x40)\r
+#define INTIIC30_vect (0x40)\r
+#define INTST3_vect (0x40)\r
+#define INTSR3_vect (0x42)\r
+#define INTTM04_vect (0x46)\r
+#define INTTM05_vect (0x48)\r
+#define INTP6_vect (0x4A)\r
+#define INTP7_vect (0x4C)\r
+#define INTLCD0_vect (0x4E)\r
+#define INTCMP0_vect (0x50)\r
+#define INTCMP1_vect (0x52)\r
+#define INTTM06_vect (0x54)\r
+#define INTTM07_vect (0x56)\r
+#define INTUSB_vect (0x58)\r
+#define INTRSUM_vect (0x5A)\r
+#define INTSRE3_vect (0x5C)\r
+#define INTTKB20_vect (0x5E)\r
+#define INTTKB21_vect (0x60)\r
+#define INTFL_vect (0x62)\r
+#define INTTKB22_vect (0x64)\r
+#define DTC0FIFO_vect (0x66)\r
+#define DTC1FIFO_vect (0x68)\r
+#define BRK_I_vect (0x7E)\r
+#endif\r
--- /dev/null
+/************************************************************************/\r
+/* Header file generated from device file: */\r
+/* DR5F110PJ.DVF */\r
+/* Copyright(C) 2013 Renesas */\r
+/* File Version E1.00h */\r
+/* Tool Version 2.5.211 */\r
+/* Date Generated 07/05/2013 */\r
+/************************************************************************/\r
+\r
+#ifndef __INTRINSIC_FUNCTIONS\r
+#define __INTRINSIC_FUNCTIONS\r
+\r
+#define DI() asm("di")\r
+#define EI() asm("ei")\r
+#define HALT() asm("halt")\r
+#define NOP() asm("nop")\r
+#define STOP() asm("stop")\r
+\r
+#endif\r
+\r
+#ifndef __IOREG_BIT_STRUCTURES\r
+#define __IOREG_BIT_STRUCTURES\r
+typedef struct {\r
+ unsigned char no0 :1;\r
+ unsigned char no1 :1;\r
+ unsigned char no2 :1;\r
+ unsigned char no3 :1;\r
+ unsigned char no4 :1;\r
+ unsigned char no5 :1;\r
+ unsigned char no6 :1;\r
+ unsigned char no7 :1;\r
+} __BITS8;\r
+\r
+typedef struct {\r
+ unsigned short no0 :1;\r
+ unsigned short no1 :1;\r
+ unsigned short no2 :1;\r
+ unsigned short no3 :1;\r
+ unsigned short no4 :1;\r
+ unsigned short no5 :1;\r
+ unsigned short no6 :1;\r
+ unsigned short no7 :1;\r
+ unsigned short no8 :1;\r
+ unsigned short no9 :1;\r
+ unsigned short no10 :1;\r
+ unsigned short no11 :1;\r
+ unsigned short no12 :1;\r
+ unsigned short no13 :1;\r
+ unsigned short no14 :1;\r
+ unsigned short no15 :1;\r
+} __BITS16;\r
+\r
+#endif\r
+\r
+#ifndef IODEFINE_EXT_H\r
+#define IODEFINE_EXT_H\r
+\r
+/*\r
+ IO Registers\r
+ */\r
+union un_adm2 {\r
+ unsigned char adm2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu0 {\r
+ unsigned char pu0;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu1 {\r
+ unsigned char pu1;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu2 {\r
+ unsigned char pu2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu3 {\r
+ unsigned char pu3;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu4 {\r
+ unsigned char pu4;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu5 {\r
+ unsigned char pu5;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu7 {\r
+ unsigned char pu7;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu12 {\r
+ unsigned char pu12;\r
+ __BITS8 BIT;\r
+};\r
+union un_pu14 {\r
+ unsigned char pu14;\r
+ __BITS8 BIT;\r
+};\r
+union un_pim0 {\r
+ unsigned char pim0;\r
+ __BITS8 BIT;\r
+};\r
+union un_pim1 {\r
+ unsigned char pim1;\r
+ __BITS8 BIT;\r
+};\r
+union un_pim2 {\r
+ unsigned char pim2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pim3 {\r
+ unsigned char pim3;\r
+ __BITS8 BIT;\r
+};\r
+union un_pim4 {\r
+ unsigned char pim4;\r
+ __BITS8 BIT;\r
+};\r
+union un_pom0 {\r
+ unsigned char pom0;\r
+ __BITS8 BIT;\r
+};\r
+union un_pom1 {\r
+ unsigned char pom1;\r
+ __BITS8 BIT;\r
+};\r
+union un_pom2 {\r
+ unsigned char pom2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pom3 {\r
+ unsigned char pom3;\r
+ __BITS8 BIT;\r
+};\r
+union un_pom4 {\r
+ unsigned char pom4;\r
+ __BITS8 BIT;\r
+};\r
+union un_pmc2 {\r
+ unsigned char pmc2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pmc4 {\r
+ unsigned char pmc4;\r
+ __BITS8 BIT;\r
+};\r
+union un_pmc14 {\r
+ unsigned char pmc14;\r
+ __BITS8 BIT;\r
+};\r
+union un_nfen0 {\r
+ unsigned char nfen0;\r
+ __BITS8 BIT;\r
+};\r
+union un_nfen1 {\r
+ unsigned char nfen1;\r
+ __BITS8 BIT;\r
+};\r
+union un_isc {\r
+ unsigned char isc;\r
+ __BITS8 BIT;\r
+};\r
+union un_tos {\r
+ unsigned char tos;\r
+ __BITS8 BIT;\r
+};\r
+union un_per1 {\r
+ unsigned char per1;\r
+ __BITS8 BIT;\r
+};\r
+union un_pms {\r
+ unsigned char pms;\r
+ __BITS8 BIT;\r
+};\r
+union un_dflctl {\r
+ unsigned char dflctl;\r
+ __BITS8 BIT;\r
+};\r
+union un_per0 {\r
+ unsigned char per0;\r
+ __BITS8 BIT;\r
+};\r
+union un_rpectl {\r
+ unsigned char rpectl;\r
+ __BITS8 BIT;\r
+};\r
+union un_per2 {\r
+ unsigned char per2;\r
+ __BITS8 BIT;\r
+};\r
+union un_se0l {\r
+ unsigned char se0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_ss0l {\r
+ unsigned char ss0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_st0l {\r
+ unsigned char st0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_soe0l {\r
+ unsigned char soe0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_se1l {\r
+ unsigned char se1l;\r
+ __BITS8 BIT;\r
+};\r
+union un_ss1l {\r
+ unsigned char ss1l;\r
+ __BITS8 BIT;\r
+};\r
+union un_st1l {\r
+ unsigned char st1l;\r
+ __BITS8 BIT;\r
+};\r
+union un_soe1l {\r
+ unsigned char soe1l;\r
+ __BITS8 BIT;\r
+};\r
+union un_te0l {\r
+ unsigned char te0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_ts0l {\r
+ unsigned char ts0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_tt0l {\r
+ unsigned char tt0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_toe0l {\r
+ unsigned char toe0l;\r
+ __BITS8 BIT;\r
+};\r
+union un_iicctl00 {\r
+ unsigned char iicctl00;\r
+ __BITS8 BIT;\r
+};\r
+union un_iicctl01 {\r
+ unsigned char iicctl01;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbtrg1 {\r
+ unsigned char tkbtrg1;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbflg1 {\r
+ unsigned char tkbflg1;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbioc10 {\r
+ unsigned char tkbioc10;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbclr1 {\r
+ unsigned char tkbclr1;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbioc11 {\r
+ unsigned char tkbioc11;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbctl11 {\r
+ unsigned char tkbctl11;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpahfs1 {\r
+ unsigned char tkbpahfs1;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpahft1 {\r
+ unsigned char tkbpahft1;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpaflg1 {\r
+ unsigned char tkbpaflg1;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpactl12 {\r
+ unsigned char tkbpactl12;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbtrg2 {\r
+ unsigned char tkbtrg2;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbflg2 {\r
+ unsigned char tkbflg2;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbioc20 {\r
+ unsigned char tkbioc20;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbclr2 {\r
+ unsigned char tkbclr2;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbioc21 {\r
+ unsigned char tkbioc21;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbctl21 {\r
+ unsigned char tkbctl21;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpahfs2 {\r
+ unsigned char tkbpahfs2;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpahft2 {\r
+ unsigned char tkbpahft2;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpaflg2 {\r
+ unsigned char tkbpaflg2;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpactl22 {\r
+ unsigned char tkbpactl22;\r
+ __BITS8 BIT;\r
+};\r
+union un_dscctl {\r
+ unsigned char dscctl;\r
+ __BITS8 BIT;\r
+};\r
+union un_mckc {\r
+ unsigned char mckc;\r
+ __BITS8 BIT;\r
+};\r
+union un_dtcen0 {\r
+ unsigned char dtcen0;\r
+ __BITS8 BIT;\r
+};\r
+union un_dtcen1 {\r
+ unsigned char dtcen1;\r
+ __BITS8 BIT;\r
+};\r
+union un_dtcen2 {\r
+ unsigned char dtcen2;\r
+ __BITS8 BIT;\r
+};\r
+union un_dtcen3 {\r
+ unsigned char dtcen3;\r
+ __BITS8 BIT;\r
+};\r
+union un_dtcen4 {\r
+ unsigned char dtcen4;\r
+ __BITS8 BIT;\r
+};\r
+union un_crc0ctl {\r
+ unsigned char crc0ctl;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg0 {\r
+ unsigned char pfseg0;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg1 {\r
+ unsigned char pfseg1;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg2 {\r
+ unsigned char pfseg2;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg3 {\r
+ unsigned char pfseg3;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg4 {\r
+ unsigned char pfseg4;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg5 {\r
+ unsigned char pfseg5;\r
+ __BITS8 BIT;\r
+};\r
+union un_pfseg6 {\r
+ unsigned char pfseg6;\r
+ __BITS8 BIT;\r
+};\r
+union un_isclcd {\r
+ unsigned char isclcd;\r
+ __BITS8 BIT;\r
+};\r
+union un_compmdr {\r
+ unsigned char compmdr;\r
+ __BITS8 BIT;\r
+};\r
+union un_compfir {\r
+ unsigned char compfir;\r
+ __BITS8 BIT;\r
+};\r
+union un_compocr {\r
+ unsigned char compocr;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbtrg0 {\r
+ unsigned char tkbtrg0;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbflg0 {\r
+ unsigned char tkbflg0;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbioc00 {\r
+ unsigned char tkbioc00;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbclr0 {\r
+ unsigned char tkbclr0;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbioc01 {\r
+ unsigned char tkbioc01;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbctl01 {\r
+ unsigned char tkbctl01;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpahfs0 {\r
+ unsigned char tkbpahfs0;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpahft0 {\r
+ unsigned char tkbpahft0;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpaflg0 {\r
+ unsigned char tkbpaflg0;\r
+ __BITS8 BIT;\r
+};\r
+union un_tkbpactl02 {\r
+ unsigned char tkbpactl02;\r
+ __BITS8 BIT;\r
+};\r
+\r
+#define ADM2 (*(volatile union un_adm2 *)0xF0010).adm2\r
+#define ADM2_bit (*(volatile union un_adm2 *)0xF0010).BIT\r
+#define ADUL (*(volatile unsigned char *)0xF0011)\r
+#define ADLL (*(volatile unsigned char *)0xF0012)\r
+#define ADTES (*(volatile unsigned char *)0xF0013)\r
+#define PU0 (*(volatile union un_pu0 *)0xF0030).pu0\r
+#define PU0_bit (*(volatile union un_pu0 *)0xF0030).BIT\r
+#define PU1 (*(volatile union un_pu1 *)0xF0031).pu1\r
+#define PU1_bit (*(volatile union un_pu1 *)0xF0031).BIT\r
+#define PU2 (*(volatile union un_pu2 *)0xF0032).pu2\r
+#define PU2_bit (*(volatile union un_pu2 *)0xF0032).BIT\r
+#define PU3 (*(volatile union un_pu3 *)0xF0033).pu3\r
+#define PU3_bit (*(volatile union un_pu3 *)0xF0033).BIT\r
+#define PU4 (*(volatile union un_pu4 *)0xF0034).pu4\r
+#define PU4_bit (*(volatile union un_pu4 *)0xF0034).BIT\r
+#define PU5 (*(volatile union un_pu5 *)0xF0035).pu5\r
+#define PU5_bit (*(volatile union un_pu5 *)0xF0035).BIT\r
+#define PU7 (*(volatile union un_pu7 *)0xF0037).pu7\r
+#define PU7_bit (*(volatile union un_pu7 *)0xF0037).BIT\r
+#define PU12 (*(volatile union un_pu12 *)0xF003C).pu12\r
+#define PU12_bit (*(volatile union un_pu12 *)0xF003C).BIT\r
+#define PU14 (*(volatile union un_pu14 *)0xF003E).pu14\r
+#define PU14_bit (*(volatile union un_pu14 *)0xF003E).BIT\r
+#define PIM0 (*(volatile union un_pim0 *)0xF0040).pim0\r
+#define PIM0_bit (*(volatile union un_pim0 *)0xF0040).BIT\r
+#define PIM1 (*(volatile union un_pim1 *)0xF0041).pim1\r
+#define PIM1_bit (*(volatile union un_pim1 *)0xF0041).BIT\r
+#define PIM2 (*(volatile union un_pim2 *)0xF0042).pim2\r
+#define PIM2_bit (*(volatile union un_pim2 *)0xF0042).BIT\r
+#define PIM3 (*(volatile union un_pim3 *)0xF0043).pim3\r
+#define PIM3_bit (*(volatile union un_pim3 *)0xF0043).BIT\r
+#define PIM4 (*(volatile union un_pim4 *)0xF0044).pim4\r
+#define PIM4_bit (*(volatile union un_pim4 *)0xF0044).BIT\r
+#define POM0 (*(volatile union un_pom0 *)0xF0050).pom0\r
+#define POM0_bit (*(volatile union un_pom0 *)0xF0050).BIT\r
+#define POM1 (*(volatile union un_pom1 *)0xF0051).pom1\r
+#define POM1_bit (*(volatile union un_pom1 *)0xF0051).BIT\r
+#define POM2 (*(volatile union un_pom2 *)0xF0052).pom2\r
+#define POM2_bit (*(volatile union un_pom2 *)0xF0052).BIT\r
+#define POM3 (*(volatile union un_pom3 *)0xF0053).pom3\r
+#define POM3_bit (*(volatile union un_pom3 *)0xF0053).BIT\r
+#define POM4 (*(volatile union un_pom4 *)0xF0054).pom4\r
+#define POM4_bit (*(volatile union un_pom4 *)0xF0054).BIT\r
+#define PMC2 (*(volatile union un_pmc2 *)0xF0062).pmc2\r
+#define PMC2_bit (*(volatile union un_pmc2 *)0xF0062).BIT\r
+#define PMC4 (*(volatile union un_pmc4 *)0xF0064).pmc4\r
+#define PMC4_bit (*(volatile union un_pmc4 *)0xF0064).BIT\r
+#define PMC14 (*(volatile union un_pmc14 *)0xF006E).pmc14\r
+#define PMC14_bit (*(volatile union un_pmc14 *)0xF006E).BIT\r
+#define NFEN0 (*(volatile union un_nfen0 *)0xF0070).nfen0\r
+#define NFEN0_bit (*(volatile union un_nfen0 *)0xF0070).BIT\r
+#define NFEN1 (*(volatile union un_nfen1 *)0xF0071).nfen1\r
+#define NFEN1_bit (*(volatile union un_nfen1 *)0xF0071).BIT\r
+#define ISC (*(volatile union un_isc *)0xF0073).isc\r
+#define ISC_bit (*(volatile union un_isc *)0xF0073).BIT\r
+#define TIS0 (*(volatile unsigned char *)0xF0074)\r
+#define ADPC (*(volatile unsigned char *)0xF0076)\r
+#define PIOR (*(volatile unsigned char *)0xF0077)\r
+#define IAWCTL (*(volatile unsigned char *)0xF0078)\r
+#define TOS (*(volatile union un_tos *)0xF0079).tos\r
+#define TOS_bit (*(volatile union un_tos *)0xF0079).BIT\r
+#define PER1 (*(volatile union un_per1 *)0xF007A).per1\r
+#define PER1_bit (*(volatile union un_per1 *)0xF007A).BIT\r
+#define PMS (*(volatile union un_pms *)0xF007B).pms\r
+#define PMS_bit (*(volatile union un_pms *)0xF007B).BIT\r
+#define GAIDIS (*(volatile unsigned char *)0xF007C)\r
+#define DFLCTL (*(volatile union un_dflctl *)0xF0090).dflctl\r
+#define DFLCTL_bit (*(volatile union un_dflctl *)0xF0090).BIT\r
+#define HOCODIV (*(volatile unsigned char *)0xF00A8)\r
+#define PER0 (*(volatile union un_per0 *)0xF00F0).per0\r
+#define PER0_bit (*(volatile union un_per0 *)0xF00F0).BIT\r
+#define OSMC (*(volatile unsigned char *)0xF00F3)\r
+#define RPECTL (*(volatile union un_rpectl *)0xF00F5).rpectl\r
+#define RPECTL_bit (*(volatile union un_rpectl *)0xF00F5).BIT\r
+#define PORSR (*(volatile unsigned char *)0xF00F9)\r
+#define PER2 (*(volatile union un_per2 *)0xF00FD).per2\r
+#define PER2_bit (*(volatile union un_per2 *)0xF00FD).BIT\r
+#define BCDADJ (*(volatile unsigned char *)0xF00FE)\r
+#define SSR00 (*(volatile unsigned short *)0xF0100)\r
+#define SSR00L (*(volatile unsigned char *)0xF0100)\r
+#define SSR01 (*(volatile unsigned short *)0xF0102)\r
+#define SSR01L (*(volatile unsigned char *)0xF0102)\r
+#define SSR02 (*(volatile unsigned short *)0xF0104)\r
+#define SSR02L (*(volatile unsigned char *)0xF0104)\r
+#define SSR03 (*(volatile unsigned short *)0xF0106)\r
+#define SSR03L (*(volatile unsigned char *)0xF0106)\r
+#define SIR00 (*(volatile unsigned short *)0xF0108)\r
+#define SIR00L (*(volatile unsigned char *)0xF0108)\r
+#define SIR01 (*(volatile unsigned short *)0xF010A)\r
+#define SIR01L (*(volatile unsigned char *)0xF010A)\r
+#define SIR02 (*(volatile unsigned short *)0xF010C)\r
+#define SIR02L (*(volatile unsigned char *)0xF010C)\r
+#define SIR03 (*(volatile unsigned short *)0xF010E)\r
+#define SIR03L (*(volatile unsigned char *)0xF010E)\r
+#define SMR00 (*(volatile unsigned short *)0xF0110)\r
+#define SMR01 (*(volatile unsigned short *)0xF0112)\r
+#define SMR02 (*(volatile unsigned short *)0xF0114)\r
+#define SMR03 (*(volatile unsigned short *)0xF0116)\r
+#define SCR00 (*(volatile unsigned short *)0xF0118)\r
+#define SCR01 (*(volatile unsigned short *)0xF011A)\r
+#define SCR02 (*(volatile unsigned short *)0xF011C)\r
+#define SCR03 (*(volatile unsigned short *)0xF011E)\r
+#define SE0 (*(volatile unsigned short *)0xF0120)\r
+#define SE0L (*(volatile union un_se0l *)0xF0120).se0l\r
+#define SE0L_bit (*(volatile union un_se0l *)0xF0120).BIT\r
+#define SS0 (*(volatile unsigned short *)0xF0122)\r
+#define SS0L (*(volatile union un_ss0l *)0xF0122).ss0l\r
+#define SS0L_bit (*(volatile union un_ss0l *)0xF0122).BIT\r
+#define ST0 (*(volatile unsigned short *)0xF0124)\r
+#define ST0L (*(volatile union un_st0l *)0xF0124).st0l\r
+#define ST0L_bit (*(volatile union un_st0l *)0xF0124).BIT\r
+#define SPS0 (*(volatile unsigned short *)0xF0126)\r
+#define SPS0L (*(volatile unsigned char *)0xF0126)\r
+#define SO0 (*(volatile unsigned short *)0xF0128)\r
+#define SOE0 (*(volatile unsigned short *)0xF012A)\r
+#define SOE0L (*(volatile union un_soe0l *)0xF012A).soe0l\r
+#define SOE0L_bit (*(volatile union un_soe0l *)0xF012A).BIT\r
+#define SOL0 (*(volatile unsigned short *)0xF0134)\r
+#define SOL0L (*(volatile unsigned char *)0xF0134)\r
+#define SSC0 (*(volatile unsigned short *)0xF0138)\r
+#define SSC0L (*(volatile unsigned char *)0xF0138)\r
+#define SSR10 (*(volatile unsigned short *)0xF0140)\r
+#define SSR10L (*(volatile unsigned char *)0xF0140)\r
+#define SSR11 (*(volatile unsigned short *)0xF0142)\r
+#define SSR11L (*(volatile unsigned char *)0xF0142)\r
+#define SSR12 (*(volatile unsigned short *)0xF0144)\r
+#define SSR12L (*(volatile unsigned char *)0xF0144)\r
+#define SSR13 (*(volatile unsigned short *)0xF0146)\r
+#define SSR13L (*(volatile unsigned char *)0xF0146)\r
+#define SIR10 (*(volatile unsigned short *)0xF0148)\r
+#define SIR10L (*(volatile unsigned char *)0xF0148)\r
+#define SIR11 (*(volatile unsigned short *)0xF014A)\r
+#define SIR11L (*(volatile unsigned char *)0xF014A)\r
+#define SIR12 (*(volatile unsigned short *)0xF014C)\r
+#define SIR12L (*(volatile unsigned char *)0xF014C)\r
+#define SIR13 (*(volatile unsigned short *)0xF014E)\r
+#define SIR13L (*(volatile unsigned char *)0xF014E)\r
+#define SMR10 (*(volatile unsigned short *)0xF0150)\r
+#define SMR11 (*(volatile unsigned short *)0xF0152)\r
+#define SMR12 (*(volatile unsigned short *)0xF0154)\r
+#define SMR13 (*(volatile unsigned short *)0xF0156)\r
+#define SCR10 (*(volatile unsigned short *)0xF0158)\r
+#define SCR11 (*(volatile unsigned short *)0xF015A)\r
+#define SCR12 (*(volatile unsigned short *)0xF015C)\r
+#define SCR13 (*(volatile unsigned short *)0xF015E)\r
+#define SE1 (*(volatile unsigned short *)0xF0160)\r
+#define SE1L (*(volatile union un_se1l *)0xF0160).se1l\r
+#define SE1L_bit (*(volatile union un_se1l *)0xF0160).BIT\r
+#define SS1 (*(volatile unsigned short *)0xF0162)\r
+#define SS1L (*(volatile union un_ss1l *)0xF0162).ss1l\r
+#define SS1L_bit (*(volatile union un_ss1l *)0xF0162).BIT\r
+#define ST1 (*(volatile unsigned short *)0xF0164)\r
+#define ST1L (*(volatile union un_st1l *)0xF0164).st1l\r
+#define ST1L_bit (*(volatile union un_st1l *)0xF0164).BIT\r
+#define SPS1 (*(volatile unsigned short *)0xF0166)\r
+#define SPS1L (*(volatile unsigned char *)0xF0166)\r
+#define SO1 (*(volatile unsigned short *)0xF0168)\r
+#define SOE1 (*(volatile unsigned short *)0xF016A)\r
+#define SOE1L (*(volatile union un_soe1l *)0xF016A).soe1l\r
+#define SOE1L_bit (*(volatile union un_soe1l *)0xF016A).BIT\r
+#define SOL1 (*(volatile unsigned short *)0xF0174)\r
+#define SOL1L (*(volatile unsigned char *)0xF0174)\r
+#define SSC1 (*(volatile unsigned short *)0xF0178)\r
+#define SSC1L (*(volatile unsigned char *)0xF0178)\r
+#define TCR00 (*(volatile unsigned short *)0xF0180)\r
+#define TCR01 (*(volatile unsigned short *)0xF0182)\r
+#define TCR02 (*(volatile unsigned short *)0xF0184)\r
+#define TCR03 (*(volatile unsigned short *)0xF0186)\r
+#define TCR04 (*(volatile unsigned short *)0xF0188)\r
+#define TCR05 (*(volatile unsigned short *)0xF018A)\r
+#define TCR06 (*(volatile unsigned short *)0xF018C)\r
+#define TCR07 (*(volatile unsigned short *)0xF018E)\r
+#define TMR00 (*(volatile unsigned short *)0xF0190)\r
+#define TMR01 (*(volatile unsigned short *)0xF0192)\r
+#define TMR02 (*(volatile unsigned short *)0xF0194)\r
+#define TMR03 (*(volatile unsigned short *)0xF0196)\r
+#define TMR04 (*(volatile unsigned short *)0xF0198)\r
+#define TMR05 (*(volatile unsigned short *)0xF019A)\r
+#define TMR06 (*(volatile unsigned short *)0xF019C)\r
+#define TMR07 (*(volatile unsigned short *)0xF019E)\r
+#define TSR00 (*(volatile unsigned short *)0xF01A0)\r
+#define TSR00L (*(volatile unsigned char *)0xF01A0)\r
+#define TSR01 (*(volatile unsigned short *)0xF01A2)\r
+#define TSR01L (*(volatile unsigned char *)0xF01A2)\r
+#define TSR02 (*(volatile unsigned short *)0xF01A4)\r
+#define TSR02L (*(volatile unsigned char *)0xF01A4)\r
+#define TSR03 (*(volatile unsigned short *)0xF01A6)\r
+#define TSR03L (*(volatile unsigned char *)0xF01A6)\r
+#define TSR04 (*(volatile unsigned short *)0xF01A8)\r
+#define TSR04L (*(volatile unsigned char *)0xF01A8)\r
+#define TSR05 (*(volatile unsigned short *)0xF01AA)\r
+#define TSR05L (*(volatile unsigned char *)0xF01AA)\r
+#define TSR06 (*(volatile unsigned short *)0xF01AC)\r
+#define TSR06L (*(volatile unsigned char *)0xF01AC)\r
+#define TSR07 (*(volatile unsigned short *)0xF01AE)\r
+#define TSR07L (*(volatile unsigned char *)0xF01AE)\r
+#define TE0 (*(volatile unsigned short *)0xF01B0)\r
+#define TE0L (*(volatile union un_te0l *)0xF01B0).te0l\r
+#define TE0L_bit (*(volatile union un_te0l *)0xF01B0).BIT\r
+#define TS0 (*(volatile unsigned short *)0xF01B2)\r
+#define TS0L (*(volatile union un_ts0l *)0xF01B2).ts0l\r
+#define TS0L_bit (*(volatile union un_ts0l *)0xF01B2).BIT\r
+#define TT0 (*(volatile unsigned short *)0xF01B4)\r
+#define TT0L (*(volatile union un_tt0l *)0xF01B4).tt0l\r
+#define TT0L_bit (*(volatile union un_tt0l *)0xF01B4).BIT\r
+#define TPS0 (*(volatile unsigned short *)0xF01B6)\r
+#define TO0 (*(volatile unsigned short *)0xF01B8)\r
+#define TO0L (*(volatile unsigned char *)0xF01B8)\r
+#define TOE0 (*(volatile unsigned short *)0xF01BA)\r
+#define TOE0L (*(volatile union un_toe0l *)0xF01BA).toe0l\r
+#define TOE0L_bit (*(volatile union un_toe0l *)0xF01BA).BIT\r
+#define TOL0 (*(volatile unsigned short *)0xF01BC)\r
+#define TOL0L (*(volatile unsigned char *)0xF01BC)\r
+#define TOM0 (*(volatile unsigned short *)0xF01BE)\r
+#define TOM0L (*(volatile unsigned char *)0xF01BE)\r
+#define ELSELR00 (*(volatile unsigned char *)0xF01C0)\r
+#define ELSELR01 (*(volatile unsigned char *)0xF01C1)\r
+#define ELSELR02 (*(volatile unsigned char *)0xF01C2)\r
+#define ELSELR03 (*(volatile unsigned char *)0xF01C3)\r
+#define ELSELR04 (*(volatile unsigned char *)0xF01C4)\r
+#define ELSELR05 (*(volatile unsigned char *)0xF01C5)\r
+#define ELSELR06 (*(volatile unsigned char *)0xF01C6)\r
+#define ELSELR07 (*(volatile unsigned char *)0xF01C7)\r
+#define ELSELR08 (*(volatile unsigned char *)0xF01C8)\r
+#define ELSELR09 (*(volatile unsigned char *)0xF01C9)\r
+#define ELSELR10 (*(volatile unsigned char *)0xF01CA)\r
+#define ELSELR11 (*(volatile unsigned char *)0xF01CB)\r
+#define ELSELR12 (*(volatile unsigned char *)0xF01CC)\r
+#define ELSELR13 (*(volatile unsigned char *)0xF01CD)\r
+#define ELSELR14 (*(volatile unsigned char *)0xF01CE)\r
+#define ELSELR15 (*(volatile unsigned char *)0xF01CF)\r
+#define ELSELR16 (*(volatile unsigned char *)0xF01D0)\r
+#define ELSELR17 (*(volatile unsigned char *)0xF01D1)\r
+#define ELSELR18 (*(volatile unsigned char *)0xF01D2)\r
+#define ELSELR19 (*(volatile unsigned char *)0xF01D3)\r
+#define ELSELR20 (*(volatile unsigned char *)0xF01D4)\r
+#define ELSELR21 (*(volatile unsigned char *)0xF01D5)\r
+#define ELSELR22 (*(volatile unsigned char *)0xF01D6)\r
+#define ELSELR23 (*(volatile unsigned char *)0xF01D7)\r
+#define ELSELR24 (*(volatile unsigned char *)0xF01D8)\r
+#define ELSELR25 (*(volatile unsigned char *)0xF01D9)\r
+#define ELSELR26 (*(volatile unsigned char *)0xF01DA)\r
+#define ELSELR27 (*(volatile unsigned char *)0xF01DB)\r
+#define ELSELR28 (*(volatile unsigned char *)0xF01DC)\r
+#define ELSELR29 (*(volatile unsigned char *)0xF01DD)\r
+#define ELSELR30 (*(volatile unsigned char *)0xF01DE)\r
+#define IICCTL00 (*(volatile union un_iicctl00 *)0xF0230).iicctl00\r
+#define IICCTL00_bit (*(volatile union un_iicctl00 *)0xF0230).BIT\r
+#define IICCTL01 (*(volatile union un_iicctl01 *)0xF0231).iicctl01\r
+#define IICCTL01_bit (*(volatile union un_iicctl01 *)0xF0231).BIT\r
+#define IICWL0 (*(volatile unsigned char *)0xF0232)\r
+#define IICWH0 (*(volatile unsigned char *)0xF0233)\r
+#define SVA0 (*(volatile unsigned char *)0xF0234)\r
+#define TKBCR10 (*(volatile unsigned short *)0xF0240)\r
+#define TKBCR11 (*(volatile unsigned short *)0xF0242)\r
+#define TKBCR12 (*(volatile unsigned short *)0xF0244)\r
+#define TKBCR13 (*(volatile unsigned short *)0xF0246)\r
+#define TKBTGCR1 (*(volatile unsigned short *)0xF0248)\r
+#define TKBSIR10 (*(volatile unsigned short *)0xF024A)\r
+#define TKBSIR11 (*(volatile unsigned short *)0xF024C)\r
+#define TKBDNR10 (*(volatile unsigned char *)0xF024E)\r
+#define TKBSSR10 (*(volatile unsigned char *)0xF024F)\r
+#define TKBDNR11 (*(volatile unsigned char *)0xF0250)\r
+#define TKBSSR11 (*(volatile unsigned char *)0xF0251)\r
+#define TKBTRG1 (*(volatile union un_tkbtrg1 *)0xF0252).tkbtrg1\r
+#define TKBTRG1_bit (*(volatile union un_tkbtrg1 *)0xF0252).BIT\r
+#define TKBFLG1 (*(volatile union un_tkbflg1 *)0xF0253).tkbflg1\r
+#define TKBFLG1_bit (*(volatile union un_tkbflg1 *)0xF0253).BIT\r
+#define TKBCRLD10 (*(volatile unsigned short *)0xF0254)\r
+#define TKBCRLD11 (*(volatile unsigned short *)0xF0256)\r
+#define TKBCNT1 (*(volatile unsigned short *)0xF0260)\r
+#define TKBCTL10 (*(volatile unsigned short *)0xF0262)\r
+#define TKBMFR1 (*(volatile unsigned short *)0xF0264)\r
+#define TKBIOC10 (*(volatile union un_tkbioc10 *)0xF0266).tkbioc10\r
+#define TKBIOC10_bit (*(volatile union un_tkbioc10 *)0xF0266).BIT\r
+#define TKBCLR1 (*(volatile union un_tkbclr1 *)0xF0267).tkbclr1\r
+#define TKBCLR1_bit (*(volatile union un_tkbclr1 *)0xF0267).BIT\r
+#define TKBIOC11 (*(volatile union un_tkbioc11 *)0xF0268).tkbioc11\r
+#define TKBIOC11_bit (*(volatile union un_tkbioc11 *)0xF0268).BIT\r
+#define TKBCTL11 (*(volatile union un_tkbctl11 *)0xF0269).tkbctl11\r
+#define TKBCTL11_bit (*(volatile union un_tkbctl11 *)0xF0269).BIT\r
+#define TKBPSCS1 (*(volatile unsigned char *)0xF026A)\r
+#define TKBPACTL10 (*(volatile unsigned short *)0xF0270)\r
+#define TKBPACTL11 (*(volatile unsigned short *)0xF0272)\r
+#define TKBPAHFS1 (*(volatile union un_tkbpahfs1 *)0xF0274).tkbpahfs1\r
+#define TKBPAHFS1_bit (*(volatile union un_tkbpahfs1 *)0xF0274).BIT\r
+#define TKBPAHFT1 (*(volatile union un_tkbpahft1 *)0xF0275).tkbpahft1\r
+#define TKBPAHFT1_bit (*(volatile union un_tkbpahft1 *)0xF0275).BIT\r
+#define TKBPAFLG1 (*(volatile union un_tkbpaflg1 *)0xF0276).tkbpaflg1\r
+#define TKBPAFLG1_bit (*(volatile union un_tkbpaflg1 *)0xF0276).BIT\r
+#define TKBPACTL12 (*(volatile union un_tkbpactl12 *)0xF0277).tkbpactl12\r
+#define TKBPACTL12_bit (*(volatile union un_tkbpactl12 *)0xF0277).BIT\r
+#define TKBCR20 (*(volatile unsigned short *)0xF0280)\r
+#define TKBCR21 (*(volatile unsigned short *)0xF0282)\r
+#define TKBCR22 (*(volatile unsigned short *)0xF0284)\r
+#define TKBCR23 (*(volatile unsigned short *)0xF0286)\r
+#define TKBTGCR2 (*(volatile unsigned short *)0xF0288)\r
+#define TKBSIR20 (*(volatile unsigned short *)0xF028A)\r
+#define TKBSIR21 (*(volatile unsigned short *)0xF028C)\r
+#define TKBDNR20 (*(volatile unsigned char *)0xF028E)\r
+#define TKBSSR20 (*(volatile unsigned char *)0xF028F)\r
+#define TKBDNR21 (*(volatile unsigned char *)0xF0290)\r
+#define TKBSSR21 (*(volatile unsigned char *)0xF0291)\r
+#define TKBTRG2 (*(volatile union un_tkbtrg2 *)0xF0292).tkbtrg2\r
+#define TKBTRG2_bit (*(volatile union un_tkbtrg2 *)0xF0292).BIT\r
+#define TKBFLG2 (*(volatile union un_tkbflg2 *)0xF0293).tkbflg2\r
+#define TKBFLG2_bit (*(volatile union un_tkbflg2 *)0xF0293).BIT\r
+#define TKBCRLD20 (*(volatile unsigned short *)0xF0294)\r
+#define TKBCRLD21 (*(volatile unsigned short *)0xF0296)\r
+#define TKBCNT2 (*(volatile unsigned short *)0xF02A0)\r
+#define TKBCTL20 (*(volatile unsigned short *)0xF02A2)\r
+#define TKBMFR2 (*(volatile unsigned short *)0xF02A4)\r
+#define TKBIOC20 (*(volatile union un_tkbioc20 *)0xF02A6).tkbioc20\r
+#define TKBIOC20_bit (*(volatile union un_tkbioc20 *)0xF02A6).BIT\r
+#define TKBCLR2 (*(volatile union un_tkbclr2 *)0xF02A7).tkbclr2\r
+#define TKBCLR2_bit (*(volatile union un_tkbclr2 *)0xF02A7).BIT\r
+#define TKBIOC21 (*(volatile union un_tkbioc21 *)0xF02A8).tkbioc21\r
+#define TKBIOC21_bit (*(volatile union un_tkbioc21 *)0xF02A8).BIT\r
+#define TKBCTL21 (*(volatile union un_tkbctl21 *)0xF02A9).tkbctl21\r
+#define TKBCTL21_bit (*(volatile union un_tkbctl21 *)0xF02A9).BIT\r
+#define TKBPSCS2 (*(volatile unsigned char *)0xF02AA)\r
+#define TKBPACTL20 (*(volatile unsigned short *)0xF02B0)\r
+#define TKBPACTL21 (*(volatile unsigned short *)0xF02B2)\r
+#define TKBPAHFS2 (*(volatile union un_tkbpahfs2 *)0xF02B4).tkbpahfs2\r
+#define TKBPAHFS2_bit (*(volatile union un_tkbpahfs2 *)0xF02B4).BIT\r
+#define TKBPAHFT2 (*(volatile union un_tkbpahft2 *)0xF02B5).tkbpahft2\r
+#define TKBPAHFT2_bit (*(volatile union un_tkbpahft2 *)0xF02B5).BIT\r
+#define TKBPAFLG2 (*(volatile union un_tkbpaflg2 *)0xF02B6).tkbpaflg2\r
+#define TKBPAFLG2_bit (*(volatile union un_tkbpaflg2 *)0xF02B6).BIT\r
+#define TKBPACTL22 (*(volatile union un_tkbpactl22 *)0xF02B7).tkbpactl22\r
+#define TKBPACTL22_bit (*(volatile union un_tkbpactl22 *)0xF02B7).BIT\r
+#define DTCBAR (*(volatile unsigned char *)0xF02E0)\r
+#define DSCCTL (*(volatile union un_dscctl *)0xF02E5).dscctl\r
+#define DSCCTL_bit (*(volatile union un_dscctl *)0xF02E5).BIT\r
+#define MCKC (*(volatile union un_mckc *)0xF02E6).mckc\r
+#define MCKC_bit (*(volatile union un_mckc *)0xF02E6).BIT\r
+#define DTCEN0 (*(volatile union un_dtcen0 *)0xF02E8).dtcen0\r
+#define DTCEN0_bit (*(volatile union un_dtcen0 *)0xF02E8).BIT\r
+#define DTCEN1 (*(volatile union un_dtcen1 *)0xF02E9).dtcen1\r
+#define DTCEN1_bit (*(volatile union un_dtcen1 *)0xF02E9).BIT\r
+#define DTCEN2 (*(volatile union un_dtcen2 *)0xF02EA).dtcen2\r
+#define DTCEN2_bit (*(volatile union un_dtcen2 *)0xF02EA).BIT\r
+#define DTCEN3 (*(volatile union un_dtcen3 *)0xF02EB).dtcen3\r
+#define DTCEN3_bit (*(volatile union un_dtcen3 *)0xF02EB).BIT\r
+#define DTCEN4 (*(volatile union un_dtcen4 *)0xF02EC).dtcen4\r
+#define DTCEN4_bit (*(volatile union un_dtcen4 *)0xF02EC).BIT\r
+#define CRC0CTL (*(volatile union un_crc0ctl *)0xF02F0).crc0ctl\r
+#define CRC0CTL_bit (*(volatile union un_crc0ctl *)0xF02F0).BIT\r
+#define PGCRCL (*(volatile unsigned short *)0xF02F2)\r
+#define CRCD (*(volatile unsigned short *)0xF02FA)\r
+#define PFSEG0 (*(volatile union un_pfseg0 *)0xF0300).pfseg0\r
+#define PFSEG0_bit (*(volatile union un_pfseg0 *)0xF0300).BIT\r
+#define PFSEG1 (*(volatile union un_pfseg1 *)0xF0301).pfseg1\r
+#define PFSEG1_bit (*(volatile union un_pfseg1 *)0xF0301).BIT\r
+#define PFSEG2 (*(volatile union un_pfseg2 *)0xF0302).pfseg2\r
+#define PFSEG2_bit (*(volatile union un_pfseg2 *)0xF0302).BIT\r
+#define PFSEG3 (*(volatile union un_pfseg3 *)0xF0303).pfseg3\r
+#define PFSEG3_bit (*(volatile union un_pfseg3 *)0xF0303).BIT\r
+#define PFSEG4 (*(volatile union un_pfseg4 *)0xF0304).pfseg4\r
+#define PFSEG4_bit (*(volatile union un_pfseg4 *)0xF0304).BIT\r
+#define PFSEG5 (*(volatile union un_pfseg5 *)0xF0305).pfseg5\r
+#define PFSEG5_bit (*(volatile union un_pfseg5 *)0xF0305).BIT\r
+#define PFSEG6 (*(volatile union un_pfseg6 *)0xF0306).pfseg6\r
+#define PFSEG6_bit (*(volatile union un_pfseg6 *)0xF0306).BIT\r
+#define ISCLCD (*(volatile union un_isclcd *)0xF0308).isclcd\r
+#define ISCLCD_bit (*(volatile union un_isclcd *)0xF0308).BIT\r
+#define SUBCUD (*(volatile unsigned short *)0xF0310)\r
+#define COMPMDR (*(volatile union un_compmdr *)0xF0340).compmdr\r
+#define COMPMDR_bit (*(volatile union un_compmdr *)0xF0340).BIT\r
+#define COMPFIR (*(volatile union un_compfir *)0xF0341).compfir\r
+#define COMPFIR_bit (*(volatile union un_compfir *)0xF0341).BIT\r
+#define COMPOCR (*(volatile union un_compocr *)0xF0342).compocr\r
+#define COMPOCR_bit (*(volatile union un_compocr *)0xF0342).BIT\r
+#define SEG0 (*(volatile unsigned char *)0xF0400)\r
+#define SEG1 (*(volatile unsigned char *)0xF0401)\r
+#define SEG2 (*(volatile unsigned char *)0xF0402)\r
+#define SEG3 (*(volatile unsigned char *)0xF0403)\r
+#define SEG4 (*(volatile unsigned char *)0xF0404)\r
+#define SEG5 (*(volatile unsigned char *)0xF0405)\r
+#define SEG6 (*(volatile unsigned char *)0xF0406)\r
+#define SEG7 (*(volatile unsigned char *)0xF0407)\r
+#define SEG8 (*(volatile unsigned char *)0xF0408)\r
+#define SEG9 (*(volatile unsigned char *)0xF0409)\r
+#define SEG10 (*(volatile unsigned char *)0xF040A)\r
+#define SEG11 (*(volatile unsigned char *)0xF040B)\r
+#define SEG12 (*(volatile unsigned char *)0xF040C)\r
+#define SEG13 (*(volatile unsigned char *)0xF040D)\r
+#define SEG14 (*(volatile unsigned char *)0xF040E)\r
+#define SEG15 (*(volatile unsigned char *)0xF040F)\r
+#define SEG16 (*(volatile unsigned char *)0xF0410)\r
+#define SEG17 (*(volatile unsigned char *)0xF0411)\r
+#define SEG18 (*(volatile unsigned char *)0xF0412)\r
+#define SEG19 (*(volatile unsigned char *)0xF0413)\r
+#define SEG20 (*(volatile unsigned char *)0xF0414)\r
+#define SEG21 (*(volatile unsigned char *)0xF0415)\r
+#define SEG22 (*(volatile unsigned char *)0xF0416)\r
+#define SEG23 (*(volatile unsigned char *)0xF0417)\r
+#define SEG24 (*(volatile unsigned char *)0xF0418)\r
+#define SEG25 (*(volatile unsigned char *)0xF0419)\r
+#define SEG26 (*(volatile unsigned char *)0xF041A)\r
+#define SEG27 (*(volatile unsigned char *)0xF041B)\r
+#define SEG28 (*(volatile unsigned char *)0xF041C)\r
+#define SEG29 (*(volatile unsigned char *)0xF041D)\r
+#define SEG30 (*(volatile unsigned char *)0xF041E)\r
+#define SEG31 (*(volatile unsigned char *)0xF041F)\r
+#define SEG32 (*(volatile unsigned char *)0xF0420)\r
+#define SEG33 (*(volatile unsigned char *)0xF0421)\r
+#define SEG34 (*(volatile unsigned char *)0xF0422)\r
+#define SEG35 (*(volatile unsigned char *)0xF0423)\r
+#define SEG36 (*(volatile unsigned char *)0xF0424)\r
+#define SEG37 (*(volatile unsigned char *)0xF0425)\r
+#define SEG38 (*(volatile unsigned char *)0xF0426)\r
+#define SEG39 (*(volatile unsigned char *)0xF0427)\r
+#define SEG40 (*(volatile unsigned char *)0xF0428)\r
+#define SEG41 (*(volatile unsigned char *)0xF0429)\r
+#define SEG42 (*(volatile unsigned char *)0xF042A)\r
+#define SEG43 (*(volatile unsigned char *)0xF042B)\r
+#define SEG44 (*(volatile unsigned char *)0xF042C)\r
+#define SEG45 (*(volatile unsigned char *)0xF042D)\r
+#define SEG46 (*(volatile unsigned char *)0xF042E)\r
+#define SEG47 (*(volatile unsigned char *)0xF042F)\r
+#define SEG48 (*(volatile unsigned char *)0xF0430)\r
+#define SEG49 (*(volatile unsigned char *)0xF0431)\r
+#define SEG50 (*(volatile unsigned char *)0xF0432)\r
+#define SEG51 (*(volatile unsigned char *)0xF0433)\r
+#define SEG52 (*(volatile unsigned char *)0xF0434)\r
+#define SEG53 (*(volatile unsigned char *)0xF0435)\r
+#define SEG54 (*(volatile unsigned char *)0xF0436)\r
+#define SEG55 (*(volatile unsigned char *)0xF0437)\r
+#define TKBCR00 (*(volatile unsigned short *)0xF0500)\r
+#define TKBCR01 (*(volatile unsigned short *)0xF0502)\r
+#define TKBCR02 (*(volatile unsigned short *)0xF0504)\r
+#define TKBCR03 (*(volatile unsigned short *)0xF0506)\r
+#define TKBTGCR0 (*(volatile unsigned short *)0xF0508)\r
+#define TKBSIR00 (*(volatile unsigned short *)0xF050A)\r
+#define TKBSIR01 (*(volatile unsigned short *)0xF050C)\r
+#define TKBDNR00 (*(volatile unsigned char *)0xF050E)\r
+#define TKBSSR00 (*(volatile unsigned char *)0xF050F)\r
+#define TKBDNR01 (*(volatile unsigned char *)0xF0510)\r
+#define TKBSSR01 (*(volatile unsigned char *)0xF0511)\r
+#define TKBTRG0 (*(volatile union un_tkbtrg0 *)0xF0512).tkbtrg0\r
+#define TKBTRG0_bit (*(volatile union un_tkbtrg0 *)0xF0512).BIT\r
+#define TKBFLG0 (*(volatile union un_tkbflg0 *)0xF0513).tkbflg0\r
+#define TKBFLG0_bit (*(volatile union un_tkbflg0 *)0xF0513).BIT\r
+#define TKBCRLD00 (*(volatile unsigned short *)0xF0514)\r
+#define TKBCRLD01 (*(volatile unsigned short *)0xF0516)\r
+#define TKBCNT0 (*(volatile unsigned short *)0xF0520)\r
+#define TKBCTL00 (*(volatile unsigned short *)0xF0522)\r
+#define TKBMFR0 (*(volatile unsigned short *)0xF0524)\r
+#define TKBIOC00 (*(volatile union un_tkbioc00 *)0xF0526).tkbioc00\r
+#define TKBIOC00_bit (*(volatile union un_tkbioc00 *)0xF0526).BIT\r
+#define TKBCLR0 (*(volatile union un_tkbclr0 *)0xF0527).tkbclr0\r
+#define TKBCLR0_bit (*(volatile union un_tkbclr0 *)0xF0527).BIT\r
+#define TKBIOC01 (*(volatile union un_tkbioc01 *)0xF0528).tkbioc01\r
+#define TKBIOC01_bit (*(volatile union un_tkbioc01 *)0xF0528).BIT\r
+#define TKBCTL01 (*(volatile union un_tkbctl01 *)0xF0529).tkbctl01\r
+#define TKBCTL01_bit (*(volatile union un_tkbctl01 *)0xF0529).BIT\r
+#define TKBPSCS0 (*(volatile unsigned char *)0xF052A)\r
+#define TKBPACTL00 (*(volatile unsigned short *)0xF0530)\r
+#define TKBPACTL01 (*(volatile unsigned short *)0xF0532)\r
+#define TKBPAHFS0 (*(volatile union un_tkbpahfs0 *)0xF0534).tkbpahfs0\r
+#define TKBPAHFS0_bit (*(volatile union un_tkbpahfs0 *)0xF0534).BIT\r
+#define TKBPAHFT0 (*(volatile union un_tkbpahft0 *)0xF0535).tkbpahft0\r
+#define TKBPAHFT0_bit (*(volatile union un_tkbpahft0 *)0xF0535).BIT\r
+#define TKBPAFLG0 (*(volatile union un_tkbpaflg0 *)0xF0536).tkbpaflg0\r
+#define TKBPAFLG0_bit (*(volatile union un_tkbpaflg0 *)0xF0536).BIT\r
+#define TKBPACTL02 (*(volatile union un_tkbpactl02 *)0xF0537).tkbpactl02\r
+#define TKBPACTL02_bit (*(volatile union un_tkbpactl02 *)0xF0537).BIT\r
+#define D0FIFOD00 (*(volatile unsigned short *)0xF0580)\r
+#define D1FIFOD00 (*(volatile unsigned short *)0xF05C0)\r
+#define SYSCFG (*(volatile unsigned short *)0xF0600)\r
+#define SYSSTS0 (*(volatile unsigned short *)0xF0604)\r
+#define DVSTCTR0 (*(volatile unsigned short *)0xF0608)\r
+#define CFIFOM (*(volatile unsigned short *)0xF0614)\r
+#define CFIFOML (*(volatile unsigned char *)0xF0614)\r
+#define D0FIFOM (*(volatile unsigned short *)0xF0618)\r
+#define D0FIFOML (*(volatile unsigned char *)0xF0618)\r
+#define D1FIFOM (*(volatile unsigned short *)0xF061C)\r
+#define D1FIFOML (*(volatile unsigned char *)0xF061C)\r
+#define CFIFOSEL (*(volatile unsigned short *)0xF0620)\r
+#define CFIFOCTR (*(volatile unsigned short *)0xF0622)\r
+#define D0FIFOSEL (*(volatile unsigned short *)0xF0628)\r
+#define D0FIFOCTR (*(volatile unsigned short *)0xF062A)\r
+#define D1FIFOSEL (*(volatile unsigned short *)0xF062C)\r
+#define D1FIFOCTR (*(volatile unsigned short *)0xF062E)\r
+#define INTENB0 (*(volatile unsigned short *)0xF0630)\r
+#define INTENB1 (*(volatile unsigned short *)0xF0632)\r
+#define BRDYENB (*(volatile unsigned short *)0xF0636)\r
+#define NRDYENB (*(volatile unsigned short *)0xF0638)\r
+#define BEMPENB (*(volatile unsigned short *)0xF063A)\r
+#define SOFCFG (*(volatile unsigned short *)0xF063C)\r
+#define INTSTS0 (*(volatile unsigned short *)0xF0640)\r
+#define INTSTS1 (*(volatile unsigned short *)0xF0642)\r
+#define BRDYSTS (*(volatile unsigned short *)0xF0646)\r
+#define NRDYSTS (*(volatile unsigned short *)0xF0648)\r
+#define BEMPSTS (*(volatile unsigned short *)0xF064A)\r
+#define FRMNUM (*(volatile unsigned short *)0xF064C)\r
+#define USBADDR (*(volatile unsigned short *)0xF0650)\r
+#define USBREQ (*(volatile unsigned short *)0xF0654)\r
+#define USBVAL (*(volatile unsigned short *)0xF0656)\r
+#define USBINDX (*(volatile unsigned short *)0xF0658)\r
+#define USBLENG (*(volatile unsigned short *)0xF065A)\r
+#define DCPCFG (*(volatile unsigned short *)0xF065C)\r
+#define DCPMAXP (*(volatile unsigned short *)0xF065E)\r
+#define DCPCTR (*(volatile unsigned short *)0xF0660)\r
+#define PIPESEL (*(volatile unsigned short *)0xF0664)\r
+#define PIPECFG (*(volatile unsigned short *)0xF0668)\r
+#define PIPEMAXP (*(volatile unsigned short *)0xF066C)\r
+#define PIPE4CTR (*(volatile unsigned short *)0xF0676)\r
+#define PIPE5CTR (*(volatile unsigned short *)0xF0678)\r
+#define PIPE6CTR (*(volatile unsigned short *)0xF067A)\r
+#define PIPE7CTR (*(volatile unsigned short *)0xF067C)\r
+#define PIPE4TRE (*(volatile unsigned short *)0xF069C)\r
+#define PIPE4TRN (*(volatile unsigned short *)0xF069E)\r
+#define PIPE5TRE (*(volatile unsigned short *)0xF06A0)\r
+#define PIPE5TRN (*(volatile unsigned short *)0xF06A2)\r
+#define DTC0PCFG (*(volatile unsigned short *)0xF06A8)\r
+#define DTC1PCFG (*(volatile unsigned short *)0xF06AC)\r
+#define USBBCCTRL0 (*(volatile unsigned short *)0xF06B0)\r
+#define USBBCOPT0 (*(volatile unsigned short *)0xF06B8)\r
+#define USBMC (*(volatile unsigned short *)0xF06CC)\r
+\r
+/*\r
+ Sfr bits\r
+ */\r
+#define ADTYP ADM2_bit.no0\r
+#define AWC ADM2_bit.no2\r
+#define ADRCK ADM2_bit.no3\r
+#define TOS0 TOS_bit.no0\r
+#define DACEN PER1_bit.no0\r
+#define DTCEN PER1_bit.no3\r
+#define TKB20EN PER1_bit.no4\r
+#define CMPEN PER1_bit.no5\r
+#define TMKAEN PER1_bit.no7\r
+#define DFLEN DFLCTL_bit.no0\r
+#define TAU0EN PER0_bit.no0\r
+#define SAU0EN PER0_bit.no2\r
+#define SAU1EN PER0_bit.no3\r
+#define IICA0EN PER0_bit.no4\r
+#define ADCEN PER0_bit.no5\r
+#define RTCWEN PER0_bit.no7\r
+#define RPEF RPECTL_bit.no0\r
+#define RPERDIS RPECTL_bit.no7\r
+#define TKB21EN PER2_bit.no0\r
+#define TKB22EN PER2_bit.no1\r
+#define SPT0 IICCTL00_bit.no0\r
+#define STT0 IICCTL00_bit.no1\r
+#define ACKE0 IICCTL00_bit.no2\r
+#define WTIM0 IICCTL00_bit.no3\r
+#define SPIE0 IICCTL00_bit.no4\r
+#define WREL0 IICCTL00_bit.no5\r
+#define LREL0 IICCTL00_bit.no6\r
+#define IICE0 IICCTL00_bit.no7\r
+#define PRS0 IICCTL01_bit.no0\r
+#define DFC0 IICCTL01_bit.no2\r
+#define SMC0 IICCTL01_bit.no3\r
+#define DAD0 IICCTL01_bit.no4\r
+#define CLD0 IICCTL01_bit.no5\r
+#define WUP0 IICCTL01_bit.no7\r
+#define TKBRDT1 TKBTRG1_bit.no0\r
+#define TKBRSF1 TKBFLG1_bit.no0\r
+#define TKBMFF1 TKBFLG1_bit.no1\r
+#define TKBIEF1 TKBFLG1_bit.no2\r
+#define TKBIRF1 TKBFLG1_bit.no3\r
+#define TKBSEF10 TKBFLG1_bit.no4\r
+#define TKBSEF11 TKBFLG1_bit.no5\r
+#define TKBSSF10 TKBFLG1_bit.no6\r
+#define TKBSSF11 TKBFLG1_bit.no7\r
+#define TKBTOD10 TKBIOC10_bit.no0\r
+#define TKBTOD11 TKBIOC10_bit.no1\r
+#define TKBTOL10 TKBIOC10_bit.no2\r
+#define TKBTOL11 TKBIOC10_bit.no3\r
+#define TKBCLMF1 TKBCLR1_bit.no1\r
+#define TKBCLIE1 TKBCLR1_bit.no2\r
+#define TKBCLIR1 TKBCLR1_bit.no3\r
+#define TKBCLSE10 TKBCLR1_bit.no4\r
+#define TKBCLSE11 TKBCLR1_bit.no5\r
+#define TKBTOE10 TKBIOC11_bit.no0\r
+#define TKBTOE11 TKBIOC11_bit.no1\r
+#define TKBCE1 TKBCTL11_bit.no7\r
+#define TKBPAHTS10 TKBPAHFS1_bit.no0\r
+#define TKBPAHTS11 TKBPAHFS1_bit.no1\r
+#define TKBPAHTT10 TKBPAHFT1_bit.no0\r
+#define TKBPAHTT11 TKBPAHFT1_bit.no1\r
+#define TKBPAHIF10 TKBPAFLG1_bit.no0\r
+#define TKBPAFIF10 TKBPAFLG1_bit.no1\r
+#define TKBPAHIF11 TKBPAFLG1_bit.no2\r
+#define TKBPAFIF11 TKBPAFLG1_bit.no3\r
+#define TKBPAHSF10 TKBPAFLG1_bit.no4\r
+#define TKBPAFSF10 TKBPAFLG1_bit.no5\r
+#define TKBPAHSF11 TKBPAFLG1_bit.no6\r
+#define TKBPAFSF11 TKBPAFLG1_bit.no7\r
+#define TKBPACE10 TKBPACTL12_bit.no0\r
+#define TKBPACE11 TKBPACTL12_bit.no1\r
+#define TKBRDT2 TKBTRG2_bit.no0\r
+#define TKBRSF2 TKBFLG2_bit.no0\r
+#define TKBMFF2 TKBFLG2_bit.no1\r
+#define TKBIEF2 TKBFLG2_bit.no2\r
+#define TKBIRF2 TKBFLG2_bit.no3\r
+#define TKBSEF20 TKBFLG2_bit.no4\r
+#define TKBSEF21 TKBFLG2_bit.no5\r
+#define TKBSSF20 TKBFLG2_bit.no6\r
+#define TKBSSF21 TKBFLG2_bit.no7\r
+#define TKBTOD20 TKBIOC20_bit.no0\r
+#define TKBTOD21 TKBIOC20_bit.no1\r
+#define TKBTOL20 TKBIOC20_bit.no2\r
+#define TKBTOL21 TKBIOC20_bit.no3\r
+#define TKBCLMF2 TKBCLR2_bit.no1\r
+#define TKBCLIE2 TKBCLR2_bit.no2\r
+#define TKBCLIR2 TKBCLR2_bit.no3\r
+#define TKBCLSE20 TKBCLR2_bit.no4\r
+#define TKBCLSE21 TKBCLR2_bit.no5\r
+#define TKBTOE20 TKBIOC21_bit.no0\r
+#define TKBTOE21 TKBIOC21_bit.no1\r
+#define TKBCE2 TKBCTL21_bit.no7\r
+#define TKBPAHTS20 TKBPAHFS2_bit.no0\r
+#define TKBPAHTS21 TKBPAHFS2_bit.no1\r
+#define TKBPAHTT20 TKBPAHFT2_bit.no0\r
+#define TKBPAHTT21 TKBPAHFT2_bit.no1\r
+#define TKBPAHIF20 TKBPAFLG2_bit.no0\r
+#define TKBPAFIF20 TKBPAFLG2_bit.no1\r
+#define TKBPAHIF21 TKBPAFLG2_bit.no2\r
+#define TKBPAFIF21 TKBPAFLG2_bit.no3\r
+#define TKBPAHSF20 TKBPAFLG2_bit.no4\r
+#define TKBPAFSF20 TKBPAFLG2_bit.no5\r
+#define TKBPAHSF21 TKBPAFLG2_bit.no6\r
+#define TKBPAFSF21 TKBPAFLG2_bit.no7\r
+#define TKBPACE20 TKBPACTL22_bit.no0\r
+#define TKBPACE21 TKBPACTL22_bit.no1\r
+#define CRC0EN CRC0CTL_bit.no7\r
+#define PFSEG04 PFSEG0_bit.no4\r
+#define PFSEG05 PFSEG0_bit.no5\r
+#define PFSEG06 PFSEG0_bit.no6\r
+#define PFSEG07 PFSEG0_bit.no7\r
+#define PFSEG08 PFSEG1_bit.no0\r
+#define PFSEG09 PFSEG1_bit.no1\r
+#define PFSEG10 PFSEG1_bit.no2\r
+#define PFSEG11 PFSEG1_bit.no3\r
+#define PFSEG12 PFSEG1_bit.no4\r
+#define PFSEG13 PFSEG1_bit.no5\r
+#define PFSEG14 PFSEG1_bit.no6\r
+#define PFSEG15 PFSEG1_bit.no7\r
+#define PFSEG16 PFSEG2_bit.no0\r
+#define PFSEG17 PFSEG2_bit.no1\r
+#define PFSEG18 PFSEG2_bit.no2\r
+#define PFSEG19 PFSEG2_bit.no3\r
+#define PFSEG20 PFSEG2_bit.no4\r
+#define PFSEG21 PFSEG2_bit.no5\r
+#define PFSEG22 PFSEG2_bit.no6\r
+#define PFSEG23 PFSEG2_bit.no7\r
+#define PFSEG24 PFSEG3_bit.no0\r
+#define PFSEG25 PFSEG3_bit.no1\r
+#define PFSEG26 PFSEG3_bit.no2\r
+#define PFSEG27 PFSEG3_bit.no3\r
+#define PFSEG28 PFSEG3_bit.no4\r
+#define PFSEG29 PFSEG3_bit.no5\r
+#define PFSEG30 PFSEG3_bit.no6\r
+#define PFSEG31 PFSEG3_bit.no7\r
+#define PFSEG32 PFSEG4_bit.no0\r
+#define PFSEG33 PFSEG4_bit.no1\r
+#define PFSEG34 PFSEG4_bit.no2\r
+#define PFSEG35 PFSEG4_bit.no3\r
+#define PFSEG36 PFSEG4_bit.no4\r
+#define PFSEG37 PFSEG4_bit.no5\r
+#define PFSEG38 PFSEG4_bit.no6\r
+#define PFSEG39 PFSEG4_bit.no7\r
+#define PFSEG40 PFSEG5_bit.no0\r
+#define PFSEG41 PFSEG5_bit.no1\r
+#define PFSEG42 PFSEG5_bit.no2\r
+#define PFSEG43 PFSEG5_bit.no3\r
+#define PFSEG44 PFSEG5_bit.no4\r
+#define PFSEG45 PFSEG5_bit.no5\r
+#define PFSEG46 PFSEG5_bit.no6\r
+#define PFSEG47 PFSEG5_bit.no7\r
+#define PFSEG48 PFSEG6_bit.no0\r
+#define PFSEG49 PFSEG6_bit.no1\r
+#define PFSEG50 PFSEG6_bit.no2\r
+#define PFSEG51 PFSEG6_bit.no3\r
+#define PFSEG52 PFSEG6_bit.no4\r
+#define PFSEG53 PFSEG6_bit.no5\r
+#define PFSEG54 PFSEG6_bit.no6\r
+#define PFSEG55 PFSEG6_bit.no7\r
+#define C0ENB COMPMDR_bit.no0\r
+#define C0MON COMPMDR_bit.no3\r
+#define C1ENB COMPMDR_bit.no4\r
+#define C1MON COMPMDR_bit.no7\r
+#define C0IE COMPOCR_bit.no0\r
+#define C0OE COMPOCR_bit.no1\r
+#define C0OP COMPOCR_bit.no2\r
+#define C1IE COMPOCR_bit.no4\r
+#define C1OE COMPOCR_bit.no5\r
+#define C1OP COMPOCR_bit.no6\r
+#define SPDMD COMPOCR_bit.no7\r
+#define TKBRDT0 TKBTRG0_bit.no0\r
+#define TKBRSF0 TKBFLG0_bit.no0\r
+#define TKBMFF0 TKBFLG0_bit.no1\r
+#define TKBIEF0 TKBFLG0_bit.no2\r
+#define TKBIRF0 TKBFLG0_bit.no3\r
+#define TKBSEF00 TKBFLG0_bit.no4\r
+#define TKBSEF01 TKBFLG0_bit.no5\r
+#define TKBSSF00 TKBFLG0_bit.no6\r
+#define TKBSSF01 TKBFLG0_bit.no7\r
+#define TKBTOD00 TKBIOC00_bit.no0\r
+#define TKBTOD01 TKBIOC00_bit.no1\r
+#define TKBTOL00 TKBIOC00_bit.no2\r
+#define TKBTOL01 TKBIOC00_bit.no3\r
+#define TKBCLMF0 TKBCLR0_bit.no1\r
+#define TKBCLIE0 TKBCLR0_bit.no2\r
+#define TKBCLIR0 TKBCLR0_bit.no3\r
+#define TKBCLSE00 TKBCLR0_bit.no4\r
+#define TKBCLSE01 TKBCLR0_bit.no5\r
+#define TKBTOE00 TKBIOC01_bit.no0\r
+#define TKBTOE01 TKBIOC01_bit.no1\r
+#define TKBCE0 TKBCTL01_bit.no7\r
+#define TKBPAHTS00 TKBPAHFS0_bit.no0\r
+#define TKBPAHTS01 TKBPAHFS0_bit.no1\r
+#define TKBPAHTT00 TKBPAHFT0_bit.no0\r
+#define TKBPAHTT01 TKBPAHFT0_bit.no1\r
+#define TKBPAHIF00 TKBPAFLG0_bit.no0\r
+#define TKBPAFIF00 TKBPAFLG0_bit.no1\r
+#define TKBPAHIF01 TKBPAFLG0_bit.no2\r
+#define TKBPAFIF01 TKBPAFLG0_bit.no3\r
+#define TKBPAHSF00 TKBPAFLG0_bit.no4\r
+#define TKBPAFSF00 TKBPAFLG0_bit.no5\r
+#define TKBPAHSF01 TKBPAFLG0_bit.no6\r
+#define TKBPAFSF01 TKBPAFLG0_bit.no7\r
+#define TKBPACE00 TKBPACTL02_bit.no0\r
+#define TKBPACE01 TKBPACTL02_bit.no1\r
+\r
+/*\r
+ Interrupt vector addresses\r
+ */\r
+#endif\r
* main_blinky() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.\r
* main_full() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 0.\r
*/\r
-extern void main_blinky( void );\r
-extern void main_full( void );\r
+#if mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 1\r
+ extern void main_blinky( void );\r
+#else\r
+ extern void main_full( void );\r
+#endif\r
\r
/* Prototypes for the standard FreeRTOS callback/hook functions implemented\r
within this file. */\r
is provided on the FreeRTOS.org WEB site. */\r
vStartDynamicPriorityTasks();\r
vStartPolledQueueTasks( tskIDLE_PRIORITY );\r
- vCreateBlockTimeTasks();\r
+\r
+ /* Additional tasks can be added by un-commenting the line below on devices\r
+ with sufficient RAM for a larger heap (see configTOTAL_HEAP_SIZE in\r
+ FreeRTOSConfig.h). */\r
+ /*vCreateBlockTimeTasks();*/\r
\r
/* Create the RegTest tasks as described at the top of this file. */\r
xTaskCreate( prvRegTest1Entry, /* The function that implements the task. */\r
\r
if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )\r
{\r
- xErrorStatus = pdFAIL;\r
+ /* Un-comment this line if the block time tasks are included in the\r
+ demo. */\r
+ /* xErrorStatus = pdFAIL; */\r
}\r
\r
/* Indicate an error if either of the reg test loop counters have not\r