📄 csmtypes.h
字号:
#ifndef CSMTYPES_H
#define CSMTYPES_H
/*===========================================================================
The same file is included for the ARM code as well as the host driver
code. The ARM code will be compiled with the flag CSM_ARM_CODE, which
will be used to cause the inclusion of the csm_types.h file, but the
C++ driver code will not be compiled with this flag, which will cause
the rest of this file to be included for the drivers.
This became necessary becase both the ARM and the host driver code
were built with the file csm_mif_defs.h, which #included csmtypes.h.
When the ARM included csm_mif_defs.h, it needed its types from the
csm_types.h file whereas when the drivers included csm_mif_defs.h, they
needed their type definitions from this file.
===========================================================================*/
#ifdef CSM_ARM_CODE
#include "csm_types.h"
#else
/*===========================================================================
SERVICES: CSM5000 TYPES DEFINITION FILE
DESCRIPTION:
This module contains definitions of data types to be used by the
CSM 5000 Drivers software modules
PUBLIC CLASSES AND FUNCTIONS:
Copyright (c) 2000 QUALCOMM Inc. All Rights Reserved. QUALCOMM Proprietary
Export of this technology or software is regulated by the U.S. Government.
Diversion contrary to U.S. law prohibited.
===========================================================================*/
//===========================================================================
// Includes and Public Data Declarations
//===========================================================================
//---------------------------------------------------------------------------
// Include Files
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Constant / Define Declarations
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Type Declarations
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// These are the target specific typedefs that are used throughout the
// driver code. All driver code uses these types so that there are no
// assumptions about the word size for native types such as short and int
//---------------------------------------------------------------------------
typedef unsigned char byte;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned long uint32;
#ifdef WIN32 /* support for compiling using MSVC6 */
typedef unsigned long uint64;
#else
typedef unsigned long long uint64;
#endif
//--------------------------------------------------------------------------
// The "signed" is necessary to indicate that int8 is a signed value.
// Otherwise, the signedness of a char is implementation dependent.
//--------------------------------------------------------------------------
typedef signed char int8;
typedef short int16;
typedef long int32;
#ifdef WIN32 /* support for compiling using MSVC6 */
typedef long int64;
#else
typedef long long int64;
#endif
//----------------------------------------------------------------------------
// Global Constant Data Declarations
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Global Data Declarations
//----------------------------------------------------------------------------
//============================================================================
// Macro Definitions
//============================================================================
//============================================================================
// Class Definitions
//============================================================================
#endif
#endif /* END CSMTYPES_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -