?? serial.h
字號:
void OpenComm(void);
void SendCommChar(char ch);
void SendCommHex(unsigned char senddata);//往串口發送hex碼 表示的一個字符 例如senddata=0x3A那么將向串口發送兩個字符'3','A'hex[]為轉換表,在前面有定義
void SendCommWord(unsigned int asciiword);
//向串口發送一個int型的 hex碼表示的字符 例如:asciiword=0x124D 將向串口發送4個字符:'1','2','4','D'
void SendCommLong(unsigned long asciilong);
void SendCommAddr(char ch);
void SendCommBuffer(unsigned char *base, unsigned char size);
void SendCommString(unsigned char *base);
bit GetCommChar(unsigned char idata *ch);
bit GetCommCharWait(unsigned char idata *ch,unsigned char t);
void ClearCommRecBuffer(void);
extern bit CommRecDataOverflowFlag,FlagRecComm,SendItComm;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -