📄 mc9s08qe128.c
字号:
/* Based on CPU DB MC9S08QE128_80, version 3.00.000 (RegistersPrg V2.15) */
/* DataSheet : MC9S08QE128RM Rev. 1.0 Draft F */
#include "mc9s08qe128.h"
/*lint -save -esym(765, *) */
/* * * * * 8-BIT REGISTERS * * * * * * * * * * * * * * * */
volatile PTADSTR _PTAD; /* Port A Data Register; 0x00000000 */
volatile PTADDSTR _PTADD; /* Port A Data Direction Register; 0x00000001 */
volatile PTBDSTR _PTBD; /* Port B Data Register; 0x00000002 */
volatile PTBDDSTR _PTBDD; /* Port B Data Direction Register; 0x00000003 */
volatile PTCDSTR _PTCD; /* Port C Data Register; 0x00000004 */
volatile PTCDDSTR _PTCDD; /* Port C Data Direction Register; 0x00000005 */
volatile PTDDSTR _PTDD; /* Port D Data Register; 0x00000006 */
volatile PTDDDSTR _PTDDD; /* Port D Data Direction Register; 0x00000007 */
volatile PTEDSTR _PTED; /* Port E Data Register; 0x00000008 */
volatile PTEDDSTR _PTEDD; /* Port E Data Direction Register; 0x00000009 */
volatile PTFDSTR _PTFD; /* Port F Data Register; 0x0000000A */
volatile PTFDDSTR _PTFDD; /* Port F Data Direction Register; 0x0000000B */
volatile KBI1SCSTR _KBI1SC; /* KBI1 Status and Control Register; 0x0000000C */
volatile KBI1PESTR _KBI1PE; /* KBI1 Pin Enable Register; 0x0000000D */
volatile KBI1ESSTR _KBI1ES; /* KBI1 Edge Select Register; 0x0000000E */
volatile IRQSCSTR _IRQSC; /* Interrupt request status and control register; 0x0000000F */
volatile ADCSC1STR _ADCSC1; /* Status and Control Register 1; 0x00000010 */
volatile ADCSC2STR _ADCSC2; /* Status and Control Register 2; 0x00000011 */
volatile ADCCFGSTR _ADCCFG; /* Configuration Register; 0x00000016 */
volatile APCTL1STR _APCTL1; /* Pin Control 1 Register; 0x00000017 */
volatile APCTL2STR _APCTL2; /* Pin Control 2 Register; 0x00000018 */
volatile APCTL3STR _APCTL3; /* Pin Control 3 Register; 0x00000019 */
volatile ACMP1SCSTR _ACMP1SC; /* ACMP1 Status and Control Register; 0x0000001A */
volatile ACMP2SCSTR _ACMP2SC; /* ACMP2 Status and Control Register; 0x0000001B */
volatile PTGDSTR _PTGD; /* Port G Data Register; 0x0000001C */
volatile PTGDDSTR _PTGDD; /* Port G Data Direction Register; 0x0000001D */
volatile PTHDSTR _PTHD; /* Port H Data Register; 0x0000001E */
volatile PTHDDSTR _PTHDD; /* Port H Data Direction Register; 0x0000001F */
volatile SCI1C1STR _SCI1C1; /* SCI1 Control Register 1; 0x00000022 */
volatile SCI1C2STR _SCI1C2; /* SCI1 Control Register 2; 0x00000023 */
volatile SCI1S1STR _SCI1S1; /* SCI1 Status Register 1; 0x00000024 */
volatile SCI1S2STR _SCI1S2; /* SCI1 Status Register 2; 0x00000025 */
volatile SCI1C3STR _SCI1C3; /* SCI1 Control Register 3; 0x00000026 */
volatile SCI1DSTR _SCI1D; /* SCI1 Data Register; 0x00000027 */
volatile SPI1C1STR _SPI1C1; /* SPI1 Control Register 1; 0x00000028 */
volatile SPI1C2STR _SPI1C2; /* SPI1 Control Register 2; 0x00000029 */
volatile SPI1BRSTR _SPI1BR; /* SPI1 Baud Rate Register; 0x0000002A */
volatile SPI1SSTR _SPI1S; /* SPI1 Status Register; 0x0000002B */
volatile SPI1DSTR _SPI1D; /* SPI1 Data Register; 0x0000002D */
volatile PTJDSTR _PTJD; /* Port J Data Register; 0x0000002E */
volatile PTJDDSTR _PTJDD; /* Port J Data Direction Register; 0x0000002F */
volatile IIC1ASTR _IIC1A; /* IIC Address Register; 0x00000030 */
volatile IIC1FSTR _IIC1F; /* IIC Frequency Divider Register; 0x00000031 */
volatile IIC1C1STR _IIC1C1; /* IIC Control Register 1; 0x00000032 */
volatile IIC1SSTR _IIC1S; /* IIC Status Register; 0x00000033 */
volatile IIC1DSTR _IIC1D; /* IIC Data I/O Register; 0x00000034 */
volatile IIC1C2STR _IIC1C2; /* IIC Control Register 2; 0x00000035 */
volatile ICSC1STR _ICSC1; /* ICS Control Register 1; 0x00000038 */
volatile ICSC2STR _ICSC2; /* ICS Control Register 2; 0x00000039 */
volatile ICSTRMSTR _ICSTRM; /* ICS Trim Register; 0x0000003A */
volatile ICSSCSTR _ICSSC; /* ICS Status and Control Register; 0x0000003B */
volatile KBI2SCSTR _KBI2SC; /* KBI2 Status and Control Register; 0x0000003C */
volatile KBI2PESTR _KBI2PE; /* KBI2 Pin Enable Register; 0x0000003D */
volatile KBI2ESSTR _KBI2ES; /* KBI2 Edge Select Register; 0x0000003E */
volatile TPM1SCSTR _TPM1SC; /* TPM1 Status and Control Register; 0x00000040 */
volatile TPM1C0SCSTR _TPM1C0SC; /* TPM1 Timer Channel 0 Status and Control Register; 0x00000045 */
volatile TPM1C1SCSTR _TPM1C1SC; /* TPM1 Timer Channel 1 Status and Control Register; 0x00000048 */
volatile TPM1C2SCSTR _TPM1C2SC; /* TPM1 Timer Channel 2 Status and Control Register; 0x0000004B */
volatile TPM2SCSTR _TPM2SC; /* TPM2 Status and Control Register; 0x00000050 */
volatile TPM2C0SCSTR _TPM2C0SC; /* TPM2 Timer Channel 0 Status and Control Register; 0x00000055 */
volatile TPM2C1SCSTR _TPM2C1SC; /* TPM2 Timer Channel 1 Status and Control Register; 0x00000058 */
volatile TPM2C2SCSTR _TPM2C2SC; /* TPM2 Timer Channel 2 Status and Control Register; 0x0000005B */
volatile TPM3SCSTR _TPM3SC; /* TPM3 Status and Control Register; 0x00000060 */
volatile TPM3C0SCSTR _TPM3C0SC; /* TPM3 Timer Channel 0 Status and Control Register; 0x00000065 */
volatile TPM3C1SCSTR _TPM3C1SC; /* TPM3 Timer Channel 1 Status and Control Register; 0x00000068 */
volatile TPM3C2SCSTR _TPM3C2SC; /* TPM3 Timer Channel 2 Status and Control Register; 0x0000006B */
volatile TPM3C3SCSTR _TPM3C3SC; /* TPM3 Timer Channel 3 Status and Control Register; 0x0000006E */
volatile TPM3C4SCSTR _TPM3C4SC; /* TPM3 Timer Channel 4 Status and Control Register; 0x00000071 */
volatile TPM3C5SCSTR _TPM3C5SC; /* TPM3 Timer Channel 5 Status and Control Register; 0x00000074 */
volatile PPAGESTR _PPAGE; /* Program Page Register; 0x00000078 */
volatile LAP2STR _LAP2; /* Linear Address Pointer Register 2; 0x00000079 */
volatile LAP1STR _LAP1; /* Linear Address Pointer Register 1; 0x0000007A */
volatile LAP0STR _LAP0; /* Linear Address Pointer Register 0; 0x0000007B */
volatile LWPSTR _LWP; /* Linear Word Post Increment Register; 0x0000007C */
volatile LBPSTR _LBP; /* Linear Byte Post Increment Register; 0x0000007D */
volatile LBSTR _LB; /* Linear Byte Register; 0x0000007E */
volatile LAPABSTR _LAPAB; /* Linear Address Pointer Add Byte Register; 0x0000007F */
volatile SRSSTR _SRS; /* System Reset Status Register; 0x00001800 */
volatile SBDFRSTR _SBDFR; /* System Background Debug Force Reset Register; 0x00001801 */
volatile SOPT1STR _SOPT1; /* System Options Register 1; 0x00001802 */
volatile SOPT2STR _SOPT2; /* System Options Register 2; 0x00001803 */
volatile SPMSC1STR _SPMSC1; /* System Power Management Status and Control 1 Register; 0x00001808 */
volatile SPMSC2STR _SPMSC2; /* System Power Management Status and Control 2 Register; 0x00001809 */
volatile SPMSC3STR _SPMSC3; /* System Power Management Status and Control 3 Register; 0x0000180B */
volatile SCGC1STR _SCGC1; /* System Clock Gating Control 1 Register; 0x0000180E */
volatile SCGC2STR _SCGC2; /* System Clock Gating Control 2 Register; 0x0000180F */
volatile DBGCAXSTR _DBGCAX; /* Debug Comparator A Extension Register; 0x00001818 */
volatile DBGCBXSTR _DBGCBX; /* Debug Comparator B Extension Register; 0x00001819 */
volatile DBGCCXSTR _DBGCCX; /* Debug Comparator C Extension Register; 0x0000181A */
volatile DBGFXSTR _DBGFX; /* Debug FIFO Extended Information Register; 0x0000181B */
volatile DBGCSTR _DBGC; /* Debug Control Register; 0x0000181C */
volatile DBGTSTR _DBGT; /* Debug Trigger Register; 0x0000181D */
volatile DBGSSTR _DBGS; /* Debug Status Register; 0x0000181E */
volatile DBGCNTSTR _DBGCNT; /* Debug Count Status Register; 0x0000181F */
volatile FCDIVSTR _FCDIV; /* FLASH Clock Divider Register; 0x00001820 */
volatile FOPTSTR _FOPT; /* Flash Options Register; 0x00001821 */
volatile FCNFGSTR _FCNFG; /* Flash Configuration Register; 0x00001823 */
volatile FPROTSTR _FPROT; /* Flash Protection Register; 0x00001824 */
volatile FSTATSTR _FSTAT; /* Flash Status Register; 0x00001825 */
volatile FCMDSTR _FCMD; /* Flash Command Register; 0x00001826 */
volatile RTCSCSTR _RTCSC; /* RTC Status and Control Register; 0x00001830 */
volatile RTCCNTSTR _RTCCNT; /* RTC Counter Register; 0x00001831 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -