找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3316|回复: 17
打印 上一主题 下一主题
收起左侧

STC8G1K08A单片机用什么软件编程?要什么头文件

  [复制链接]
跳转到指定楼层
楼主
100黑币
STC8G1K08A用什么软编程,同时要加入什么文件

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
ID:1007932 发表于 2022-9-24 20:42 | 只看该作者
啊这.......当然是keil了,用stc-isp将单片机型号添加到keil中,stc不都是对寄存器编程吗,直接添加stc8g的头文件就行了,自己照着数据手册写也行
回复

使用道具 举报

板凳
ID:213173 发表于 2022-9-24 21:18 | 只看该作者
可以用Keil编辑,在STC-ISP中添加STC系列选型数据和头文件。





评分

参与人数 1黑币 +15 收起 理由
shuisheng60 + 15

查看全部评分

回复

使用道具 举报

地板
ID:384109 发表于 2022-9-24 21:19 | 只看该作者
51内核,按51编程就行
回复

使用道具 举报

5#
ID:137736 发表于 2022-9-24 21:24 | 只看该作者
keil,要加入STC的头文件。上官网查呀。
回复

使用道具 举报

6#
ID:282431 发表于 2022-9-24 22:10 | 只看该作者
Keil C51
回复

使用道具 举报

7#
ID:1034262 发表于 2022-9-24 22:32 | 只看该作者
大部分人用KEIL C,小部分人用IAR。
回复

使用道具 举报

8#
ID:57657 发表于 2022-9-24 22:37 | 只看该作者
除STC16、STC32外,其他的都可以使用 Keil C51 进行编程。

评分

参与人数 1黑币 +15 收起 理由
shuisheng60 + 15

查看全部评分

回复

使用道具 举报

9#
ID:401564 发表于 2022-9-24 22:56 | 只看该作者
这个问题问得.................
学单片机不是一天两天的事,你好歹有个准备的吧
哪怕是百度一下也好呀
回复

使用道具 举报

10#
ID:472242 发表于 2022-9-25 06:10 | 只看该作者
wulin 发表于 2022-9-24 21:18
可以用Keil编辑,在STC-ISP中添加STC系列选型数据和头文件。

首先谢谢大家好心的回复,还想问一下,是kei4还是5,你们有没有头文件,网上找的都不包含这款型号,能分享一下吗?
回复

使用道具 举报

11#
ID:472242 发表于 2022-9-25 06:11 | 只看该作者
npn 发表于 2022-9-24 22:37
除STC16、STC32外,其他的都可以使用 Keil C51 进行编程。

首先谢谢大家好心的回复,还想问一下,是kei4还是5,你们有没有头文件,网上找的都不包含这款型号,能分享一下吗?
回复

使用道具 举报

12#
ID:756506 发表于 2022-9-25 10:59 | 只看该作者
用keil5就可以啦
回复

使用道具 举报

13#
ID:160500 发表于 2022-9-25 12:27 | 只看该作者
keil C51编程,那个版本都是可以的。头文件在stc的烧录软件里就有,自己慢慢找下
在stc软件仿真设置里添加型号和头文件到keil,单独的头文件这个软件里也有,数据手册也有。
回复

使用道具 举报

14#
ID:155507 发表于 2022-9-25 12:33 | 只看该作者
shuisheng60 发表于 2022-9-25 06:11
首先谢谢大家好心的回复,还想问一下,是kei4还是5,你们有没有头文件,网上找的都不包含这款型号,能分 ...

