master485

所属分类:单片机开发
开发工具:C/C++
文件大小:2KB
下载次数:43
上传日期:2008-07-08 22:00:35
上 传 者simon_702168
说明:  用485实现单片机之间的串行通信。 主机部分发送从机地址,等待从机响应,从机准备好就发数据,发完就接收从机的响应,接受成功就跳出循环,否则重发 系统时钟为11.059MHZ时,设定串口波特率为9600bit/s串口接收中断允许,发送中断禁止,设定定时器中断允许
(With between 485 to achieve single-chip serial communication. Host part of the address sent from the machine, waiting for response from the machine from the machine ready on the fat data, fat, End on the reception of the response from the machine to accept the success of the jump out of the cycle, otherwise re-issued when the system clock for 11.059MHZ, set serial port wave Special rate for 9600bit/s serial port receive interrupt permit, send interrupt prohibition, set the timer interrupt permit)

文件列表:
master485.c (6002, 2005-03-28)

近期下载者

相关文件


收藏者