- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
模块化编程(Modular programming)
模块化编程(Modular programming)
Embedded C language --- modular programming
.
Categories: embedded C language, 2010-10-29 11:383561 people read comments (7) collection report
When you work on a relatively complex project in a project team, it means you dont go it alone. You need to work with your team members to complete the project, which requires the team members to be part of the project. For example, you might just be responsible for communicating or displaying this one. At this point, you should write your own piece of the program as a module, separate debugging, leaving the interface for other modules to call. Finally, the team members will be responsible for the completion of their own modules and debugging, after the project leader for the combination of debugging. In these cases the procedure must be modular. The benefits of modularity are many, not just for division of labor. It also helps to debug programs, facilitate division of program structures, and increase readability and portability of programs.
Beginners often fail to understand how modular programming is, in fact, easy to learn, and one of the most effective ways to organize good program structures
This article will first talk about the modular approach and attention, and finally will be the most widely used beginners keil c compiler as an example, given the detailed steps of modular programming.
Modular programming should understand the following overview:
(1) a module is a combination of an.C file and an.H file, and the header file (.H) is a declaration of the module interface;
This article summarizes the modular method and the essence of the realization: a separate function module code written to a.C file, then the interface function of the module in the.H file. For example: if you use liquid crystal display, then you might write a LCD driver module, to realize the character, Chinese characters and images of reality, named as led_device.c, the module of the.C file can be written in general:
/******
您可能关注的文档
- 木材种类大全(Encyclopedia of wood species).doc
- 末济文史题(Historical literature).doc
- 本义与引申义(Original meaning and extended meaning).doc
- 本体感失调及训练(Proprioceptive disorders and training).doc
- 本地移动通信网管网络改造方案.doc
- 本_科_生_毕_业_论_文_基_本_规_范_要_求(The Department of health _ _ _ Bi _ _ the _ based _ industry _ on the _ gauge _ _ to _ for fan).doc
- 本地连接受限或无法连接解决办法(Local connections are limited or unable to connect solutions).doc
- 本地连接和宽带连接有什么区别(What's the difference between local connections and broadband connections).doc
- 本地链接失败或受限制的7七种解决方法(Local links fail or are restricted by 7 or seven solutions).doc
- 本店购物规则(Shop rules).doc
- 横店资料(Hengdian information).doc
- 横板反手连续快撕的技巧(A fast backhand tearing skill).doc
- 樱花涂料乳胶漆(Cherry paint emulsion paint).doc
- 樱桃红色素的提取及性质研究(Extraction and characterization of cherry red pigment).doc
- 橡塑保温板.doc
- 橡胶软接头技术性能参数(Technical parameters of rubber flexible joint).doc
- 橡胶生产工艺简介(Brief introduction of rubber production process).doc
- 欠扁问答题44题----好笑!!(Ask question and answer 44 questions -- funny!!).doc
- 模拟题1(Simulation questions 1).doc
- 欢迎光临 isis系统2(Welcome to Isis system 2).doc
最近下载
- 制定手机使用协议书.docx VIP
- 隐形矫正培训课件.pptx VIP
- 2025年高考化学一轮复习:物质的分类及转化(讲义)解析版.pdf VIP
- 2023中华护理学会团体标准-老年人误吸的预防.pptx VIP
- 《Rubis软件2017版》操作手册.pdf VIP
- 标准图集-08CJ17快速软帘卷门 透明分节门 滑升门 卷帘门.pdf VIP
- 消化内科-病历讨论.pptx VIP
- (⼈教2019版)化学 选必1 第三单元 水溶液中的离子反应与平衡 大单元教学设计.docx
- SHT 3525-2015 石油化工低温钢焊接规范.pdf VIP
- Q/CRRC J26-2018- 轨道交通装备产品禁用和限用物质.pdf VIP
文档评论(0)