⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucoscfg.h

📁 ucos 在 Intel 196 单片机上的移植
💻 H
字号:
/*===========================================================================*/
/*                U C O S C F G . H                                          */
/*===========================================================================*/
/* Changed < ucoscfg.h >  6-29-1994   9:12 AM   T/R Systems Confidential     */
/*===========================================================================*/
/* To comment out any of the following defines is to not use that section of */
/* code described.                                                           */
/* Comment out              Aprox. Code Saving in bytes (on 80C196)          */
/* -----------              ---------------------------                      */
/*  USE_MAIL                   986                                           */
/*  USE_QUEUE                  848                                           */
/*  USE_SEMA                   572                                           */
/*  USE_CHG_PRIORITY           524                                           */
/*  USE_MULTI_EVENTS           350                                           */
/*  USE_DEBUG                   76                                           */
/*                                                                           */
/*                                                                           */
/* When USE_MULTI_EVENTS is set OSMboxPend and OSSemPend should not be used. */
/* Instead use OSEventPend placing a 0 in place of the mailbox or semaphore. */
/* Also OSMboxPend and OSSemPend are not compilied which reduces the code by */
/* 378 and 292 bytes respectively.                                           */
/*===========================================================================*/
/*===========================================================================*/
/*#define USE_MAIL 1*/                                        /* Use Mail system */
/*#define USE_SEMA 1*/                                         /* Use Semaphores */
/*#define USE_MULTI_EVENTS 1*/                   /* Use multi-event pend routine */
/*#define USE_QUEUE 1*/                                        /* Use Queues */
/*#define USE_CHG_PRIORITY 1*/                /* Use Change priority routine */
/*#define USE_DEBUG 1*/   /* Use for debug counters OSCtxSwCtr and OSIdleCtr */


#if USE_MULTI_EVENTS    /* mail and sema MUST be defined if multievents used */
#define USE_MAIL 1                                        /* Use Mail system */
#define USE_SEMA 1                                         /* Use Semaphores */
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -