面向对象编程方法在Cotex-M3内核芯片程序开发中的应用  

Application of OOP in COTEX-M3 Core Chip Programming

在线阅读下载全文

作  者:王军 WANG Jun(Tellhow Technology Co.,Ltd.,Shanghai 200438,China)

机构地区:[1]泰豪科技股份有限公司,上海200438

出  处:《上海船舶运输科学研究所学报》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内核芯片 时间片 嵌入式操作系统 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论] TP312[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象