/****************************************Copyright (c)**************************************************** ** Guangzhou ZHIYUAN electronics Co.,LTD. ** ** http://www.embedtools.com ** **--------------File Info--------------------------------------------------------------------------------- ** File name: firmware.h ** Latest modified Date: 2008-1-17 ** Latest Version: 1.0 ** Descriptions: 固件接口 ** **-------------------------------------------------------------------------------------------------------- ** Created by: Chenmingji ** Created date: 2008-1-17 ** Version: 1.0 ** Descriptions: The original version ** **-------------------------------------------------------------------------------------------------------- ** Modified by: ** Modified date: ** Version: ** Descriptions: ** *********************************************************************************************************/ #ifndef __FIRMWARE_H #define __FIRMWARE_H /********************************************************************************************************* 通用宏定义 *********************************************************************************************************/ #ifndef TRUE #define TRUE 1 #endif /* TRUE */ #ifndef FALSE #define FALSE 0 #endif /* FALSE */ #ifndef NULL #define NULL 0ul #endif /* NULL */ typedef unsigned char uint8; /* 无符号8位整型变量 */ typedef signed char int8; /* 有符号8位整型变量 */ typedef unsigned short uint16; /* 无符号16位整型变量 */ typedef signed short int16; /* 有符号16位整型变量 */ typedef unsigned int uint32; /* 无符号32位整型变量 */ typedef signed int int32; /* 有符号32位整型变量 */ typedef float fp32; /* 单精度浮点数(32位长度) */ typedef double fp64; /* 双精度浮点数(64位长度) */ #define GLOBAL extern /********************************************************************************************************* ADS编译器需要添加的头文件 *********************************************************************************************************/ #include #include #include #include #include #include /********************************************************************************************************* uC/OS-II的特殊代码 uC/OS-II specital code *********************************************************************************************************/ #include "firmware\ARM\INCLUDES.H" /********************************************************************************************************* 配置代码 *********************************************************************************************************/ #include "target_cfg.h" /********************************************************************************************************* 固件的特殊代码 *********************************************************************************************************/ #include "startup\LPC3200.h" #include "startup\target.h" #include "startup\vicControl.h" #endif /* __FIRMWARE_H */ /********************************************************************************************************* END FILE *********************************************************************************************************/