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

📄 includes.h

📁 ucos内核源代码
💻 H
字号:
/*
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -