检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:曾春 蔡阳 孙周 胡杰[1] ZENG Chun;CAI Yang;SUN Zhou;HU Jie(School of Computer Science,University of Yangtse,Jingzhou 434000,China)
机构地区:[1]长江大学计算机科学学院,湖北荆州434000
出 处:《电脑知识与技术》2021年第20期14-19,共6页Computer Knowledge and Technology
摘 要:stm32是目前应用最广泛的单片机之一,具有低功耗、高性能等优点。移植了UCOSII之后的单片机,相比于“裸机”,具有操作灵活,实时性良好的优点。本文针对传统软件定时器维护方式,提出了一种基于运行态数组的软件定时器改进方案,和空闲定时器控制块链表指针相比,支持随机访问定时器数据;和定时器控制块数组相比,运行期绑定成员变量,更加灵活;和定时器轮相比,更加直观、方便操作和理解。缺点是内存浪费,对于固定的系统来说,当一个操作系统烧进下位机,不会产生复杂而且庞大的数据,这可能不会产生较大的影响。STM32 is one of the most widely used single chip microcontrollers at present.It has the advantages of low power consump⁃tion and high performance.After transplanting UCOSII MCU,compared with"bare machine",it has flexible operation and good re⁃al-time performance.Aiming at the traditional maintenance mode of software timer,this paper proposes an improved scheme of software timer based on running state array,which supports random access to timer data compared with free timer control block list pointer,and binds member variables more flexibly in running time than timer control block array.It is more intuitive and conve⁃nient to operate and understand compared with timer wheel.The disadvantage is memory waste.For a fixed system,when an operat⁃ing system burns into the lower computer,it will not produce complex and huge data,This may not have a major impact.
关 键 词:UCOSII 软件定时器 STM32 物联网 运行态 嵌入式
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.135.194.164