經濟預測的歷史-教科書系統程式.ppt

  1. 1、本文档共31页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Micro C/OS II 作業系統 Micro C/OS II 簡介 全名:Micro-Controller Operating Systems, Version 2 參考 Jean J. Labresse, “MicroC/OS-II: The Real-Time Kernel,” CMP Book, ISBN:1-57820-103-9 http://www.uCOS-II.com Micro C/OS II 的特性 特性 一種嵌入式即時作業系統,C語言寫成的 Preemptible priority-driven real-time scheduling. 非常小、原始碼 5500 行,編譯後占記憶體 20KB 非開放原始碼,亦非免費,但可取得程式碼 64 priority levels (max 64 tasks) 8 reserved for uC/OS-II Each task is an infinite loop. Deterministic execution times for most uC/OS-II functions and services. Nested interrupts could go up to 256 levels. Supports of various 8-bit to 64-bit platforms: x86, 68x, MIPS, 8051, etc Easy for development: Borland C++compiler and DOS (optional). However, uC/OS-II still lacks of the following features: Resource synchronization protocols. Sporadic task support. Soft-real-time support. Getting started with uC/OS-II! See how a uC/OS-II program looks like. Learn how to write a skeleton program for uC/OS-II. How to initialize uC/OS-II? How to create real-time tasks? How to use inter-task communication mechanisms? How to catch system events? Mail Box A mailbox is for data exchanging between tasks. A mailbox consists of a data pointer and a wait-list. OSMboxPend(): The message in the mailbox is retrieved. If the mailbox is empty, the task is immediately blocked and moved to the wait-list. A time-out value can be specified. OSMboxPost(): A message is posted in the mailbox. If there is already a message in the mailbox, then an error is returned (not overwritten). If tasks are waiting for a message from the mailbox, then the task with the highest priority is removed from the wait-list and scheduled to run. Message Queue A message queue consists of an array of elements and a wait-list. Different from a mailbox, a message queue can hold many data elements (in a FIFO basis). Hooks (User Customizable) void OSInitHookBegin (void) void OSInitHookEnd (void) void OSTaskCreateHook (OS_TCB *ptcb) void OSTaskDelHook (OS_TCB *ptcb) void OSTaskIdleHook (void) void O

文档评论(0)

sunhao111 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档