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

📄 +

📁 基于Luminary远程在线升级解决方案
💻
字号:
/****************************************Copyright (c)**************************************************
**                               Guangzhou ZHIYUAN electronics Co.,LTD.
**                                     
**                                 http://www.embedtools.com
**
**--------------File Info-------------------------------------------------------------------------------
** File Name:          Config.h
** Last modified Date: 2006-11-18
** Last Version:       v1.0
** Description:        总头文件
** 
**------------------------------------------------------------------------------------------------------
** Created By:         Zhou Shaogang
** Created date:       2006-11-18
** Version:            v1.0
** Descriptions:
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Description:
**
********************************************************************************************************/

#ifndef __CONFIG_H__ 
#define __CONFIG_H__


#ifndef TRUE
#define TRUE  1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#ifndef NULL
#define NULL  0
#endif

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位长度) */



/********************************/
/*     应用程序配置             */
/*Application Program Configurations*/
/********************************/
//以下根据需要改动
//This segment could be modified as needed.
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>

#include <hw_adc.h>
#include <hw_can.h>
#include <hw_comp.h>
#include <hw_ethernet.h>
#include <hw_flash.h>
#include <hw_gpio.h>
#include <hw_hibernate.h>
#include <hw_i2c.h>
#include <hw_ints.h>
#include <hw_memmap.h>
#include <hw_nvic.h>
#include <hw_pwm.h>
#include <hw_qei.h>
#include <hw_ssi.h>
#include <hw_sysctl.h>
#include <hw_timer.h>
#include <hw_types.h>
#include <hw_uart.h>
#include <hw_watchdog.h>


#include <adc.h>
#include <can.h>
#include <comp.h>
#include <cpu.h>
#include <debug.h>
#include <ethernet.h>
#include <flash.h>
#include <gpio.h>
#include <hibernate.h>
#include <i2c.h>
#include <interrupt.h>
#include <mpu.h>
#include <pin_map.h>
#include <pwm.h>
#include <qei.h>
#include <ssi.h>
#include <sysctl.h>
#include <systick.h>
#include <timer.h>
#include <uart.h>
#include <watchdog.h>

#include "Function/common.h"
#include "Uart0/Uart0.h"
#include "startup_ewarm.h"

typedef union
{
    void (*pfnHandler)(void);
    unsigned long ulPtr;
}
uVectorEntry;

#define USE_PORT    GPIO_PORTA_BASE
#define LED1        GPIO_PIN_2
#define LED2        GPIO_PIN_3
#define LED3        GPIO_PIN_4
#define LED4        GPIO_PIN_5
#define KEY1        GPIO_PIN_6

#endif
/*********************************************************************************************************
**                            End Of File
********************************************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -