/* Based on CPU DB MC68HC908QL4_P_DW, version 2.87.100 (RegistersPrg V2.28) */ /* DataSheet : MC68HC908QL4 Rev. 4 12/2004 */ #include /*lint -save -esym(765, *) */ /* * * * * 8-BIT REGISTERS * * * * * * * * * * * * * * * */ volatile PTASTR _PTA; /* Port A Data Register; 0x00000000 */ volatile PTBSTR _PTB; /* Port B Data Register; 0x00000001 */ volatile DDRASTR _DDRA; /* Data Direction Register A; 0x00000004 */ volatile DDRBSTR _DDRB; /* Data Direction Register B; 0x00000005 */ volatile PTAPUESTR _PTAPUE; /* Input Pull-Up Enable Register PTAPUE; 0x0000000B */ volatile PTBPUESTR _PTBPUE; /* Input Pull-Up Enable Register PTBPUE; 0x0000000C */ volatile KBSCRSTR _KBSCR; /* Keyboard Status and Control Register; 0x0000001A */ volatile KBIERSTR _KBIER; /* Keyboard Interrrupt Enable Register KBIER; 0x0000001B */ volatile KBIPRSTR _KBIPR; /* Keyboard Interrupt Polarity Register; 0x0000001C */ volatile INTSCRSTR _INTSCR; /* IRQ Status and Control Register; 0x0000001D */ volatile CONFIG2STR _CONFIG2; /* Configuration Register 2; 0x0000001E */ volatile CONFIG1STR _CONFIG1; /* Configuration Register 1; 0x0000001F */ volatile TSCSTR _TSC; /* TIM Status and Control Register TSC; 0x00000020 */ volatile TSC0STR _TSC0; /* TIM Channel 0 Status and Control Register; 0x00000025 */ volatile TSC1STR _TSC1; /* TIM Channel 1 Status and Control Register; 0x00000028 */ volatile OSCSCSTR _OSCSC; /* Oscillator Status and Control Register; 0x00000036 */ volatile OSCTRIMSTR _OSCTRIM; /* Oscillator Trim Register; 0x00000038 */ volatile ADSCRSTR _ADSCR; /* ADC10 Status and Control Register; 0x0000003C */ volatile ADCLKSTR _ADCLK; /* ADC Input Clock Register; 0x0000003F */ volatile SLCC1STR _SLCC1; /* SLIC Control Register 1; 0x00000040 */ volatile SLCC2STR _SLCC2; /* SLIC Control Register 2; 0x00000041 */ volatile SLCSSTR _SLCS; /* SLIC Status Register; 0x00000042 */ volatile SLCPSTR _SLCP; /* SLIC Prescale Register; 0x00000043 */ volatile SLCSVSTR _SLCSV; /* SLIC State Vector Register; 0x00000046 */ volatile SLCDLCSTR _SLCDLC; /* SLIC Data Length Code Register; 0x00000047 */ volatile SLCIDSTR _SLCID; /* SLIC Identifier Register; 0x00000048 */ volatile SLCD7STR _SLCD7; /* SLIC Data Register 7; 0x00000049 */ volatile SLCD6STR _SLCD6; /* SLIC Data Register 6; 0x0000004A */ volatile SLCD5STR _SLCD5; /* SLIC Data Register 5; 0x0000004B */ volatile SLCD4STR _SLCD4; /* SLIC Data Register 4; 0x0000004C */ volatile SLCD3STR _SLCD3; /* SLIC Data Register 3; 0x0000004D */ volatile SLCD2STR _SLCD2; /* SLIC Data Register 2; 0x0000004E */ volatile SLCD1STR _SLCD1; /* SLIC Data Register 1; 0x0000004F */ volatile SLCD0STR _SLCD0; /* SLIC Data Register 0; 0x00000050 */ volatile BSRSTR _BSR; /* Break Status Register; 0x0000FE00 */ volatile SRSRSTR _SRSR; /* SIM Reset Status Register; 0x0000FE01 */ volatile BRKARSTR _BRKAR; /* Break Auxiliary Register; 0x0000FE02 */ volatile BFCRSTR _BFCR; /* SIM Break Flag Control Register; 0x0000FE03 */ volatile INT1STR _INT1; /* Interrupt Status Register 1; 0x0000FE04 */ volatile INT2STR _INT2; /* Interrupt Status Register 2; 0x0000FE05 */ volatile INT3STR _INT3; /* Interrupt Status Register 3; 0x0000FE06 */ volatile FLCRSTR _FLCR; /* FLASH Control Register; 0x0000FE08 */ volatile BRKSCRSTR _BRKSCR; /* Break Status and Control Register; 0x0000FE0B */ volatile LVISRSTR _LVISR; /* LVI Status Register; 0x0000FE0C */ /* FLBPR - macro for reading non volatile register FLASH Block Protect Register; 0x0000FFBE */ /* Tip for register initialization in the user code: const byte FLBPR_INIT @0x0000FFBE = ; */ /* Optional - macro for reading non volatile register Internal Oscillator Trim; 0x0000FFC0 */ /* Tip for register initialization in the user code: const byte Optional_INIT @0x0000FFC0 = ; */ volatile COPCTLSTR _COPCTL; /* COP Control Register; 0x0000FFFF */ /* * * * * 16-BIT REGISTERS * * * * * * * * * * * * * * * */ volatile TCNTSTR _TCNT; /* TIM Counter Register; 0x00000021 */ volatile TMODSTR _TMOD; /* TIM Counter Modulo Register; 0x00000023 */ volatile TCH0STR _TCH0; /* TIM Channel 0 Register; 0x00000026 */ volatile TCH1STR _TCH1; /* TIM Channel 1 Register; 0x00000029 */ volatile ADRSTR _ADR; /* ADC10 Data Register - Right-justified; 0x0000003D */ volatile SLCBTSTR _SLCBT; /* SLIC Bit Time Register; 0x00000044 */ volatile BRKSTR _BRK; /* Break Address Register; 0x0000FE09 */ /*lint -restore */ /* EOF */