摘要
对多延时程序的类型作了简要分析,重点讲述用一个定时器编写多延时程序的的设计思路,给出了多任务延时程序和主程序的流程图,分析了多延时程序设计中主程序和定时器服务程序之间的关系,并以多路矩形波的产生为例说明多延时程序设计的步骤,阐述了多延时任务程序的分解过程,同时给出了相对应的程序。指出了在实际编写多延时程序时应注意的一些问题。
This paper describes process of single - chip multi - mission design method of delay. In this paper, many types of procedures are briefly analyzed, focus is given on the design ideas of using a timer to conduct multi - delay process. Multi - mission delay process and the main program flow chart are given. The relationships between the main program in Multi-delay program and timer service program are analyzed. Examples of many routes of rectangular wave explain many different steps of designing delay program and the decomposition process of multi - mission. Meanwhile, the authors suggest some corresponding programs and point out attention should be paid while multi -delay program is processed.
出处
《淮阴工学院学报》
CAS
2009年第1期53-55,共3页
Journal of Huaiyin Institute of Technology