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

📄 includes.h

📁 实现最新的uc/os嵌入式操作系统在LPC2470系列上面的移植(添加了定时器的管理代码);
💻 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    <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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -