includes.h
来自「uCOS-II2.52在C8051F020上移植的全部源码」· C头文件 代码 · 共 42 行
H
42 行
/*
*********************************************************************************************************
* 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 : Jason.D.Proakis of Ambition Comm. Tech Ltd Cop
* Date :2008-03-07
*********************************************************************************************************
*/
#ifndef _UC51__INCLUDES__
#define _UC51__INCLUDES__
#include <C8051F020.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
/* These macros are intended to be used to re-declare the uC/OS-II functions to be reentrant */
#define KCREENTRANT large reentrant
#include "port\\os_cpu.h"
#include "os_cfg.h"
#include "ucos_ii.h"
#include "uart\\uart.h"
#define USER_STACK_SIZE 200
#define SYS_FREQUENCE 11059200 //Hz
#define SYS_TICK_TIME (1000/OS_TICKS_PER_SEC) //Ms
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?