/* Based on CPU DB MC9RS08KB2_8, version 3.00.000 (RegistersPrg V2.28) */ /* DataSheet : MC9RS08KB12RM Rev. 1 4/2009 */ #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 APCTL2STR _APCTL2; /* Pin Control 2 Register; 0x00000018 */ volatile ACMPSCSTR _ACMPSC; /* ACMP Status and Control Register; 0x0000001A */ volatile SIP1STR _SIP1; /* System Interrupt Pending Register; 0x0000001C */ volatile SIP2STR _SIP2; /* System Interrupt Pending Register 2; 0x0000001D */ volatile PAGESELSTR _PAGESEL; /* Page Select Register; 0x0000001F */ volatile PTADSTR _PTAD; /* Port A Data Register; 0x00000020 */ volatile PTADDSTR _PTADD; /* Port A Data Direction Register; 0x00000021 */ volatile PTBDSTR _PTBD; /* Port B Data Register; 0x00000022 */ volatile PTBDDSTR _PTBDD; /* Port B Data Direction Register; 0x00000023 */ volatile PTCDSTR _PTCD; /* Port C Data Register; 0x00000024 */ volatile PTCDDSTR _PTCDD; /* Port C Data Direction Register; 0x00000025 */ volatile MTIM1SCSTR _MTIM1SC; /* MTIM Clock Configuration Register; 0x00000028 */ volatile MTIM1CLKSTR _MTIM1CLK; /* MTIM Clock Configuration Register; 0x00000029 */ volatile MTIM1CNTSTR _MTIM1CNT; /* MTIM Counter Register; 0x0000002A */ volatile MTIM1MODSTR _MTIM1MOD; /* MTIM Modulo Register; 0x0000002B */ volatile MTIM2SCSTR _MTIM2SC; /* MTIM Clock Configuration Register; 0x0000002C */ volatile MTIM2CLKSTR _MTIM2CLK; /* MTIM Clock Configuration Register; 0x0000002D */ volatile MTIM2CNTSTR _MTIM2CNT; /* MTIM Counter Register; 0x0000002E */ volatile MTIM2MODSTR _MTIM2MOD; /* MTIM Modulo Register; 0x0000002F */ volatile SCIC1STR _SCIC1; /* SCI Control Register 1; 0x00000032 */ volatile SCIC2STR _SCIC2; /* SCI Control Register 2; 0x00000033 */ volatile SCIS1STR _SCIS1; /* SCI Status Register 1; 0x00000034 */ volatile SCIS2STR _SCIS2; /* SCI Status Register 2; 0x00000035 */ volatile SCIC3STR _SCIC3; /* SCI Control Register 3; 0x00000036 */ volatile SCIDSTR _SCID; /* SCI Data Register; 0x00000037 */ volatile IICASTR _IICA; /* IIC Address Register; 0x00000038 */ volatile IICFSTR _IICF; /* IIC Frequency Divider Register; 0x00000039 */ volatile IICC1STR _IICC1; /* IIC Control Register 1; 0x0000003A */ volatile IICSSTR _IICS; /* IIC Status Register; 0x0000003B */ volatile IICDSTR _IICD; /* IIC Data I/O Register; 0x0000003C */ volatile IICC2STR _IICC2; /* IIC Control Register 2; 0x0000003D */ volatile TPMSCSTR _TPMSC; /* TPM Status and Control Register; 0x00000040 */ volatile TPMC0SCSTR _TPMC0SC; /* TPM Timer Channel 0 Status and Control Register; 0x00000045 */ volatile TPMC1SCSTR _TPMC1SC; /* TPM Timer Channel 1 Status and Control Register; 0x00000048 */ volatile KBISCSTR _KBISC; /* KBI Status and Control Register; 0x0000004C */ volatile KBIPESTR _KBIPE; /* KBI Pin Enable Register; 0x0000004D */ volatile KBIESSTR _KBIES; /* KBI Edge Select Register; 0x0000004E */ volatile IEASTR _IEA; /* Interrupt Exit Address Register; 0x00000200 */ volatile FOPTSTR _FOPT; /* Flash Options Register; 0x00000208 */ volatile FLCRSTR _FLCR; /* Flash Control Register; 0x00000209 */ volatile SRSSTR _SRS; /* System Reset Status Register; 0x00000210 */ volatile SOPT1STR _SOPT1; /* System Options Register 1; 0x00000211 */ volatile SOPT2STR _SOPT2; /* System Options Register 2; 0x00000212 */ volatile SRTISCSTR _SRTISC; /* System Real-Time Interrupt Status and Control Register; 0x00000218 */ volatile SPMSC1STR _SPMSC1; /* System Power Management Status and Control 1 Register; 0x00000219 */ volatile PTAPESTR _PTAPE; /* Port A Internal Pulling Device Enable Register; 0x00000220 */ volatile PTAPUDSTR _PTAPUD; /* Port A Pullup/Pulldown Control Register; 0x00000221 */ volatile PTASESTR _PTASE; /* Port A Output Slew Rate Control Enable Register; 0x00000222 */ volatile PTADSSTR _PTADS; /* Port A Drive Strength Selection Register; 0x00000223 */ volatile PTBPESTR _PTBPE; /* Port B Internal Pulling Device Enable Register; 0x00000224 */ volatile PTBPUDSTR _PTBPUD; /* Port B Pullup/Pulldown Control Register; 0x00000225 */ volatile PTBSESTR _PTBSE; /* Port B Output Slew Rate Control Enable Register; 0x00000226 */ volatile PTBDSSTR _PTBDS; /* Port B Drive Strength Selection Register; 0x00000227 */ volatile PTCPESTR _PTCPE; /* Port C Internal Pulling Device Enable Register; 0x00000228 */ volatile PTCPUDSTR _PTCPUD; /* Port C Pullup/Pulldown Control Register; 0x00000229 */ volatile PTCSESTR _PTCSE; /* Port C Output Slew Rate Control Enable Register; 0x0000022A */ volatile PTCDSSTR _PTCDS; /* Port C Drive Strength Selection Register; 0x0000022B */ volatile ICSC1STR _ICSC1; /* ICS Control Register 1; 0x00000238 */ volatile ICSC2STR _ICSC2; /* ICS Control Register 2; 0x00000239 */ volatile ICSTRMSTR _ICSTRM; /* ICS Trim Register; 0x0000023A */ volatile ICSSCSTR _ICSSC; /* ICS Status and Control Register; 0x0000023B */ /* 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; 0x00000030 */ volatile TPMCNTSTR _TPMCNT; /* TPM Timer Counter Register; 0x00000041 */ volatile TPMMODSTR _TPMMOD; /* TPM Timer Counter Modulo Register; 0x00000043 */ volatile TPMC0VSTR _TPMC0V; /* TPM Timer Channel 0 Value Register; 0x00000046 */ volatile TPMC1VSTR _TPMC1V; /* TPM Timer Channel 1 Value Register; 0x00000049 */ volatile IRASTR _IRA; /* Interrupt Return Address Register; 0x00000201 */ volatile SDIDSTR _SDID; /* System Device Identification Register; 0x00000216 */ /*lint -restore */ /* EOF */