?? config.h
字號:
/****************************************Copyright (c)****************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
** http://www.embedtools.com
**
**--------------File Info---------------------------------------------------------------------------------
** File Name: config.h
** Last modified Date: 2004-09-17
** Last Version: 1.0
** Descriptions: User Configurable File
**
**--------------------------------------------------------------------------------------------------------
** Created By: Chenmingji
** Created date: 2004-09-17
** Version: 1.0
** Descriptions: First version
**
**--------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
**
*********************************************************************************************************/
#ifndef __CONFIG_H
#define __CONFIG_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef TRUE
#define TRUE 1
#endif /* TRUE */
#ifndef FALSE
#define FALSE 0
#endif /* FALSE */
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; /* 單精度浮點數(shù)(32位長度) */
typedef double fp64; /* 雙精度浮點數(shù)(64位長度) */
typedef unsigned char INT8U; /* 無符號8位整型變量 */
typedef signed char INT8S; /* 有符號8位整型變量 */
typedef unsigned short INT16U; /* 無符號16位整型變量 */
typedef signed short INT16S; /* 有符號16位整型變量 */
typedef unsigned int INT32U; /* 無符號32位整型變量 */
typedef signed int INT32S; /* 有符號32位整型變量 */
typedef float FP32; /* 單精度浮點數(shù)(32位長度) */
typedef double FP64; /* 雙精度浮點數(shù)(64位長度) */
/*********************************************************************************************************
uC/OS-II specital code
uC/OS-II的特殊代碼
*********************************************************************************************************/
#include "Includes.h"
/*********************************************************************************************************
ARM的特殊代碼
ARM specital code
*********************************************************************************************************/
#include "LPC2200.h"
#include "target.h"
#include "vicControl.h"
/*********************************************************************************************************
應(yīng)用程序配置
Application Program Configurations
*********************************************************************************************************/
#include <stdio.h>
#include <rt_sys.h>
#include <ctype.h>
#include <stdlib.h>
#include <setjmp.h>
#include <rt_misc.h>
/*********************************************************************************************************
本例子的配置
Configuration of the example
*********************************************************************************************************/
#define Fosc 11059200
#define Fcclk (Fosc * 4)
#define Fcco (Fcclk * 4)
#define Fpclk (Fcclk / 4) * 1
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __CONFIG_H */
/*********************************************************************************************************
END FILE
*********************************************************************************************************/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -