/* Based on CPU DB MC9RS08LA8_48, version 3.00.022 (RegistersPrg V2.28) */ /* DataSheet : MC9RS08LA8RM Rev. 1 10/2008 */ #include /*lint -save -esym(765, *) */ /* * * * * 8-BIT REGISTERS * * * * * * * * * * * * * * * */ 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 SRSSTR _SRS; /* System Reset Status Register; 0x00000018 */ volatile SOPTSTR _SOPT; /* System Options Register; 0x00000019 */ volatile SIP1STR _SIP1; /* System Interrupt Pending Register 1; 0x0000001A */ volatile SIP2STR _SIP2; /* System Interrupt Pending Register 2; 0x0000001B */ volatile KBISCSTR _KBISC; /* KBI Status and Control Register; 0x0000001C */ volatile KBIPESTR _KBIPE; /* KBI Pin Enable Register; 0x0000001D */ volatile KBIESSTR _KBIES; /* KBI Edge Select Register; 0x0000001E */ volatile PAGESELSTR _PAGESEL; /* Page Select Register; 0x0000001F */ volatile LCDWF0STR _LCDWF0; /* LCD Waveform Register 0; 0x00000020 */ volatile LCDWF1STR _LCDWF1; /* LCD Waveform Register 1; 0x00000021 */ volatile LCDWF2STR _LCDWF2; /* LCD Waveform Register 2; 0x00000022 */ volatile LCDWF3STR _LCDWF3; /* LCD Waveform Register 3; 0x00000023 */ volatile LCDWF4STR _LCDWF4; /* LCD Waveform Register 4; 0x00000024 */ volatile LCDWF5STR _LCDWF5; /* LCD Waveform Register 5; 0x00000025 */ volatile LCDWF6STR _LCDWF6; /* LCD Waveform Register 6; 0x00000026 */ volatile LCDWF7STR _LCDWF7; /* LCD Waveform Register 7; 0x00000027 */ volatile LCDWF8STR _LCDWF8; /* LCD Waveform Register 8; 0x00000028 */ volatile LCDWF9STR _LCDWF9; /* LCD Waveform Register 9; 0x00000029 */ volatile LCDWF10STR _LCDWF10; /* LCD Waveform Register 10; 0x0000002A */ volatile LCDWF11STR _LCDWF11; /* LCD Waveform Register 11; 0x0000002B */ volatile LCDWF12STR _LCDWF12; /* LCD Waveform Register 12; 0x0000002C */ volatile LCDWF13STR _LCDWF13; /* LCD Waveform Register 13; 0x0000002D */ volatile LCDWF14STR _LCDWF14; /* LCD Waveform Register 14; 0x0000002E */ volatile LCDWF15STR _LCDWF15; /* LCD Waveform Register 15; 0x0000002F */ volatile LCDWF16STR _LCDWF16; /* LCD Waveform Register 16; 0x00000030 */ volatile LCDWF17STR _LCDWF17; /* LCD Waveform Register 17; 0x00000031 */ volatile LCDWF18STR _LCDWF18; /* LCD Waveform Register 18; 0x00000032 */ volatile LCDWF19STR _LCDWF19; /* LCD Waveform Register 19; 0x00000033 */ volatile LCDWF20STR _LCDWF20; /* LCD Waveform Register 20; 0x00000034 */ volatile LCDWF21STR _LCDWF21; /* LCD Waveform Register 21; 0x00000035 */ volatile LCDWF22STR _LCDWF22; /* LCD Waveform Register 22; 0x00000036 */ volatile LCDWF23STR _LCDWF23; /* LCD Waveform Register 23; 0x00000037 */ volatile LCDWF24STR _LCDWF24; /* LCD Waveform Register 24; 0x00000038 */ volatile LCDWF25STR _LCDWF25; /* LCD Waveform Register 25; 0x00000039 */ volatile LCDWF26STR _LCDWF26; /* LCD Waveform Register 26; 0x0000003A */ volatile LCDWF27STR _LCDWF27; /* LCD Waveform Register 27; 0x0000003B */ volatile LCDWF28STR _LCDWF28; /* LCD Waveform Register 28; 0x0000003C */ volatile LCDC0STR _LCDC0; /* LCD Control Register 0; 0x00000040 */ volatile LCDC1STR _LCDC1; /* LCD Control Register 1; 0x00000041 */ volatile LCDSUPPLYSTR _LCDSUPPLY; /* LCD Voltage Supply Register; 0x00000042 */ volatile LCDBCTLSTR _LCDBCTL; /* LCD Blink Control Register; 0x00000044 */ volatile LCDSSTR _LCDS; /* LCD Status Register; 0x00000045 */ volatile PTADSTR _PTAD; /* Port A Data Register; 0x00000046 */ volatile PTADDSTR _PTADD; /* Port A Data Direction Register; 0x00000047 */ volatile PTBDSTR _PTBD; /* Port B Data Register; 0x00000048 */ volatile PTBDDSTR _PTBDD; /* Port B Data Direction Register; 0x00000049 */ volatile PTCDSTR _PTCD; /* Port C Data Register; 0x0000004A */ volatile PTCDDSTR _PTCDD; /* Port C Data Direction Register; 0x0000004B */ volatile PTDDSTR _PTDD; /* Port D Data Register; 0x0000004C */ volatile PTDDDSTR _PTDDD; /* Port D Data Direction Register; 0x0000004D */ volatile PTEDSTR _PTED; /* Port E Data Register; 0x0000004E */ volatile PTEDDSTR _PTEDD; /* Port E Data Direction Register; 0x0000004F */ volatile PTAPESTR _PTAPE; /* Port A Internal Pulling Device Enable Register; 0x00000200 */ volatile PTAPUDSTR _PTAPUD; /* Port A Pullup/Pulldown Control Register; 0x00000201 */ volatile PTADSSTR _PTADS; /* Port A Drive Strength Selection Register; 0x00000202 */ volatile PTASESTR _PTASE; /* Port A Output Slew Rate Control Enable Register; 0x00000203 */ volatile PTBPESTR _PTBPE; /* Port B Internal Pulling Device Enable Register; 0x00000204 */ volatile PTBPUDSTR _PTBPUD; /* Port B Pullup/Pulldown Control Register; 0x00000205 */ volatile PTBDSSTR _PTBDS; /* Port B Drive Strength Selection Register; 0x00000206 */ volatile PTBSESTR _PTBSE; /* Port B Output Slew Rate Control Enable Register; 0x00000207 */ volatile PTCPESTR _PTCPE; /* Port C Internal Pulling Device Enable Register; 0x00000208 */ volatile PTCPUDSTR _PTCPUD; /* Port C Pullup/Pulldown Control Register; 0x00000209 */ volatile PTCDSSTR _PTCDS; /* Port C Drive Strength Selection Register; 0x0000020A */ volatile PTCSESTR _PTCSE; /* Port C Output Slew Rate Control Enable Register; 0x0000020B */ volatile PTDPESTR _PTDPE; /* Port D Internal Pulling Device Enable Register; 0x0000020C */ volatile PTDPUDSTR _PTDPUD; /* Port D Pullup/Pulldown Control Register; 0x0000020D */ volatile PTDDSSTR _PTDDS; /* Port D Drive Strength Selection Register; 0x0000020E */ volatile PTDSESTR _PTDSE; /* Port D Output Slew Rate Control Enable Register; 0x0000020F */ volatile PTEPESTR _PTEPE; /* Port E Internal Pulling Device Enable Register; 0x00000210 */ volatile PTEPUDSTR _PTEPUD; /* Port E Pullup/Pulldown Control Register; 0x00000211 */ volatile PTEDSSTR _PTEDS; /* Port E Drive Strength Selection Register; 0x00000212 */ volatile PTESESTR _PTESE; /* Port E Output Slew Rate Control Enable Register; 0x00000213 */ volatile SPIC1STR _SPIC1; /* SPI Control Register 1; 0x00000218 */ volatile SPIC2STR _SPIC2; /* SPI Control Register 2; 0x00000219 */ volatile SPIBRSTR _SPIBR; /* SPI Baud Rate Register; 0x0000021A */ volatile SPISSTR _SPIS; /* SPI Status Register; 0x0000021B */ volatile SPIDSTR _SPID; /* SPI Data Register; 0x0000021D */ volatile TPMSCSTR _TPMSC; /* TPM Status and Control Register; 0x00000220 */ volatile TPMC0SCSTR _TPMC0SC; /* TPM Timer Channel 0 Status and Control Register; 0x00000225 */ volatile TPMC1SCSTR _TPMC1SC; /* TPM Timer Channel 1 Status and Control Register; 0x00000228 */ volatile ACMPSCSTR _ACMPSC; /* ACMP Status and Control Register; 0x0000022B */ volatile ICSC1STR _ICSC1; /* ICS Control Register 1; 0x0000022C */ volatile ICSC2STR _ICSC2; /* ICS Control Register 2; 0x0000022D */ volatile ICSTRMSTR _ICSTRM; /* ICS Trim Register; 0x0000022E */ volatile ICSSCSTR _ICSSC; /* ICS Status and Control Register; 0x0000022F */ volatile SCIC1STR _SCIC1; /* SCI Control Register 1; 0x00000232 */ volatile SCIC2STR _SCIC2; /* SCI Control Register 2; 0x00000233 */ volatile SCIS1STR _SCIS1; /* SCI Status Register 1; 0x00000234 */ volatile SCIS2STR _SCIS2; /* SCI Status Register 2; 0x00000235 */ volatile SCIC3STR _SCIC3; /* SCI Control Register 3; 0x00000236 */ volatile SCIDSTR _SCID; /* SCI Data Register; 0x00000237 */ volatile SRTISCSTR _SRTISC; /* System Real-Time Interrupt Status and Control Register; 0x00000238 */ volatile SPMSC1STR _SPMSC1; /* System Power Management Status and Control Register; 0x00000239 */ volatile MTIMSCSTR _MTIMSC; /* MTIM Clock Configuration Register; 0x0000023C */ volatile MTIMCLKSTR _MTIMCLK; /* MTIM Clock Configuration Register; 0x0000023D */ volatile MTIMCNTSTR _MTIMCNT; /* MTIM Counter Register; 0x0000023E */ volatile MTIMMODSTR _MTIMMOD; /* MTIM Modulo Register; 0x0000023F */ volatile LCDPEN0STR _LCDPEN0; /* LCD Pin Enable Register 0; 0x00000240 */ volatile LCDPEN1STR _LCDPEN1; /* LCD Pin Enable Register 1; 0x00000241 */ volatile LCDPEN2STR _LCDPEN2; /* LCD Pin Enable Register 2; 0x00000242 */ volatile LCDPEN3STR _LCDPEN3; /* LCD Pin Enable Register 3; 0x00000243 */ volatile LCDBPEN0STR _LCDBPEN0; /* LCD Backplane Enable Register 0; 0x00000248 */ volatile LCDBPEN1STR _LCDBPEN1; /* LCD Backplane Enable Register 1; 0x00000249 */ volatile LCDBPEN2STR _LCDBPEN2; /* LCD Backplane Enable Register 2; 0x0000024A */ volatile LCDBPEN3STR _LCDBPEN3; /* LCD Backplane Enable Register 3; 0x0000024B */ volatile FOPTSTR _FOPT; /* Flash Options Register; 0x00000250 */ volatile FLCRSTR _FLCR; /* Flash Control Register; 0x00000251 */ /* NVICSTRM - macro for reading non volatile register Nonvolatile ICS Trim Register; 0x00003FFA */ /* Tip for register initialization in the user code: const byte NVICSTRM_INIT @0x00003FFA = ; */ /* NVFTRIM - macro for reading non volatile register Nonvolatile ICS Fine Trim; 0x00003FFB */ /* Tip for register initialization in the user code: const byte NVFTRIM_INIT @0x00003FFB = ; */ /* NVOPT - macro for reading non volatile register Nonvolatile Flash Options Register; 0x00003FFC */ /* Tip for register initialization in the user code: const byte NVOPT_INIT @0x00003FFC = ; */ /* * * * * 16-BIT REGISTERS * * * * * * * * * * * * * * * */ volatile ADCRSTR _ADCR; /* Data Result Register; 0x00000012 */ volatile ADCCVSTR _ADCCV; /* Compare Value Register; 0x00000014 */ volatile SDIDSTR _SDID; /* System Device Identification Register; 0x00000216 */ volatile TPMCNTSTR _TPMCNT; /* TPM Timer Counter Register; 0x00000221 */ volatile TPMMODSTR _TPMMOD; /* TPM Timer Counter Modulo Register; 0x00000223 */ volatile TPMC0VSTR _TPMC0V; /* TPM Timer Channel 0 Value Register; 0x00000226 */ volatile TPMC1VSTR _TPMC1V; /* TPM Timer Channel 1 Value Register; 0x00000229 */ volatile SCIBDSTR _SCIBD; /* SCI Baud Rate Register; 0x00000230 */ /*lint -restore */ /* EOF */