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

📄 txc_generic.h

📁 TranSwitch Envoy CE2 & Envoy CE4 设备驱动及编程指南
💻 H
字号:

/*--------------------------------------------------------------------------

  *******                           ****
     *     *****     **    *    *  *       *    *   *  *****   ****   *    *
     *     *    *   *  *   **   *  *       *    *   *    *    *    *  *    *
     *     *    *  *    *  * *  *   ****   *    *   *    *    *       ******
     *     *****   ******  *  * *       *  * ** *   *    *    *       *    *
     *     *   *   *    *  *   **  *    *  **  **   *    *    *    *  *    *
     *     *    *  *    *  *    *   ****   *    *   *    *     ****   *    *

                        Proprietary and Confidential 

    This program is made available only to customers and prospective customers 
of TranSwitch Corporation under license and may be used only with TranSwitch 
semi-conductor products.

                      Copyright(c) 2004 TranSwitch Inc.
|--------------------------------------------------------------------|
|                       TranSwitch Header File                       |
|--------------------------------------------------------------------|
|                                                                    |
|  Workfile:  txc_generic.h                                          |
|                                                                    |
|  Description: This file contains TranSwitch generic definition.    |
|                                                                    |
|             DO NOT EDIT THIS FILE                                  |
|                                                                    |
----------------------------------------------------------------------
                                  Revision History
----------------------------------------------------------------------
Rev #       Date            Author              Description
-----       ------          -------             -----------
1.0         01.Aug.2K       J.Esposito          Initial version.
1.1         3/26/02         R.Kuhnen            Added TXC_U32_IGNORE and TXC_U32_INVALID.
                                                Removed "User RTOS Typedef" section. (Moved 
                                                to txc_platform).
1.2         10/09/02        J.Esposito            Changed minor and patch numbers
--------------------------------------------------------------------*/

#ifndef TXC_GENERIC_H
#define TXC_GENERIC_H


/* TRUE/FALSE */

#define TXC_FALSE   0   /* basic false */
#define TXC_TRUE    1   /* basic true */

/* SET/CLEAR */
#define TXC_CLR     0
#define TXC_SET     1

/* PASS/FAIL */
#define TXC_FAIL    0
#define TXC_SUCCESS 1

/* READ/WRITE */
#define TXC_READ    0
#define TXC_WRITE   1

/* DISABLE/ENABLE */
#define TXC_DISABLE 0
#define TXC_ENABLE  1

/* INPUT INBAND CODES */
#define TXC_U8_IGNORE       0xFF
#define TXC_U16_IGNORE      0xFFFF
#define TXC_U32_IGNORE      0xFFFFFFFF

#define TXC_BOOL_INVALID    0xE   /* NEW - F. Giannella (5/15/04) */
#define TXC_U8_INVALID      0xFE
#define TXC_U16_INVALID     0xFFFE
#define TXC_U32_INVALID     0xFFFFFFFE



/* NULL pointer */
#define TXC_NULL    0

/* boolean variable */
typedef unsigned char TXC_BOOL;     /* TRUE / FALSE value */

/* void pointer defines */
typedef void * TXC_VOID_PTR;        /* generic pointer */
typedef void (* TXC_VOID_FUNCTION_PTR)(void);  /* generic pointer to void funct */
typedef void TXC_VOID;

#endif /* TXC_GENERIC_H */

⌨️ 快捷键说明

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