文件名称:master485
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用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
系统时钟为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