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

📄 includes.h

📁 USB_D12开发评估板实现USB键盘的全部源代码
💻 H
字号:
/*------------------------------------------------------------------
* CopyRight (C) 2005,江苏盛唐电子产品有限公司
* All Rights Reserved.
*
* 文件名称:Includes.h
* 文件标识:
* 摘    要:包含所有驱动的头文件的集合
* 
* 当前版本:1.0
* 作    者:熊刚
* 完成日期:2005年10月7日
*
* 取代版本: 
* 原作者  :
* 完成日期:
--------------------------------------------------------------------*/



#define   MODULE_CLOCK     	1 
#define   MODULE_COMM      	1          
#define   MODULE_DISP       0                                                
#define   MODULE_KEY      	1          
#define   MODULE_SOUND     	1 
#define   MODULE_LED     	1 
#define   MODULE_USB        1   
#define   MODULE_EEPROM     1  
#define   MODULE_FLASH      1  
#define   MODULE_PS2        1
  

//#define   CFG_C                    
//#define   CFG_H                    

/*
*********************************************************************************************************
*                                              CONSTANTS
*********************************************************************************************************
*/

#define  FALSE      0
#define  TRUE       1

#define false 		0
#define true		1

#define DISABLE		EA=0
#define ENABLE		EA=1


#define ConnectPS2Device 			//用于控制是否生成检测外接PS2设备的选项开关。
#define SimHidDevice
/*$PAGE*/
/*
*********************************************************************************************************
*                                         Standard Libraries (DOS)
*********************************************************************************************************
*/

#ifdef PC_SYS

	#include    <stdio.h>
	#include    <string.h>
	#include    <ctype.h>
	#include    <stdlib.h>
	#include    <conio.h>
	#include    <dos.h>
	#include    <setjmp.h>
	#define bool     int 

#else

	#include <reg52.h>
	#include <intrins.h>

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

	#define bool        unsigned char 

#endif
/*
*********************************************************************************************************
*                                            DataType Define Header Files
*********************************************************************************************************
*/

#include    "..\inc\DataType.h"

/*$PAGE*/
/*
*********************************************************************************************************
*                                      Building Blocks Header Files
*********************************************************************************************************
*/


#if         MODULE_CLOCK
#include    "..\Clock\DriverTime.h"
#endif

#if         MODULE_COMM
#include    "..\Comm\Com.h"
#include    "..\Comm\APIComm.h"
#endif

#if         MODULE_DISP
#include    "..\io\PCDisp.h"
#endif

#if         MODULE_KEY
#include    "..\io\Key.h"
#endif

#if         MODULE_SOUND
#include    "..\io\Sound.h"
#endif

#if         MODULE_LED
#include    "..\io\Led.h"
#endif

#if         MODULE_USB
	#include    "..\Usb\D12ci.h"
	#include    "..\Usb\Epphal.h"

#endif

#if         MODULE_EEPROM
	#include    "..\MEM\EEPROM\DRIVEREEPROM.h"
#endif

#if         MODULE_FLASH
	#include    "..\MEM\Flash\DriverFlashMemory.h"
#endif

#if         MODULE_PS2
	#include    "..\PS2\PS2Drv\Ps2Drv.h"
	#include    "..\PS2\PS2Mouse\Ps2Mouse.h"
	#include    "..\PS2\PS2Kbd\Ps2Kbd.h"

#endif

⌨️ 快捷键说明

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