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

Keil C51精确延时程序设计
引用本文:吴挺运,林成何.Keil C51精确延时程序设计[J].电子科技,2012,25(12):103-106.
作者姓名:吴挺运  林成何
作者单位:(陕西理工学院 物理与电信工程学院,陕西 汉中 723000)
摘    要:针对C语言代码的执行时间的可预见性差,结合Keil C51开发工具,分析了在Keil C51开发工具中利用C语言实现精确的延时程序的设计,指出了常用延时方法优缺点。并通过一些实例分析了延时时间的计算方法,使C语言代码的延时时间可以被预见。C语言中嵌套汇编语言是一种有效的方法,可以充分发挥出各语言的优势特点、提高开发效率。

关 键 词:Keil  C51  C语言  软件延时  单片机  

Design of a Precise Delay Program Based on Keil C51
WU Tingyun,LIN Chenghe.Design of a Precise Delay Program Based on Keil C51[J].Electronic Science and Technology,2012,25(12):103-106.
Authors:WU Tingyun  LIN Chenghe
Institution:(School of Physics and Communication Engineering,Shaanxi University of Technology,Hanzhong 723000,China)
Abstract:C programming In view language of the poor predictability of the execution time of the C programming language code, we use to achieve the accurate design of delay procedure in detail, and point out the advantages and disadvantages of the usual delay methods. Besides, introduce the calculation of the delay time through some we take advantage of some powerful functions of Keil C51 to examples so that the delay time of the C programming lan- guage code can be predicted. Nesting the assembly language into C programming language can give full play to the advantages of all kinds of language and thus improving the development efficiency
Keywords:Keil C51  C language  delay by the software  MCU
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《电子科技》浏览原始摘要信息
点击此处可从《电子科技》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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