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

📄 includes.h

📁 ucos的内部启动代码
💻 H
字号:
/*******************************************************************************************************
** 文件名: includes.h
** 描  述: uC/OS-II Include File
********************************************************************************************************/

//uC/OS-II的特殊代码
#ifndef __INCLUDES_H 
#define __INCLUDES_H
	
#ifdef __cplusplus //C++支持
extern "C" {
#endif
#include "os_cpu.h"
#include "os_cfg.h"
#include "ucos_ii.h"
#ifdef __cplusplus //C++支持
}
#endif

#include <string.h>

//由于不同情况中断OSIntExit()对堆栈的使用情况不同,必须加上这个宏定义。Change for IRQ.S
#define OSIntCtxSw()  return 

#endif //#ifndef __INCLUDES_H 

⌨️ 快捷键说明

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