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

📄 iar-

📁 IAR_example_EasyARM8962.zip
💻
字号:
/****************************************Copyright (c)**************************************************
**                               Guangzhou ZHIYUAN electronics Co.,LTD.
**                                     
**                                 http://www.embedtools.com
**
**--------------File Info-------------------------------------------------------------------------------
** File Name:          Target.c
** Last modified Date: 2007-01-18
** Last Version:       1.0
** Description:        uCOS-II's include file   uCOS-II的头文件
** 
**------------------------------------------------------------------------------------------------------
** Created By:         Steven Zhou 周绍刚
** Created date:       2007-01-18
** Version:            1.0
** Descriptions:       The original version 初始版本
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Description:
**
********************************************************************************************************/

#ifndef  __INCLUDES_H__
#define  __INCLUDES_H__


/********************************************************************************************************
*                       Date types(Compiler specific)  数据类型(和编译器相关)                         *                 
********************************************************************************************************/
typedef unsigned char  uint8;          // Unsigned  8 bit quantity  无符号8位整型变量      
typedef signed   char  int8;           // Signed    8 bit quantity  有符号8位整型变量   
typedef unsigned short uint16;         // Unsigned 16 bit quantity  无符号16位整型变量
typedef signed   short int16;          // Signed   16 bit quantity  有符号16位整型变量 
typedef unsigned int   uint32;         // Unsigned 32 bit quantity  无符号32位整型变量 
typedef signed   int   int32;          // Signed   32 bit quantity  有符号32位整型变量
typedef float           fp32;          // Single precision floating point 单精度浮点数(32位长度)    
typedef double          fp64;          // Double precision floating point 双精度浮点数(64位长度)  

#ifndef TRUE
#define TRUE  1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#ifndef NULL
#define NULL  0
#endif


/********************************************************************************************************
*                                            Header files   头文件                                      *                 
********************************************************************************************************/

/************************************************
      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_timer.h>
#include    <hw_ssi.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    <timer.h>
#include    <ssi.h> 

#include    <adc.h>

extern uint32 flag_ADC_finish;
extern uint16 ADC_Val,Charge_Val[3];
/************************************************
      Port's header files 移植头文件
************************************************/
//#include    <ucos_ii.h>
//#include    <Target.h>

/************************************************
      User's header files 用户
************************************************/
#define PA4 GPIO_PIN_4		
#define PA5 GPIO_PIN_5		

/************************************************
      User's header files 用户头文件
************************************************/

/************************************************
					函数声明 
************************************************/
void ADC_Init(void);
void delay(uint32 n);
uint32 mux_n(uint8 n);
void Send_ADC_Data(void);
void Data_ASICC(uint16 charge_data);
void COMP0_init(void);
#endif
/*********************************************************************************************************
*                                        End Of File                                                     *
*********************************************************************************************************/









⌨️ 快捷键说明

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