?? interrupt.c
字號:
#include "common.h"
void UartInt() interrupt 4
{
//串口發送
if(TI)
{
TI = 0;
ComSend();//發送數據
return;
}
//串口接收
if(RI)
{
RI = 0;
ComReceive(ReadCom());//通信處理
return;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -