摘要
构建单片机软硬件模块化设计方法是文章讨论的重点。单片机硬件系统设计可以从学习功能模块电路入手,通过了解系统中各个功能模块的工作原理、性能、功能及使用方法,把系统化整为零。在设计硬件系统时,可以根据系统功能、性能的要求,选择合适、满足要求的功能模块电路,按照一定的规律,将它们恰当地组合成单片机系统,合零为整。单片机软件系统设计时,可以将一个大规模的程序划分成若干个容易理解、大小适当、功能明确、具有一定独立性的程序模块去编写,使各程序模块相对独立、功能单一、结构清晰、接口简单,而且便于调试、连接、维护、功能扩充和程序移植,并能够缩短开发周期,避免程序开发的重复劳动。
The article focuses on building up hardware and software modular design method of single chip computer. Learning process of the SCM hardware design may begin from the function module circuit. The method in the article breaks up the whole system into parts. The method makes students understand the working principle, performance, and function of every module of system. Students can select appropriate function modules to meet the requirements of the circuit performance. After the perfect function module is selected, the SCM system can be combined up according to certain rules. The method is together part into a whole system. While a SCM software system is designed, a large-scale program can be divided into a number of program modules, which has the appropriate size, clear features and independentce. The software writer in this method is easy to be wrote and to be understood. Through this method, the software module has single feature, clear structure, simple interface and relatively independence. The code will be easy for debugging, connection, maintenance, expansion and porting. The developing processing can be shortened and the duplication of program development can be avoided through this method.
出处
《沈阳师范大学学报(自然科学版)》
CAS
2013年第1期112-114,共3页
Journal of Shenyang Normal University:Natural Science Edition
基金
国家高技术研究发展计划(863)项目(2012AA110302)
渤海大学2012年教学改革A类项目