cypdef.h

来自「Cypress公司开发的2.4G无线键盘鼠标及其Bridge源代码」· C头文件 代码 · 共 61 行

H
61
字号
//--------------------------------------------------------------------------
// Copyright 2006 Cypress Semiconductor Corporation
//
// This software is owned by Cypress Semiconductor Corporation (Cypress) and
// is protected by United States copyright laws and international treaty
// provisions.  Therefore, unless otherwise specified in a separate license
// agreement, you must treat this software like any other copyrighted
// material.  Reproduction, modification, translation, compilation, or
// representation of this software in any other form (e.g., paper,
// magnetic, optical, silicon, etc.) is prohibited without the express
// written permission of Cypress.
//
// Disclaimer: Cypress makes no warranty of any kind, express or implied,
// with regard to this material, including, but not limited to, the
// implied warranties of merchantability and fitness for a particular
// purpose. Cypress reserves the right to make changes without further
// notice to the materials described herein. Cypress does not assume any
// liability arising out of the application or use of any product or circuit
// described herein. Cypress' products described herein are not authorized
// for use as components in life-support devices.
//
// This software is protected by and subject to worldwide patent coverage,
// including U.S. and foreign patents. Use may be limited by and subject to
// the Cypress Software License Agreement.
//
//--------------------------------------------------------------------------

#ifndef CYPDEF_H
#define CYPDEF_H

//--------------------------------------
// Included files
//--------------------------------------

#include <m8c.h>


//--------------------------------------
// API Definitions and Types
//--------------------------------------

#ifndef NULL
#define NULL            0
#endif

typedef unsigned char   UINT8;
typedef unsigned short  UINT16;
typedef unsigned long   UINT32;

typedef signed char     INT8;
typedef short int       INT16;
typedef long  int       INT32;

#define MIN(x, y)        (((x) < (y))? (x):(y))
#define MAX(x, y)        (((x) > (y))? (x):(y))

#endif   // CYPDEF_H



⌨️ 快捷键说明

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