摘要
嵌入式实时操作系统是整个嵌入式实时系统的核心,采用嵌入式实时操作系统(RTOS)可以更合理、更有效地利用CPU资源,简化应用软件设计,缩短系统开发时间。该文基于Cortex-M3芯片内核,设计并实现了一种针对RTOS的任务核心机制,包括任务切换、任务时间片切换、任务延时接口实现、临界区保护、多优先级任务等功能,从而高效率实现了基于RTOS任务管理,提高了系统的实时性和可靠性。
Embedded real-time operating system is the core of the entire embedded real-time system.Using an embedded realtime operating system(RTOS)can make a more reasonable and effective use of CPU resources,simplify application software design,and shorten system development time.Based on the Cortex-M3 chip core,this paper designs and implements a task core mechanism for RTOS,including task switching,task time slice switching,task delay interface implementation,critical section protection,multi-priority tasks and other functions,so as to achieve high efficiency Realize the task management based on RTOS,improve the real-time performance and reliability of the system.
作者
方敏
FANG Min(Chengdu College of University of Electronic Science and Technology of China,Chengdu 611731,China)
出处
《电脑知识与技术》
2020年第33期74-75,77,共3页
Computer Knowledge and Technology