INCLUDES.H
资源名称:GPRS_work.rar [点击查看]
上传用户:sdaoma
上传日期:2013-08-07
资源大小:3838k
文件大小:2k
源码类别:
GPS编程
开发平台:
C/C++
- /****************************************Copyright (c)**************************************************
- ** Guangzou ZLG-MCU Development Co.,LTD.
- ** graduate school
- ** http://www.zlgmcu.com
- **
- **--------------File Info-------------------------------------------------------------------------------
- ** File Name: includes.h
- ** Last modified Date: 2004-05-20
- ** Last Version: 1.0
- ** Descriptions: uC/OS-II Include File
- **
- **------------------------------------------------------------------------------------------------------
- ** Created By: Chenmingji
- ** Created date: 2004-05-20
- ** Version: 1.0
- ** Descriptions: First version
- **
- **------------------------------------------------------------------------------------------------------
- ** Modified by: Chenmingji
- ** Modified date: 2004-09-17
- ** Version: 1.02
- ** Descriptions: Change for IRQ.S; Support C++
- **
- **------------------------------------------------------------------------------------------------------
- ** Modified by:
- ** Modified date:
- ** Version:
- ** Descriptions:
- **
- ********************************************************************************************************/
- /********************************/
- /* uC/OS-II的特殊代码 */
- /* uC/OS-II specital code */
- /********************************/
- #ifndef __INCLUDES_H
- #define __INCLUDES_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "....armos_cpu.h"
- #include "os_cfg.h"
- #include "....sourceucos_ii.h"
- #ifdef __cplusplus
- }
- #endif
- #include <string.h>
- /* 由于不同情况中断OSIntExit()对堆栈的使用情况不同,必须加上这个宏定义 */
- /* for any types of interrupt , OSIntExit() using the stacks is different , so ,must add this define*/
- #define OSIntCtxSw() return
- #endif
- /**********************end****************************************/