首页
基础教程 | 单片机设计实例 | 常用芯片 | 电子基础
当前位置:单片机教程 >> 单片机设计实例 >> 浏览文章 今天是:
单片机设计实例

单片机操作系统RTX51原理分析与移植

作者:    来源:本站原创    点击数:   更新时间:2007年08月25日   
 

一.课题要求:

仔细分析单片机操作系统RTX51的原理,将其移植到单片机实验平台上,并要求编写一个简短的程序来验证其运行的正确性(比如,编写两个具有显示不一样内容的任务)。

二.RTX51原理

注释:由于英文原文会比较好,所以我没有翻译过来(不过也写了部分的翻译),直接提取出来一些英文,总结在一起。

1. 进程管理( Task Management )

1) 进程类型( Classes of Tasks )

RTX-51 recognizes two classes of tasks:

1. Fast tasks

n Contain especially short responses and interrupt disable times.

n Contain a separate register bank and a separate stack area (register banks 1, 2 and 3).(Figure 1)

n Contain the highest task priority (priority 3) and can therefore interrupt standard tasks.

n All contain the same priority and can therefore not be mutually interrupted.

n Can be interrupted by c51 interrupt functions.

n A maximum of three fast tasks can be active in the system.

2. Standard tasks

n Require somewhat more time for the task switching compared to fast tasks.

n Share a common register bank and a common stack area (register bank 0).

n The current contents of registers and stack are stored in the external (XDATA) memory during a task change.

n Can be interrupted by fast tasks.

n Can interrupt themselves mutually.

n Can be interrupt by c51 interrupt functions.

n A maximum 16 standard tasks can be active in the system.
点此在新窗口浏览图片
<单片机操作系统RTX51原理分析>

下一页
本文共 2 页,第 [1] [2]




 
发表评论】【告诉好友】【打印此文】【收藏此文】【关闭窗口
网友评论(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
 >> 推荐文章
单片机USB-ISP下载线制作
自制单片机实验板
单片机一键多功能按键识别设
 >> 阅读排行
keil教程
单片机电子时钟设计
单片机DS18B20水温控制系统
单片机交通灯设计
单片机课程设计
单片机时钟设计
单片机数字钟设计
单片机键盘程序(4×4矩阵式
单片机串口通讯
单片机秒表设计
 >> 相关文章
8155引脚图,原理,中文资料
单片机复位电路作用原理以及与置
八路抢答器论文含原理图电路图
晶闸管的作用与原理
电容的单位是什么电容单位换算及
微波炉原理
电磁炉原理
太阳能原理
什么是变频器原理
DAC0832引脚功能电路应用原理图

站长:刘兴国 站长信箱:372xcom1@21cn.com
单片机教程 @ www.51hei.com 2007-2008