基于STM32的多任务系统的设计与实现  被引量:3

Design and implementation of multitask system based on STM32

在线阅读下载全文

作  者:赵宇科 高红亮 胡惠敏 李小玲 ZHAO Yu-ke;GAO Hong-liang;HU Hui-min;LI Xiao-ling(School of Electrical Engineering and Automation,Hubei Normal University,Huangshi 435002,China)

机构地区:[1]湖北师范大学电气工程与自动化学院,湖北黄石435002

出  处:《湖北师范大学学报(自然科学版)》2021年第3期64-68,共5页Journal of Hubei Normal University:Natural Science

基  金:国家自然科学基金(61602163);湖北省自然科学基金(2016CFC735)。

摘  要:近年来,单任务处理机制已经很难满足嵌入式系统的需求,以多任务处理机制为核心的嵌入式系统得到了迅速的发展。但多任务系统的设计比较复杂抽象,为了更清晰地展现多任务系统的设计过程,以STM32为硬件基础,移植了μC/OS-II操作系统,简要分析了多任务系统的设计过程,并在Keil5 IDE上使用C语言设计了多任务系统的实例。该实例可直观反映各任务的状态,实例的程序简洁易懂,可移植性强。In recent years,single-task processing mechanism has been difficult to meet the demands of embedded systems,and embedded systems centered on multitask mechanism have developed rapidly.But the design of multitask system is relatively complicated and abstract.In this paper,in order to show the design process of multitask system more clearly,μC/OS-II operating system is transplanted based on STM32 hardware,the design process of multitask system is analyzed briefly,and an example of multitask system is designed using C language on Keil5 IDE.The example can directly reflect the status of each task,and the program of the example is concise and easy to understand,and it is highly transplantable.

关 键 词:STM32 ΜC/OS-II ARM 多任务 

分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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