includes.h

来自「The uC OS-II port for Keil C V6.20, V6.2」· C头文件 代码 · 共 48 行

H
48
字号
/*
*********************************************************************************************************
*                                                uC/OS-II
*                                          The Real-Time Kernel
*
*                        (c) Copyright 1992-1998, Jean J. Labrosse, Plantation, FL
*                                           All Rights Reserved
*
*                                           MASTER INCLUDE FILE
*********************************************************************************************************
*/

/*
*********************************************************************************************************
* Keil C port.
* By: John X. Liu (johnxliu@163.com)
*********************************************************************************************************
*/

#ifndef __INCLUDES__
#define __INCLUDES__

#include	<reg52.h>

#include    <stdio.h>
#include    <string.h>
#include    <ctype.h>
#include    <stdlib.h>
#include    <setjmp.h>

/* These macros are intended to be used to re-declare the uC/OS-II functions to be reentrant */
#define TASK_REENTRANT		large reentrant
#define KCREENTRANT			large reentrant

#include    "os_cpu.h"
#include    "os_cfg.h"

/* These Keil keywords are used in uC/OS-II source files. So the next macro definitions are needed 
*/
#define data	ucos51_data
#define pdata	ucos51_pdata
#define xdata	ucos51_xdata

#include    "ucos_ii.h"
#include    "os_kc51.h"		/* MUST NOT REMOVE THIS LINE */

#endif

⌨️ 快捷键说明

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