42 #ifndef __STC8Ax_REG_H_
43 #define __STC8Ax_REG_H_
83 #define AUXR_ADDRESS 0x8EU
84 #define AUXR2_ADDRESS 0x97U
85 #define PER_SW1_ADDRESS 0xA2U
86 #define PER_SW2_ADDRESS 0xBAU
94 #define EAXFR_ENABLE() P_SW2 |= 0x80
95 #define EAXFR_DISABLE() P_SW2 &= 0x7F
120 #define IRTRIM_ADDRESS 0x9FU
121 #define LIRTRIM_ADDRESS 0x9EU
125 #define SYSCLK_BASE 0xFE00U
127 #define CKSEL_ADDRESS (SYSCLK_BASE + 0x0000U)
128 #define CLKDIV_ADDRESS (SYSCLK_BASE + 0x0001U)
129 #define IRC24MCR_ADDRESS (SYSCLK_BASE + 0x0002U)
130 #define XOSCCR_ADDRESS (SYSCLK_BASE + 0x0003U)
131 #define IRC32KCR_ADDRESS (SYSCLK_BASE + 0x0004U)
135 #define SYSCLK (* (SYSCLK_TypeDef xdata *) SYSCLK_BASE)
139 #define CKSEL ( *(__IO uint8_t xdata *) CKSEL_ADDRESS)
140 #define CLKDIV ( *(__IO uint8_t xdata *) CLKDIV_ADDRESS)
141 #define IRC24MCR ( *(__IO uint8_t xdata *)IRC24MCR_ADDRESS)
142 #define XOSCCR ( *(__IO uint8_t xdata *) XOSCCR_ADDRESS)
143 #define IRC32KCR ( *(__IO uint8_t xdata *)IRC32KCR_ADDRESS)
150 #define IRC_24M (*(__I uint8_t idata *)0xFB)
157 #define PCON_ADDRESS 0x87U
158 #define VOCTRL_ADDRESS 0xBBU
169 #define IE_ADDRESS 0xA8U
170 #define IE2_ADDRESS 0xAFU
171 #define IP_ADDRESS 0xB8U
172 #define IP2_ADDRESS 0xB5U
173 #define IPH_ADDRESS 0xB7U
174 #define IP2H_ADDRESS 0xB6U
175 #define INTCLKO_ADDRESS 0x8FU
176 #define AUXINTIF_ADDRESS 0xEFU
266 #define GPIO_BASE 0x80U
267 #define PxM1_BASE 0x93U
268 #define PxM0_BASE 0x94U
269 #define BUS_SPEED_ADDRESS 0xA1U
273 #define PxPU_BASE 0xFE10U
274 #define PxNCS_BASE 0xFE18U
275 #define PxSR_BASE 0xFE20U
276 #define PxDR_BASE 0xFE28U
277 #define PxIE_BASE 0xFE30U
280 #define P0_ADDRESS GPIO_BASE
281 #define P1_ADDRESS 0x90U
282 #define P2_ADDRESS 0xA0U
283 #define P3_ADDRESS 0xB0U
284 #define P4_ADDRESS 0xC0U
285 #define P5_ADDRESS 0xC8U
286 #define P6_ADDRESS 0xE8U
287 #define P7_ADDRESS 0xF8U
290 #define P0M1_ADDRESS PxM1_BASE
291 #define P1M1_ADDRESS 0x91U
292 #define P2M1_ADDRESS 0x95U
293 #define P3M1_ADDRESS 0xB1U
294 #define P4M1_ADDRESS 0xB3U
295 #define P5M1_ADDRESS 0xC9U
296 #define P6M1_ADDRESS 0xCBU
297 #define P7M1_ADDRESS 0xE1U
299 #define P0M0_ADDRESS PxM0_BASE
300 #define P1M0_ADDRESS 0x92U
301 #define P2M0_ADDRESS 0x96U
302 #define P3M0_ADDRESS 0xB2U
303 #define P4M0_ADDRESS 0xB4U
304 #define P5M0_ADDRESS 0xCAU
305 #define P6M0_ADDRESS 0xCCU
306 #define P7M0_ADDRESS 0xE2U
309 #define P0PU_ADDRESS (PxPU_BASE + 0x00U)
310 #define P1PU_ADDRESS (PxPU_BASE + 0x01U)
311 #define P2PU_ADDRESS (PxPU_BASE + 0x02U)
312 #define P3PU_ADDRESS (PxPU_BASE + 0x03U)
313 #define P4PU_ADDRESS (PxPU_BASE + 0x04U)
314 #define P5PU_ADDRESS (PxPU_BASE + 0x05U)
315 #define P6PU_ADDRESS (PxPU_BASE + 0x06U)
316 #define P7PU_ADDRESS (PxPU_BASE + 0x07U)
320 #define P0NCS_ADDRESS (PxNCS_BASE + 0x00U)
321 #define P1NCS_ADDRESS (PxNCS_BASE + 0x01U)
322 #define P2NCS_ADDRESS (PxNCS_BASE + 0x02U)
323 #define P3NCS_ADDRESS (PxNCS_BASE + 0x03U)
324 #define P4NCS_ADDRESS (PxNCS_BASE + 0x04U)
325 #define P5NCS_ADDRESS (PxNCS_BASE + 0x05U)
326 #define P6NCS_ADDRESS (PxNCS_BASE + 0x06U)
327 #define P7NCS_ADDRESS (PxNCS_BASE + 0x07U)
331 #define P0SR_ADDRESS (PxSR_BASE + 0x00U)
332 #define P1SR_ADDRESS (PxSR_BASE + 0x01U)
333 #define P2SR_ADDRESS (PxSR_BASE + 0x02U)
334 #define P3SR_ADDRESS (PxSR_BASE + 0x03U)
335 #define P4SR_ADDRESS (PxSR_BASE + 0x04U)
336 #define P5SR_ADDRESS (PxSR_BASE + 0x05U)
337 #define P6SR_ADDRESS (PxSR_BASE + 0x06U)
338 #define P7SR_ADDRESS (PxSR_BASE + 0x07U)
342 #define P0DR_ADDRESS (PxDR_BASE + 0x00U)
343 #define P1DR_ADDRESS (PxDR_BASE + 0x01U)
344 #define P2DR_ADDRESS (PxDR_BASE + 0x02U)
345 #define P3DR_ADDRESS (PxDR_BASE + 0x03U)
346 #define P4DR_ADDRESS (PxDR_BASE + 0x04U)
347 #define P5DR_ADDRESS (PxDR_BASE + 0x05U)
348 #define P6DR_ADDRESS (PxDR_BASE + 0x06U)
349 #define P7DR_ADDRESS (PxDR_BASE + 0x07U)
352 #define P0IE_ADDRESS (PxIE_BASE + 0x00U)
353 #define P1IE_ADDRESS (PxIE_BASE + 0x01U)
354 #define P3IE_ADDRESS (PxIE_BASE + 0x03U)
462 #define P0PU ( *(__IO uint8_t xdata *) P0PU_ADDRESS)
463 #define P1PU ( *(__IO uint8_t xdata *) P1PU_ADDRESS)
464 #define P2PU ( *(__IO uint8_t xdata *) P2PU_ADDRESS)
465 #define P3PU ( *(__IO uint8_t xdata *) P3PU_ADDRESS)
466 #define P4PU ( *(__IO uint8_t xdata *) P4PU_ADDRESS)
467 #define P5PU ( *(__IO uint8_t xdata *) P5PU_ADDRESS)
468 #define P6PU ( *(__IO uint8_t xdata *) P6PU_ADDRESS)
469 #define P7PU ( *(__IO uint8_t xdata *) P7PU_ADDRESS)
471 #define P0SR ( *(__IO uint8_t xdata *) P0SR_ADDRESS)
472 #define P1SR ( *(__IO uint8_t xdata *) P1SR_ADDRESS)
473 #define P2SR ( *(__IO uint8_t xdata *) P2SR_ADDRESS)
474 #define P3SR ( *(__IO uint8_t xdata *) P3SR_ADDRESS)
475 #define P4SR ( *(__IO uint8_t xdata *) P4SR_ADDRESS)
476 #define P5SR ( *(__IO uint8_t xdata *) P5SR_ADDRESS)
477 #define P6SR ( *(__IO uint8_t xdata *) P6SR_ADDRESS)
478 #define P7SR ( *(__IO uint8_t xdata *) P7SR_ADDRESS)
480 #define P0DR ( *(__IO uint8_t xdata *) P0DR_ADDRESS)
481 #define P1DR ( *(__IO uint8_t xdata *) P1DR_ADDRESS)
482 #define P2DR ( *(__IO uint8_t xdata *) P2DR_ADDRESS)
483 #define P3DR ( *(__IO uint8_t xdata *) P3DR_ADDRESS)
484 #define P4DR ( *(__IO uint8_t xdata *) P4DR_ADDRESS)
485 #define P5DR ( *(__IO uint8_t xdata *) P5DR_ADDRESS)
486 #define P6DR ( *(__IO uint8_t xdata *) P6DR_ADDRESS)
487 #define P7DR ( *(__IO uint8_t xdata *) P7DR_ADDRESS)
489 #define P0IE ( *(__IO uint8_t xdata *) P0IE_ADDRESS)
490 #define P1IE ( *(__IO uint8_t xdata *) P1IE_ADDRESS)
491 #define P3IE ( *(__IO uint8_t xdata *) P3IE_ADDRESS)
498 #define P0NCS ( *(__IO uint8_t xdata *) P0NCS_ADDRESS)
499 #define P1NCS ( *(__IO uint8_t xdata *) P1NCS_ADDRESS)
500 #define P2NCS ( *(__IO uint8_t xdata *) P2NCS_ADDRESS)
501 #define P3NCS ( *(__IO uint8_t xdata *) P3NCS_ADDRESS)
502 #define P4NCS ( *(__IO uint8_t xdata *) P4NCS_ADDRESS)
503 #define P5NCS ( *(__IO uint8_t xdata *) P5NCS_ADDRESS)
504 #define P6NCS ( *(__IO uint8_t xdata *) P6NCS_ADDRESS)
505 #define P7NCS ( *(__IO uint8_t xdata *) P7NCS_ADDRESS)
507 #define GPIO_Px(x) (P##x)
508 #define Px_M1(x) (P##x##M1)
509 #define Px_M0(x) (P##x##M0)
510 #define Px_PU(x) (P##x##PU)
511 #define Px_SR(x) (P##x##SR)
512 #define Px_DR(x) (P##x##DR)
513 #define Px_IE(x) (P##x##IE)
514 #define Px_NCS(x) (P##x##NCS)
522 #define WDT_ADDRESS 0xC1U
523 #define RSTCFG_ADDRESS 0xFFU
535 #define TCON_ADDRESS 0x88U
536 #define TMOD_ADDRESS 0x89U
537 #define T0L_ADDRESS 0x8AU
538 #define T1L_ADDRESS 0x8BU
539 #define T0H_ADDRESS 0x8CU
540 #define T1H_ADDRESS 0x8DU
541 #define T4T3M_ADDRESS 0xD1U
542 #define T4H_ADDRESS 0xD2U
543 #define T4L_ADDRESS 0xD3U
544 #define T3H_ADDRESS 0xD4U
545 #define T3L_ADDRESS 0xD5U
546 #define T2H_ADDRESS 0xD6U
547 #define T2L_ADDRESS 0xD7U
548 #define WKTCL_ADDRESS 0xAAU
549 #define WKTCH_ADDRESS 0xABU
575 #define WDT_FLAG 0x80
610 #define FWTH (*(__I uint8_t idata *)0xF8)
611 #define FWTL (*(__I uint8_t idata *)0xF9)
627 #define SCON_ADDRESS 0x98U
628 #define SBUF_ADDRESS 0x99U
629 #define S2CON_ADDRESS 0x9AU
630 #define S2BUF_ADDRESS 0x9BU
631 #define S3CON_ADDRESS 0xACU
632 #define S3BUF_ADDRESS 0xADU
633 #define S4CON_ADDRESS 0x84U
634 #define S4BUF_ADDRESS 0x85U
635 #define SADDR_ADDRESS 0xA9U
636 #define SADEN_ADDRESS 0xB9U
695 #define CMPCR1_ADDRESS 0xE6U
696 #define CMPCR2_ADDRESS 0xE7U
721 #define ADC_CONTR_ADDRESS 0xBCU
722 #define ADC_RES_ADDRESS 0xBDU
723 #define ADC_RESH_ADDRESS 0xBDU
724 #define ADC_RESL_ADDRESS 0xBEU
725 #define ADCCFG_ADDRESS 0xDEU
726 #define ADCTIM_ADDRESS 0xFEA8U
728 #define ADC_POWER 0x80
729 #define ADC_START 0x40
730 #define ADC_FLAG 0x20
733 #define ADC_RESFMT 0x20
742 #define ADCTIM (*(__IO uint8_t xdata *)ADCTIM_ADDRESS)
749 #define IAP_DATA_ADDRESS 0xC2U
750 #define IAP_ADDRH_ADDRESS 0xC3U
751 #define IAP_ADDRL_ADDRESS 0xC4U
752 #define IAP_CMD_ADDRESS 0xC5U
753 #define IAP_TRIG_ADDRESS 0xC6U
754 #define IAP_CONTR_ADDRESS 0xC7U
756 #define ISP_DATA_ADDRESS 0xC2U
757 #define ISP_ADDRH_ADDRESS 0xC3U
758 #define ISP_ADDRL_ADDRESS 0xC4U
759 #define ISP_CMD_ADDRESS 0xC5U
760 #define ISP_TRIG_ADDRESS 0xC6U
761 #define ISP_CONTR_ADDRESS 0xC7U
765 #define IAP_READ 0x01
766 #define IAP_WRITE 0x02
767 #define IAP_ERASE 0x03
773 #define CMD_FAIL 0x10
795 #define CCON_ADDRESS 0xD8U
796 #define CMOD_ADDRESS 0xD9U
797 #define CL_ADDRESS 0xE9U
798 #define CH_ADDRESS 0xF9U
799 #define CCAPM0_ADDRESS 0xDAU
800 #define CCAPM1_ADDRESS 0xDBU
801 #define CCAPM2_ADDRESS 0xDCU
802 #define CCAPM3_ADDRESS 0xDDU
803 #define CCAP0L_ADDRESS 0xEAU
804 #define CCAP1L_ADDRESS 0xEBU
805 #define CCAP2L_ADDRESS 0xECU
806 #define CCAP3L_ADDRESS 0xEDU
807 #define CCAP0H_ADDRESS 0xFAU
808 #define CCAP1H_ADDRESS 0xFBU
809 #define CCAP2H_ADDRESS 0xFCU
810 #define CCAP3H_ADDRESS 0xFDU
811 #define PCA_PWM0_ADDRESS 0xF2U
812 #define PCA_PWM1_ADDRESS 0xF3U
813 #define PCA_PWM2_ADDRESS 0xF4U
814 #define PCA_PWM3_ADDRESS 0xF5U
891 #define PWMCFG_ADDRESS 0xF1U
892 #define PWMIF_ADDRESS 0xF6U
893 #define PWMFDCR_ADDRESS 0xF7U
894 #define PWMCR_ADDRESS 0xFEU
896 #define PWM_BASE1 0xFFF0U
897 #define PWM0_BASE 0xFF00U
898 #define PWM1_BASE 0xFF10U
899 #define PWM2_BASE 0xFF20U
900 #define PWM3_BASE 0xFF30U
901 #define PWM4_BASE 0xFF40U
902 #define PWM5_BASE 0xFF50U
903 #define PWM6_BASE 0xFF60U
904 #define PWM7_BASE 0xFF70U
906 #define PWMC_ADDRESS (PWM_BASE1 + 0x00U)
907 #define PWMCH_ADDRESS (PWMC_ADDRESS + 0x00U)
908 #define PWMCL_ADDRESS (PWMCH_ADDRESS + 0x01U)
909 #define PWMCKS_ADDRESS (PWMCL_ADDRESS + 0x01U)
911 #define TADCP_ADDRESS (PWMCKS_ADDRESS + 0x01U)
912 #define TADCPH_ADDRESS (TADCP_ADDRESS + 0x00U)
913 #define TADCPL_ADDRESS (TADCPH_ADDRESS + 0x01U)
915 #define PWM0T1_ADDRESS (PWM0_BASE + 0x00U)
916 #define PWM0T1H_ADDRESS (PWM0T1_ADDRESS + 0x00U)
917 #define PWM0T1L_ADDRESS (PWM0T1H_ADDRESS + 0x01U)
918 #define PWM0T2_ADDRESS (PWM0T1L_ADDRESS + 0x01U)
919 #define PWM0T2H_ADDRESS (PWM0T2_ADDRESS + 0x00U)
920 #define PWM0T2L_ADDRESS (PWM0T2H_ADDRESS + 0x01U)
921 #define PWM0CR_ADDRESS (PWM0T2L_ADDRESS + 0x01U)
922 #define PWM0HLD_ADDRESS (PWM0CR_ADDRESS + 0x01U)
924 #define PWM1T1_ADDRESS (PWM1_BASE + 0x00U)
925 #define PWM1T1H_ADDRESS (PWM1T1_ADDRESS + 0x00U)
926 #define PWM1T1L_ADDRESS (PWM1T1H_ADDRESS + 0x01U)
927 #define PWM1T2_ADDRESS (PWM1T1L_ADDRESS + 0x01U)
928 #define PWM1T2H_ADDRESS (PWM1T2_ADDRESS + 0x00U)
929 #define PWM1T2L_ADDRESS (PWM1T2H_ADDRESS + 0x01U)
930 #define PWM1CR_ADDRESS (PWM1T2L_ADDRESS + 0x01U)
931 #define PWM1HLD_ADDRESS (PWM1CR_ADDRESS + 0x01U)
933 #define PWM2T1_ADDRESS (PWM2_BASE + 0x00U)
934 #define PWM2T1H_ADDRESS (PWM2T1_ADDRESS + 0x00U)
935 #define PWM2T1L_ADDRESS (PWM2T1H_ADDRESS + 0x01U)
936 #define PWM2T2_ADDRESS (PWM2T1L_ADDRESS + 0x01U)
937 #define PWM2T2H_ADDRESS (PWM2T2_ADDRESS + 0x00U)
938 #define PWM2T2L_ADDRESS (PWM2T2H_ADDRESS + 0x01U)
939 #define PWM2CR_ADDRESS (PWM2T2L_ADDRESS + 0x01U)
940 #define PWM2HLD_ADDRESS (PWM2CR_ADDRESS + 0x01U)
942 #define PWM3T1_ADDRESS (PWM3_BASE + 0x00U)
943 #define PWM3T1H_ADDRESS (PWM3T1_ADDRESS + 0x00U)
944 #define PWM3T1L_ADDRESS (PWM3T1H_ADDRESS + 0x01U)
945 #define PWM3T2_ADDRESS (PWM3T1L_ADDRESS + 0x01U)
946 #define PWM3T2H_ADDRESS (PWM3T2_ADDRESS + 0x00U)
947 #define PWM3T2L_ADDRESS (PWM3T2H_ADDRESS + 0x01U)
948 #define PWM3CR_ADDRESS (PWM3T2L_ADDRESS + 0x01U)
949 #define PWM3HLD_ADDRESS (PWM3CR_ADDRESS + 0x01U)
951 #define PWM4T1_ADDRESS (PWM4_BASE + 0x00U)
952 #define PWM4T1H_ADDRESS (PWM4T1_ADDRESS + 0x00U)
953 #define PWM4T1L_ADDRESS (PWM4T1H_ADDRESS + 0x01U)
954 #define PWM4T2_ADDRESS (PWM4T1L_ADDRESS + 0x01U)
955 #define PWM4T2H_ADDRESS (PWM4T2_ADDRESS + 0x00U)
956 #define PWM4T2L_ADDRESS (PWM4T2H_ADDRESS + 0x01U)
957 #define PWM4CR_ADDRESS (PWM4T2L_ADDRESS + 0x01U)
958 #define PWM4HLD_ADDRESS (PWM4CR_ADDRESS + 0x01U)
960 #define PWM5T1_ADDRESS (PWM5_BASE + 0x00U)
961 #define PWM5T1H_ADDRESS (PWM5T1_ADDRESS + 0x00U)
962 #define PWM5T1L_ADDRESS (PWM5T1H_ADDRESS + 0x01U)
963 #define PWM5T2_ADDRESS (PWM5T1L_ADDRESS + 0x01U)
964 #define PWM5T2H_ADDRESS (PWM5T2_ADDRESS + 0x00U)
965 #define PWM5T2L_ADDRESS (PWM5T2H_ADDRESS + 0x01U)
966 #define PWM5CR_ADDRESS (PWM5T2L_ADDRESS + 0x01U)
967 #define PWM5HLD_ADDRESS (PWM5CR_ADDRESS + 0x01U)
969 #define PWM6T1_ADDRESS (PWM6_BASE + 0x00U)
970 #define PWM6T1H_ADDRESS (PWM6T1_ADDRESS + 0x00U)
971 #define PWM6T1L_ADDRESS (PWM6T1H_ADDRESS + 0x01U)
972 #define PWM6T2_ADDRESS (PWM6T1L_ADDRESS + 0x01U)
973 #define PWM6T2H_ADDRESS (PWM6T2_ADDRESS + 0x00U)
974 #define PWM6T2L_ADDRESS (PWM6T2H_ADDRESS + 0x01U)
975 #define PWM6CR_ADDRESS (PWM6T2L_ADDRESS + 0x01U)
976 #define PWM6HLD_ADDRESS (PWM6CR_ADDRESS + 0x01U)
978 #define PWM7T1_ADDRESS (PWM7_BASE + 0x00U)
979 #define PWM7T1H_ADDRESS (PWM7T1_ADDRESS + 0x00U)
980 #define PWM7T1L_ADDRESS (PWM7T1H_ADDRESS + 0x01U)
981 #define PWM7T2_ADDRESS (PWM7T1L_ADDRESS + 0x01U)
982 #define PWM7T2H_ADDRESS (PWM7T2_ADDRESS + 0x00U)
983 #define PWM7T2L_ADDRESS (PWM7T2H_ADDRESS + 0x01U)
984 #define PWM7CR_ADDRESS (PWM7T2L_ADDRESS + 0x01U)
985 #define PWM7HLD_ADDRESS (PWM7CR_ADDRESS + 0x01U)
1005 #define FLTFLIO 0x10
1021 #define PWMC (*(__IO uint16_t xdata *) PWMC_ADDRESS)
1022 #define PWMCH (*(__IO uint8_t xdata *) PWMCH_ADDRESS)
1023 #define PWMCL (*(__IO uint8_t xdata *) PWMCL_ADDRESS)
1024 #define PWMCKS (*(__IO uint8_t xdata *) PWMCKS_ADDRESS)
1025 #define TADCP (*(__IO uint8_t xdata *) TADCP_ADDRESS)
1026 #define TADCPH (*(__IO uint8_t xdata *) TADCPH_ADDRESS)
1027 #define TADCPL (*(__IO uint8_t xdata *) TADCPL_ADDRESS)
1029 #define PWMxT1(PWMxT1_ADDRESS) ( *(__IO uint16_t xdata *) PWMxT1_ADDRESS)
1030 #define PWMxT2(PWMxT2_ADDRESS) ( *(__IO uint16_t xdata *) PWMxT2_ADDRESS)
1031 #define PWMxCR(PWMxCR_ADDRESS) ( *(__IO uint8_t xdata *) PWMxCR_ADDRESS)
1032 #define PWMxHLD(PWMxHLD_ADDRESS) ( *(__IO uint8_t xdata *)PWMxHLD_ADDRESS)
1034 #define PWM0T1 (*(__IO uint16_t xdata *) PWM0T1_ADDRESS)
1035 #define PWM0T1H (*(__IO uint8_t xdata *)PWM0T1H_ADDRESS)
1036 #define PWM0T1L (*(__IO uint8_t xdata *)PWM0T1L_ADDRESS)
1037 #define PWM0T2 (*(__IO uint16_t xdata *) PWM0T2_ADDRESS)
1038 #define PWM0T2H (*(__IO uint8_t xdata *)PWM0T2H_ADDRESS)
1039 #define PWM0T2L (*(__IO uint8_t xdata *)PWM0T2L_ADDRESS)
1040 #define PWM0CR (*(__IO uint8_t xdata *) PWM0CR_ADDRESS)
1041 #define PWM0HLD (*(__IO uint8_t xdata *)PWM0HLD_ADDRESS)
1043 #define PWM1T1 (*(__IO uint16_t xdata *) PWM1T1_ADDRESS)
1044 #define PWM1T1H (*(__IO uint8_t xdata *)PWM1T1H_ADDRESS)
1045 #define PWM1T1L (*(__IO uint8_t xdata *)PWM1T1L_ADDRESS)
1046 #define PWM1T2 (*(__IO uint16_t xdata *) PWM1T2_ADDRESS)
1047 #define PWM1T2H (*(__IO uint8_t xdata *)PWM1T2H_ADDRESS)
1048 #define PWM1T2L (*(__IO uint8_t xdata *)PWM1T2L_ADDRESS)
1049 #define PWM1CR (*(__IO uint8_t xdata *) PWM1CR_ADDRESS)
1050 #define PWM1HLD (*(__IO uint8_t xdata *)PWM1HLD_ADDRESS)
1052 #define PWM2T1 (*(__IO uint16_t xdata *) PWM2T1_ADDRESS)
1053 #define PWM2T1H (*(__IO uint8_t xdata *)PWM2T1H_ADDRESS)
1054 #define PWM2T1L (*(__IO uint8_t xdata *)PWM2T1L_ADDRESS)
1055 #define PWM2T2 (*(__IO uint16_t xdata *) PWM2T2_ADDRESS)
1056 #define PWM2T2H (*(__IO uint8_t xdata *)PWM2T2H_ADDRESS)
1057 #define PWM2T2L (*(__IO uint8_t xdata *)PWM2T2L_ADDRESS)
1058 #define PWM2CR (*(__IO uint8_t xdata *) PWM2CR_ADDRESS)
1059 #define PWM2HLD (*(__IO uint8_t xdata *)PWM2HLD_ADDRESS)
1061 #define PWM3T1 (*(__IO uint16_t xdata *) PWM3T1_ADDRESS)
1062 #define PWM3T1H (*(__IO uint8_t xdata *)PWM3T1H_ADDRESS)
1063 #define PWM3T1L (*(__IO uint8_t xdata *)PWM3T1L_ADDRESS)
1064 #define PWM3T2 (*(__IO uint16_t xdata *) PWM3T2_ADDRESS)
1065 #define PWM3T2H (*(__IO uint8_t xdata *)PWM3T2H_ADDRESS)
1066 #define PWM3T2L (*(__IO uint8_t xdata *)PWM3T2L_ADDRESS)
1067 #define PWM3CR (*(__IO uint8_t xdata *) PWM3CR_ADDRESS)
1068 #define PWM3HLD (*(__IO uint8_t xdata *)PWM3HLD_ADDRESS)
1070 #define PWM4T1 (*(__IO uint16_t xdata *) PWM4T1_ADDRESS)
1071 #define PWM4T1H (*(__IO uint8_t xdata *)PWM4T1H_ADDRESS)
1072 #define PWM4T1L (*(__IO uint8_t xdata *)PWM4T1L_ADDRESS)
1073 #define PWM4T2 (*(__IO uint16_t xdata *) PWM4T2_ADDRESS)
1074 #define PWM4T2H (*(__IO uint8_t xdata *)PWM4T2H_ADDRESS)
1075 #define PWM4T2L (*(__IO uint8_t xdata *)PWM4T2L_ADDRESS)
1076 #define PWM4CR (*(__IO uint8_t xdata *) PWM4CR_ADDRESS)
1077 #define PWM4HLD (*(__IO uint8_t xdata *)PWM4HLD_ADDRESS)
1079 #define PWM5T1 (*(__IO uint16_t xdata *) PWM5T1_ADDRESS)
1080 #define PWM5T1H (*(__IO uint8_t xdata *)PWM5T1H_ADDRESS)
1081 #define PWM5T1L (*(__IO uint8_t xdata *)PWM5T1L_ADDRESS)
1082 #define PWM5T2 (*(__IO uint16_t xdata *) PWM5T2_ADDRESS)
1083 #define PWM5T2H (*(__IO uint8_t xdata *)PWM5T2H_ADDRESS)
1084 #define PWM5T2L (*(__IO uint8_t xdata *)PWM5T2L_ADDRESS)
1085 #define PWM5CR (*(__IO uint8_t xdata *) PWM5CR_ADDRESS)
1086 #define PWM5HLD (*(__IO uint8_t xdata *)PWM5HLD_ADDRESS)
1088 #define PWM6T1 (*(__IO uint16_t xdata *) PWM6T1_ADDRESS)
1089 #define PWM6T1H (*(__IO uint8_t xdata *)PWM6T1H_ADDRESS)
1090 #define PWM6T1L (*(__IO uint8_t xdata *)PWM6T1L_ADDRESS)
1091 #define PWM6T2 (*(__IO uint16_t xdata *) PWM6T2_ADDRESS)
1092 #define PWM6T2H (*(__IO uint8_t xdata *)PWM6T2H_ADDRESS)
1093 #define PWM6T2L (*(__IO uint8_t xdata *)PWM6T2L_ADDRESS)
1094 #define PWM6CR (*(__IO uint8_t xdata *) PWM6CR_ADDRESS)
1095 #define PWM6HLD (*(__IO uint8_t xdata *)PWM6HLD_ADDRESS)
1097 #define PWM7T1 (*(__IO uint16_t xdata *) PWM7T1_ADDRESS)
1098 #define PWM7T1H (*(__IO uint8_t xdata *)PWM7T1H_ADDRESS)
1099 #define PWM7T1L (*(__IO uint8_t xdata *)PWM7T1L_ADDRESS)
1100 #define PWM7T2 (*(__IO uint16_t xdata *) PWM7T2_ADDRESS)
1101 #define PWM7T2H (*(__IO uint8_t xdata *)PWM7T2H_ADDRESS)
1102 #define PWM7T2L (*(__IO uint8_t xdata *)PWM7T2L_ADDRESS)
1103 #define PWM7CR (*(__IO uint8_t xdata *) PWM7CR_ADDRESS)
1104 #define PWM7HLD (*(__IO uint8_t xdata *)PWM7HLD_ADDRESS)
1111 #define SPSTAT_ADDRESS 0xCDU
1112 #define SPCTL_ADDRESS 0xCEU
1113 #define SPDAT_ADDRESS 0xCFU
1137 #define I2C_BASE 0xFE80U
1138 #define I2CCFG_ADDRESS (I2C_BASE + 0x00U)
1139 #define I2CMSCR_ADDRESS (I2C_BASE + 0x01U)
1140 #define I2CMSST_ADDRESS (I2C_BASE + 0x02U)
1141 #define I2CSLCR_ADDRESS (I2C_BASE + 0x03U)
1142 #define I2CSLST_ADDRESS (I2C_BASE + 0x04U)
1143 #define I2CSLADR_ADDRESS (I2C_BASE + 0x05U)
1144 #define I2CTXD_ADDRESS (I2C_BASE + 0x06U)
1145 #define I2CRXD_ADDRESS (I2C_BASE + 0x07U)
1179 #define I2CCFG (*(__IO uint8_t xdata *) I2CCFG_ADDRESS)
1180 #define I2CMSCR (*(__IO uint8_t xdata *) I2CMSCR_ADDRESS)
1181 #define I2CMSST (*(__IO uint8_t xdata *) I2CMSST_ADDRESS)
1182 #define I2CSLCR (*(__IO uint8_t xdata *) I2CSLCR_ADDRESS)
1183 #define I2CSLST (*(__IO uint8_t xdata * )I2CSLST_ADDRESS)
1184 #define I2CSLADR (*(__IO uint8_t xdata *)I2CSLADR_ADDRESS)
1185 #define I2CTXD (*(__IO uint8_t xdata *) I2CTXD_ADDRESS)
1186 #define I2CRXD (*(__IO uint8_t xdata *) I2CRXD_ADDRESS)
unsigned char uint8_t
Definition: ELL_TYPE.h:72
#define __IO
Definition: ELL_TYPE.h:106
sfr P4M0
Definition: STC8Ax_REG.h:452
sbit P50
Definition: STC8Ax_REG.h:410
sbit P06
Definition: STC8Ax_REG.h:373
sfr P7M0
Definition: STC8Ax_REG.h:455
sbit CY
Definition: STC8Ax_REG.h:62
sfr T0L
Definition: STC8Ax_REG.h:583
#define PER_SW2_ADDRESS
Definition: STC8Ax_REG.h:86
sbit F1
Definition: STC8Ax_REG.h:68
#define P6M1_ADDRESS
Definition: STC8Ax_REG.h:296
sbit P76
Definition: STC8Ax_REG.h:434
sfr T4L
Definition: STC8Ax_REG.h:593
sfr ISP_ADDRH
Definition: STC8Ax_REG.h:784
#define CMOD_ADDRESS
Definition: STC8Ax_REG.h:796
sfr DPH
Definition: STC8Ax_REG.h:72
sfr P1
Definition: STC8Ax_REG.h:358
sbit P36
Definition: STC8Ax_REG.h:401
#define IAP_TRIG_ADDRESS
Definition: STC8Ax_REG.h:753
#define CMPCR1_ADDRESS
Definition: STC8Ax_REG.h:695
sfr CCON
Definition: STC8Ax_REG.h:857
#define AUXR_ADDRESS
Definition: STC8Ax_REG.h:83
sfr TL1
Definition: STC8Ax_REG.h:588
sfr IPH
Definition: STC8Ax_REG.h:236
#define P0M0_ADDRESS
Definition: STC8Ax_REG.h:299
sfr P0
Definition: STC8Ax_REG.h:357
sbit P70
Definition: STC8Ax_REG.h:428
sbit PADC
Definition: STC8Ax_REG.h:252
#define P2_ADDRESS
Definition: STC8Ax_REG.h:282
sfr ACC
Update note:
Definition: STC8Ax_REG.h:59
sfr WDT_CONTR
Definition: STC8Ax_REG.h:526
#define S4BUF_ADDRESS
Definition: STC8Ax_REG.h:634
sfr CCAP1H
Definition: STC8Ax_REG.h:871
sfr P5
Definition: STC8Ax_REG.h:362
sbit PX0
Definition: STC8Ax_REG.h:257
sbit P24
Definition: STC8Ax_REG.h:390
sbit P10
Definition: STC8Ax_REG.h:377
sfr SPCTL
Definition: STC8Ax_REG.h:1129
sfr P_SW2
Definition: STC8Ax_REG.h:92
sfr WKTCL
Definition: STC8Ax_REG.h:598
sbit P13
Definition: STC8Ax_REG.h:380
sfr SPDAT
Definition: STC8Ax_REG.h:1130
sfr P0M1
Definition: STC8Ax_REG.h:438
sbit P40
Definition: STC8Ax_REG.h:404
#define PCA_PWM3_ADDRESS
Definition: STC8Ax_REG.h:814
sbit EX1
Definition: STC8Ax_REG.h:246
sbit TR0
Definition: STC8Ax_REG.h:604
sfr P4
Definition: STC8Ax_REG.h:361
#define P6M0_ADDRESS
Definition: STC8Ax_REG.h:305
sfr CCAP1L
Definition: STC8Ax_REG.h:866
sbit P66
Definition: STC8Ax_REG.h:425
#define CCAP0L_ADDRESS
Definition: STC8Ax_REG.h:803
sfr ISP_DATA
Definition: STC8Ax_REG.h:783
#define IAP_ADDRH_ADDRESS
Definition: STC8Ax_REG.h:750
#define CCAP3H_ADDRESS
Definition: STC8Ax_REG.h:810
#define T1L_ADDRESS
Definition: STC8Ax_REG.h:538
sfr CMPCR1
Definition: STC8Ax_REG.h:713
sbit P77
Definition: STC8Ax_REG.h:435
sfr IAP_CONTR
Definition: STC8Ax_REG.h:781
sfr PCA_PWM0
Definition: STC8Ax_REG.h:874
sfr PWMIF
Definition: STC8Ax_REG.h:1017
sbit PT1
Definition: STC8Ax_REG.h:254
sfr BUS_SPEED
Definition: STC8Ax_REG.h:458
sbit SM0
Definition: STC8Ax_REG.h:681
#define CL_ADDRESS
Definition: STC8Ax_REG.h:797
sfr DPL1
Definition: STC8Ax_REG.h:75
sfr CCAPM0
Definition: STC8Ax_REG.h:861
sbit P14
Definition: STC8Ax_REG.h:381
#define ADCCFG_ADDRESS
Definition: STC8Ax_REG.h:725
sbit P34
Definition: STC8Ax_REG.h:399
sfr S3CON
Definition: STC8Ax_REG.h:674
sbit P51
Definition: STC8Ax_REG.h:411
sbit P31
Definition: STC8Ax_REG.h:396
sbit P67
Definition: STC8Ax_REG.h:426
sbit F0
Definition: STC8Ax_REG.h:64
sbit P33
Definition: STC8Ax_REG.h:398
sbit P73
Definition: STC8Ax_REG.h:431
#define ADC_RESL_ADDRESS
Definition: STC8Ax_REG.h:724
sbit P01
Definition: STC8Ax_REG.h:368
sfr ISP_TRIG
Definition: STC8Ax_REG.h:787
sbit PPCA
Definition: STC8Ax_REG.h:250
#define PWMCR_ADDRESS
Definition: STC8Ax_REG.h:894
sbit P60
Definition: STC8Ax_REG.h:419
sbit P44
Definition: STC8Ax_REG.h:408
#define TCON_ADDRESS
Definition: STC8Ax_REG.h:535
sbit IT1
Definition: STC8Ax_REG.h:619
#define ADC_CONTR_ADDRESS
Definition: STC8Ax_REG.h:721
sfr SP
Definition: STC8Ax_REG.h:70
sbit P00
Definition: STC8Ax_REG.h:367
sbit TR1
Definition: STC8Ax_REG.h:602
#define RSTCFG_ADDRESS
Definition: STC8Ax_REG.h:523
#define P5M1_ADDRESS
Definition: STC8Ax_REG.h:295
sfr T4T3M
Definition: STC8Ax_REG.h:591
sfr CMPCR2
Definition: STC8Ax_REG.h:714
sbit P41
Definition: STC8Ax_REG.h:405
#define LIRTRIM_ADDRESS
Definition: STC8Ax_REG.h:121
sbit OV
Definition: STC8Ax_REG.h:67
sbit P15
Definition: STC8Ax_REG.h:382
sbit P32
Definition: STC8Ax_REG.h:397
sfr TL0
Definition: STC8Ax_REG.h:587
sbit P07
Definition: STC8Ax_REG.h:374
sbit CCF0
Definition: STC8Ax_REG.h:884
#define S2BUF_ADDRESS
Definition: STC8Ax_REG.h:630
sfr TH1
Definition: STC8Ax_REG.h:590
sfr IP2H
Definition: STC8Ax_REG.h:237
sfr S4CON
Definition: STC8Ax_REG.h:676
#define PER_SW1_ADDRESS
Definition: STC8Ax_REG.h:85
#define CCAP1L_ADDRESS
Definition: STC8Ax_REG.h:804
#define CCAP2H_ADDRESS
Definition: STC8Ax_REG.h:809
sfr INTCLKO
Definition: STC8Ax_REG.h:238
sfr T4H
Definition: STC8Ax_REG.h:592
#define CCAP1H_ADDRESS
Definition: STC8Ax_REG.h:808
sbit CCF1
Definition: STC8Ax_REG.h:883
sfr ISP_CMD
Definition: STC8Ax_REG.h:786
sfr P4M1
Definition: STC8Ax_REG.h:442
#define PCA_PWM1_ADDRESS
Definition: STC8Ax_REG.h:812
#define P0M1_ADDRESS
Definition: STC8Ax_REG.h:290
sbit RS1
Definition: STC8Ax_REG.h:65
sfr T2L
Definition: STC8Ax_REG.h:597
#define IAP_CMD_ADDRESS
Definition: STC8Ax_REG.h:752
sfr B
Definition: STC8Ax_REG.h:60
#define S2CON_ADDRESS
Definition: STC8Ax_REG.h:629
sfr LIRTRIM
Definition: STC8Ax_REG.h:148
sfr CCAP0L
Definition: STC8Ax_REG.h:865
#define CMPCR2_ADDRESS
Definition: STC8Ax_REG.h:696
sbit P72
Definition: STC8Ax_REG.h:430
#define P6_ADDRESS
Definition: STC8Ax_REG.h:286
#define T4H_ADDRESS
Definition: STC8Ax_REG.h:542
sbit IE1
Definition: STC8Ax_REG.h:605
sfr P2M0
Definition: STC8Ax_REG.h:450
sbit P65
Definition: STC8Ax_REG.h:424
sfr PCA_PWM1
Definition: STC8Ax_REG.h:875
sfr CCAP3L
Definition: STC8Ax_REG.h:868
sfr P5M0
Definition: STC8Ax_REG.h:453
sbit P23
Definition: STC8Ax_REG.h:389
#define WKTCH_ADDRESS
Definition: STC8Ax_REG.h:549
sfr P3M0
Definition: STC8Ax_REG.h:451
#define IAP_CONTR_ADDRESS
Definition: STC8Ax_REG.h:754
sfr CCAP0H
Definition: STC8Ax_REG.h:870
sfr IP2
Definition: STC8Ax_REG.h:235
#define CCAPM2_ADDRESS
Definition: STC8Ax_REG.h:801
#define IPH_ADDRESS
Definition: STC8Ax_REG.h:173
sfr P6
Definition: STC8Ax_REG.h:363
#define T3L_ADDRESS
Definition: STC8Ax_REG.h:545
sfr ADC_RES
Definition: STC8Ax_REG.h:738
sbit P20
Definition: STC8Ax_REG.h:386
sfr CCAPM2
Definition: STC8Ax_REG.h:863
sfr P6M1
Definition: STC8Ax_REG.h:444
sfr SPSTAT
Definition: STC8Ax_REG.h:1128
#define IE_ADDRESS
Definition: STC8Ax_REG.h:169
sfr IE
Definition: STC8Ax_REG.h:232
#define BUS_SPEED_ADDRESS
Definition: STC8Ax_REG.h:269
sfr TA
Definition: STC8Ax_REG.h:73
sfr P_SW1
Definition: STC8Ax_REG.h:91
sfr P2
Definition: STC8Ax_REG.h:359
sbit P53
Definition: STC8Ax_REG.h:413
sbit SM1
Definition: STC8Ax_REG.h:682
#define PCA_PWM2_ADDRESS
Definition: STC8Ax_REG.h:813
sbit P71
Definition: STC8Ax_REG.h:429
#define ISP_ADDRH_ADDRESS
Definition: STC8Ax_REG.h:757
sbit PX1
Definition: STC8Ax_REG.h:255
sbit ET0
Definition: STC8Ax_REG.h:247
#define SADEN_ADDRESS
Definition: STC8Ax_REG.h:636
sfr IP
Definition: STC8Ax_REG.h:234
sfr ADCCFG
Definition: STC8Ax_REG.h:740
sfr DPS
Definition: STC8Ax_REG.h:74
#define ISP_CONTR_ADDRESS
Definition: STC8Ax_REG.h:761
#define S3BUF_ADDRESS
Definition: STC8Ax_REG.h:632
sbit P62
Definition: STC8Ax_REG.h:421
#define T1H_ADDRESS
Definition: STC8Ax_REG.h:540
sfr ISP_CONTR
Definition: STC8Ax_REG.h:788
#define P3_ADDRESS
Definition: STC8Ax_REG.h:283
sfr P7M1
Definition: STC8Ax_REG.h:445
sbit P37
Definition: STC8Ax_REG.h:402
sbit P42
Definition: STC8Ax_REG.h:406
sfr DPL
Definition: STC8Ax_REG.h:71
sbit TI
Definition: STC8Ax_REG.h:687
#define TMOD_ADDRESS
Definition: STC8Ax_REG.h:536
sbit IE0
Definition: STC8Ax_REG.h:606
#define PWMIF_ADDRESS
Definition: STC8Ax_REG.h:892
#define T3H_ADDRESS
Definition: STC8Ax_REG.h:544
sbit P27
Definition: STC8Ax_REG.h:393
#define IE2_ADDRESS
Definition: STC8Ax_REG.h:170
sbit TF1
Definition: STC8Ax_REG.h:601
#define PCA_PWM0_ADDRESS
Definition: STC8Ax_REG.h:811
sbit P52
Definition: STC8Ax_REG.h:412
#define CCAP3L_ADDRESS
Definition: STC8Ax_REG.h:806
#define P4_ADDRESS
Definition: STC8Ax_REG.h:284
#define T4T3M_ADDRESS
Definition: STC8Ax_REG.h:541
sfr IAP_DATA
Definition: STC8Ax_REG.h:776
sbit P25
Definition: STC8Ax_REG.h:391
#define WDT_ADDRESS
Definition: STC8Ax_REG.h:522
#define VOCTRL_ADDRESS
Definition: STC8Ax_REG.h:158
sbit P26
Definition: STC8Ax_REG.h:392
sbit TF0
Definition: STC8Ax_REG.h:603
#define PWMFDCR_ADDRESS
Definition: STC8Ax_REG.h:893
sbit P74
Definition: STC8Ax_REG.h:432
sbit ES
Definition: STC8Ax_REG.h:244
sfr PCON
Definition: STC8Ax_REG.h:161
sfr S2CON
Definition: STC8Ax_REG.h:672
#define ISP_DATA_ADDRESS
Definition: STC8Ax_REG.h:756
#define CCAPM3_ADDRESS
Definition: STC8Ax_REG.h:802
#define SCON_ADDRESS
Definition: STC8Ax_REG.h:627
sfr CCAP2H
Definition: STC8Ax_REG.h:872
sfr T3H
Definition: STC8Ax_REG.h:594
#define IAP_DATA_ADDRESS
Definition: STC8Ax_REG.h:749
#define P2M0_ADDRESS
Definition: STC8Ax_REG.h:301
sfr P2M1
Definition: STC8Ax_REG.h:440
#define ISP_CMD_ADDRESS
Definition: STC8Ax_REG.h:759
sbit P43
Definition: STC8Ax_REG.h:407
sbit P05
Definition: STC8Ax_REG.h:372
#define T4L_ADDRESS
Definition: STC8Ax_REG.h:543
sfr SADDR
Definition: STC8Ax_REG.h:678
sbit P55
Definition: STC8Ax_REG.h:415
#define P1_ADDRESS
Definition: STC8Ax_REG.h:281
sbit ET1
Definition: STC8Ax_REG.h:245
sfr PWMFDCR
Definition: STC8Ax_REG.h:1018
sfr AUXR
Definition: STC8Ax_REG.h:89
sbit PS
Definition: STC8Ax_REG.h:253
sfr S4BUF
Definition: STC8Ax_REG.h:677
#define ISP_ADDRL_ADDRESS
Definition: STC8Ax_REG.h:758
sfr IAP_ADDRL
Definition: STC8Ax_REG.h:778
sbit EADC
Definition: STC8Ax_REG.h:243
sfr CCAPM1
Definition: STC8Ax_REG.h:862
sfr CL
Definition: STC8Ax_REG.h:859
#define P5M0_ADDRESS
Definition: STC8Ax_REG.h:304
sfr P1M0
Definition: STC8Ax_REG.h:449
sbit P12
Definition: STC8Ax_REG.h:379
sbit P75
Definition: STC8Ax_REG.h:433
sbit P16
Definition: STC8Ax_REG.h:383
sfr PCA_PWM3
Definition: STC8Ax_REG.h:877
sfr CH
Definition: STC8Ax_REG.h:860
sbit PT0
Definition: STC8Ax_REG.h:256
sfr AUXINTIF
Definition: STC8Ax_REG.h:239
sbit P02
Definition: STC8Ax_REG.h:369
sbit IT0
Definition: STC8Ax_REG.h:618
sfr P5M1
Definition: STC8Ax_REG.h:443
#define P4M0_ADDRESS
Definition: STC8Ax_REG.h:303
sbit RB8
Definition: STC8Ax_REG.h:686
sbit P64
Definition: STC8Ax_REG.h:423
sfr P3M1
Definition: STC8Ax_REG.h:441
sfr CCAPM3
Definition: STC8Ax_REG.h:864
sfr S2BUF
Definition: STC8Ax_REG.h:673
#define WKTCL_ADDRESS
Definition: STC8Ax_REG.h:548
#define S3CON_ADDRESS
Definition: STC8Ax_REG.h:631
sfr RSTCFG
Definition: STC8Ax_REG.h:528
sfr P1M1
Definition: STC8Ax_REG.h:439
sbit ELVD
Definition: STC8Ax_REG.h:242
#define T0H_ADDRESS
Definition: STC8Ax_REG.h:539
sfr ADC_CONTR
Definition: STC8Ax_REG.h:737
#define ADC_RESH_ADDRESS
Definition: STC8Ax_REG.h:723
sfr IAP_ADDRH
Definition: STC8Ax_REG.h:777
sfr PWMCR
Definition: STC8Ax_REG.h:1019
#define IP2H_ADDRESS
Definition: STC8Ax_REG.h:174
#define ISP_TRIG_ADDRESS
Definition: STC8Ax_REG.h:760
sbit CF
Definition: STC8Ax_REG.h:879
#define P1M1_ADDRESS
Definition: STC8Ax_REG.h:291
sfr TMOD
Definition: STC8Ax_REG.h:582
sfr T3L
Definition: STC8Ax_REG.h:595
sbit P11
Definition: STC8Ax_REG.h:378
sbit TB8
Definition: STC8Ax_REG.h:685
#define P4M1_ADDRESS
Definition: STC8Ax_REG.h:294
sbit P63
Definition: STC8Ax_REG.h:422
sfr PSW
Definition: STC8Ax_REG.h:61
#define INTCLKO_ADDRESS
Definition: STC8Ax_REG.h:175
#define AUXINTIF_ADDRESS
Definition: STC8Ax_REG.h:176
sfr IE2
Definition: STC8Ax_REG.h:233
sbit CCF2
Definition: STC8Ax_REG.h:882
#define T0L_ADDRESS
Definition: STC8Ax_REG.h:537
sfr SBUF
Definition: STC8Ax_REG.h:671
sfr ADC_RESL
Definition: STC8Ax_REG.h:739
#define P7M0_ADDRESS
Definition: STC8Ax_REG.h:306
#define IRTRIM_ADDRESS
Definition: STC8Ax_REG.h:120
sfr PWMCFG
Definition: STC8Ax_REG.h:1016
#define SPCTL_ADDRESS
Definition: STC8Ax_REG.h:1112
sfr VOCTRL
Definition: STC8Ax_REG.h:162
sbit RS0
Definition: STC8Ax_REG.h:66
sfr T1L
Definition: STC8Ax_REG.h:584
sfr TH0
Definition: STC8Ax_REG.h:589
#define AUXR2_ADDRESS
Definition: STC8Ax_REG.h:84
sbit RI
Definition: STC8Ax_REG.h:688
sfr P0M0
Definition: STC8Ax_REG.h:448
#define CCAP0H_ADDRESS
Definition: STC8Ax_REG.h:807
sbit P04
Definition: STC8Ax_REG.h:371
sfr TCON
Definition: STC8Ax_REG.h:581
sbit AC
Definition: STC8Ax_REG.h:63
sbit P54
Definition: STC8Ax_REG.h:414
sbit REN
Definition: STC8Ax_REG.h:684
sfr CCAP2L
Definition: STC8Ax_REG.h:867
sbit P35
Definition: STC8Ax_REG.h:400
#define P3M1_ADDRESS
Definition: STC8Ax_REG.h:293
#define P1M0_ADDRESS
Definition: STC8Ax_REG.h:300
sfr T1H
Definition: STC8Ax_REG.h:586
sfr PCA_PWM2
Definition: STC8Ax_REG.h:876
#define P7_ADDRESS
Definition: STC8Ax_REG.h:287
#define SPSTAT_ADDRESS
Definition: STC8Ax_REG.h:1111
#define P3M0_ADDRESS
Definition: STC8Ax_REG.h:302
#define IP_ADDRESS
Definition: STC8Ax_REG.h:171
#define SBUF_ADDRESS
Definition: STC8Ax_REG.h:628
#define CCAPM0_ADDRESS
Definition: STC8Ax_REG.h:799
#define PWMCFG_ADDRESS
Definition: STC8Ax_REG.h:891
sfr WKTCH
Definition: STC8Ax_REG.h:599
sfr P7
Definition: STC8Ax_REG.h:364
#define P5_ADDRESS
Definition: STC8Ax_REG.h:285
sbit P21
Definition: STC8Ax_REG.h:387
#define SPDAT_ADDRESS
Definition: STC8Ax_REG.h:1113
sbit PLVD
Definition: STC8Ax_REG.h:251
#define P7M1_ADDRESS
Definition: STC8Ax_REG.h:297
sfr SCON
Definition: STC8Ax_REG.h:670
sbit P61
Definition: STC8Ax_REG.h:420
#define CH_ADDRESS
Definition: STC8Ax_REG.h:798
#define P2M1_ADDRESS
Definition: STC8Ax_REG.h:292
sbit EA
Definition: STC8Ax_REG.h:241
sfr IRTRIM
Definition: STC8Ax_REG.h:147
#define P0_ADDRESS
Definition: STC8Ax_REG.h:280
#define SADDR_ADDRESS
Definition: STC8Ax_REG.h:635
sfr DPH1
Definition: STC8Ax_REG.h:76
#define CCON_ADDRESS
Definition: STC8Ax_REG.h:795
sfr CCAP3H
Definition: STC8Ax_REG.h:873
#define PCON_ADDRESS
Definition: STC8Ax_REG.h:157
sfr P3
Definition: STC8Ax_REG.h:360
sfr CMOD
Definition: STC8Ax_REG.h:858
sfr T2H
Definition: STC8Ax_REG.h:596
sfr P6M0
Definition: STC8Ax_REG.h:454
sbit SM2
Definition: STC8Ax_REG.h:683
sbit P
Definition: STC8Ax_REG.h:69
#define CCAPM1_ADDRESS
Definition: STC8Ax_REG.h:800
sbit P17
Definition: STC8Ax_REG.h:384
#define T2L_ADDRESS
Definition: STC8Ax_REG.h:547
#define T2H_ADDRESS
Definition: STC8Ax_REG.h:546
sfr IAP_CMD
Definition: STC8Ax_REG.h:779
sfr IAP_TRIG
Definition: STC8Ax_REG.h:780
sfr SADEN
Definition: STC8Ax_REG.h:679
sbit P56
Definition: STC8Ax_REG.h:416
sbit CCF3
Definition: STC8Ax_REG.h:881
sbit P22
Definition: STC8Ax_REG.h:388
sfr S3BUF
Definition: STC8Ax_REG.h:675
sbit P03
Definition: STC8Ax_REG.h:370
sbit CR
Definition: STC8Ax_REG.h:880
sbit P30
Definition: STC8Ax_REG.h:395
sfr T0H
Definition: STC8Ax_REG.h:585
#define CCAP2L_ADDRESS
Definition: STC8Ax_REG.h:805
sbit EX0
Definition: STC8Ax_REG.h:248
#define S4CON_ADDRESS
Definition: STC8Ax_REG.h:633
sbit P57
Definition: STC8Ax_REG.h:417
#define IAP_ADDRL_ADDRESS
Definition: STC8Ax_REG.h:751
sfr ISP_ADDRL
Definition: STC8Ax_REG.h:785
sfr AUXR2
Definition: STC8Ax_REG.h:90
Definition: STC15x_REG.h:78