www.pudn.com > lpc2146USB.rar > USBConfig.h
/****************************************Copyright (c)************************************************** ** Guangzhou ZLG-MCU Development Co.,LTD. ** graduate school ** http://www.zlgmcu.com ** **--------------File Info------------------------------------------------------------------------------- ** File name: USBConfig.h ** Last modified Date: 2005-8-8 ** Last Version: V1.0 ** Descriptions: LPC214x USB: the Header Files of Configuration ** LPC214x USB: 配置头文件 ** **------------------------------------------------------------------------------------------------------ ** Created by: 郑明远 MingYuan Zheng ** Created date: 2005-8-8 ** Version: V1.0 ** Descriptions: The original version ** **------------------------------------------------------------------------------------------------------ ** Modified by: ** Modified date: ** Version: ** Descriptions: ** **------------------------------------------------------------------------------------------------------ ** Modified by: ** Modified date: ** Version: ** Descriptions: ** ********************************************************************************************************/ #ifndef __USBCONFIG_H__ #define __USBCONFIG_H__ typedef unsigned char INT8U; typedef signed char INT8; typedef unsigned short INT16U; typedef signed short INT16; typedef unsigned int INT32U; typedef signed int INT32; typedef float FP32; typedef double FP64; /* 关闭IRQ中断 disable IRQ interrupt */ #define DISABLE() IRQDisable() /* 使能IRQ中断 enable IRQ interrupt */ #define ENABLE() IRQEnable() /* LPC214x USB DMA engine disable(0) or enable(1) */ /* LPC214x USB DMA 引擎禁止(0) 或 使能(1) */ #define DMA_ENGINE_EN 0 #endif