310_define.h

来自「C8051F310部分模块程序.已经调试成功」· C头文件 代码 · 共 20 行

H
20
字号
#define baudrat 9600  
//baudrat had been tested for 9600 and 19200,It's right ;
#define MIN_NUM 1	 //define the time of mode to protect compress machine
					 //
#define T1clk 24500000//2097152
//The clock of Timer 1,The system clock is 24.5MHz,the register 
//OSCICN  select local oscillator as SYSCLK
//CLKSEL  select SYSCLK from register OSCICN setup ;
extern xdata struct model locate ;
uchar min ;
uchar power ;
uchar xdata rxbuffer[110];
unsigned xdata lock ;
uchar xdata lastpower ;
uchar xdata lastfan ;
uchar xdata lastuv ;
uchar xdata lastswing ;
uchar xdata lasttimer ;
uchar xdata lastmode_choose ;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?