includes.h

来自「采用MPS430控制的项目」· C头文件 代码 · 共 54 行

H
54
字号

typedef       unsigned char       Uint8;
typedef       signed   char       Int8;  
typedef       unsigned int        Uint16;  
typedef       signed   int        Int16;   
typedef       unsigned long  int  Uint32;  
typedef       signed   long  int  Int32;   
 
#define   uchar unsigned char
#define   uint  unsigned int
#define   ulong unsigned long

#define       TRUE        1
#define       FALSE       0 
#define       Busy        1

#define       UP            (10)    
#define       Down          (12) 

#define		COM0	0
#define     COM1    1
#define     COMDELAY     4
#define     LONGCOMDELAY 80	//时间=COMDELAY/4(秒)

#define       CCR0_Const    8192		//0.25秒定时时间常数

#include "..\Inc\msp430x14x.h"
#include "..\Inc\Global.h"
#include "..\Inc\LCD.h"
#include "..\Inc\zim.h"
#include "..\Inc\function.h"
#include "..\Inc\key.h"
#include "..\Inc\ad.h"
#include "..\Inc\intinit.h"
#include "..\Inc\uart.h"
#include "..\Inc\cpld.h"
#include "..\Inc\door.h"
#include "..\Inc\znet.h"
#include "..\Inc\iic.h"
#include "..\Inc\speak.h"
#include "..\Inc\PCF8583.h"
#include <string.h>

/********************************************** 

   调用项目的所有头文件     
   
**********************************************/   





⌨️ 快捷键说明

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