//-------------------------------------------------------------------------*
//MC9S08AW60(64引脚)C头文件                                                *
//根据Freescale MC9S08AW60_64, version 2.87.188 (RegistersPrg V2.23) 整理  *
//苏州大学飞思卡尔嵌入式系统研发中心 2009年11月                            *
//注意:此文件内容最好不要变动                                              *
//-------------------------------------------------------------------------*

#include "MC9S08AW60.h"

/* * * * *  8位寄存器  * * * * * * * * * * * * * * * */
volatile PTADSTR _PTAD;                   //PTA口数据寄存器;              0x00000000
volatile PTADDSTR _PTADD;                 //PTA口数据方向寄存器;          0x00000001 
volatile PTBDSTR _PTBD;                   //PTB口数据寄存器;              0x00000002 
volatile PTBDDSTR _PTBDD;                 //PTB口数据方向寄存器;          0x00000003 
volatile PTCDSTR _PTCD;                   //PTC口数据寄存器;              0x00000004 
volatile PTCDDSTR _PTCDD;                 //PTC口数据方向寄存器;          0x00000005 
volatile PTDDSTR _PTDD;                   //PTD口数据寄存器;              0x00000006 
volatile PTDDDSTR _PTDDD;                 //PTD口数据方向寄存器;          0x00000007 
volatile PTEDSTR _PTED;                   //PTE口数据寄存器;              0x00000008 
volatile PTEDDSTR _PTEDD;                 //PTE口数据方向寄存器;          0x00000009 
volatile PTFDSTR _PTFD;                   //PTF口数据寄存器;              0x0000000A 
volatile PTFDDSTR _PTFDD;                 //PTF口数据方向寄存器;          0x0000000B 
volatile PTGDSTR _PTGD;                   //PTG口数据寄存器;              0x0000000C 
volatile PTGDDSTR _PTGDD;                 //PTG口数据方向寄存器;          0x0000000D 
volatile ADC1SC1STR _ADC1SC1;             //A/D转换状态和控制寄存器1;     0x00000010 
volatile ADC1SC2STR _ADC1SC2;             //A/D转换状态和控制寄存器2;     0x00000011 
volatile ADC1CFGSTR _ADC1CFG;             //A/D转换配置寄存器;            0x00000016 
volatile APCTL1STR _APCTL1;               //A/D转换引脚控制寄存器1;       0x00000017 
volatile APCTL2STR _APCTL2;               //A/D转换引脚控制寄存器2;       0x00000018 
volatile APCTL3STR _APCTL3;               //A/D转换引脚控制寄存器3;       0x00000019 
volatile IRQSCSTR _IRQSC;                 //IRQ状态和控制寄存器;          0x0000001C 
volatile KBI1SCSTR _KBI1SC;               //键盘状态和控制寄存器;         0x0000001E 
volatile KBI1PESTR _KBI1PE;               //键盘引脚使能寄存器;           0x0000001F 
volatile TPM1SCSTR _TPM1SC;               //定时器1状态和控制寄存器;      0x00000020 
volatile TPM1C0SCSTR _TPM1C0SC;           //定时器1通道0状态和控制寄存器; 0x00000025 
volatile TPM1C1SCSTR _TPM1C1SC;           //定时器1通道1状态和控制寄存器; 0x00000028 
volatile TPM1C2SCSTR _TPM1C2SC;           //定时器1通道2状态和控制寄存器; 0x0000002B 
volatile TPM1C3SCSTR _TPM1C3SC;           //定时器1通道3状态和控制寄存器; 0x0000002E 
volatile TPM1C4SCSTR _TPM1C4SC;           //定时器1通道4状态和控制寄存器; 0x00000031 
volatile TPM1C5SCSTR _TPM1C5SC;           //定时器1通道5状态和控制寄存器; 0x00000034 
volatile SCI1C1STR _SCI1C1;               //SCI1控制寄存器1;              0x0000003A 
volatile SCI1C2STR _SCI1C2;               //SCI1控制寄存器2;              0x0000003B 
volatile SCI1S1STR _SCI1S1;               //SCI1状态寄存器1;              0x0000003C 
volatile SCI1S2STR _SCI1S2;               //SCI1状态寄存器2;              0x0000003D 
volatile SCI1C3STR _SCI1C3;               //SCI1控制寄存器3;              0x0000003E 
volatile SCI1DSTR _SCI1D;                 //SCI1数据寄存器;               0x0000003F 
volatile SCI2C1STR _SCI2C1;               //SCI2控制寄存器1;              0x00000042 
volatile SCI2C2STR _SCI2C2;               //SCI2控制寄存器2;              0x00000043 
volatile SCI2S1STR _SCI2S1;               //SCI2状态寄存器1;              0x00000044 
volatile SCI2S2STR _SCI2S2;               //SCI2状态寄存器2;              0x00000045 
volatile SCI2C3STR _SCI2C3;               //SCI2状态寄存器3;              0x00000046 
volatile SCI2DSTR _SCI2D;                 //SCI2数据寄存器;               0x00000047 
volatile ICGC1STR _ICGC1;                 //ICG控制寄存器1;               0x00000048 
volatile ICGC2STR _ICGC2;                 //ICG控制寄存器2;               0x00000049 
volatile ICGS1STR _ICGS1;                 //ICG状态寄存器1;               0x0000004A 
volatile ICGS2STR _ICGS2;                 //ICG状态寄存器2;               0x0000004B 
volatile ICGTRMSTR _ICGTRM;               //ICG修正寄存器;                0x0000004E 
volatile SPI1C1STR _SPI1C1;               //SPI控制寄存器1;               0x00000050 
volatile SPI1C2STR _SPI1C2;               //SPI控制寄存器2;               0x00000051 
volatile SPI1BRSTR _SPI1BR;               //SPI波特率寄存器;              0x00000052 
volatile SPI1SSTR _SPI1S;                 //SPI状态寄存器;                0x00000053 
volatile SPI1DSTR _SPI1D;                 //SPI数据寄存器;                0x00000055 
volatile IIC1ASTR _IIC1A;                 //IIC地址寄存器;                0x00000058 
volatile IIC1FSTR _IIC1F;                 //IIC分频寄存器;                0x00000059 
volatile IIC1CSTR _IIC1C;                 //IIC控制寄存器;                0x0000005A 
volatile IIC1SSTR _IIC1S;                 //IIC状态寄存器;                0x0000005B 
volatile IIC1DSTR _IIC1D;                 //IIC I/O数据寄存器;            0x0000005C 
volatile TPM2SCSTR _TPM2SC;               //定时器2状态和控制寄存器;      0x00000060 
volatile TPM2C0SCSTR _TPM2C0SC;           //定时器2通道0状态和控制寄存器; 0x00000065 
volatile TPM2C1SCSTR _TPM2C1SC;           //定时器2通道1状态和控制寄存器  0x00000068 
volatile SRSSTR _SRS;                     //系统复位状态寄存器;           0x00001800 
volatile SBDFRSTR _SBDFR;                 //系统后台调试强制复位寄存器;   0x00001801 
volatile SOPTSTR _SOPT;                   //系统选项寄存器;               0x00001802 
volatile SMCLKSTR _SMCLK;                 //系统MCLK控制寄存器;           0x00001803 
volatile SRTISCSTR _SRTISC;               //系统实时中断状态和控制寄存器; 0x00001808
volatile SPMSC1STR _SPMSC1;               //系统电源管理状态和控制1寄存器;0x00001809 
volatile SPMSC2STR _SPMSC2;               //系统电源管理状态和控制2寄存器;0x0000180A 
volatile DBGCAHSTR _DBGCAH;               //DBG比较器寄存器A(高);         0x00001810 
volatile DBGCALSTR _DBGCAL;               //DBG比较器寄存器A(低);         0x00001811 
volatile DBGCBHSTR _DBGCBH;               //DBG比较器寄存器B(高);         0x00001812 
volatile DBGCBLSTR _DBGCBL;               //DBG比较器寄存器B(低);         0x00001813 
volatile DBGCSTR _DBGC;                   //DBG控制寄存器;                0x00001816 
volatile DBGTSTR _DBGT;                   //DBG触发寄存器;                0x00001817 
volatile DBGSSTR _DBGS;                   //DBG状态寄存器;                0x00001818 
volatile FCDIVSTR _FCDIV;                 //FLASH时钟分频寄存器;          0x00001820 
volatile FOPTSTR _FOPT;                   //FLASH选项寄存器;              0x00001821 
volatile FCNFGSTR _FCNFG;                 //FLASH配置寄存器;              0x00001823 
volatile FPROTSTR _FPROT;                 //FLASH保护寄存器;              0x00001824 
volatile FSTATSTR _FSTAT;                 //FLASH状态寄存器;              0x00001825 
volatile FCMDSTR _FCMD;                   //FLASH命令寄存器;              0x00001826 
volatile PTAPESTR _PTAPE;                 //PTA口上拉电阻允许寄存器;      0x00001840 
volatile PTASESTR _PTASE;                 //PTA口输出转换率控制允许寄存器;0x00001841 
volatile PTADSSTR _PTADS;                 //PTA口输出驱动强度选择寄存器;  0x00001842 
volatile PTBPESTR _PTBPE;                 //PTB口上拉电阻允许寄存器;      0x00001844 
volatile PTBSESTR _PTBSE;                 //PTB口输出转换率控制允许寄存器;0x00001845 
volatile PTBDSSTR _PTBDS;                 //PTB口输出驱动强度选择寄存器;  0x00001846 
volatile PTCPESTR _PTCPE;                 //PTC口上拉电阻允许寄存器;      0x00001848 
volatile PTCSESTR _PTCSE;                 //PTC口输出转换率控制允许寄存器;0x00001849 
volatile PTCDSSTR _PTCDS;                 //PTC口输出驱动强度选择寄存器;  0x0000184A 
volatile PTDPESTR _PTDPE;                 //PTD口上拉电阻允许寄存器;      0x0000184C 
volatile PTDSESTR _PTDSE;                 //PTD口输出转换率控制允许寄存器;0x0000184D 
volatile PTDDSSTR _PTDDS;                 //PTD口输出驱动强度选择寄存器;  0x0000184E 
volatile PTEPESTR _PTEPE;                 //PTE口上拉电阻允许寄存器;      0x00001850 
volatile PTESESTR _PTESE;                 //PTE口输出转换率控制允许寄存器;0x00001851 
volatile PTEDSSTR _PTEDS;                 //PTE口输出驱动强度选择寄存器;  0x00001852 
volatile PTFPESTR _PTFPE;                 //PTF口上拉电阻允许寄存器;      0x00001854 
volatile PTFSESTR _PTFSE;                 //PTF口输出转换率控制允许寄存器;0x00001855 
volatile PTFDSSTR _PTFDS;                 //PTF口输出驱动强度选择寄存器;  0x00001856 
volatile PTGPESTR _PTGPE;                 //PTG口上拉电阻允许寄存器;      0x00001858 
volatile PTGSESTR _PTGSE;                 //PTG口输出转换率控制允许寄存器;0x00001859 
volatile PTGDSSTR _PTGDS;                 //PTG口输出驱动强度选择寄存器;  0x0000185A 

