文件名称:51SComDriver
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- ea***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一套比较完整的51单片机C51串口通信驱动程序,其中包括
(1)串口初始化,晶振为11.0592M,方式1 波特率300-57600;
(2)串口输出一个字符(非中断方式);
(3)串口输出一个回车换行;
(4)串口输出一个字符串(非中断方式);
(5)串口接收一个字符(非中断方式);
(6)串口接收一个定长字符串(非中断方式,只用于字符需有一个的idata字符串数组);
-Relatively complete set of 51 single-chip serial communication C51 drivers, including (1) serial port initialization, crystal for 11.0592M, the way one baud rate 300-57600 (2) serial output of a character (non-disruptive manner) (3) serial output a carriage return line feed (4) serial output a string (non-disruptive manner) (5) The serial port receives a character (non-disruptive manner) (6) serial port to receive a fixed-length string (non-disruptive manner, to be used only for the characters have a string array of idata)
(1)串口初始化,晶振为11.0592M,方式1 波特率300-57600;
(2)串口输出一个字符(非中断方式);
(3)串口输出一个回车换行;
(4)串口输出一个字符串(非中断方式);
(5)串口接收一个字符(非中断方式);
(6)串口接收一个定长字符串(非中断方式,只用于字符需有一个的idata字符串数组);
-Relatively complete set of 51 single-chip serial communication C51 drivers, including (1) serial port initialization, crystal for 11.0592M, the way one baud rate 300-57600 (2) serial output of a character (non-disruptive manner) (3) serial output a carriage return line feed (4) serial output a string (non-disruptive manner) (5) The serial port receives a character (non-disruptive manner) (6) serial port to receive a fixed-length string (non-disruptive manner, to be used only for the characters have a string array of idata)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
51SComDriver.c