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

单片机模块化多输出值C函数的编程实现
引用本文:李加明.单片机模块化多输出值C函数的编程实现[J].单片机与嵌入式系统应用,2016(6):21-24.
作者姓名:李加明
作者单位:南京航空航天大学 2015 级工科研究试验班,南京,211106
基金项目:李加明,机电与控制方向
摘    要:单片机C标准编程不能实现函数的多个输出值,目前常用的全局变量法虽可变通实现,但破坏了函数的模块化原则。本文突破一些常规思维,探索出两种类型的多种模块化多输出值 C 函数的编程方法,并提出了新式的 C 函数语法规则,实现了较为规范通用的模块化多输出值C函数的编程。本方法编程思路新颖,具有较高的技术实用价值。

关 键 词:C函数  多输出值  模块化  MCU

Program Realization of Modular Multiple Output C Function for MCU
Abstract: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.
Keywords:C function  multiple output value  modularity  MCU
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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