includes.h

来自「ucos内核源代码」· C头文件 代码 · 共 42 行

H
42 行
字号
/*
 * COPYRIGHT (c) Notifier 1993-2004, All Rights Reserved
 *
 * 描述:        μCOS-II在lpc210x上的移植代码C语言部分,包括任务堆栈初始化代码和钩子函数等
 *              用ads1.2编译,必须使用ARM方式编译
 * 版本历史:
 *
 * 版本     作者        日期        修改内容
 * 1.0      王璀        2006-02-14  标准化
*/

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

#ifdef __cplusplus
extern "C" {
#endif
	
#include    <os_cpu.h>
#include    <os_cfg.h>
#include    <ucos_ii.h>
	
#include    <string.h>

#if OS_VIEW_MODULE > 0
#include 	<os_view.h>
#endif

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

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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