/* * * * *  16位寄存器  * * * * * * * * * * * * * * * */
volatile ADC1RSTR _ADC1R;                 //A/D转换数据结果寄存器;        0x00000012 
volatile ADC1CVSTR _ADC1CV;               //A/D转换比值寄存器;            0x00000014 
volatile TPM1CNTSTR _TPM1CNT;             //定时器1计数寄存器;            0x00000021 
volatile TPM1MODSTR _TPM1MOD;             //定时器1预置寄存器;            0x00000023 
volatile TPM1C0VSTR _TPM1C0V;             //定时器1通道0数值寄存器;       0x00000026 
volatile TPM1C1VSTR _TPM1C1V;             //定时器1通道1数值寄存器;       0x00000029 
volatile TPM1C2VSTR _TPM1C2V;             //定时器1通道2数值寄存器;       0x0000002C 
volatile TPM1C3VSTR _TPM1C3V;             //定时器1通道3数值寄存器;       0x0000002F 
volatile TPM1C4VSTR _TPM1C4V;             //定时器1通道4数值寄存器;       0x00000032 
volatile TPM1C5VSTR _TPM1C5V;             //定时器1通道5数值寄存器;       0x00000035 
volatile SCI1BDSTR _SCI1BD;               //SCI1波特率寄存器;             0x00000038 
volatile SCI2BDSTR _SCI2BD;               //SCI2波特率寄存器;             0x00000040 
volatile ICGFLTSTR _ICGFLT;               //ICG过滤器寄存器;              0x0000004C 
volatile TPM2CNTSTR _TPM2CNT;             //定时器2计数寄存器;            0x00000061 
volatile TPM2MODSTR _TPM2MOD;             //定时器2预置寄存器;            0x00000063 
volatile TPM2C0VSTR _TPM2C0V;             //定时器2通道0数值寄存器;       0x00000066 
volatile TPM2C1VSTR _TPM2C1V;             //定时器2通道1数值寄存器;       0x00000069 
volatile SDIDSTR _SDID;                   //系统设备标识寄存器;           0x00001806 
volatile DBGFSTR _DBGF;                   //DBG先进先出寄存器;            0x00001814 
