久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 11266|回復: 1
打印 上一主題 下一主題
收起左側

UCOS-III中的OS_CFG.H 詳細解釋

[復制鏈接]
跳轉到指定樓層
樓主
ID:72519 發表于 2015-1-23 03:28 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
  1. /*
  2. ************************************************************************************************************************
  3. *                                                      uC/OS-III
  4. *                                                 The Real-Time Kernel
  5. *
  6. *                                  (c) Copyright 2009-2011; Micrium, Inc.; Weston, FL
  7. *                           All rights reserved.  Protected by international copyright laws.
  8. *
  9. *                                                  CONFIGURATION FILE
  10. *
  11. * File    : OS_CFG.H
  12. * By      : JJL  注釋:~風中的葉~
  13. * Version : V3.02.00
  14. *
  15. * LICENSING TERMS:
  16. * ---------------
  17. *           uC/OS-III is provided in source form for FREE short-term evaluation, for educational use or
  18. *           for peaceful research.  If you plan or intend to use uC/OS-III in a commercial application/
  19. *           product then, you need to contact Micrium to properly license uC/OS-III for its use in your
  20. *           application/product.   We provide ALL the source code for your convenience and to help you
  21. *           experience uC/OS-III.  The fact that the source is provided does NOT mean that you can use
  22. *           it commercially without paying a licensing fee.
  23. *
  24. *           Knowledge of the source code may NOT be used to develop a similar product.
  25. *
  26. *           Please help us continue to provide the embedded community with the finest software available.
  27. *           Your honesty is greatly appreciated.
  28. *
  29. *           You can contact us at www.micrium.com, or by phone at +1 (954) 217-2036.
  30. ************************************************************************************************************************
  31. */

  32. #ifndef OS_CFG_H
  33. #define OS_CFG_H

  34.                                              /* ---------------------------- MISCELLANEOUS -------------------------- */
  35. #define OS_CFG_APP_HOOKS_EN             1u   /* Enable (1) or Disable (0) application specific hooks;HOOK功能的使能   */
  36. #define OS_CFG_ARG_CHK_EN               1u   /* Enable (1) or Disable (0) argument checking;參數檢測使能(調試的時候允許)*/
  37. #define OS_CFG_CALLED_FROM_ISR_CHK_EN   1u   /* Enable (1) or Disable (0) check for called from ISR;是否允許在ISR中調用系統函數(除了POST)*/
  38. #define OS_CFG_DBG_EN                   1u   /* Enable (1) debug code/variables ;debug功能允許使能(可以知道OS_TCB的大小等,調試的時候使能)*/
  39. #define OS_CFG_ISR_POST_DEFERRED_EN     1u   /* Enable (1) or Disable (0) Deferred ISR posts;使能則有短的中斷延時,但是有長的ISR—to—task響應*/
  40. #define OS_CFG_OBJ_TYPE_CHK_EN          1u   /* Enable (1) or Disable (0) object type checking;對象類型檢測(調試的時候允許)*/
  41. #define OS_CFG_TS_EN                    1u   /* Enable (1) or Disable (0) time stamping;時間戳使能                   */


  42. #define OS_CFG_PEND_MULTI_EN            1u   /* Enable (1) or Disable (0) code generation for multi-pend feature是否支持事件的多路等待功能*/

  43. #define OS_CFG_PRIO_MAX                64u   /* Defines the maximum number of task priorities (see OS_PRIO data type)任務優先級的最大數*/

  44. #define OS_CFG_SCHED_LOCK_TIME_MEAS_EN  1u   /* Include code to measure scheduler lock time包含測量調度鎖定時間的代碼 */
  45. #define OS_CFG_SCHED_ROUND_ROBIN_EN     1u   /* Include code for Round-Robin scheduling 包含輪轉調度的代碼            */
  46. #define OS_CFG_STK_SIZE_MIN            64u   /* Minimum allowable task stack size 最小允許的任務堆棧的大小            */


  47.                                              /* ----------------------------- EVENT FLAGS --------------------------- */
  48. #define OS_CFG_FLAG_EN                  1u   /* Enable (1) or Disable (0) code generation for EVENT FLAGS使能事件標志的代碼*/
  49. #define OS_CFG_FLAG_DEL_EN              1u   /*     Include code for OSFlagDel()使能標志刪除功能                      */
  50. #define OS_CFG_FLAG_MODE_CLR_EN         1u   /*     Include code for Wait on Clear EVENT FLAGS使能等待清除事件標志功能*/
  51. #define OS_CFG_FLAG_PEND_ABORT_EN       1u   /*     Include code for OSFlagPendAbort()標志事件的等待終止功能          */


  52.                                              /* -------------------------- MEMORY MANAGEMENT ------------------------ */
  53. #define OS_CFG_MEM_EN                   1u   /* Enable (1) or Disable (0) code generation for MEMORY MANAGER是否允許內存管理的功能*/


  54.                                              /* --------------------- MUTUAL EXCLUSION SEMAPHORES ------------------- */
  55. #define OS_CFG_MUTEX_EN                 1u   /* Enable (1) or Disable (0) code generation for MUTEX互斥性信號量功能使能*/
  56. #define OS_CFG_MUTEX_DEL_EN             1u   /*     Include code for OSMutexDel()互斥性信號量刪除功能使能             */
  57. #define OS_CFG_MUTEX_PEND_ABORT_EN      1u   /*     Include code for OSMutexPendAbort()互斥性信號量等待終止功能使能   */


  58.                                              /* --------------------------- MESSAGE QUEUES -------------------------- */
  59. #define OS_CFG_Q_EN                     1u   /* Enable (1) or Disable (0) code generation for QUEUES消息隊列功能使能  */
  60. #define OS_CFG_Q_DEL_EN                 1u   /*     Include code for OSQDel() 消息隊列刪除功能使能                    */
  61. #define OS_CFG_Q_FLUSH_EN               1u   /*     Include code for OSQFlush()消息隊列刷新功能使能                   */
  62. #define OS_CFG_Q_PEND_ABORT_EN          1u   /*     Include code for OSQPendAbort()消息隊列等待終止功能使能           */


  63.                                              /* ----------------------------- SEMAPHORES ---------------------------- */
  64. #define OS_CFG_SEM_EN                   1u   /* Enable (1) or Disable (0) code generation for SEMAPHORES信號量功能使能*/
  65. #define OS_CFG_SEM_DEL_EN               1u   /*    Include code for OSSemDel()信號量刪除功能使能                      */
  66. #define OS_CFG_SEM_PEND_ABORT_EN        1u   /*    Include code for OSSemPendAbort()信號量等待終止功能使能            */
  67. #define OS_CFG_SEM_SET_EN               1u   /*    Include code for OSSemSet()信號量置位功能使能                      */


  68.                                              /* -------------------------- TASK MANAGEMENT -------------------------- */
  69. #define OS_CFG_STAT_TASK_EN             1u   /* Enable (1) or Disable(0) the statistics task統計功能使能              */
  70. #define OS_CFG_STAT_TASK_STK_CHK_EN     1u   /* Check task stacks from statistic task統計任務堆棧檢測功能使能         */

  71. #define OS_CFG_TASK_CHANGE_PRIO_EN      1u   /* Include code for OSTaskChangePrio()改變任務優先級功能使能             */
  72. #define OS_CFG_TASK_DEL_EN              1u   /* Include code for OSTaskDel() 任務刪除功能使能                         */
  73. #define OS_CFG_TASK_Q_EN                1u   /* Include code for OSTaskQXXXX()任務消息隊列功能使能                    */
  74. #define OS_CFG_TASK_Q_PEND_ABORT_EN     1u   /* Include code for OSTaskQPendAbort()任務消息隊列等待取消功能使能       */
  75. #define OS_CFG_TASK_PROFILE_EN          1u   /* Include variables in OS_TCB for profiling使能任務的詳細情況功能,包括任務的切換次數,執行時間,相對于其他任務的CPU利用率*/
  76. #define OS_CFG_TASK_REG_TBL_SIZE        1u   /* Number of task specific registers任務特殊功能寄存器                   */
  77. #define OS_CFG_TASK_SEM_PEND_ABORT_EN   1u   /* Include code for OSTaskSemPendAbort()任務信號量等待取消功能使能       */
  78. #define OS_CFG_TASK_SUSPEND_EN          1u   /* Include code for OSTaskSuspend() and OSTaskResume()任務暫時中止和恢復功能使能*/


  79.                                              /* -------------------------- TIME MANAGEMENT -------------------------- */
  80. #define OS_CFG_TIME_DLY_HMSM_EN         1u   /*     Include code for OSTimeDlyHMSM()時間延時函數使能                  */
  81. #define OS_CFG_TIME_DLY_RESUME_EN       1u   /*     Include code for OSTimeDlyResume()時間延時取消功能使能            */


  82.                                              /* ------------------------- TIMER MANAGEMENT -------------------------- */
  83. #define OS_CFG_TMR_EN                   1u   /* Enable (1) or Disable (0) code generation for TIMERS定時器功能使能    */
  84. #define OS_CFG_TMR_DEL_EN               1u   /* Enable (1) or Disable (0) code generation for OSTmrDel()定時器刪除功能使能*/

  85. #endif
