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

📄 includes.h

📁 实现ucos任务调度时保存LCD上的显示信息
💻 H
字号:
/*
*********************************************************************************************************
*                                                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    <C8051F340.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    "os_cpu.h"
#include    "os_cfg.h"
#include    "ucos_ii.h"
#include 	"uart.h"

/*added by cui, for lcd*/
#include 	"lcd_debug.h"
#include	"lcd.h"
#include	"input_method.h"
#include	<string.h>
#include	<C8051F340.h>
#include	"DataFlash.h"

#define   USER_STACK_SIZE 		100
#define   SYS_FREQUENCE   		48000000      						//Hz 
#define   SYS_TICK_TIME   		(1000/OS_TICKS_PER_SEC)           	//Ms

#define MAX_RC_NUM	4
#define RC_ID_1		7
#define RC_ID_2		9
#define RC_ID_3		15

#endif

⌨️ 快捷键说明

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