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

把我用的串口通信程序(中断方式)搭个便车让你们看看,并不是原创,从<<嵌入式系统构件>>的相关代码移植而来。 #include "../inc/includes.h"数组 char xdata ser_buffer[SERIAL_BUFF_SIZE];  /* the receive buffer*/缓存 int ser_end = -1; int ser_start=-1;      /* in
相关文章
相关标签/搜索