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

📄 common.h

📁 蓝牙协议HCI层指令发送,主要用于测试HCI以下的代码及RF部分测试.
💻 H
字号:

//--------------------------------------------------------------- %FILH_BEG% --
//
//  Project:		$$ProjectName
//
//  File name:		Common.h
//  Author:			
//  Description:	  
//
//  Revision History:
//  $Log: $
//
//  Rev 1.01  05/24/01  Ek .Changed USDEV1 and USBDEV2 values from 3 and 4 to 1 and 2
//                          to use the same memory block as COM1 and COM2.
//  Rev 1.00  15 July 2000 Initial release
//    
//
//  Copyright (c) TelenComm Corporation  2000   -   All rights reserved    
//--------------------------------------------------------------- %FILH_END% 
#ifndef COMMON_H
#define COMMON_H

//------------------------------------------------------------------------------
//
//  Includes
//
//------------------------------------------------------------------------------

#include <stdio.h>
#include <assert.h>

//------------------------------------------------------------------------------
//
//  Defines
//
//------------------------------------------------------------------------------

#define BT_DEBUG

//------------------------------------------------------------------------------
//
//  Macros
//
//------------------------------------------------------------------------------

#define TC_UNUSED(Parameter) (Parameter = Parameter)

//------------------------------------------------------------------------------
//
//  Types
//
//------------------------------------------------------------------------------

typedef unsigned char      uint8;
typedef unsigned short int uint16;
typedef unsigned int       uint32;
typedef unsigned long int  uint64;
typedef signed char        sint8;
typedef signed short int   sint16;
typedef signed int         sint32;
typedef signed long int    sint64;

typedef unsigned char*      puint8;
typedef unsigned short int* puint16;
typedef unsigned int*       puint32;
typedef unsigned long int*  puint64;
typedef signed char*        pint8;
typedef signed short int*   pint16;
typedef signed int*         pint32;
typedef signed long int*    pint64;
#include "stdmac.h"

#endif COMMON_H

#define COMPORT1	1
#define COMPORT2	2
#define COMPORT3	3
#define COMPORT4	4

#define USBDEV1		1
#define USBDEV2		2

//#define USBDEV1		5
//#define USBDEV2		6

#define LASTCOMPORT  0
//#define LASTCOMPORT  COMPORT4

//------------------------------------------------------------------------------
// End of Common.h

⌨️ 快捷键说明

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