首页 | 本学科首页   官方微博 | 高级检索  
     

C语言在单片机串口通信中的应用
引用本文:熊益铭. C语言在单片机串口通信中的应用[J]. 电子科技, 2005, 0(8): 39-42
作者姓名:熊益铭
作者单位:国电自动化研究院通信所,江苏,南京,210003
摘    要:介绍了单片机串行通讯基本知识,及如何利用MAX32 32扩展单片机配置接口.在此基础上,突破汇编语言程序的可读性和可移植性差的缺陷,用C语言编写了一套接口程序,可根据需要稍加改动,就可以适应各种实际的应用.

关 键 词:单片机C语言  串行通信
收稿时间:2005-03-02
修稿时间:2005-03-02

The Implementation of C-language in MSC in Serial Communications
Xiong Yiming. The Implementation of C-language in MSC in Serial Communications[J]. Electronic Science and Technology, 2005, 0(8): 39-42
Authors:Xiong Yiming
Abstract:The single chip microcomputer (SMC) has been widely applied with the development trend of integrating multiple chips together. Its key point lies in the intercommunications between these chips. This paper introduces the basic serial communications procedure of SMC, and presents how to configure interface with MAX3232 extension SMC, on the basis of which the author programs a set of interface code in C language. Compared with the code programmed in assembly language, this code has good flexibility, strong reliability and portability. It can be used in variable situations with only small modifications.
Keywords:RS-232
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号