?? config.h
字號(hào):
/*********************************************************************************************************
** Small RTOS(51)
** The Real-Time Kernel(For Keil c51)
**
** (c) Copyright 2002-2002, chenmingji
** All Rights Reserved
**
** V1.00
**
**
** 文件名: CONFIG.H
** 創(chuàng)建人: 陳明計(jì)
** 日 期: 2002年6月20日
** 描 述: GT1800+標(biāo)準(zhǔn)版鍵盤源程序配置頭文件
**
**------------------------------------------------------------------------------------------------------
** 修改人:
** 日 期:
** 描 述:
**
**------------------------------------------------------------------------------------------------------
********************************************************************************************************/
/********************************/
/* "以下為系統(tǒng)配置" */
/********************************/
#pragma REGPARMS
#include <reg52.h>
#include <intrins.h>
#include <absacc.h>
#define const code
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
/********************************/
/* "操作系統(tǒng)定義" */
/********************************/
#include "OS_CFG.H"
#include "OS_CPU.H"
#include "..\os\OS.H"
/********************************/
/* "以下為程序配置" */
/********************************/
//任務(wù)定義
#ifdef IN_OS_CPU_C
extern void TaskA(void);
extern void TaskB(void);
extern void TaskC(void);
void (* const TaskFuction[OS_MAX_TASKS])(void)={TaskA,TaskB,TaskB,TaskB,TaskB,TaskB,TaskB,TaskB,TaskB,TaskB,TaskC};
//函數(shù)數(shù)組TaskFuction[]保存了各個(gè)任務(wù)初始PC指針,其按任務(wù)ID(既優(yōu)先級(jí)次序)順序保存
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -