CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:SCH51-Preemptive-task

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-11-01
  • 文件大小:
    533.63kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

实用的多任务排序Preemptive task

,如果任务A和任务B定时同时定时到,该执行哪个?如果执行A,那么B就得舍弃,注意,是舍弃,不是等一会再执行B。还有,如果某个任务执行时间出现抖动,整个系统和其它任务都要遭殃了,等等。

在我的代码中,力求解决这些问题。在此,我不打算带着大家一行一行分析代码。这玩意讲解没用,自己去悟懂了才是王道,我的代码注释得已经很详细了其实。

代码的重点是SCH51.C和T0_INIT.C两个文件,使用之前一定要先看看CONFIG.H的配置情况。task.c文件内容你可以自定义来实现。其它的我都有注释的。

-If the task is very large, the timer big trouble, because the microcontroller interrupt program should end as soon as possible. Moreover, if the timing of the task A and task B simultaneously timed to the implementation of what? If you do A, then B must abandon, note that is discarded and not wait for a while before running B. Also, if a task execution time jitter occurs, the entire system and other tasks have to suffer, and so on. In my code, to try to resolve these issues. At this point, I do not intend to bring everyone to the code line by line analysis. This stuff is useless to explain, understand themselves to realize is king, my code was already very detailed notes in fact. Code is focused SCH51.C and T0_INIT.C two documents, we must first look CONFIG.H before using the configuration. task.c contents of the file you can customize to achieve. I have another comment.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/Main.obj
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/Sch51.obj
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/SCH51_App
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/SCH51_App.hex
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/SCH51_App.lnp
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/SCH51_App.plg
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/T0_init.obj
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug/task.obj
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/config.h.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/Main.c.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/Sch51.c.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/SCH51.h.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/T0_init.c.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/T0_init.h.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/task.c.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf/TASK.h.pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/Read me.txt
SCH51 ★★★★★★★ -抢占式-完/SCH51/SCH51/config.h
SCH51 ★★★★★★★ -抢占式-完/SCH51/SCH51/Sch51.c
SCH51 ★★★★★★★ -抢占式-完/SCH51/SCH51/Sch51.h
SCH51 ★★★★★★★ -抢占式-完/SCH51/SCH51/T0_init.c
SCH51 ★★★★★★★ -抢占式-完/SCH51/SCH51/T0_init.h
SCH51 ★★★★★★★ -抢占式-完/SCH51/task/task.c
SCH51 ★★★★★★★ -抢占式-完/SCH51/task/task.h
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/Main.c
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/Main.LST
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/Sch51.lst
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/SCH51_App.m51
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/SCH51_App.uvopt
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/SCH51_App.uvproj
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/SCH51_App_uvopt.bak
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/SCH51_App_uvproj.bak
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/T0_init.lst
SCH51 ★★★★★★★ -抢占式-完/SCH51/user/task.lst
SCH51 ★★★★★★★ -抢占式-完/SCH51/debug
SCH51 ★★★★★★★ -抢占式-完/SCH51/pdf
SCH51 ★★★★★★★ -抢占式-完/SCH51/SCH51
SCH51 ★★★★★★★ -抢占式-完/SCH51/task
SCH51 ★★★★★★★ -抢占式-完/SCH51/user
SCH51 ★★★★★★★ -抢占式-完/SCH51
SCH51 ★★★★★★★ -抢占式-完

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com