新的STC8H.H文件较去年上半年的STC8H.H文件有变化:
2022.05.20的 STC8H.H 文件
#define RSTFLAG (*(unsigned char volatile xdata *)0xfe09)
在2023.02.16的 STC8H.H 文件
#define RSTFLAG (*(unsigned char volatile xdata *)0xfe99)
2023.02.16的 STC8H.H 文件
#define SPFUNC (*(unsigned char volatile xdata *)0xfe98)
#define ADCEXCFG (*(unsigned char volatile xdata *)0xfead)
#define CMPEXCFG (*(unsigned char volatile xdata *)0xfeae)
在2022.05.20的 STC8H.H 文件中没有
2022.05.20的 STC8H.H 文件
#define PIN_IP (*(unsigned char volatile xdata *)0xfd60)
#define PIN_IPH (*(unsigned char volatile xdata *)0xfd61)
在2023.02.16的 STC8H.H 文件中改为
#define PINIPL (*(unsigned char volatile xdata *)0xfd60)
#define PINIPH (*(unsigned char volatile xdata *)0xfd61)
2023.02.16的 STC8H.H 文件还增加了下面一行:
#define CHIPID