在STC-ISP中添加STC系列选型数据和头文件。
  1. #ifndef     __STC8G_H__
  2. #define     __STC8G_H__

  3. /////////////////////////////////////////////////

  4. //包含本头文件后,不用另外再包含"REG51.H"

  5. sfr         P0          =           0x80;
  6. sbit        P00         =           P0^0;
  7. sbit        P01         =           P0^1;
  8. sbit        P02         =           P0^2;
  9. sbit        P03         =           P0^3;
  10. sbit        P04         =           P0^4;
  11. sbit        P05         =           P0^5;
  12. sbit        P06         =           P0^6;
  13. sbit        P07         =           P0^7;
  14. sfr         SP          =           0x81;
  15. sfr         DPL         =           0x82;
  16. sfr         DPH         =           0x83;
  17. sfr         S4CON       =           0x84;
  18. sfr         S4BUF       =           0x85;
  19. sfr         PCON        =           0x87;
  20. sfr         TCON        =           0x88;
  21. sbit        TF1         =           TCON^7;
  22. sbit        TR1         =           TCON^6;
  23. sbit        TF0         =           TCON^5;
  24. sbit        TR0         =           TCON^4;
  25. sbit        IE1         =           TCON^3;
  26. sbit        IT1         =           TCON^2;
  27. sbit        IE0         =           TCON^1;
  28. sbit        IT0         =           TCON^0;
  29. sfr         TMOD        =           0x89;
  30. sfr         TL0         =           0x8A;
  31. sfr         TL1         =           0x8B;
  32. sfr         TH0         =           0x8C;
  33. sfr         TH1         =           0x8D;
  34. sfr         AUXR        =           0x8E;
  35. sfr         INTCLKO     =           0x8F;
  36. sfr         P1          =           0x90;
  37. sbit        P10         =           P1^0;
  38. sbit        P11         =           P1^1;
  39. sbit        P12         =           P1^2;
  40. sbit        P13         =           P1^3;
  41. sbit        P14         =           P1^4;
  42. sbit        P15         =           P1^5;
  43. sbit        P16         =           P1^6;
  44. sbit        P17         =           P1^7;
  45. sfr         P1M1        =           0x91;
  46. sfr         P1M0        =           0x92;
  47. sfr         P0M1        =           0x93;
  48. sfr         P0M0        =           0x94;
  49. sfr         P2M1        =           0x95;
  50. sfr         P2M0        =           0x96;
  51. sfr         SCON        =           0x98;
  52. sbit        SM0         =           SCON^7;
  53. sbit        SM1         =           SCON^6;
  54. sbit        SM2         =           SCON^5;
  55. sbit        REN         =           SCON^4;
  56. sbit        TB8         =           SCON^3;
  57. sbit        RB8         =           SCON^2;
  58. sbit        TI          =           SCON^1;
  59. sbit        RI          =           SCON^0;
  60. sfr         SBUF        =           0x99;
  61. sfr         S2CON       =           0x9A;
  62. sfr         S2BUF       =           0x9B;
  63. sfr         IRCBAND     =           0x9D;
  64. sfr         LIRTRIM     =           0x9E;
  65. sfr         IRTRIM      =           0x9F;
  66. sfr         P2          =           0xA0;
  67. sbit        P20         =           P2^0;
  68. sbit        P21         =           P2^1;
  69. sbit        P22         =           P2^2;
  70. sbit        P23         =           P2^3;
  71. sbit        P24         =           P2^4;
  72. sbit        P25         =           P2^5;
  73. sbit        P26         =           P2^6;
  74. sbit        P27         =           P2^7;
  75. sfr         P_SW1       =           0xA2;
  76. sfr         IE          =           0xA8;
  77. sbit        EA          =           IE^7;
  78. sbit        ELVD        =           IE^6;
  79. sbit        EADC        =           IE^5;
  80. sbit        ES          =           IE^4;
  81. sbit        ET1         =           IE^3;
  82. sbit        EX1         =           IE^2;
  83. sbit        ET0         =           IE^1;
  84. sbit        EX0         =           IE^0;
  85. sfr         SADDR       =           0xA9;
  86. sfr         WKTCL       =           0xAA;
  87. sfr         WKTCH       =           0xAB;
  88. sfr         S3CON       =           0xAC;
  89. sfr         S3BUF       =           0xAD;
  90. sfr         TA          =           0xAE;
  91. sfr         IE2         =           0xAF;
  92. sfr         P3          =           0xB0;
  93. sbit        P30         =           P3^0;
  94. sbit        P31         =           P3^1;
  95. sbit        P32         =           P3^2;
  96. sbit        P33         =           P3^3;
  97. sbit        P34         =           P3^4;
  98. sbit        P35         =           P3^5;
  99. sbit        P36         =           P3^6;
  100. sbit        P37         =           P3^7;
  101. sfr         P3M1        =           0xB1;
  102. sfr         P3M0        =           0xB2;
  103. sfr         P4M1        =           0xB3;
  104. sfr         P4M0        =           0xB4;
  105. sfr         IP2         =           0xB5;
  106. sfr         IP2H        =           0xB6;
  107. sfr         IPH         =           0xB7;
  108. sfr         IP          =           0xB8;
  109. sbit        PPCA        =           IP^7;
  110. sbit        PLVD        =           IP^6;
  111. sbit        PADC        =           IP^5;
  112. sbit        PS          =           IP^4;
  113. sbit        PT1         =           IP^3;
  114. sbit        PX1         =           IP^2;
  115. sbit        PT0         =           IP^1;
  116. sbit        PX0         =           IP^0;
  117. sfr         SADEN       =           0xB9;
  118. sfr         P_SW2       =           0xBA;
  119. sfr         ADC_CONTR   =           0xBC;
  120. sfr         ADC_RES     =           0xBD;
  121. sfr         ADC_RESL    =           0xBE;
  122. sfr         P4          =           0xC0;
  123. sbit        P40         =           P4^0;
  124. sbit        P41         =           P4^1;
  125. sbit        P42         =           P4^2;
  126. sbit        P43         =           P4^3;
  127. sbit        P44         =           P4^4;
  128. sbit        P45         =           P4^5;
  129. sbit        P46         =           P4^6;
  130. sbit        P47         =           P4^7;
  131. sfr         WDT_CONTR   =           0xC1;
  132. sfr         IAP_DATA    =           0xC2;
  133. sfr         IAP_ADDRH   =           0xC3;
  134. sfr         IAP_ADDRL   =           0xC4;
  135. sfr         IAP_CMD     =           0xC5;
  136. sfr         IAP_TRIG    =           0xC6;
  137. sfr         IAP_CONTR   =           0xC7;
  138. sfr         P5          =           0xC8;
  139. sbit        P50         =           P5^0;
  140. sbit        P51         =           P5^1;
  141. sbit        P52         =           P5^2;
  142. sbit        P53         =           P5^3;
  143. sbit        P54         =           P5^4;
  144. sbit        P55         =           P5^5;
  145. sbit        P56         =           P5^6;
  146. sbit        P57         =           P5^7;
  147. sfr         P5M1        =           0xC9;
  148. sfr         P5M0        =           0xCA;
  149. sfr         P6M1        =           0xcb;
  150. sfr         P6M0        =           0xcc;
  151. sfr         SPSTAT      =           0xCD;
  152. sfr         SPCTL       =           0xCE;
  153. sfr         SPDAT       =           0xCF;
  154. sfr         PSW         =           0xD0;
  155. sbit        CY          =           PSW^7;
  156. sbit        AC          =           PSW^6;
  157. sbit        F0          =           PSW^5;
  158. sbit        RS1         =           PSW^4;
  159. sbit        RS0         =           PSW^3;
  160. sbit        OV          =           PSW^2;
  161. sbit        F1          =           PSW^1;
  162. sbit        P           =           PSW^0;
  163. sfr         T4T3M       =           0xD1;
  164. sfr         T4H         =           0xD2;
  165. sfr         T4L         =           0xD3;
  166. sfr         T3H         =           0xD4;
  167. sfr         T3L         =           0xD5;
  168. sfr         T2H         =           0xD6;
  169. sfr         T2L         =           0xD7;
  170. sfr         CCON        =           0xD8;
  171. sbit        CF          =           CCON^7;
  172. sbit        CR          =           CCON^6;
  173. sbit        CCF2        =           CCON^2;
  174. sbit        CCF1        =           CCON^1;
  175. sbit        CCF0        =           CCON^0;
  176. sfr         CMOD        =           0xD9;
  177. sfr         CCAPM0      =           0xDA;
  178. sfr         CCAPM1      =           0xDB;
  179. sfr         CCAPM2      =           0xDC;
  180. sfr         ADCCFG      =           0xDE;
  181. sfr         IP3         =           0xDF;
  182. sfr         ACC         =           0xE0;
  183. sfr         P7M1        =           0xe1;
  184. sfr         P7M0        =           0xe2;
  185. sfr         DPS         =           0xE3;
  186. sfr         DPL1        =           0xE4;
  187. sfr         DPH1        =           0xE5;
  188. sfr         CMPCR1      =           0xE6;
  189. sfr         CMPCR2      =           0xE7;
  190. sfr         P6          =           0xe8;
  191. sbit        P60         =           P6^0;
  192. sbit        P61         =           P6^1;
  193. sbit        P62         =           P6^2;
  194. sbit        P63         =           P6^3;
  195. sbit        P64         =           P6^4;
  196. sbit        P65         =           P6^5;
  197. sbit        P66         =           P6^6;
  198. sbit        P67         =           P6^7;
  199. sfr         CL          =           0xE9;
  200. sfr         CCAP0L      =           0xEA;
  201. sfr         CCAP1L      =           0xEB;
  202. sfr         CCAP2L      =           0xEC;
  203. sfr         IP3H        =           0xEE;
  204. sfr         AUXINTIF    =           0xEF;
  205. sfr         B           =           0xF0;
  206. sfr         PWMSET      =           0xF1;
  207. sfr         PCA_PWM0    =           0xF2;
  208. sfr         PCA_PWM1    =           0xF3;
  209. sfr         PCA_PWM2    =           0xF4;
  210. sfr         IAP_TPS     =           0xF5;
  211. sfr         PWMCFG01    =           0xF6;
  212. sfr         PWMCFG23    =           0xF7;
  213. sfr         P7          =           0xf8;
  214. sbit        P70         =           P7^0;
  215. sbit        P71         =           P7^1;
  216. sbit        P72         =           P7^2;
  217. sbit        P73         =           P7^3;
  218. sbit        P74         =           P7^4;
  219. sbit        P75         =           P7^5;
  220. sbit        P76         =           P7^6;
  221. sbit        P77         =           P7^7;
  222. sfr         CH          =           0xF9;
  223. sfr         CCAP0H      =           0xFA;
  224. sfr         CCAP1H      =           0xFB;
  225. sfr         CCAP2H      =           0xFC;
  226. sfr         PWMCFG45    =           0xFE;
  227. sfr         RSTCFG      =           0xFF;

  228. //如下特殊功能寄存器位于扩展RAM区域
  229. //访问这些寄存器,需先将P_SW2的BIT7设置为1,才可正常读写

  230. /////////////////////////////////////////////////
  231. //FF00H-FFFFH
  232. /////////////////////////////////////////////////

  233. #define     PWM0C       (*(unsigned int  volatile xdata *)0xff00)
  234. #define     PWM0CH      (*(unsigned char volatile xdata *)0xff00)
  235. #define     PWM0CL      (*(unsigned char volatile xdata *)0xff01)
  236. #define     PWM0CKS     (*(unsigned char volatile xdata *)0xff02)
  237. #define     PWM0TADC    (*(unsigned int  volatile xdata *)0xff03)
  238. #define     PWM0TADCH   (*(unsigned char volatile xdata *)0xff03)
  239. #define     PWM0TADCL   (*(unsigned char volatile xdata *)0xff04)
  240. #define     PWM0IF      (*(unsigned char volatile xdata *)0xff05)
  241. #define     PWM0FDCR    (*(unsigned char volatile xdata *)0xff06)
  242. #define     PWM00T1     (*(unsigned int  volatile xdata *)0xff10)
  243. #define     PWM00T1L    (*(unsigned char volatile xdata *)0xff11)
  244. #define     PWM00T2     (*(unsigned int  volatile xdata *)0xff12)
  245. #define     PWM00T2H    (*(unsigned char volatile xdata *)0xff12)
  246. #define     PWM00T2L    (*(unsigned char volatile xdata *)0xff13)
  247. #define     PWM00CR     (*(unsigned char volatile xdata *)0xff14)
  248. #define     PWM00HLD    (*(unsigned char volatile xdata *)0xff15)
  249. #define     PWM01T1     (*(unsigned int  volatile xdata *)0xff18)
  250. #define     PWM01T1H    (*(unsigned char volatile xdata *)0xff18)
  251. #define     PWM01T1L    (*(unsigned char volatile xdata *)0xff19)
  252. #define     PWM01T2     (*(unsigned int  volatile xdata *)0xff1a)
  253. #define     PWM01T2H    (*(unsigned char volatile xdata *)0xff1a)
  254. #define     PWM01T2L    (*(unsigned char volatile xdata *)0xff1b)
  255. #define     PWM01CR     (*(unsigned char volatile xdata *)0xff1c)
  256. #define     PWM01HLD    (*(unsigned char volatile xdata *)0xff1d)
  257. #define     PWM02T1     (*(unsigned int  volatile xdata *)0xff20)
  258. #define     PWM02T1H    (*(unsigned char volatile xdata *)0xff20)
  259. #define     PWM02T1L    (*(unsigned char volatile xdata *)0xff21)
  260. #define     PWM02T2     (*(unsigned int  volatile xdata *)0xff22)
  261. #define     PWM02T2H    (*(unsigned char volatile xdata *)0xff22)
  262. #define     PWM02T2L    (*(unsigned char volatile xdata *)0xff23)
  263. #define     PWM02CR     (*(unsigned char volatile xdata *)0xff24)
  264. #define     PWM02HLD    (*(unsigned char volatile xdata *)0xff25)
  265. #define     PWM03T1     (*(unsigned int  volatile xdata *)0xff28)
  266. #define     PWM03T1H    (*(unsigned char volatile xdata *)0xff28)
  267. #define     PWM03T1L    (*(unsigned char volatile xdata *)0xff29)
  268. #define     PWM03T2     (*(unsigned int  volatile xdata *)0xff2a)
  269. #define     PWM03T2H    (*(unsigned char volatile xdata *)0xff2a)
  270. #define     PWM03T2L    (*(unsigned char volatile xdata *)0xff2b)
  271. #define     PWM03CR     (*(unsigned char volatile xdata *)0xff2c)
  272. #define     PWM03HLD    (*(unsigned char volatile xdata *)0xff2d)
  273. #define     PWM04T1     (*(unsigned int  volatile xdata *)0xff30)
  274. #define     PWM04T1H    (*(unsigned char volatile xdata *)0xff30)
  275. #define     PWM04T1L    (*(unsigned char volatile xdata *)0xff31)
  276. #define     PWM04T2     (*(unsigned int  volatile xdata *)0xff32)
  277. #define     PWM04T2H    (*(unsigned char volatile xdata *)0xff32)
  278. #define     PWM04T2L    (*(unsigned char volatile xdata *)0xff33)
  279. #define     PWM04CR     (*(unsigned char volatile xdata *)0xff34)
  280. #define     PWM04HLD    (*(unsigned char volatile xdata *)0xff35)
  281. #define     PWM05T1     (*(unsigned int  volatile xdata *)0xff38)
  282. #define     PWM05T1H    (*(unsigned char volatile xdata *)0xff38)
  283. #define     PWM05T1L    (*(unsigned char volatile xdata *)0xff39)
  284. #define     PWM05T2     (*(unsigned int  volatile xdata *)0xff3a)
  285. #define     PWM05T2H    (*(unsigned char volatile xdata *)0xff3a)
  286. #define     PWM05T2L    (*(unsigned char volatile xdata *)0xff3b)
  287. #define     PWM05CR     (*(unsigned char volatile xdata *)0xff3c)
  288. #define     PWM05HLD    (*(unsigned char volatile xdata *)0xff3d)
  289. #define     PWM06T1     (*(unsigned int  volatile xdata *)0xff40)
  290. #define     PWM06T1H    (*(unsigned char volatile xdata *)0xff40)
  291. #define     PWM06T1L    (*(unsigned char volatile xdata *)0xff41)
  292. #define     PWM06T2     (*(unsigned int  volatile xdata *)0xff42)
  293. #define     PWM06T2H    (*(unsigned char volatile xdata *)0xff42)
  294. #define     PWM06T2L    (*(unsigned char volatile xdata *)0xff43)
  295. #define     PWM06CR     (*(unsigned char volatile xdata *)0xff44)
  296. #define     PWM06HLD    (*(unsigned char volatile xdata *)0xff45)
  297. #define     PWM07T1     (*(unsigned int  volatile xdata *)0xff48)
  298. #define     PWM07T1H    (*(unsigned char volatile xdata *)0xff48)
  299. #define     PWM07T1L    (*(unsigned char volatile xdata *)0xff49)
  300. #define     PWM07T2     (*(unsigned int  volatile xdata *)0xff4a)
  301. #define     PWM07T2H    (*(unsigned char volatile xdata *)0xff4a)
  302. #define     PWM07T2L    (*(unsigned char volatile xdata *)0xff4b)
  303. #define     PWM07CR     (*(unsigned char volatile xdata *)0xff4c)
  304. #define     PWM07HLD    (*(unsigned char volatile xdata *)0xff4d)
  305. #define     PWM1C       (*(unsigned int  volatile xdata *)0xff50)
  306. #define     PWM1CH      (*(unsigned char volatile xdata *)0xff50)
  307. #define     PWM1CL      (*(unsigned char volatile xdata *)0xff51)
  308. #define     PWM1CKS     (*(unsigned char volatile xdata *)0xff52)
  309. #define     PWM1IF      (*(unsigned char volatile xdata *)0xff55)
  310. #define     PWM1FDCR    (*(unsigned char volatile xdata *)0xff56)
  311. #define     PWM10T1     (*(unsigned int  volatile xdata *)0xff60)
  312. #define     PWM10T1H    (*(unsigned char volatile xdata *)0xff60)
  313. #define     PWM10T1L    (*(unsigned char volatile xdata *)0xff61)
  314. #define     PWM10T2     (*(unsigned int  volatile xdata *)0xff62)
  315. #define     PWM10T2H    (*(unsigned char volatile xdata *)0xff62)
  316. #define     PWM10T2L    (*(unsigned char volatile xdata *)0xff63)
  317. #define     PWM10CR     (*(unsigned char volatile xdata *)0xff64)
  318. #define     PWM10HLD    (*(unsigned char volatile xdata *)0xff65)
  319. #define     PWM11T1     (*(unsigned int  volatile xdata *)0xff68)
  320. #define     PWM11T1H    (*(unsigned char volatile xdata *)0xff68)
  321. #define     PWM11T1L    (*(unsigned char volatile xdata *)0xff69)
  322. #define     PWM11T2     (*(unsigned int  volatile xdata *)0xff6a)
  323. #define     PWM11T2H    (*(unsigned char volatile xdata *)0xff6a)
  324. #define     PWM11T2L    (*(unsigned char volatile xdata *)0xff6b)
  325. #define     PWM11CR     (*(unsigned char volatile xdata *)0xff6c)
  326. #define     PWM11HLD    (*(unsigned char volatile xdata *)0xff6d)
  327. #define     PWM12T1     (*(unsigned int  volatile xdata *)0xff70)
  328. #define     PWM12T1H    (*(unsigned char volatile xdata *)0xff70)
  329. #define     PWM12T1L    (*(unsigned char volatile xdata *)0xff71)
  330. #define     PWM12T2     (*(unsigned int  volatile xdata *)0xff72)
  331. #define     PWM12T2H    (*(unsigned char volatile xdata *)0xff72)
  332. #define     PWM12T2L    (*(unsigned char volatile xdata *)0xff73)
  333. #define     PWM12CR     (*(unsigned char volatile xdata *)0xff74)
  334. #define     PWM12HLD    (*(unsigned char volatile xdata *)0xff75)
  335. #define     PWM13T1     (*(unsigned int  volatile xdata *)0xff78)
  336. #define     PWM13T1H    (*(unsigned char volatile xdata *)0xff78)
  337. #define     PWM13T1L    (*(unsigned char volatile xdata *)0xff79)
  338. #define     PWM13T2     (*(unsigned int  volatile xdata *)0xff7a)
  339. #define     PWM13T2H    (*(unsigned char volatile xdata *)0xff7a)
  340. #define     PWM13T2L    (*(unsigned char volatile xdata *)0xff7b)
  341. #define     PWM13CR     (*(unsigned char volatile xdata *)0xff7c)
  342. #define     PWM13HLD    (*(unsigned char volatile xdata *)0xff7d)
  343. #define     PWM14T1     (*(unsigned int  volatile xdata *)0xff80)
  344. #define     PWM14T1H    (*(unsigned char volatile xdata *)0xff80)
  345. #define     PWM14T1L    (*(unsigned char volatile xdata *)0xff81)
  346. #define     PWM14T2     (*(unsigned int  volatile xdata *)0xff82)
  347. #define     PWM14T2H    (*(unsigned char volatile xdata *)0xff82)
  348. #define     PWM14T2L    (*(unsigned char volatile xdata *)0xff83)
  349. #define     PWM14CR     (*(unsigned char volatile xdata *)0xff84)
  350. #define     PWM14HLD    (*(unsigned char volatile xdata *)0xff85)
  351. #define     PWM15T1     (*(unsigned int  volatile xdata *)0xff88)
  352. #define     PWM15T1H    (*(unsigned char volatile xdata *)0xff88)
  353. #define     PWM15T1L    (*(unsigned char volatile xdata *)0xff89)
  354. #define     PWM15T2     (*(unsigned int  volatile xdata *)0xff8a)
  355. #define     PWM15T2H    (*(unsigned char volatile xdata *)0xff8a)
  356. #define     PWM15T2L    (*(unsigned char volatile xdata *)0xff8b)
  357. #define     PWM15CR     (*(unsigned char volatile xdata *)0xff8c)
  358. #define     PWM15HLD    (*(unsigned char volatile xdata *)0xff8d)
  359. #define     PWM16T1     (*(unsigned int  volatile xdata *)0xff90)
  360. #define     PWM16T1H    (*(unsigned char volatile xdata *)0xff90)
  361. #define     PWM16T1L    (*(unsigned char volatile xdata *)0xff91)
  362. #define     PWM16T2     (*(unsigned int  volatile xdata *)0xff92)
  363. #define     PWM16T2H    (*(unsigned char volatile xdata *)0xff92)
  364. #define     PWM16T2L    (*(unsigned char volatile xdata *)0xff93)
  365. #define     PWM16CR     (*(unsigned char volatile xdata *)0xff94)
  366. #define     PWM16HLD    (*(unsigned char volatile xdata *)0xff95)
  367. #define     PWM17T1     (*(unsigned int  volatile xdata *)0xff98)
  368. #define     PWM17T1H    (*(unsigned char volatile xdata *)0xff98)
  369. #define     PWM17T1L    (*(unsigned char volatile xdata *)0xff99)
  370. #define     PWM17T2     (*(unsigned int  volatile xdata *)0xff9a)
  371. #define     PWM17T2H    (*(unsigned char volatile xdata *)0xff9a)
  372. #define     PWM17T2L    (*(unsigned char volatile xdata *)0xff9b)
  373. #define     PWM17CR     (*(unsigned char volatile xdata *)0xff9c)
  374. #define     PWM17HLD    (*(unsigned char volatile xdata *)0xff9d)
  375. #define     PWM2C       (*(unsigned int  volatile xdata *)0xffa0)
  376. #define     PWM2CH      (*(unsigned char volatile xdata *)0xffa0)
  377. #define     PWM2CL      (*(unsigned char volatile xdata *)0xffa1)
  378. #define     PWM2CKS     (*(unsigned char volatile xdata *)0xffa2)
  379. #define     PWM2TADC    (*(unsigned int  volatile xdata *)0xffa3)
  380. #define     PWM2TADCH   (*(unsigned char volatile xdata *)0xffa3)
  381. #define     PWM2TADCL   (*(unsigned char volatile xdata *)0xffa4)
  382. #define     PWM2IF      (*(unsigned char volatile xdata *)0xffa5)
  383. #define     PWM2FDCR    (*(unsigned char volatile xdata *)0xffa6)
  384. #define     PWM20T1     (*(unsigned int  volatile xdata *)0xffb0)
  385. #define     PWM20T1H    (*(unsigned char volatile xdata *)0xffb0)
  386. #define     PWM20T1L    (*(unsigned char volatile xdata *)0xffb1)
  387. #define     PWM20T2     (*(unsigned int  volatile xdata *)0xffb2)
  388. #define     PWM20T2H    (*(unsigned char volatile xdata *)0xffb2)
  389. #define     PWM20T2L    (*(unsigned char volatile xdata *)0xffb3)
  390. #define     PWM20CR     (*(unsigned char volatile xdata *)0xffb4)
  391. #define     PWM20HLD    (*(unsigned char volatile xdata *)0xffb5)
  392. #define     PWM21T1     (*(unsigned int  volatile xdata *)0xffb8)
  393. #define     PWM21T1H    (*(unsigned char volatile xdata *)0xffb8)
  394. #define     PWM21T1L    (*(unsigned char volatile xdata *)0xffb9)
  395. #define     PWM21T2     (*(unsigned int  volatile xdata *)0xffba)
  396. #define     PWM21T2H    (*(unsigned char volatile xdata *)0xffba)
  397. #define     PWM21T2L    (*(unsigned char volatile xdata *)0xffbb)
  398. #define     PWM21CR     (*(unsigned char volatile xdata *)0xffbc)
  399. #define     PWM21HLD    (*(unsigned char volatile xdata *)0xffbd)
  400. #define     PWM22T1     (*(unsigned int  volatile xdata *)0xffc0)
  401. #define     PWM22T1H    (*(unsigned char volatile xdata *)0xffc0)
  402. #define     PWM22T1L    (*(unsigned char volatile xdata *)0xffc1)
  403. #define     PWM22T2     (*(unsigned int  volatile xdata *)0xffc2)
  404. #define     PWM22T2H    (*(unsigned char volatile xdata *)0xffc2)
  405. #define     PWM22T2L    (*(unsigned char volatile xdata *)0xffc3)
  406. #define     PWM22CR     (*(unsigned char volatile xdata *)0xffc4)
  407. #define     PWM22HLD    (*(unsigned char volatile xdata *)0xffc5)
  408. #define     PWM23T1     (*(unsigned int  volatile xdata *)0xffc8)
  409. #define     PWM23T1H    (*(unsigned char volatile xdata *)0xffc8)
  410. #define     PWM23T1L    (*(unsigned char volatile xdata *)0xffc9)
  411. #define     PWM23T2     (*(unsigned int  volatile xdata *)0xffca)
  412. #define     PWM23T2H    (*(unsigned char volatile xdata *)0xffca)
  413. #define     PWM23T2L    (*(unsigned char volatile xdata *)0xffcb)
  414. #define     PWM23CR     (*(unsigned char volatile xdata *)0xffcc)
  415. #define     PWM23HLD    (*(unsigned char volatile xdata *)0xffcd)
  416. #define     PWM24T1     (*(unsigned int  volatile xdata *)0xffd0)
  417. #define     PWM24T1H    (*(unsigned char volatile xdata *)0xffd0)
  418. #define     PWM24T1L    (*(unsigned char volatile xdata *)0xffd1)
  419. #define     PWM24T2     (*(unsigned int  volatile xdata *)0xffd2)
  420. #define     PWM24T2H    (*(unsigned char volatile xdata *)0xffd2)
  421. #define     PWM24T2L    (*(unsigned char volatile xdata *)0xffd3)
  422. #define     PWM24CR     (*(unsigned char volatile xdata *)0xffd4)
  423. #define     PWM24HLD    (*(unsigned char volatile xdata *)0xffd5)
  424. #define     PWM25T1     (*(unsigned int  volatile xdata *)0xffd8)
  425. #define     PWM25T1H    (*(unsigned char volatile xdata *)0xffd8)
  426. #define     PWM25T1L    (*(unsigned char volatile xdata *)0xffd9)
  427. #define     PWM25T2     (*(unsigned int  volatile xdata *)0xffda)
  428. #define     PWM25T2H    (*(unsigned char volatile xdata *)0xffda)
  429. #define     PWM25T2L    (*(unsigned char volatile xdata *)0xffdb)
  430. #define     PWM25CR     (*(unsigned char volatile xdata *)0xffdc)
  431. #define     PWM25HLD    (*(unsigned char volatile xdata *)0xffdd)
  432. #define     PWM26T1     (*(unsigned int  volatile xdata *)0xffe0)
  433. #define     PWM26T1H    (*(unsigned char volatile xdata *)0xffe0)
  434. #define     PWM26T1L    (*(unsigned char volatile xdata *)0xffe1)
  435. #define     PWM26T2     (*(unsigned int  volatile xdata *)0xffe2)
  436. #define     PWM26T2H    (*(unsigned char volatile xdata *)0xffe2)
  437. #define     PWM26T2L    (*(unsigned char volatile xdata *)0xffe3)
  438. #define     PWM26CR     (*(unsigned char volatile xdata *)0xffe4)
  439. #define     PWM26HLD    (*(unsigned char volatile xdata *)0xffe5)
  440. #define     PWM27T1     (*(unsigned int  volatile xdata *)0xffe8)
  441. #define     PWM27T1H    (*(unsigned char volatile xdata *)0xffe8)
  442. #define     PWM27T1L    (*(unsigned char volatile xdata *)0xffe9)
  443. #define     PWM27T2     (*(unsigned int  volatile xdata *)0xffea)
  444. #define     PWM27T2H    (*(unsigned char volatile xdata *)0xffea)
  445. #define     PWM27T2L    (*(unsigned char volatile xdata *)0xffeb)
  446. #define     PWM27CR     (*(unsigned char volatile xdata *)0xffec)
  447. #define     PWM27HLD    (*(unsigned char volatile xdata *)0xffed)

  448. /////////////////////////////////////////////////
  449. //FE00H-FEFFH
  450. /////////////////////////////////////////////////

  451. #define     CLKSEL      (*(unsigned char volatile xdata *)0xfe00)
  452. #define     CLKDIV      (*(unsigned char volatile xdata *)0xfe01)
  453. #define     HIRCCR      (*(unsigned char volatile xdata *)0xfe02)
  454. #define     XOSCCR      (*(unsigned char volatile xdata *)0xfe03)
  455. #define     IRC32KCR    (*(unsigned char volatile xdata *)0xfe04)
  456. #define     MCLKOCR     (*(unsigned char volatile xdata *)0xfe05)
  457. #define     IRCDB       (*(unsigned char volatile xdata *)0xfe06)
  458. #define     X32KCR      (*(unsigned char volatile xdata *)0xfe08)

  459. #define     P0PU        (*(unsigned char volatile xdata *)0xfe10)
  460. #define     P1PU        (*(unsigned char volatile xdata *)0xfe11)
  461. #define     P2PU        (*(unsigned char volatile xdata *)0xfe12)
  462. #define     P3PU        (*(unsigned char volatile xdata *)0xfe13)
  463. #define     P4PU        (*(unsigned char volatile xdata *)0xfe14)
  464. #define     P5PU        (*(unsigned char volatile xdata *)0xfe15)
  465. #define     P6PU        (*(unsigned char volatile xdata *)0xfe16)
  466. #define     P7PU        (*(unsigned char volatile xdata *)0xfe17)
  467. #define     P0NCS       (*(unsigned char volatile xdata *)0xfe18)
  468. #define     P1NCS       (*(unsigned char volatile xdata *)0xfe19)
  469. #define     P2NCS       (*(unsigned char volatile xdata *)0xfe1a)
  470. #define     P3NCS       (*(unsigned char volatile xdata *)0xfe1b)
  471. #define     P4NCS       (*(unsigned char volatile xdata *)0xfe1c)
  472. #define     P5NCS       (*(unsigned char volatile xdata *)0xfe1d)
  473. #define     P6NCS       (*(unsigned char volatile xdata *)0xfe1e)
  474. #define     P7NCS       (*(unsigned char volatile xdata *)0xfe1f)
  475. #define     P0SR        (*(unsigned char volatile xdata *)0xfe20)
  476. #define     P1SR        (*(unsigned char volatile xdata *)0xfe21)
  477. #define     P2SR        (*(unsigned char volatile xdata *)0xfe22)
  478. #define     P3SR        (*(unsigned char volatile xdata *)0xfe23)
  479. #define     P4SR        (*(unsigned char volatile xdata *)0xfe24)
  480. #define     P5SR        (*(unsigned char volatile xdata *)0xfe25)
  481. #define     P6SR        (*(unsigned char volatile xdata *)0xfe26)
  482. #define     P7SR        (*(unsigned char volatile xdata *)0xfe27)
  483. #define     P0DR        (*(unsigned char volatile xdata *)0xfe28)
  484. #define     P1DR        (*(unsigned char volatile xdata *)0xfe29)
  485. #define     P2DR        (*(unsigned char volatile xdata *)0xfe2a)
  486. #define     P3DR        (*(unsigned char volatile xdata *)0xfe2b)
  487. #define     P4DR        (*(unsigned char volatile xdata *)0xfe2c)
  488. #define     P5DR        (*(unsigned char volatile xdata *)0xfe2d)
  489. #define     P6DR        (*(unsigned char volatile xdata *)0xfe2e)
  490. #define     P7DR        (*(unsigned char volatile xdata *)0xfe2f)
  491. #define     P0IE        (*(unsigned char volatile xdata *)0xfe30)
  492. #define     P1IE        (*(unsigned char volatile xdata *)0xfe31)
  493. #define     P2IE        (*(unsigned char volatile xdata *)0xfe32)
  494. #define     P3IE        (*(unsigned char volatile xdata *)0xfe33)
  495. #define     P4IE        (*(unsigned char volatile xdata *)0xfe34)
  496. #define     P5IE        (*(unsigned char volatile xdata *)0xfe35)
  497. #define     P6IE        (*(unsigned char volatile xdata *)0xfe36)
  498. #define     P7IE        (*(unsigned char volatile xdata *)0xfe37)

  499. #define     RTCCR       (*(unsigned char volatile xdata *)0xfe60)
  500. #define     RTCCFG      (*(unsigned char volatile xdata *)0xfe61)
  501. #define     RTCIEN      (*(unsigned char volatile xdata *)0xfe62)
  502. #define     RTCIF       (*(unsigned char volatile xdata *)0xfe63)
  503. #define     ALAHOUR     (*(unsigned char volatile xdata *)0xfe64)
  504. #define     ALAMIN      (*(unsigned char volatile xdata *)0xfe65)
  505. #define     ALASEC      (*(unsigned char volatile xdata *)0xfe66)
  506. #define     ALASSEC     (*(unsigned char volatile xdata *)0xfe67)
  507. #define     INIYEAR     (*(unsigned char volatile xdata *)0xfe68)
  508. #define     INIMONTH    (*(unsigned char volatile xdata *)0xfe69)
  509. #define     INIDAY      (*(unsigned char volatile xdata *)0xfe6a)
  510. #define     INIHOUR     (*(unsigned char volatile xdata *)0xfe6b)
  511. #define     INIMIN      (*(unsigned char volatile xdata *)0xfe6c)
  512. #define     INISEC      (*(unsigned char volatile xdata *)0xfe6d)
  513. #define     INISSEC     (*(unsigned char volatile xdata *)0xfe6e)
  514. #define     YEAR        (*(unsigned char volatile xdata *)0xfe70)
  515. #define     MONTH       (*(unsigned char volatile xdata *)0xfe71)
  516. #define     DAY         (*(unsigned char volatile xdata *)0xfe72)
  517. #define     HOUR        (*(unsigned char volatile xdata *)0xfe73)
  518. #define     MIN         (*(unsigned char volatile xdata *)0xfe74)
  519. #define     SEC         (*(unsigned char volatile xdata *)0xfe75)
  520. #define     SSEC        (*(unsigned char volatile xdata *)0xfe76)

  521. #define     I2CCFG      (*(unsigned char volatile xdata *)0xfe80)
  522. #define     I2CMSCR     (*(unsigned char volatile xdata *)0xfe81)
  523. #define     I2CMSST     (*(unsigned char volatile xdata *)0xfe82)
  524. #define     I2CSLCR     (*(unsigned char volatile xdata *)0xfe83)
  525. #define     I2CSLST     (*(unsigned char volatile xdata *)0xfe84)
  526. #define     I2CSLADR    (*(unsigned char volatile xdata *)0xfe85)
  527. #define     I2CTXD      (*(unsigned char volatile xdata *)0xfe86)
  528. #define     I2CRXD      (*(unsigned char volatile xdata *)0xfe87)
  529. #define     I2CMSAUX    (*(unsigned char volatile xdata *)0xfe88)

  530. #define     TM2PS       (*(unsigned char volatile xdata *)0xfea2)
  531. #define     TM3PS       (*(unsigned char volatile xdata *)0xfea3)
  532. #define     TM4PS       (*(unsigned char volatile xdata *)0xfea4)
  533. #define     ADCTIM      (*(unsigned char volatile xdata *)0xfea8)
  534. #define     T3T4PS      (*(unsigned char volatile xdata *)0xfeac)

  535. /////////////////////////////////////////////////
  536. //FD00H-FDFFH
  537. /////////////////////////////////////////////////

  538. #define     P0INTE      (*(unsigned char volatile xdata *)0xfd00)
  539. #define     P1INTE      (*(unsigned char volatile xdata *)0xfd01)
  540. #define     P2INTE      (*(unsigned char volatile xdata *)0xfd02)
  541. #define     P3INTE      (*(unsigned char volatile xdata *)0xfd03)
  542. #define     P4INTE      (*(unsigned char volatile xdata *)0xfd04)
  543. #define     P5INTE      (*(unsigned char volatile xdata *)0xfd05)
  544. #define     P6INTE      (*(unsigned char volatile xdata *)0xfd06)
  545. #define     P7INTE      (*(unsigned char volatile xdata *)0xfd07)
  546. #define     P0INTF      (*(unsigned char volatile xdata *)0xfd10)
  547. #define     P1INTF      (*(unsigned char volatile xdata *)0xfd11)
  548. #define     P2INTF      (*(unsigned char volatile xdata *)0xfd12)
  549. #define     P3INTF      (*(unsigned char volatile xdata *)0xfd13)
  550. #define     P4INTF      (*(unsigned char volatile xdata *)0xfd14)
  551. #define     P5INTF      (*(unsigned char volatile xdata *)0xfd15)
  552. #define     P6INTF      (*(unsigned char volatile xdata *)0xfd16)
  553. #define     P7INTF      (*(unsigned char volatile xdata *)0xfd17)
  554. #define     P0IM0       (*(unsigned char volatile xdata *)0xfd20)
  555. #define     P1IM0       (*(unsigned char volatile xdata *)0xfd21)
  556. #define     P2IM0       (*(unsigned char volatile xdata *)0xfd22)
  557. #define     P3IM0       (*(unsigned char volatile xdata *)0xfd23)
  558. #define     P4IM0       (*(unsigned char volatile xdata *)0xfd24)
  559. #define     P5IM0       (*(unsigned char volatile xdata *)0xfd25)
  560. #define     P6IM0       (*(unsigned char volatile xdata *)0xfd26)
  561. #define     P7IM0       (*(unsigned char volatile xdata *)0xfd27)
  562. #define     P0IM1       (*(unsigned char volatile xdata *)0xfd30)
  563. #define     P1IM1       (*(unsigned char volatile xdata *)0xfd31)
  564. #define     P2IM1       (*(unsigned char volatile xdata *)0xfd32)
  565. #define     P3IM1       (*(unsigned char volatile xdata *)0xfd33)
  566. #define     P4IM1       (*(unsigned char volatile xdata *)0xfd34)
  567. #define     P5IM1       (*(unsigned char volatile xdata *)0xfd35)
  568. #define     P6IM1       (*(unsigned char volatile xdata *)0xfd36)
  569. #define     P7IM1       (*(unsigned char volatile xdata *)0xfd37)
  570. #define     P0WKUE      (*(unsigned char volatile xdata *)0xfd40)
  571. #define     P1WKUE      (*(unsigned char volatile xdata *)0xfd41)
  572. #define     P2WKUE      (*(unsigned char volatile xdata *)0xfd42)
  573. #define     P3WKUE      (*(unsigned char volatile xdata *)0xfd43)
  574. #define     P4WKUE      (*(unsigned char volatile xdata *)0xfd44)
  575. #define     P5WKUE      (*(unsigned char volatile xdata *)0xfd45)
  576. #define     P6WKUE      (*(unsigned char volatile xdata *)0xfd46)
  577. #define     P7WKUE      (*(unsigned char volatile xdata *)0xfd47)
  578. #define     PIN_IP      (*(unsigned char volatile xdata *)0xfd60)
  579. #define     PIN_IPH     (*(unsigned char volatile xdata *)0xfd61)

  580. /////////////////////////////////////////////////
  581. //FC00H-FCFFH
  582. /////////////////////////////////////////////////

  583. #define     PWM3C       (*(unsigned int  volatile xdata *)0xfc00)
  584. #define     PWM3CH      (*(unsigned char volatile xdata *)0xfc00)
  585. #define     PWM3CL      (*(unsigned char volatile xdata *)0xfc01)
  586. #define     PWM3CKS     (*(unsigned char volatile xdata *)0xfc02)
  587. #define     PWM3IF      (*(unsigned char volatile xdata *)0xfc05)
  588. #define     PWM3FDCR    (*(unsigned char volatile xdata *)0xfc06)
  589. #define     PWM30T1     (*(unsigned int  volatile xdata *)0xfc10)
  590. #define     PWM30T1H    (*(unsigned char volatile xdata *)0xfc10)
  591. #define     PWM30T1L    (*(unsigned char volatile xdata *)0xfc11)
  592. #define     PWM30T2     (*(unsigned int  volatile xdata *)0xfc12)
  593. #define     PWM30T2H    (*(unsigned char volatile xdata *)0xfc12)
  594. #define     PWM30T2L    (*(unsigned char volatile xdata *)0xfc13)
  595. #define     PWM30CR     (*(unsigned char volatile xdata *)0xfc14)
  596. #define     PWM30HLD    (*(unsigned char volatile xdata *)0xfc15)
  597. #define     PWM31T1     (*(unsigned int  volatile xdata *)0xfc18)
  598. #define     PWM31T1H    (*(unsigned char volatile xdata *)0xfc18)
  599. #define     PWM31T1L    (*(unsigned char volatile xdata *)0xfc19)
  600. #define     PWM31T2     (*(unsigned int  volatile xdata *)0xfc1a)
  601. #define     PWM31T2H    (*(unsigned char volatile xdata *)0xfc1a)
  602. #define     PWM31T2L    (*(unsigned char volatile xdata *)0xfc1b)
  603. #define     PWM31CR     (*(unsigned char volatile xdata *)0xfc1c)
  604. #define     PWM31HLD    (*(unsigned char volatile xdata *)0xfc1d)
  605. #define     PWM32T1     (*(unsigned int  volatile xdata *)0xfc20)
  606. #define     PWM32T1H    (*(unsigned char volatile xdata *)0xfc20)
  607. #define     PWM32T1L    (*(unsigned char volatile xdata *)0xfc21)
  608. #define     PWM32T2     (*(unsigned int  volatile xdata *)0xfc22)
  609. #define     PWM32T2H    (*(unsigned char volatile xdata *)0xfc22)
  610. #define     PWM32T2L    (*(unsigned char volatile xdata *)0xfc23)
  611. #define     PWM32CR     (*(unsigned char volatile xdata *)0xfc24)
  612. #define     PWM32HLD    (*(unsigned char volatile xdata *)0xfc25)
  613. #define     PWM33T1     (*(unsigned int  volatile xdata *)0xfc28)
  614. #define     PWM33T1H    (*(unsigned char volatile xdata *)0xfc28)
  615. #define     PWM33T1L    (*(unsigned char volatile xdata *)0xfc29)
  616. #define     PWM33T2     (*(unsigned int  volatile xdata *)0xfc2a)
  617. #define     PWM33T2H    (*(unsigned char volatile xdata *)0xfc2a)
  618. #define     PWM33T2L    (*(unsigned char volatile xdata *)0xfc2b)
  619. #define     PWM33CR     (*(unsigned char volatile xdata *)0xfc2c)
  620. #define     PWM33HLD    (*(unsigned char volatile xdata *)0xfc2d)
  621. #define     PWM34T1     (*(unsigned int  volatile xdata *)0xfc30)
  622. #define     PWM34T1H    (*(unsigned char volatile xdata *)0xfc30)
  623. #define     PWM34T1L    (*(unsigned char volatile xdata *)0xfc31)
  624. #define     PWM34T2     (*(unsigned int  volatile xdata *)0xfc32)
  625. #define     PWM34T2H    (*(unsigned char volatile xdata *)0xfc32)
  626. #define     PWM34T2L    (*(unsigned char volatile xdata *)0xfc33)
  627. #define     PWM34CR     (*(unsigned char volatile xdata *)0xfc34)
  628. #define     PWM34HLD    (*(unsigned char volatile xdata *)0xfc35)
  629. #define     PWM35T1     (*(unsigned int  volatile xdata *)0xfc38)
  630. #define     PWM35T1H    (*(unsigned char volatile xdata *)0xfc38)
  631. #define     PWM35T1L    (*(unsigned char volatile xdata *)0xfc39)
  632. #define     PWM35T2     (*(unsigned int  volatile xdata *)0xfc3a)
  633. #define     PWM35T2H    (*(unsigned char volatile xdata *)0xfc3a)
  634. #define     PWM35T2L    (*(unsigned char volatile xdata *)0xfc3b)
  635. #define     PWM35CR     (*(unsigned char volatile xdata *)0xfc3c)
  636. #define     PWM35HLD    (*(unsigned char volatile xdata *)0xfc3d)
  637. #define     PWM36T1     (*(unsigned int  volatile xdata *)0xfc40)
  638. #define     PWM36T1H    (*(unsigned char volatile xdata *)0xfc40)
  639. #define     PWM36T1L    (*(unsigned char volatile xdata *)0xfc41)
  640. #define     PWM36T2     (*(unsigned int  volatile xdata *)0xfc42)
  641. #define     PWM36T2H    (*(unsigned char volatile xdata *)0xfc42)
  642. #define     PWM36T2L    (*(unsigned char volatile xdata *)0xfc43)
  643. #define     PWM36CR     (*(unsigned char volatile xdata *)0xfc44)
  644. #define     PWM36HLD    (*(unsigned char volatile xdata *)0xfc45)
  645. #define     PWM37T1     (*(unsigned int  volatile xdata *)0xfc48)
  646. #define     PWM37T1H    (*(unsigned char volatile xdata *)0xfc48)
  647. #define     PWM37T1L    (*(unsigned char volatile xdata *)0xfc49)
  648. #define     PWM37T2     (*(unsigned int  volatile xdata *)0xfc4a)
  649. #define     PWM37T2H    (*(unsigned char volatile xdata *)0xfc4a)
  650. #define     PWM37T2L    (*(unsigned char volatile xdata *)0xfc4b)
  651. #define     PWM37CR     (*(unsigned char volatile xdata *)0xfc4c)
  652. #define     PWM37HLD    (*(unsigned char volatile xdata *)0xfc4d)
  653. #define     PWM4C       (*(unsigned int  volatile xdata *)0xfc50)
  654. #define     PWM4CH      (*(unsigned char volatile xdata *)0xfc50)
  655. #define     PWM4CL      (*(unsigned char volatile xdata *)0xfc51)
  656. #define     PWM4CKS     (*(unsigned char volatile xdata *)0xfc52)
  657. #define     PWM4TADC    (*(unsigned int  volatile xdata *)0xfc53)
  658. #define     PWM4TADCH   (*(unsigned char volatile xdata *)0xfc53)
  659. #define     PWM4TADCL   (*(unsigned char volatile xdata *)0xfc54)
  660. #define     PWM4IF      (*(unsigned char volatile xdata *)0xfc55)
  661. #define     PWM4FDCR    (*(unsigned char volatile xdata *)0xfc56)
  662. #define     PWM40T1     (*(unsigned int  volatile xdata *)0xfc60)
  663. #define     PWM40T1H    (*(unsigned char volatile xdata *)0xfc60)
  664. #define     PWM40T1L    (*(unsigned char volatile xdata *)0xfc61)
  665. #define     PWM40T2     (*(unsigned int  volatile xdata *)0xfc62)
  666. #define     PWM40T2H    (*(unsigned char volatile xdata *)0xfc62)
  667. #define     PWM40T2L    (*(unsigned char volatile xdata *)0xfc63)
  668. #define     PWM40CR     (*(unsigned char volatile xdata *)0xfc64)
  669. #define     PWM40HLD    (*(unsigned char volatile xdata *)0xfc65)
  670. #define     PWM41T1     (*(unsigned int  volatile xdata *)0xfc68)
  671. #define     PWM41T1H    (*(unsigned char volatile xdata *)0xfc68)
  672. #define     PWM41T1L    (*(unsigned char volatile xdata *)0xfc69)
  673. #define     PWM41T2     (*(unsigned int  volatile xdata *)0xfc6a)
  674. #define     PWM41T2H    (*(unsigned char volatile xdata *)0xfc6a)
  675. #define     PWM41T2L    (*(unsigned char volatile xdata *)0xfc6b)
  676. #define     PWM41CR     (*(unsigned char volatile xdata *)0xfc6c)
  677. #define     PWM41HLD    (*(unsigned char volatile xdata *)0xfc6d)
  678. #define     PWM42T1     (*(unsigned int  volatile xdata *)0xfc70)
  679. #define     PWM42T1H    (*(unsigned char volatile xdata *)0xfc70)
  680. #define     PWM42T1L    (*(unsigned char volatile xdata *)0xfc71)
  681. #define     PWM42T2     (*(unsigned int  volatile xdata *)0xfc72)
  682. #define     PWM42T2H    (*(unsigned char volatile xdata *)0xfc72)
  683. #define     PWM42T2L    (*(unsigned char volatile xdata *)0xfc73)
  684. #define     PWM42CR     (*(unsigned char volatile xdata *)0xfc74)
  685. #define     PWM42HLD    (*(unsigned char volatile xdata *)0xfc75)
  686. #define     PWM43T1     (*(unsigned int  volatile xdata *)0xfc78)
  687. #define     PWM43T1H    (*(unsigned char volatile xdata *)0xfc78)
  688. #define     PWM43T1L    (*(unsigned char volatile xdata *)0xfc79)
  689. #define     PWM43T2     (*(unsigned int  volatile xdata *)0xfc7a)
  690. #define     PWM43T2H    (*(unsigned char volatile xdata *)0xfc7a)
  691. #define     PWM43T2L    (*(unsigned char volatile xdata *)0xfc7b)
  692. #define     PWM43CR     (*(unsigned char volatile xdata *)0xfc7c)
  693. #define     PWM43HLD    (*(unsigned char volatile xdata *)0xfc7d)
  694. #define     PWM44T1     (*(unsigned int  volatile xdata *)0xfc80)
  695. #define     PWM44T1H    (*(unsigned char volatile xdata *)0xfc80)
  696. #define     PWM44T1L    (*(unsigned char volatile xdata *)0xfc81)
  697. #define     PWM44T2     (*(unsigned int  volatile xdata *)0xfc82)
  698. #define     PWM44T2H    (*(unsigned char volatile xdata *)0xfc82)
  699. #define     PWM44T2L    (*(unsigned char volatile xdata *)0xfc83)
  700. #define     PWM44CR     (*(unsigned char volatile xdata *)0xfc84)
  701. #define     PWM44HLD    (*(unsigned char volatile xdata *)0xfc85)
  702. #define     PWM45T1     (*(unsigned int  volatile xdata *)0xfc88)
  703. #define     PWM45T1H    (*(unsigned char volatile xdata *)0xfc88)
  704. #define     PWM45T1L    (*(unsigned char volatile xdata *)0xfc89)
  705. #define     PWM45T2     (*(unsigned int  volatile xdata *)0xfc8a)
  706. #define     PWM45T2H    (*(unsigned char volatile xdata *)0xfc8a)
  707. #define     PWM45T2L    (*(unsigned char volatile xdata *)0xfc8b)
  708. #define     PWM45CR     (*(unsigned char volatile xdata *)0xfc8c)
  709. #define     PWM45HLD    (*(unsigned char volatile xdata *)0xfc8d)
  710. #define     PWM46T1     (*(unsigned int  volatile xdata *)0xfc90)
  711. #define     PWM46T1H    (*(unsigned char volatile xdata *)0xfc90)
  712. #define     PWM46T1L    (*(unsigned char volatile xdata *)0xfc91)
  713. #define     PWM46T2     (*(unsigned int  volatile xdata *)0xfc92)
  714. #define     PWM46T2H    (*(unsigned char volatile xdata *)0xfc92)
  715. #define     PWM46T2L    (*(unsigned char volatile xdata *)0xfc93)
  716. #define     PWM46CR     (*(unsigned char volatile xdata *)0xfc94)
  717. #define     PWM46HLD    (*(unsigned char volatile xdata *)0xfc95)
  718. #define     PWM47T1     (*(unsigned int  volatile xdata *)0xfc98)
  719. #define     PWM47T1H    (*(unsigned char volatile xdata *)0xfc98)
  720. #define     PWM47T1L    (*(unsigned char volatile xdata *)0xfc99)
  721. #define     PWM47T2     (*(unsigned int  volatile xdata *)0xfc9a)
  722. #define     PWM47T2H    (*(unsigned char volatile xdata *)0xfc9a)
  723. #define     PWM47T2L    (*(unsigned char volatile xdata *)0xfc9b)
  724. #define     PWM47CR     (*(unsigned char volatile xdata *)0xfc9c)
  725. #define     PWM47HLD    (*(unsigned char volatile xdata *)0xfc9d)
  726. #define     PWM5C       (*(unsigned int  volatile xdata *)0xfca0)
  727. #define     PWM5CH      (*(unsigned char volatile xdata *)0xfca0)
  728. #define     PWM5CL      (*(unsigned char volatile xdata *)0xfca1)
  729. #define     PWM5CKS     (*(unsigned char volatile xdata *)0xfca2)
  730. #define     PWM5IF      (*(unsigned char volatile xdata *)0xfca5)
  731. #define     PWM5FDCR    (*(unsigned char volatile xdata *)0xfca6)
  732. #define     PWM50T1     (*(unsigned int  volatile xdata *)0xfcb0)
  733. #define     PWM50T1H    (*(unsigned char volatile xdata *)0xfcb0)
  734. #define     PWM50T1L    (*(unsigned char volatile xdata *)0xfcb1)
  735. #define     PWM50T2     (*(unsigned int  volatile xdata *)0xfcb2)
  736. #define     PWM50T2H    (*(unsigned char volatile xdata *)0xfcb2)
  737. #define     PWM50T2L    (*(unsigned char volatile xdata *)0xfcb3)
  738. #define     PWM50CR     (*(unsigned char volatile xdata *)0xfcb4)
  739. #define     PWM50HLD    (*(unsigned char volatile xdata *)0xfcb5)
  740. #define     PWM51T1     (*(unsigned int  volatile xdata *)0xfcb8)
  741. #define     PWM51T1H    (*(unsigned char volatile xdata *)0xfcb8)
  742. #define     PWM51T1L    (*(unsigned char volatile xdata *)0xfcb9)
  743. #define     PWM51T2     (*(unsigned int  volatile xdata *)0xfcba)
  744. #define     PWM51T2H    (*(unsigned char volatile xdata *)0xfcba)
  745. #define     PWM51T2L    (*(unsigned char volatile xdata *)0xfcbb)
  746. #define     PWM51CR     (*(unsigned char volatile xdata *)0xfcbc)
  747. #define     PWM51HLD    (*(unsigned char volatile xdata *)0xfcbd)
  748. #define     PWM52T1     (*(unsigned int  volatile xdata *)0xfcc0)
  749. #define     PWM52T1H    (*(unsigned char volatile xdata *)0xfcc0)
  750. #define     PWM52T1L    (*(unsigned char volatile xdata *)0xfcc1)
  751. #define     PWM52T2     (*(unsigned int  volatile xdata *)0xfcc2)
  752. #define     PWM52T2H    (*(unsigned char volatile xdata *)0xfcc2)
  753. #define     PWM52T2L    (*(unsigned char volatile xdata *)0xfcc3)
  754. #define     PWM52CR     (*(unsigned char volatile xdata *)0xfcc4)
  755. #define     PWM52HLD    (*(unsigned char volatile xdata *)0xfcc5)
  756. #define     PWM53T1     (*(unsigned int  volatile xdata *)0xfcc8)
  757. #define     PWM53T1H    (*(unsigned char volatile xdata *)0xfcc8)
  758. #define     PWM53T1L    (*(unsigned char volatile xdata *)0xfcc9)
  759. #define     PWM53T2     (*(unsigned int  volatile xdata *)0xfcca)
  760. #define     PWM53T2H    (*(unsigned char volatile xdata *)0xfcca)
  761. #define     PWM53T2L    (*(unsigned char volatile xdata *)0xfccb)
  762. #define     PWM53CR     (*(unsigned char volatile xdata *)0xfccc)
  763. #define     PWM53HLD    (*(unsigned char volatile xdata *)0xfccd)
  764. #define     PWM54T1     (*(unsigned int  volatile xdata *)0xfcd0)
  765. #define     PWM54T1H    (*(unsigned char volatile xdata *)0xfcd0)
  766. #define     PWM54T1L    (*(unsigned char volatile xdata *)0xfcd1)
  767. #define     PWM54T2     (*(unsigned int  volatile xdata *)0xfcd2)
  768. #define     PWM54T2H    (*(unsigned char volatile xdata *)0xfcd2)
  769. #define     PWM54T2L    (*(unsigned char volatile xdata *)0xfcd3)
  770. #define     PWM54CR     (*(unsigned char volatile xdata *)0xfcd4)
  771. #define     PWM54HLD    (*(unsigned char volatile xdata *)0xfcd5)
  772. #define     PWM55T1     (*(unsigned int  volatile xdata *)0xfcd8)
  773. #define     PWM55T1H    (*(unsigned char volatile xdata *)0xfcd8)
  774. #define     PWM55T1L    (*(unsigned char volatile xdata *)0xfcd9)
  775. #define     PWM55T2     (*(unsigned int  volatile xdata *)0xfcda)
  776. #define     PWM55T2H    (*(unsigned char volatile xdata *)0xfcda)
  777. #define     PWM55T2L    (*(unsigned char volatile xdata *)0xfcdb)
  778. #define     PWM55CR     (*(unsigned char volatile xdata *)0xfcdc)
  779. #define     PWM55HLD    (*(unsigned char volatile xdata *)0xfcdd)
  780. #define     PWM56T1     (*(unsigned int  volatile xdata *)0xfce0)
  781. #define     PWM56T1H    (*(unsigned char volatile xdata *)0xfce0)
  782. #define     PWM56T1L    (*(unsigned char volatile xdata *)0xfce1)
  783. #define     PWM56T2     (*(unsigned int  volatile xdata *)0xfce2)
  784. #define     PWM56T2H    (*(unsigned char volatile xdata *)0xfce2)
  785. #define     PWM56T2L    (*(unsigned char volatile xdata *)0xfce3)
  786. #define     PWM56CR     (*(unsigned char volatile xdata *)0xfce4)
  787. #define     PWM56HLD    (*(unsigned char volatile xdata *)0xfce5)
  788. #define     PWM57T1     (*(unsigned int  volatile xdata *)0xfce8)
  789. #define     PWM57T1H    (*(unsigned char volatile xdata *)0xfce8)
  790. #define     PWM57T1L    (*(unsigned char volatile xdata *)0xfce9)
  791. #define     PWM57T2     (*(unsigned int  volatile xdata *)0xfcea)
  792. #define     PWM57T2H    (*(unsigned char volatile xdata *)0xfcea)
  793. #define     PWM57T2L    (*(unsigned char volatile xdata *)0xfceb)
  794. #define     PWM57CR     (*(unsigned char volatile xdata *)0xfcec)
  795. #define     PWM57HLD    (*(unsigned char volatile xdata *)0xfced)

  796. #define     MD3         (*(unsigned char volatile xdata *)0xfcf0)
  797. #define     MD2         (*(unsigned char volatile xdata *)0xfcf1)
  798. #define     MD1         (*(unsigned char volatile xdata *)0xfcf2)
  799. #define     MD0         (*(unsigned char volatile xdata *)0xfcf3)
  800. #define     MD5         (*(unsigned char volatile xdata *)0xfcf4)
  801. #define     MD4         (*(unsigned char volatile xdata *)0xfcf5)
  802. #define     ARCON       (*(unsigned char volatile xdata *)0xfcf6)
  803. #define     OPCON       (*(unsigned char volatile xdata *)0xfcf7)

  804. /////////////////////////////////////////////////
  805. //FB00H-FBFFH
  806. /////////////////////////////////////////////////

  807. #define     COMEN       (*(unsigned char volatile xdata *)0xfb00)
  808. #define     SEGENL      (*(unsigned char volatile xdata *)0xfb01)
  809. #define     SEGENH      (*(unsigned char volatile xdata *)0xfb02)
  810. #define     LEDCTRL     (*(unsigned char volatile xdata *)0xfb03)
  811. #define     LEDCKS      (*(unsigned char volatile xdata *)0xfb04)
  812. #define     COM0_DA_L   (*(unsigned char volatile xdata *)0xfb10)
  813. #define     COM1_DA_L   (*(unsigned char volatile xdata *)0xfb11)
  814. #define     COM2_DA_L   (*(unsigned char volatile xdata *)0xfb12)
  815. #define     COM3_DA_L   (*(unsigned char volatile xdata *)0xfb13)
  816. #define     COM4_DA_L   (*(unsigned char volatile xdata *)0xfb14)
  817. #define     COM5_DA_L   (*(unsigned char volatile xdata *)0xfb15)
  818. #define     COM6_DA_L   (*(unsigned char volatile xdata *)0xfb16)
  819. #define     COM7_DA_L   (*(unsigned char volatile xdata *)0xfb17)
  820. #define     COM0_DA_H   (*(unsigned char volatile xdata *)0xfb18)
  821. #define     COM1_DA_H   (*(unsigned char volatile xdata *)0xfb19)
  822. #define     COM2_DA_H   (*(unsigned char volatile xdata *)0xfb1a)
  823. #define     COM3_DA_H   (*(unsigned char volatile xdata *)0xfb1b)
  824. #define     COM4_DA_H   (*(unsigned char volatile xdata *)0xfb1c)
  825. #define     COM5_DA_H   (*(unsigned char volatile xdata *)0xfb1d)
  826. #define     COM6_DA_H   (*(unsigned char volatile xdata *)0xfb1e)
  827. #define     COM7_DA_H   (*(unsigned char volatile xdata *)0xfb1f)
  828. #define     COM0_DC_L   (*(unsigned char volatile xdata *)0xfb20)
  829. #define     COM1_DC_L   (*(unsigned char volatile xdata *)0xfb21)
  830. #define     COM2_DC_L   (*(unsigned char volatile xdata *)0xfb22)
  831. #define     COM3_DC_L   (*(unsigned char volatile xdata *)0xfb23)
  832. #define     COM4_DC_L   (*(unsigned char volatile xdata *)0xfb24)
  833. #define     COM5_DC_L   (*(unsigned char volatile xdata *)0xfb25)
  834. #define     COM6_DC_L   (*(unsigned char volatile xdata *)0xfb26)
  835. #define     COM7_DC_L   (*(unsigned char volatile xdata *)0xfb27)
  836. #define     COM0_DC_H   (*(unsigned char volatile xdata *)0xfb28)
  837. #define     COM1_DC_H   (*(unsigned char volatile xdata *)0xfb29)
  838. #define     COM2_DC_H   (*(unsigned char volatile xdata *)0xfb2a)
  839. #define     COM3_DC_H   (*(unsigned char volatile xdata *)0xfb2b)
  840. #define     COM4_DC_H   (*(unsigned char volatile xdata *)0xfb2c)
  841. #define     COM5_DC_H   (*(unsigned char volatile xdata *)0xfb2d)
  842. #define     COM6_DC_H   (*(unsigned char volatile xdata *)0xfb2e)
  843. #define     COM7_DC_H   (*(unsigned char volatile xdata *)0xfb2f)

  844. #define     TSCHEN1     (*(unsigned char volatile xdata *)0xfb40)
  845. #define     TSCHEN2     (*(unsigned char volatile xdata *)0xfb41)
  846. #define     TSCFG1      (*(unsigned char volatile xdata *)0xfb42)
  847. #define     TSCFG2      (*(unsigned char volatile xdata *)0xfb43)
  848. #define     TSWUTC      (*(unsigned char volatile xdata *)0xfb44)
  849. #define     TSCTRL      (*(unsigned char volatile xdata *)0xfb45)
  850. #define     TSSTA1      (*(unsigned char volatile xdata *)0xfb46)
  851. #define     TSSTA2      (*(unsigned char volatile xdata *)0xfb47)
  852. #define     TSRT        (*(unsigned char volatile xdata *)0xfb48)
  853. #define     TSDAT       (*(unsigned int  volatile xdata *)0xfb49)
  854. #define     TSDATH      (*(unsigned char volatile xdata *)0xfb49)
  855. #define     TSDATL      (*(unsigned char volatile xdata *)0xfb4a)
  856. #define     TSTH00      (*(unsigned int  volatile xdata *)0xfb50)
  857. #define     TSTH00H     (*(unsigned char volatile xdata *)0xfb50)
  858. #define     TSTH00L     (*(unsigned char volatile xdata *)0xfb51)
  859. #define     TSTH01      (*(unsigned int  volatile xdata *)0xfb52)
  860. #define     TSTH01H     (*(unsigned char volatile xdata *)0xfb52)
  861. #define     TSTH01L     (*(unsigned char volatile xdata *)0xfb53)
  862. #define     TSTH02      (*(unsigned int  volatile xdata *)0xfb54)
  863. #define     TSTH02H     (*(unsigned char volatile xdata *)0xfb54)
  864. #define     TSTH02L     (*(unsigned char volatile xdata *)0xfb55)
  865. #define     TSTH03      (*(unsigned int  volatile xdata *)0xfb56)
  866. #define     TSTH03H     (*(unsigned char volatile xdata *)0xfb56)
  867. #define     TSTH03L     (*(unsigned char volatile xdata *)0xfb57)
  868. #define     TSTH04      (*(unsigned int  volatile xdata *)0xfb58)
  869. #define     TSTH04H     (*(unsigned char volatile xdata *)0xfb58)
  870. #define     TSTH04L     (*(unsigned char volatile xdata *)0xfb59)
  871. #define     TSTH05      (*(unsigned int  volatile xdata *)0xfb5a)
  872. #define     TSTH05H     (*(unsigned char volatile xdata *)0xfb5a)
  873. #define     TSTH05L     (*(unsigned char volatile xdata *)0xfb5b)
  874. #define     TSTH06      (*(unsigned int  volatile xdata *)0xfb5c)
  875. #define     TSTH06H     (*(unsigned char volatile xdata *)0xfb5c)
  876. #define     TSTH06L     (*(unsigned char volatile xdata *)0xfb5d)
  877. #define     TSTH07      (*(unsigned int  volatile xdata *)0xfb5e)
  878. #define     TSTH07H     (*(unsigned char volatile xdata *)0xfb5e)
  879. #define     TSTH07L     (*(unsigned char volatile xdata *)0xfb5f)
  880. #define     TSTH08      (*(unsigned int  volatile xdata *)0xfb60)
  881. #define     TSTH08H     (*(unsigned char volatile xdata *)0xfb60)
  882. #define     TSTH08L     (*(unsigned char volatile xdata *)0xfb61)
  883. #define     TSTH09      (*(unsigned int  volatile xdata *)0xfb62)
  884. #define     TSTH09H     (*(unsigned char volatile xdata *)0xfb62)
  885. #define     TSTH09L     (*(unsigned char volatile xdata *)0xfb63)
  886. #define     TSTH10      (*(unsigned int  volatile xdata *)0xfb64)
  887. #define     TSTH10H     (*(unsigned char volatile xdata *)0xfb64)
  888. #define     TSTH10L     (*(unsigned char volatile xdata *)0xfb65)
  889. #define     TSTH11      (*(unsigned int  volatile xdata *)0xfb66)
  890. #define     TSTH11H     (*(unsigned char volatile xdata *)0xfb66)
  891. #define     TSTH11L     (*(unsigned char volatile xdata *)0xfb67)
  892. #define     TSTH12      (*(unsigned int  volatile xdata *)0xfb68)
  893. #define     TSTH12H     (*(unsigned char volatile xdata *)0xfb68)
  894. #define     TSTH12L     (*(unsigned char volatile xdata *)0xfb69)
  895. #define     TSTH13      (*(unsigned int  volatile xdata *)0xfb6a)
  896. #define     TSTH13H     (*(unsigned char volatile xdata *)0xfb6a)
  897. #define     TSTH13L     (*(unsigned char volatile xdata *)0xfb6b)
  898. #define     TSTH14      (*(unsigned int  volatile xdata *)0xfb6c)
  899. #define     TSTH14H     (*(unsigned char volatile xdata *)0xfb6c)
  900. #define     TSTH14L     (*(unsigned char volatile xdata *)0xfb6d)
  901. #define     TSTH15      (*(unsigned int  volatile xdata *)0xfb6e)
  902. #define     TSTH15H     (*(unsigned char volatile xdata *)0xfb6e)
  903. #define     TSTH15L     (*(unsigned char volatile xdata *)0xfb6f)

  904. /////////////////////////////////////////////////
  905. //FA00H-FAFFH
  906. /////////////////////////////////////////////////


  907. /////////////////////////////////////////////////

  908. #endif

复制代码




STC8G.zip

5.17 KB, 下载次数: 11

回复

使用道具 举报

15#
ID:1035601 发表于 2022-9-25 16:20 | 只看该作者
官方库:http://www.stcmcudata.com/STC8F- ... O-CODE-20220509.zip
包含头文件和库函数
回复

使用道具 举报

16#
ID:213173 发表于 2022-9-25 16:34 | 只看该作者
shuisheng60 发表于 2022-9-25 06:10
首先谢谢大家好心的回复,还想问一下,是kei4还是5,你们有没有头文件,网上找的都不包含这款型号,能分 ...

STC8G.rar (3.7 KB, 下载次数: 12)
回复

使用道具 举报

17#
ID:111875 发表于 2022-9-25 22:06 | 只看该作者
KEIL5软件就可以了,
回复

使用道具 举报

18#
ID:678203 发表于 2022-9-26 14:55 | 只看该作者
安装 keil c51  然后破解  就可以了  STC8G的头文件在STC-ISP软件那里可以下载 下载后记得在.c文件中包含这个头文件。在stc-isp中的位置如下

51hei截图20220926145415.png (54.3 KB, 下载次数: 61)

51hei截图20220926145415.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表