检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王军 WANG Jun(Tellhow Technology Co.,Ltd.,Shanghai 200438,China)
出 处:《上海船舶运输科学研究所学报》2024年第2期60-66,共7页Journal of Shanghai Ship and Shipping Research Institute
摘 要:以某自动校时电子钟项目为例,在Cotex-M3内核芯片上采用面向对象编程方法分析项目的业务需求,提取业务逻辑的共性内容,并创建应用程序类。借鉴嵌入式操作系统时间片任务调度的方法,得到一种新的嵌入式项目编程解决方案,在无操作系统的微控制单元(Micro Control Unit,MCU)上实现时间片调度应用程序对象,用以提升程序的条理性,增强代码的可移植性和复用性,便于程序的扩展。The way how to use OOP(Object-Oriented Programming)method in Cortex-M3 core chip is explained with the project of developing an automatic adjusting electronic clock as an example.The OOP methods is used in analyzing the business requirements of the project,extracting common contents of business logic,and creating application classes.A time slice scheduling application object imitating the time slice task scheduling in embedded operating system is implemented on MCU(Micro Control Unit)without operating system,which improves program organization,enhances code portability and reusability,and facilitates program expansion.
关 键 词:面向对象 Cotex-M3内核芯片 时间片 嵌入式操作系统
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.92