📄 includes.h
字号:
/****************************************Copyright (c)****************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
** http://www.embedtools.com
**
**--------------File Info---------------------------------------------------------------------------------
** File name: includes.h
** Latest modified Date: 2007-11-20
** Latest Version: 1.0
** Descriptions: uC/OS-II Include File
**
**--------------------------------------------------------------------------------------------------------
** Created by: Chenmingji
** Created date: 2007-11-20
** Version: 1.0
** Descriptions: The original version
**
**--------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
**
*********************************************************************************************************/
#ifndef __INCLUDES_H
#define __INCLUDES_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/*********************************************************************************************************
uC/OS-II的特殊代码 uC/OS-II specital code
*********************************************************************************************************/
#include "os_cpu.h"
#include "os_cfg.h"
#include "ucos_ii.h"
#include <string.h>
/*********************************************************************************************************
由于不同情况中断OSIntExit()对堆栈的使用情况不同,必须加上这个宏定义
for any types of interrupt , OSIntExit() using the stacks is different , so ,must add this define
*********************************************************************************************************/
#define OSIntCtxSw() return
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __INCLUDES_H */
/*********************************************************************************************************
END FILE
*********************************************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -