includes.h

来自「基于ARM7下的2100系列得uc-osII的工程模板!」· C头文件 代码 · 共 58 行

H
58
字号
/****************************************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 + =
减小字号Ctrl + -
显示快捷键?