includes.h
来自「ucos v2.62 安装程序 附带已移植到C8051F020的UCOS源码」· C头文件 代码 · 共 47 行
H
47 行
/*
*********************************************************************************************************
* 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:
*********************************************************************************************************
*/
#ifndef __INCLUDES__
#define __INCLUDES__
#include <c8051f020.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 ddata
#define pdata ppdata
#define xdata xxdata
#include "ucos_ii.h"
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?