includes.h

来自「ARM7Proteus.rar」· C头文件 代码 · 共 29 行

H
29
字号
/****************************************Copyright (c)**************************************************

********************************************************************************************************/
/********************************/
/*      uC/OS-II的特殊代码       */
/*      uC/OS-II specital code  */
/********************************/
#ifndef __INCLUDES_H 
#define __INCLUDES_H

	#ifdef __cplusplus
	extern "C" {
	#endif
#include    "..\..\arm\os_cpu.h"
#include    "os_cfg.h"
#include    "..\..\source\ucos_ii.h"
	#ifdef __cplusplus
	}
	#endif

#include    <string.h>

   /* 由于不同情况中断OSIntExit()对堆栈的使用情况不同,必须加上这个宏定义    */
   /* for any types of interrupt , OSIntExit() using the stacks is different , so ,must add this define*/
#define OSIntCtxSw()    return

#endif
/**********************end****************************************/

⌨️ 快捷键说明

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