/* Based on CPU DB MC68HC908AB32, version 2.89.068 (RegistersPrg V2.28) */ /* DataSheet : MC68HC908AB32/D Rev. 1.1 August 2, 2005 */ #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 PTCSTR _PTC; /* Port C Data Register; 0x00000002 */ volatile PTDSTR _PTD; /* Port D Data Register; 0x00000003 */ volatile DDRASTR _DDRA; /* Data Direction Register A; 0x00000004 */ volatile DDRBSTR _DDRB; /* Data Direction Register B; 0x00000005 */ volatile DDRCSTR _DDRC; /* Data Direction Register C; 0x00000006 */ volatile DDRDSTR _DDRD; /* Data Direction Register D; 0x00000007 */ volatile PTESTR _PTE; /* Port E Data Register; 0x00000008 */ volatile PTFSTR _PTF; /* Port F Data Register; 0x00000009 */ volatile PTGSTR _PTG; /* Port G Data Register; 0x0000000A */ volatile PTHSTR _PTH; /* Port H Data Register; 0x0000000B */ volatile DDRESTR _DDRE; /* Data Direction Register E; 0x0000000C */ volatile DDRFSTR _DDRF; /* Data Direction Register F; 0x0000000D */ volatile DDRGSTR _DDRG; /* Data Direction Register G; 0x0000000E */ volatile DDRHSTR _DDRH; /* Data Direction Register H; 0x0000000F */ volatile SPCRSTR _SPCR; /* SPI Control Register; 0x00000010 */ volatile SPSCRSTR _SPSCR; /* SPI Status and Control Register; 0x00000011 */ volatile SPDRSTR _SPDR; /* SPI Data Register; 0x00000012 */ volatile SCC1STR _SCC1; /* SCI Control Register 1; 0x00000013 */ volatile SCC2STR _SCC2; /* SCI Control Register 2; 0x00000014 */ volatile SCC3STR _SCC3; /* SCI Control Register 3; 0x00000015 */ volatile SCS1STR _SCS1; /* SCI Status Register 1; 0x00000016 */ volatile SCS2STR _SCS2; /* SCI Status Register 2; 0x00000017 */ volatile SCDRSTR _SCDR; /* SCI Data Register; 0x00000018 */ volatile SCBRSTR _SCBR; /* SCI Baud Rate Register; 0x00000019 */ volatile ISCRSTR _ISCR; /* IRQ Status and Control Register; 0x0000001A */ volatile KBSCRSTR _KBSCR; /* Keyboard Status and Control Register; 0x0000001B */ volatile PCTLSTR _PCTL; /* PLL Control Register; 0x0000001C */ volatile PBWCSTR _PBWC; /* PLL Bandwidth Control Register; 0x0000001D */ volatile PPGSTR _PPG; /* PLL Programming Register; 0x0000001E */ volatile CONFIG1STR _CONFIG1; /* Configuration Register; 0x0000001F */ volatile TASCSTR _TASC; /* TIMA Status and Control Register; 0x00000020 */ volatile KBIERSTR _KBIER; /* Keyboard Interrupt Enable Register; 0x00000021 */ volatile TASC0STR _TASC0; /* TIMA Channel Status and Control Register; 0x00000026 */ volatile TASC1STR _TASC1; /* TIMA Channel Status and Control Register; 0x00000029 */ volatile TASC2STR _TASC2; /* TIMA Channel Status and Control Register; 0x0000002C */ volatile TASC3STR _TASC3; /* TIMA Channel Status and Control Register; 0x0000002F */ volatile TBSC2STR _TBSC2; /* Timer B Channel Status and Control Register; 0x00000032 */ volatile TBSC3STR _TBSC3; /* TIMB Channel Status and Control Register; 0x00000035 */ volatile ADSCRSTR _ADSCR; /* ADC Status and Control Register; 0x00000038 */ volatile ADRSTR _ADR; /* ADC Data Register; 0x00000039 */ volatile ADCLKSTR _ADCLK; /* ADC Input Clock Register; 0x0000003A */ volatile PTDPUESTR _PTDPUE; /* Port D Input Pullup Enable Register; 0x0000003D */ volatile PTFPUESTR _PTFPUE; /* Port F Input Pullup Enable Register; 0x0000003E */ volatile CONFIG2STR _CONFIG2; /* Configuration Register; 0x0000003F */ volatile TBSCRSTR _TBSCR; /* TIMB Status and Control Register; 0x00000040 */ volatile TBSC0STR _TBSC0; /* TIMB Channel Status and Control Register; 0x00000045 */ volatile TBSC1STR _TBSC1; /* IMB Channel Status and Control Register; 0x00000048 */ volatile PSCSTR _PSC; /* Timer Status & Control; 0x0000004B */ volatile SBSRSTR _SBSR; /* SIM Break Status Register; 0x0000FE00 */ volatile SRSRSTR _SRSR; /* SIM Reset Status Register; 0x0000FE01 */ volatile SBFCRSTR _SBFCR; /* SIM Break Flag Control Register; 0x0000FE03 */ volatile FLCRSTR _FLCR; /* FLASH Control Register; 0x0000FE08 */ volatile BRKSCRSTR _BRKSCR; /* Break Status and Control Register; 0x0000FE0E */ volatile LVISRSTR _LVISR; /* LVI Status Register; 0x0000FE0F */ /* EEDIVHNVR - macro for reading non volatile register EE1DIV Hi Non-volatile Register; 0x0000FE10 */ /* Tip for register initialization in the user code: const byte EEDIVHNVR_INIT @0x0000FE10 = ; */ /* EEDIVLNVR - macro for reading non volatile register EE1DIV Lo Non-volatile Register; 0x0000FE11 */ /* Tip for register initialization in the user code: const byte EEDIVLNVR_INIT @0x0000FE11 = ; */ volatile EEDIVHSTR _EEDIVH; /* EE1DIV Divider High Register; 0x0000FE1A */ volatile EEDIVLSTR _EEDIVL; /* EE1DIV Divider Low Register; 0x0000FE1B */ /* EENVR - macro for reading non volatile register EEPROM1 Nonvolatile Register; 0x0000FE1C */ /* Tip for register initialization in the user code: const byte EENVR_INIT @0x0000FE1C = ; */ volatile EECRSTR _EECR; /* EEPROM1 Control Register; 0x0000FE1D */ volatile EEACRSTR _EEACR; /* EEPROM1 Array Control Register; 0x0000FE1F */ /* FLBPR - macro for reading non volatile register FLASH Block Protect Register; 0x0000FF7E */ /* Tip for register initialization in the user code: const byte FLBPR_INIT @0x0000FF7E = ; */ volatile COPCTLSTR _COPCTL; /* COP Control Register; 0x0000FFFF */ /* * * * * 16-BIT REGISTERS * * * * * * * * * * * * * * * */ volatile TACNTSTR _TACNT; /* TIMA Counter Register; 0x00000022 */ volatile TAMODSTR _TAMOD; /* TIMA Counter Modulo Register; 0x00000024 */ volatile TACH0STR _TACH0; /* TIMA Channel Register; 0x00000027 */ volatile TACH1STR _TACH1; /* TIMA Channel Register; 0x0000002A */ volatile TACH2STR _TACH2; /* TIMA Channel Register; 0x0000002D */ volatile TACH3STR _TACH3; /* TIMA Channel Register; 0x00000030 */ volatile TBCH2STR _TBCH2; /* TIMB Channel Register; 0x00000033 */ volatile TBCH3STR _TBCH3; /* TIMB Channel Register; 0x00000036 */ volatile TBCNTSTR _TBCNT; /* TIMB Counter Register; 0x00000041 */ volatile TBMODSTR _TBMOD; /* TIMB Counter Modulo Register; 0x00000043 */ volatile TBCH0STR _TBCH0; /* TIMB Channel Register; 0x00000046 */ volatile TBCH1STR _TBCH1; /* TIMB Channel Register; 0x00000049 */ volatile PCNTSTR _PCNT; /* PIT Counter Register; 0x0000004C */ volatile PMODSTR _PMOD; /* PIT Counter Modulo Register; 0x0000004E */ volatile BRKSTR _BRK; /* Break Address Register; 0x0000FE0C */ /*lint -restore */ /* EOF */