期刊文献+

单片机模块化多输出值C函数的编程实现

Program Realization of Modular Multiple Output C Function for MCU
下载PDF
导出
摘要 单片机C标准编程不能实现函数的多个输出值,目前常用的全局变量法虽可变通实现,但破坏了函数的模块化原则。本文突破一些常规思维,探索出两种类型的多种模块化多输出值C函数的编程方法,并提出了新式的C函数语法规则,实现了较为规范通用的模块化多输出值C函数的编程。本方法编程思路新颖,具有较高的技术实用价值。 MCU C standard programming can not achieve multiple output value function. Although it can be solved by the global variate at present,but the function modular principle is destroyed. In the paper, two kinds of modular multiple output C function programming method are explored,and a new type of C function syntax rules is proposed. Then the more standardized and versatile programming for modular multiple output C function is achieved. The method has novel programming idea and excellent practical technic value.
作者 李加明
出处 《单片机与嵌入式系统应用》 2016年第6期21-24,共4页 Microcontrollers & Embedded Systems
关键词 C函数 多输出值 模块化 MCU C function multiple output value modularity MCU
  • 相关文献

参考文献3

  • 1何钦铭.C语言程序设计[M].3版.北京:科学出版社,2010.
  • 2廖常初.S7-300/400PLC应用技术[M].3版.北京:机械工业出版社,2011,.
  • 3西门子.西门子S7-300/400编程手册[EB/OL].[2016-01].http://www, gongkong, corn/download/200709/63764, html.

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部