/*BasedonCPUDBMC9S12XS256_112,version3.00.008(RegistersPrgV2.26)*//***###################################################################**Filename:mc9s12xs128.h**Processor:MC9S12XS128CAL**FileFormat:V2.26**DataSheet:MC9S12XS256RMV1Rev.1.0306/2008**Compiler:CodeWarriorcompiler**Date/Time:23.2.2009,15:08**Abstract:**ThisheaderimplementsthemappingofI/Odevices.****(c)CopyrightUNIS,a.s.1997-2009**UNIS,a.s.**Jundrovska33**62400Brno**CzechRepublic**:wwprocessorexpert**mail:info@processorexpert****CPURegistersRevisions:**-20.02.2008,V3.00.0:**-Correctedregister'saddress:ATD0DIENL0x02CC=>0x02CD**-RemovedbitFSTAT[RSVD].**-REASON:Changesinthedatasheet(fromRev.1.005/2007toRev.1.018/2007).**-17.04.2008,V3.00.1:**-RenamedregistersTCNTH/L==>TCNTHi/Lo,TCxH/L==>TCxHi/Lo.**-REASON:Bug-fix(#6048fromtheUNISIssueManager).**-21.05.2008,V3.00.2:**-AddedregisterVREGHTTR.AddedinterruptvectorVhti.**-REASON:Changesinthedatasheet(fromRev.1.0108/2007toRev.1.0202/2008).**-23.02.2009,V3.00.3:**-Correcteddefinitionof16-bitPortAD0registerstouseproperlyAD0L/AD0Hparts.**-REASON:Bug-fix(#7029inUNISIssueManager).****File-Format-Revisions:**-19.07.2007,V2.18:**-Improvednumberofblankedlinesinsideregisterstructures**-06.08.2007,V2.19:**-CPUDBrevisionsgeneratedaheadofthefile-formatrevisions.**-11.09.2007,V2.20:**-Addedcommentaboutinitializationofunbondedpins.**-02.01.2008,V2.21:**-Changeshavenotaffectedthisfile(becausetheyarerelatedtoanotherfamily)**-13.02.2008,V2.22:**-Changeshavenotaffectedthisfile(becausetheyarerelatedtoanotherfamily)**-20.02.2008,V2.23:**-TerminationofpragmaV30toV31Compatibleadded,#5708**-03.07.2008,V2.24:**-Addedsupportforbitswithnamestartingwithnumber(like"1HZ")**-28.11.2008,V2.25:**-StandByRAMarraydeclarationforANSI-Cadded**-1.12.2008,V2.26:**-Duplicationofbit(orbit-group)namewithregisternameisnotmarkedasaproblem,isregisterisinternalonlyanditisnotdisplayedinI/Omap.****Notallgeneral-purposeI/Opinsareavailableonallpackagesoronallmasksetsofaspecific**derivativedevice.Toavoidextracurrentdrainfromfloatinginputpins,theuser抯reset**initializationroutineintheapplicationprogrammusteitherenableon-chippull-updevices**orchangethedirectionofunconnectedpinstooutputssothepinsdonotfloat.**###################################################################*/#ifndef_MC9S12XS128_H#define_MC9S12XS128_H/*Typesdefinition*/typedefunsignedcharbyte;typedefunsignedintword;typedefunsignedlongdword;typedefunsignedlongdlong[2];#defineREG_BASE0x0000/*BaseaddressfortheI/Oregisterblock*/#pragmaMESSAGEDISABLEC1106/*WARNINGC1106:Non-standardbitfieldtype*/#pragmaOPTIONADDV30toV31Compatible"-BfaGapLimitBits4294967295"/*thisguaranteecorrectbitfieldpositions*//****************interruptvectornumbers****************/#defineVectorNumber_Vsi119#defineVectorNumber_Vsyscall118#defineVectorNumber_VReserved118117#defineVectorNumber_VReserved117116#defineVectorNumber_VReserved116115#defineVectorNumber_VReserved115114#defineVectorNumber_VReserved114113#defineVectorNumber_VReserved113112#defineVectorNumber_VReserved112111#defineVectorNumber_VReserved111110#defineVectorNumber_VReserved110109#defineVectorNumber_VReserved109108#defineVectorNumber_VReserved108107#defineVectorNumber_VReserved107106#defineVectorNumber_VReserved106105#defineVectorNumber_VReserved105104#defineVectorNumber_VReserved104103#defineVectorNumber_VReserved103102#de...