復制代碼


分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復

使用道具 舉報

沙發
ID:73966 發表于 2015-2-28 14:22 | 只看該作者
多謝了
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表
主站蜘蛛池模板: 一区二区三区欧美在线 | 久久精品69 | 伊人无码高清 | 亚洲天堂精品久久 | 成人欧美一区二区三区在线观看 | 欧美在线日韩 | 欧美日韩综合视频 | 精品少妇一区二区三区日产乱码 | 国产综合在线视频 | 日韩精品在线看 | 不卡一二三区 | gav成人免费播放视频 | 国产精品永久 | 在线观看亚洲精品 | 九九热在线精品视频 | 国产精品亚洲欧美日韩一区在线 | 欧美一区二区视频 | 欧美黄色片| 欧美精品成人一区二区三区四区 | caoporn国产精品免费公开 | 第一区在线观看免费国语入口 | 成人a视频片观看免费 | 97avcc| 久久精品久久久久久 | 久久久91| 久久99精品久久久久 | 99精品欧美一区二区三区综合在线 | 看一级毛片 | 欧美三级免费观看 | 日本久久久久久 | 一级毛片视频在线 | 精品伊人 | 国产一区二区免费 | 男人的天堂在线视频 | 五月综合激情在线 | 日韩视频一区二区 | 久久久久国产精品一区二区 | 久久久成人一区二区免费影院 | 中文字幕欧美日韩 | 久久专区 | 一级欧美 |