#ifndef _INCLUDES_H_
#define _INCLUDES_H_

#include "apt32f102.h"
#include "apt32f102_adc.h"
#include "apt32f102_bt.h"
#include "apt32f102_coret.h"
#include "apt32f102_countera.h"
#include "apt32f102_crc.h"
#include "apt32f102_ept.h"
#include "apt32f102_et.h"
#include "apt32f102_gpio.h"
#include "apt32f102_gpt.h"
#include "apt32f102_i2c.h"
#include "apt32f102_ifc.h"
#include "apt32f102_lpt.h"
#include "apt32f102_rtc.h"
#include "apt32f102_sio.h"
#include "apt32f102_spi.h"
#include "apt32f102_syscon.h"
#include "apt32f102_uart.h"
#include "apt32f102_wwdt.h"
#include "apt32f102_types_local.h"
#include "apt32f102_clkcalib.h"
#include "apt32f102_tkey.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/*应用代码头文件*/
#include "uart.h"
#include "eeprom.h"
#include "tempctrl_unit.h"
#include "uart_protocol.h"
#include "Bootload_fun.h"
#include "dip_switch.h"	

/*工程名称及软件版本号
    此定义在每个工程中必须定义，用于识别当前工程对应的机型
        Boot中会通过读取EEPROM中保存的设备信息来判断当前是什么机型
        如果EEPROM 中没有保存设备信息，那么当前就是Boot程序，设备地址为0x00，设备类型为0x00
*/
#define Project_Area		0x02					//工程所处区域为APP区域		0x01:Boot区域；0x02:APP区域
#define Peoject_Name        "T1_TC_ZH_V02"        //工程名称
#define Project_FW_Version	0x02		            //工程对应的软件版本号	
#define Project_Type        0x0F                    //工程对应的设备类型        Boot默认设备类型

#define Project_HW_Version	0x02		//软件对应的硬件版本号


extern volatile U32_T SysTick_100us;
extern volatile U32_T SysTick_1ms;


extern volatile unsigned int Sys_RSR;
extern volatile unsigned int Sav_Temp;


#endif
