?? includes.h
字號:
/****************************************Copyright (c)****************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
** http://www.embedtools.com
**
**--------------File Info---------------------------------------------------------------------------------
** File Name: includes.h
** Last modified Date: 2007.01.18
** Last Version: v1.0
** Description: uCOS-II's include file uCOS-II的頭文件
**
**--------------------------------------------------------------------------------------------------------
** Created By: Steven Zhou 周紹剛
** Created date: 2007.12.12
** Version: v1.0
** Descriptions: The original version 初始版本
**
**--------------------------------------------------------------------------------------------------------
** Modified by: Kang qinhua
** Modified date: 2008.01.02
** Version: v1.1
** Description: The second version 第二版
**
*********************************************************************************************************/
#ifndef __INCLUDES_H
#define __INCLUDES_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************************************************************************************************
Date types(Compiler specific) 數據類型(和編譯器相關)
*********************************************************************************************************/
typedef unsigned char uint8; /* Unsigned 8 bit quantity */
typedef signed char int8; /* Signed 8 bit quantity */
typedef unsigned short uint16; /* Unsigned 16 bit quantity */
typedef signed short int16; /* Signed 16 bit quantity */
typedef unsigned int uint32; /* Unsigned 32 bit quantity */
typedef signed int int32; /* Signed 32 bit quantity */
typedef float fp32; /* Single precision */
/* floating point */
typedef double fp64; /* Double precision */
/* floating point */
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef NULL
#define NULL 0
#endif
/*********************************************************************************************************
Standard header files 標準頭文件
*********************************************************************************************************/
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
/*********************************************************************************************************
Driver's header files 驅動庫頭文件
*********************************************************************************************************/
#include <hw_types.h>
#include <hw_memmap.h>
#include <hw_ints.h>
#include <hw_gpio.h>
#include <hw_pwm.h>
#include <sysctl.h>
#include <systick.h>
#include <debug.h>
#include <gpio.h>
#include <interrupt.h>
#include <uart.h>
#include <pwm.h>
#include <qei.h>
#include <timer.h>
#include <ssi.h>
/*********************************************************************************************************
Port's header files 移植頭文件
*********************************************************************************************************/
#include "..\uCOS-II\Ports\os_cpu.h"
#include "..\User\os_cfg.h"
#include "..\uCOS-II\Source\ucos_ii.h"
#include "..\Target\Target.h"
/*********************************************************************************************************
SD/MMC 模塊頭文件
*********************************************************************************************************/
//#include "..\SDMMC\sdconfig.h"
//#include "..\SDMMC\sddriver.h"
#include "..\SDMMC\sdhal.h"
#include "..\SDMMC\SDCmd.h"
#include "..\SDMMC\sddriver.h"
#include "..\SDMMC\sdconfig.h"
/*********************************************************************************************************
User's header files 用戶頭文件
*********************************************************************************************************/
#include "..\User\Main.h"
#include "..\User\sd_SPI.h"
}
#endif
#endif
/*********************************************************************************************************
END FILE
*********************************************************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -