📄 includes.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 + -