串口通信程序(中斷方式)

把我用的串口通信程序(中斷方式)搭個便車讓你們看看,並不是原創,從<<嵌入式系統構件>>的相關代碼移植而來。 #include "../inc/includes.h"數組 char xdata ser_buffer[SERIAL_BUFF_SIZE];  /* the receive buffer*/緩存 int ser_end = -1; int ser_start=-1;      /* in
相關文章
相關標籤/搜索