/* Based on CPU DB SC9RS08MZ08_20, version 3.00.000 (RegistersPrg V2.28) */ /* DataSheet : SC9RS08MZ08RM Rev. 2 3/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 TPMC0SCSTR _TPMC0SC; /* TPM Timer Channel 0 Status and Control Register; 0x00000015 */ volatile TPMC1SCSTR _TPMC1SC; /* TPM Timer Channel 1 Status and Control Register; 0x00000018 */ volatile ACMPSCSTR _ACMPSC; /* ACMP Status and Control Register; 0x0000001B */ volatile PTADSTR _PTAD; /* Port A Data Register; 0x0000001C */ volatile PTBDSTR _PTBD; /* Port B Data Register; 0x0000001D */ volatile PTCDSTR _PTCD; /* Port C Data Register; 0x0000001E */ volatile PAGESELSTR _PAGESEL; /* Page Select Register; 0x0000001F */ volatile MTIM1SCSTR _MTIM1SC; /* MTIM Clock Configuration Register; 0x00000020 */ volatile MTIM1CLKSTR _MTIM1CLK; /* MTIM Clock Configuration Register; 0x00000021 */ volatile MTIM1CNTSTR _MTIM1CNT; /* MTIM Counter Register; 0x00000022 */ volatile MTIM1MODSTR _MTIM1MOD; /* MTIM Modulo Register; 0x00000023 */ volatile MTIM2SCSTR _MTIM2SC; /* MTIM Clock Configuration Register; 0x00000024 */ volatile MTIM2CLKSTR _MTIM2CLK; /* MTIM Clock Configuration Register; 0x00000025 */ volatile MTIM2CNTSTR _MTIM2CNT; /* MTIM Counter Register; 0x00000026 */ volatile MTIM2MODSTR _MTIM2MOD; /* MTIM Modulo Register; 0x00000027 */ volatile SRSSTR _SRS; /* System Reset Status Register; 0x00000200 */ volatile SOPTSTR _SOPT; /* System Options Register; 0x00000201 */ volatile SIP1STR _SIP1; /* System Interrupt Pending Register; 0x00000202 */ volatile SRTISCSTR _SRTISC; /* System Real-Time Interrupt Status and Control Register; 0x00000208 */ volatile SPMSC1STR _SPMSC1; /* System Power Management Status and Control 1 Register; 0x00000209 */ volatile FOPTSTR _FOPT; /* Flash Options Register; 0x00000210 */ volatile FLCRSTR _FLCR; /* Flash Control Register; 0x00000211 */ volatile ADCCFGSTR _ADCCFG; /* Configuration Register; 0x00000216 */ volatile APCTL1STR _APCTL1; /* Pin Control 1 Register; 0x00000217 */ volatile APCTL2STR _APCTL2; /* Pin Control 2 Register; 0x00000218 */ volatile PTADDSTR _PTADD; /* Port A Data Direction Register; 0x00000220 */ volatile PTAPESTR _PTAPE; /* Port A Internal Pulling Device Enable Register; 0x00000221 */ volatile PTAPUDSTR _PTAPUD; /* Port A Pullup/Pulldown Control Register; 0x00000222 */ volatile PTASESTR _PTASE; /* Port A Output Slew Rate Control Enable Register; 0x00000223 */ volatile PTBDDSTR _PTBDD; /* Port B Data Direction Register; 0x00000224 */ volatile PTBPESTR _PTBPE; /* Port B Internal Pulling Device Enable Register; 0x00000225 */ volatile PTBPUDSTR _PTBPUD; /* Port B Pullup/Pulldown Control Register; 0x00000226 */ volatile PTBSESTR _PTBSE; /* Port B Output Slew Rate Control Enable Register; 0x00000227 */ volatile PTCDDSTR _PTCDD; /* Port C Data Direction Register; 0x00000228 */ volatile PTCPESTR _PTCPE; /* Port C Internal Pulling Device Enable Register; 0x00000229 */ volatile PTCPUDSTR _PTCPUD; /* Port C Pullup/Pulldown Control Register; 0x0000022A */ volatile PTCSESTR _PTCSE; /* Port C Output Slew Rate Control Enable Register; 0x0000022B */ volatile TPMSCSTR _TPMSC; /* TPM Status and Control Register; 0x00000230 */ volatile PTADSSTR _PTADS; /* Port A Drive Strength Selection Register; 0x00000237 */ volatile PTBDSSTR _PTBDS; /* Port B Drive Strength Selection Register; 0x00000238 */ volatile PTCDSSTR _PTCDS; /* Port C Drive Strength Selection Register; 0x00000239 */ volatile ICSC1STR _ICSC1; /* ICS Control Register 1; 0x0000023C */ volatile ICSC2STR _ICSC2; /* ICS Control Register 2; 0x0000023D */ volatile ICSTRMSTR _ICSTRM; /* ICS Trim Register; 0x0000023E */ volatile ICSSCSTR _ICSSC; /* ICS Status and Control Register; 0x0000023F */ /* 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 TPMC0VSTR _TPMC0V; /* TPM Timer Channel 0 Value Register; 0x00000016 */ volatile TPMC1VSTR _TPMC1V; /* TPM Timer Channel 1 Value Register; 0x00000019 */ volatile SDIDSTR _SDID; /* System Device Identification Register; 0x00000206 */ volatile ADCCVSTR _ADCCV; /* Compare Value Register; 0x00000214 */ volatile TPMCNTSTR _TPMCNT; /* TPM Timer Counter Register; 0x00000231 */ volatile TPMMODSTR _TPMMOD; /* TPM Timer Counter Modulo Register; 0x00000233 */ /*lint -restore */ /* EOF */