includes.h

来自「实现最新的uc/os嵌入式操作系统在LPC2470系列上面的移植(添加了定时器的」· C头文件 代码 · 共 71 行

H
71
字号
/****************************************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    <string.h>
#include    <stdarg.h>
#include    <stdio.h>
#include    <rt_sys.h>
#include    <ctype.h>
#include    <stdlib.h>
#include    <setjmp.h>
#include    <rt_misc.h>

#include    "OS_CPU.H"
#include    "OS_CFG.H"
#include    "ucos_ii.h"
#include    "vicControl.h"
#include    "LPC2400.h"
#include    "config.h"
#include    "target.h"

#include 	"main.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 + -
显示快捷键?