摘要
研究了μC/OS-Ⅱ实时操作系统中软件定时器功能,并分析了软件定时器的优缺点。给软件定时器加入优先级,使回调函数按优先级执行,提高系统的实时性。对改进后的系统在基于Cortex-M3内核的路虎LPC1768开发板上进行测试,经实验得出,改进后的系统实时性有所提高。
This paper studies the function of software timer in μC/OS-Ⅱ real time operating system, and analyzes the advantages and disadvantages of the software timer. Adding the priority level to software timer, making the callback functions execute according to priority level, improves the real-time performance of the system. Testing the improved system on the LPC1768 development board based on Cortex-M3 kernel shows that the system performance is enhanced.
出处
《单片机与嵌入式系统应用》
2011年第4期29-32,共4页
Microcontrollers & Embedded Systems