?? os_cfg.h
字號:
/* $Id: os_cfg.h,v 1.2 1997/07/14 13:20:24 gianpi Exp $
*
* Description:
* uC/OS - Configuration file for Intel 8051 (large model)
*
* Author[s]:
* Jean Labrosse 72644.7724@compuserve.com
* Gianpaolo Macario gianpi@geocities.com
*/
/*
*********************************************************************************************************
* uC/OS
* The Real-Time Kernel
*
* (c) Copyright 1992-1995, Jean J. Labrosse, Plantation, FL
* All Rights Reserved
*
* Configuration for Intel 8051 (large)
*
* File : OS_CFG.H
* By : Jean J. Labrosse
*********************************************************************************************************
*/
#ifndef _OS_CFG_H_
#define _OS_CFG_H_
/*
*********************************************************************************************************
* uC/OS CONFIGURATION
*********************************************************************************************************
*/
#define OS_MAX_TASKS 63 /* Maximum number of tasks in your application */
#define OS_MAX_EVENTS 20 /* Maximum number of event control blocks in your application */
#define OS_MAX_QS 5 /* Maximum number of queue control blocks in your application */
#define OS_IDLE_TASK_STK_SIZE 32 /* Idle task stack size (OS_STK_TYPEs) */
#define OS_IDLE_TASK_STK_TOP 0 /* Index into idle task top of stack */
#define OS_TASK_CHANGE_PRIO_EN 1 /* Include code for OSTaskChangePrio() */
#define OS_TASK_DEL_EN 1 /* Include code for OSTaskDel() */
#define OS_SEM_EN 1 /* Include code for SEMAPHORES */
#define OS_MBOX_EN 1 /* Include code for MAILBOXES */
#define OS_Q_EN 1 /* Include code for QUEUES */
#define OS_TASK_SUSPEND_EN 1 /* Include code for OSTaskSuspend() and OSTaskResume() */
/* #define uCOS 0x80 */
#endif /* ndef _OS_CFG_H_ */
/* === End of File === */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -