?? common.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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -