/* Based on CPU DB MC9RS08LE4_28, version 3.00.012 (RegistersPrg V2.28) */ /* DataSheet : MC9RS08LE4RM Rev. 1 9/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 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 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 SCIC1STR _SCIC1; /* SCI Control Register 1; 0x00000212 */ volatile SCIC2STR _SCIC2; /* SCI Control Register 2; 0x00000213 */ volatile SCIS1STR _SCIS1; /* SCI Status Register 1; 0x00000214 */ volatile SCIS2STR _SCIS2; /* SCI Status Register 2; 0x00000215 */ volatile SCIC3STR _SCIC3; /* SCI Control Register 3; 0x00000216 */ volatile SCIDSTR _SCID; /* SCI Data Register; 0x00000217 */ volatile SRTISCSTR _SRTISC; /* System Real-Time Interrupt Status and Control Register; 0x0000021C */ volatile SPMSC1STR _SPMSC1; /* System Power Management Status and Control Register; 0x0000021D */ volatile TPM1SCSTR _TPM1SC; /* TPM1 Status and Control Register; 0x00000220 */ volatile TPM1C0SCSTR _TPM1C0SC; /* TPM1 Timer Channel 0 Status and Control Register; 0x00000225 */ volatile TPM1C1SCSTR _TPM1C1SC; /* TPM1 Timer Channel 1 Status and Control Register; 0x00000228 */ 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 TPM2SCSTR _TPM2SC; /* TPM2 Status and Control Register; 0x00000230 */ volatile TPM2C0SCSTR _TPM2C0SC; /* TPM2 Timer Channel 0 Status and Control Register; 0x00000235 */ volatile TPM2C1SCSTR _TPM2C1SC; /* TPM2 Timer Channel 1 Status and Control Register; 0x00000238 */ volatile FOPTSTR _FOPT; /* Flash Options Register; 0x0000023C */ volatile FLCRSTR _FLCR; /* Flash Control Register; 0x0000023D */ 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 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 */ /* 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 SCIBDSTR _SCIBD; /* SCI Baud Rate Register; 0x00000210 */ volatile SDIDSTR _SDID; /* System Device Identification Register; 0x0000021A */ volatile TPM1CNTSTR _TPM1CNT; /* TPM1 Timer Counter Register; 0x00000221 */ volatile TPM1MODSTR _TPM1MOD; /* TPM1 Timer Counter Modulo Register; 0x00000223 */ volatile TPM1C0VSTR _TPM1C0V; /* TPM1 Timer Channel 0 Value Register; 0x00000226 */ volatile TPM1C1VSTR _TPM1C1V; /* TPM1 Timer Channel 1 Value Register; 0x00000229 */ volatile TPM2CNTSTR _TPM2CNT; /* TPM2 Timer Counter Register; 0x00000231 */ volatile TPM2MODSTR _TPM2MOD; /* TPM2 Timer Counter Modulo Register; 0x00000233 */ volatile TPM2C0VSTR _TPM2C0V; /* TPM2 Timer Channel 0 Value Register; 0x00000236 */ volatile TPM2C1VSTR _TPM2C1V; /* TPM2 Timer Channel 1 Value Register; 0x00000239 */ /*lint -restore */ /* EOF */